Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146839 - net-analyzer/wireshark - built_with_use checks for non-existant IUSE
Summary: net-analyzer/wireshark - built_with_use checks for non-existant IUSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 147315 147339 147359 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-08 07:28 UTC by kristian meier
Modified: 2007-01-08 20:58 UTC (History)
8 users (show)

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


Attachments
wireshark-0.99.3.ebuild.diff (wireskark.patch,645 bytes, patch)
2006-09-11 00:53 UTC, kristian meier
Details | Diff
wireshark-0.99.3.ebuild.diff (wireshark-0.99.3.ebuild.diff,773 bytes, patch)
2006-09-11 01:00 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kristian meier 2006-09-08 07:28:00 UTC
both the latest perl und wireshark do not declare the minimal-USE flag, yet the latter does not build when that USE flag is set while compiling perl. but I was told that is not a bug. hmm, if I tell such a story to my boss, I have to worry for my job.

than I was told, I am not allowed to set such a USE-flag, without further explanations why. now I wonder which USE flags are allowed to be set in /etc/make.conf and what is the meaning of that file, if it should not be used for setting USE-flags globally !! so I should reemerge perl so the code of the wireshark ebuild works. makes no sense to me.

than I tried to understand the ebuild from wireshark and it its "notdependency" to the minimal USE-flag. the reason for this is bug with number 119208. looking up that bug I find a resolved bug about 'wolfgl doesn't compile with GCC4'. such code is not understandable for an outsider like me. so it is really difficult get a step into the project.

I also made the effort to browse through ebuild docu and write up a little patch. it is not a big deal, I can keep the fixed ebuild in my overlay-portage. but I think to keep a system robust and stable. and instead of writing this I should write 3 more reports on ebuilds don't compile with gcc4.

so here the reference to the patch bug = 146655
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 07:35:15 UTC
There's no minimal flag in latest stable perl, already told you.


*** This bug has been marked as a duplicate of 146655 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-10 23:55:28 UTC
Needs to be reopened and the ebuild fixed.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-10 23:56:58 UTC
The ebuild needs to be fixed, see Bug 146655 for related discussion.

Comment 4 kristian meier 2006-09-11 00:53:53 UTC
Created attachment 96671 [details, diff]
wireshark-0.99.3.ebuild.diff

I  mimicked eutil.eclass to check first whether perl has a minimal USE-flag. tested it against my current setup and it compiled. then putting minimal into the IUSE of perl let the emerge die.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 00:57:23 UTC
Comment on attachment 96671 [details, diff]
wireshark-0.99.3.ebuild.diff

We didn't fix the eclass to work around the fix in ebuilds. ;)
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 01:00:50 UTC
Created attachment 96672 [details, diff]
wireshark-0.99.3.ebuild.diff

Correct fix.
Comment 7 kristian meier 2006-09-11 01:16:31 UTC
Ok, that works with me as well.

but can please give me a hint why you want to have the check "manual" instead of "automated". is it to again the nature of the minimal flag, that you do not know what it concrete means in the future versions of perl ? is that also the reason why the first proposed patch for the eutil.eclass was rejected ? thanx
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 01:54:26 UTC
(In reply to comment #7)

You need to ask vapier why my patch was rejected.
Comment 9 Jule Slootbeek 2006-09-11 07:23:47 UTC
I'm also seeing this issue while emerging openldap.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-12 02:19:40 UTC
(In reply to comment #9)
> I'm also seeing this issue while emerging openldap.

Different ebuild and already fixed, emerge --sync.
 

Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-09-12 07:02:13 UTC
*** Bug 147315 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-09-12 09:22:38 UTC
*** Bug 147339 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2006-09-12 12:36:03 UTC
*** Bug 147359 has been marked as a duplicate of this bug. ***
Comment 14 Markus Ullmann (RETIRED) gentoo-dev 2006-09-12 12:41:37 UTC
Fixed wireshark ebuild in CVS
Comment 15 Justin Huff 2006-12-29 19:16:21 UTC
I know this bug is closed but, I wanted to document my findings someplace incase someone else if having issues.

Even well after the updated ebuild made it in, I still was getting the error.  As it turns out, I had two perl versions installed (5.6.1-r4, 5.8.8-r2).  Unmerging 5.6.1-r4 allowed wireshark to work.
Comment 16 gnuorder 2007-01-08 20:58:08 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > I'm also seeing this issue while emerging openldap.
> 
> Different ebuild and already fixed, emerge --sync.
> 
> 
I just did emerge --sync, emerged portage and got the same error again with openldap.  Which version is it fixed?  I am not using the -minimal flag either and never have so I dont understand why this is an issue.