Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267803 - =app-arch/p7zip-4.65 without support for wxwindows, doesn't compile when x11-libs/wxGTK is compiled without X useflag
Summary: =app-arch/p7zip-4.65 without support for wxwindows, doesn't compile when x11...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Radoslaw Stachowiak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 20:03 UTC by Marcin Mirosław
Modified: 2009-05-03 07:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.56 KB, text/plain)
2009-04-28 20:05 UTC, Marcin Mirosław
Details
build.log (build.log,1.19 KB, text/plain)
2009-05-01 16:28 UTC, Marcin Mirosław
Details
p7zip-4.65.ebuild.diff (p7zip-4.65.ebuild.diff,878 bytes, patch)
2009-05-02 00:57 UTC, Ryan Hill (RETIRED)
Details | Diff
p7zip-4.65.ebuild.diff (p7zip-4.65.ebuild.diff,878 bytes, patch)
2009-05-02 01:16 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2009-04-28 20:03:56 UTC
p7zip doesn't comile when i've got wxGTK emerged without X useflag.


Reproducible: Always

Steps to Reproduce:
1.USE="-X" emerge -1 wxGTK
2.USE="-wxwindows" emerge -1v p7zip
3.

Actual Results:  
[ebuild     U ] app-arch/p7zip-4.65 [4.58] USE="-doc -kde% -rar% -static -wxwindows%" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-arch/p7zip-4.65
 * p7zip_4.65_src_all.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                          [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
 * Checking wxGTK-2.8 for X support ...                                                                                                                 [ !! ]

 * check_wxuse - You have requested functionality that requires X support to
 * have been built into x11-libs/wxGTK.
 *
 * Please re-merge =x11-libs/wxGTK-2.8* with the X USE flag enabled.
 *
 * ERROR: app-arch/p7zip-4.65 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called pkg_setup
 *               ebuild.sh, line 1264:  Called wxwidgets_pkg_setup
 *        wxwidgets.eclass, line   91:  Called check_wxuse 'X'
 *        wxwidgets.eclass, line  267:  Called die
 * The specific snippet of code:
 *              die "Missing USE flags."
 *  The die message:
 *   Missing USE flags.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-arch/p7zip-4.65/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/p7zip-4.65/temp/die.env'.

Expected Results:  
Compile & install.

Unmerging wxGTK solve problem.
Comment 1 Marcin Mirosław 2009-04-28 20:05:23 UTC
Created attachment 189731 [details]
emerge --info
Comment 2 Sebastian Luther (few) 2009-04-29 08:23:30 UTC
Which versions of x11-libs/wxGTK were installed on your system and was the X useflag enabled for them?
Comment 3 Marcin Mirosław 2009-04-29 16:05:10 UTC
(In reply to comment #2)
> Which versions of x11-libs/wxGTK were installed on your system and was the X
> useflag enabled for them?

wxGTk 2.8.9.2-r1 . As I wrote earlier (first step to reproduce), X useflag was disabled for wxgtk.


Comment 4 Patrick Lauer gentoo-dev 2009-04-30 21:03:02 UTC
What the message says - enable X or don't use the wxwidgets useflag.
Can't have a pony and eat it ...
Comment 5 Marcin Mirosław 2009-04-30 21:51:30 UTC
(In reply to comment #4)
> What the message says - enable X or don't use the wxwidgets useflag.
> Can't have a pony and eat it ...

Yeah, I know that it's hard ;)
But, did you note second step to reproduce bug?
( USE="-wxwindows" emerge -1v p7zip ) 
 

Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-01 13:15:25 UTC
(In reply to comment #5)
> But, did you note second step to reproduce bug?
> ( USE="-wxwindows" emerge -1v p7zip ) 

So you mean to say that having wxGTK installed and then emerging p7zip without wxwidgets support fails? Please provide a build log for that and update this bug report's Summary field to reflect that.
Comment 7 Marcin Mirosław 2009-05-01 16:28:34 UTC
Created attachment 190051 [details]
build.log
Comment 8 Marcin Mirosław 2009-05-01 16:33:12 UTC
Yes!
I meant it:) 
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2009-05-02 00:57:35 UTC
Created attachment 190082 [details, diff]
p7zip-4.65.ebuild.diff
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2009-05-02 01:16:26 UTC
Created attachment 190083 [details, diff]
p7zip-4.65.ebuild.diff

this one actually works!
Comment 11 Marcin Mirosław 2009-05-02 22:02:31 UTC
Everything works for me.
Comment 12 Marcin Mirosław 2009-05-02 22:03:14 UTC
Thank you!
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2009-05-02 22:49:57 UTC
wait until it's actually fixed.
Comment 14 Ryan Hill (RETIRED) gentoo-dev 2009-05-03 07:10:11 UTC
Applied, thanks.