* [gentoo-user] emerge wireshark fails
@ 2006-09-12 12:48 Alan McKinnon
2006-09-12 13:00 ` Bo Ørsted Andresen
2006-09-12 13:28 ` Etaoin Shrdlu
0 siblings, 2 replies; 7+ messages in thread
From: Alan McKinnon @ 2006-09-12 12:48 UTC (permalink / raw
To: gentoo-user
Hi,
wireshark won't compile, saying that perl is built with the
minimal use flag. Only, it isn't.
******** The wireshark failure:
!!! ERROR: net-analyzer/wireshark-0.99.3 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
wireshark-0.99.3.ebuild, line 44: Called
built_with_use 'dev-lang/perl' 'minimal'
eutils.eclass, line 1605: Called die
!!! dev-lang/perl-5.8.8-r2 does not actually support the minimal
USE flag!
!!! If you need support, post the topmost build error, and the
call stack if relevant.
********** perl USE flags:
gentoo ~ # emerge -pv perl
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/perl-5.8.8-r2 USE="berkdb doc
gdbm -build -debug -ithreads -perlsuid" 0 kB
********* line in the wireshark ebuild that fails is this one:
pkg_setup() {
# bug 119208
if built_with_use dev-lang/perl minimal ; then
Anyone seen this before? Am I being stupid (again) or is it a
bug? And if so, where might the bug be - perl, wireshark, or
the portage scripts?
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] emerge wireshark fails
2006-09-12 12:48 [gentoo-user] emerge wireshark fails Alan McKinnon
@ 2006-09-12 13:00 ` Bo Ørsted Andresen
2006-09-12 13:34 ` Alan McKinnon
2006-09-12 13:28 ` Etaoin Shrdlu
1 sibling, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-12 13:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
On Tuesday 12 September 2006 14:48, Alan McKinnon wrote:
> wireshark won't compile, saying that perl is built with the
> minimal use flag. Only, it isn't.
>
> ******** The wireshark failure:
>
> !!! ERROR: net-analyzer/wireshark-0.99.3 failed.
> Call stack:
> ebuild.sh, line 1562: Called dyn_setup
> ebuild.sh, line 665: Called pkg_setup
> wireshark-0.99.3.ebuild, line 44: Called
> built_with_use 'dev-lang/perl' 'minimal'
> eutils.eclass, line 1605: Called die
>
> !!! dev-lang/perl-5.8.8-r2 does not actually support the minimal
> USE flag!
[SNIP]
> Anyone seen this before? Am I being stupid (again) or is it a
> bug? And if so, where might the bug be - perl, wireshark, or
> the portage scripts?
It's a bug in the wireshark ebuild. It hasn't been noticed until now because
it was silently ignored until yesterday. For details look at [1]. This has
been reported in [2]. Please use bugzilla to search before asking these
questions...
[1] http://bugs.gentoo.org/show_bug.cgi?id=146655
[2] http://bugs.gentoo.org/show_bug.cgi?id=146839
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] emerge wireshark fails
2006-09-12 12:48 [gentoo-user] emerge wireshark fails Alan McKinnon
2006-09-12 13:00 ` Bo Ørsted Andresen
@ 2006-09-12 13:28 ` Etaoin Shrdlu
2006-09-12 13:47 ` Alan McKinnon
1 sibling, 1 reply; 7+ messages in thread
From: Etaoin Shrdlu @ 2006-09-12 13:28 UTC (permalink / raw
To: gentoo-user
On Tuesday 12 September 2006 14:48, Alan McKinnon wrote:
> pkg_setup() {
> # bug 119208
> if built_with_use dev-lang/perl minimal ; then
>
> Anyone seen this before? Am I being stupid (again) or is it a
> bug? And if so, where might the bug be - perl, wireshark, or
> the portage scripts?
Might be this:
http://bugs.gentoo.org/show_bug.cgi?id=146839
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] emerge wireshark fails
2006-09-12 13:00 ` Bo Ørsted Andresen
@ 2006-09-12 13:34 ` Alan McKinnon
2006-09-12 13:42 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2006-09-12 13:34 UTC (permalink / raw
To: gentoo-user
On Tuesday 12 September 2006 15:00, Bo Ørsted Andresen wrote:
> > Anyone seen this before? Am I being stupid (again) or is it
> > a bug? And if so, where might the bug be - perl, wireshark,
> > or the portage scripts?
>
> It's a bug in the wireshark ebuild. It hasn't been noticed
> until now because it was silently ignored until yesterday.
> For details look at [1]. This has been reported in [2].
> Please use bugzilla to search before asking these
> questions...
Except that this behaviour I see is neither of the cases you
mention. They relate to the bahaviour when the minimal flag is
set. I'm getting the error when the flag is NOT set. There is
no reason why this line should return true on my system:
if built_with_use dev-lang/perl minimal
In case I still had an ancient faulty perl binary hanging
around, I also remerged perl and tried to emerge wireshark
again. Same error. So this is not the same bug as any of the 4
on the wiki.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] emerge wireshark fails
2006-09-12 13:34 ` Alan McKinnon
@ 2006-09-12 13:42 ` Bo Ørsted Andresen
2006-09-12 15:08 ` Alan McKinnon
0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-12 13:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]
On Tuesday 12 September 2006 15:34, Alan McKinnon wrote:
> > > Anyone seen this before? Am I being stupid (again) or is it
> > > a bug? And if so, where might the bug be - perl, wireshark,
> > > or the portage scripts?
> >
> > It's a bug in the wireshark ebuild. It hasn't been noticed
> > until now because it was silently ignored until yesterday.
> > For details look at [1]. This has been reported in [2].
> > Please use bugzilla to search before asking these
> > questions...
>
> Except that this behaviour I see is neither of the cases you
> mention. They relate to the bahaviour when the minimal flag is
> set. I'm getting the error when the flag is NOT set. There is
> no reason why this line should return true on my system:
Please read more carefully. Whether it is set or not is irrelevant. The
problem is that your version doesn't have minimal use flag at all yet the
wireshark tests whether it's set...
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] emerge wireshark fails
2006-09-12 13:28 ` Etaoin Shrdlu
@ 2006-09-12 13:47 ` Alan McKinnon
0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2006-09-12 13:47 UTC (permalink / raw
To: gentoo-user
On Tuesday 12 September 2006 15:28, Etaoin Shrdlu wrote:
> On Tuesday 12 September 2006 14:48, Alan McKinnon wrote:
> > pkg_setup() {
> > # bug 119208
> > if built_with_use dev-lang/perl minimal ; then
> >
> > Anyone seen this before? Am I being stupid (again) or is it
> > a bug? And if so, where might the bug be - perl, wireshark,
> > or the portage scripts?
>
> Might be this:
>
> http://bugs.gentoo.org/show_bug.cgi?id=146839
Might be the same cause, but the symptom is orthogonally
opposite :-)
I filed a new bug, now the devs can compare them and see what's
to be fixed.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] emerge wireshark fails
2006-09-12 13:42 ` Bo Ørsted Andresen
@ 2006-09-12 15:08 ` Alan McKinnon
0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2006-09-12 15:08 UTC (permalink / raw
To: gentoo-user
On Tuesday 12 September 2006 15:42, Bo Ørsted Andresen wrote:
> Please read more carefully. Whether it is set or not is
> irrelevant. The problem is that your version doesn't have
> minimal use flag at all yet the wireshark tests whether it's
> set...
OK, now this is starting to make more sense. The ebuild does
this test:
wireshark-0.99.3.ebuild:44 -
if built_with_use dev-lang/perl minimal ; then
and built_with_use fails because of this
eutils.eclass:1604 -
local IUSE_BUILT=$(<${IUSEFILE})
has $1 ${IUSE_BUILT} || die "$PKG does not actually support the
$1 USE flag!"
If this were C++ I'd be throwing an exception about now.
alan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-09-12 15:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-12 12:48 [gentoo-user] emerge wireshark fails Alan McKinnon
2006-09-12 13:00 ` Bo Ørsted Andresen
2006-09-12 13:34 ` Alan McKinnon
2006-09-12 13:42 ` Bo Ørsted Andresen
2006-09-12 15:08 ` Alan McKinnon
2006-09-12 13:28 ` Etaoin Shrdlu
2006-09-12 13:47 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox