Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338646 - net-analyzer/netcat6 needs dev-lang/perl with ithreads USE flag set
Summary: net-analyzer/netcat6 needs dev-lang/perl with ithreads USE flag set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-25 07:57 UTC by David Hicks
Modified: 2010-09-25 10:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Hicks 2010-09-25 07:57:59 UTC
>>> Emerging (2 of 101) net-analyzer/netcat6-1.0-r2
 * nc6-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                                [ ok ]
 * Package:    net-analyzer/netcat6-1.0-r2
 * Repository: gentoo
 * Maintainer: netmon@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux nls userland_GNU
>>> Unpacking source...
>>> Unpacking nc6-1.0.tar.bz2 to /var/tmp/portage/net-analyzer/netcat6-1.0-r2/work
 * Applying netcat6-1.0-unix-sockets.patch ...                                                                                                                                                                                        [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-analyzer/netcat6-1.0-r2/work/nc6-1.0' ...
 * Running aclocal -I config ...                                                                                                                                                                                                      [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-analyzer/netcat6-1.0-r2/temp/aclocal.out





***** aclocal *****
***** PWD: /var/tmp/portage/net-analyzer/netcat6-1.0-r2/work/nc6-1.0
***** aclocal -I config

This Perl not built to support threads
Compilation failed in require at /usr/share/automake-1.11/Automake/ChannelDefs.pm line 23.
BEGIN failed--compilation aborted at /usr/share/automake-1.11/Automake/ChannelDefs.pm line 26.
Compilation failed in require at /usr/share/automake-1.11/Automake/Configure_ac.pm line 26.
BEGIN failed--compilation aborted at /usr/share/automake-1.11/Automake/Configure_ac.pm line 26.
Compilation failed in require at /usr/bin/aclocal-1.11 line 39.
BEGIN failed--compilation aborted at /usr/bin/aclocal-1.11 line 39.

Reproducible: Always

Steps to Reproduce:
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-25 08:29:10 UTC
I am unable to reproduce the issue though I have perl[-ithreads]. Moreover, your bugreport shows that the issue arises rather within automake itself. Please _attach_ the complete build.log, aclocal.out and 'emerge --info automake:1.11 perl'.

Afterwards, try rebuilding automake:1.11 and let me know if that fixes the issue.
Comment 2 David Hicks 2010-09-25 10:41:12 UTC
Thanks for the quick response.

My apologies, you're right in saying this has nothing to do with netcat6. It doesn't really have anything to do with automake either.

I think the problem was that I was rebuilding 100+ packages at once and perl was rebuilt to drop the "ithreads" USE flag (without me seeing the notice about running perl-cleaner to fix the modules) prior to automake/netcat6 being rebuilt. Thus automake was probably still under the assumption that perl had ithreads support built in. I imagine the code which was failing was:
http://git.savannah.gnu.org/cgit/automake.git/tree/configure.ac?id=df4f77d029cd7fe42722ab402bad105081d093b1#n64

I haven't been able to reproduce this issue as per:

USE="-ithreads" emerge -1 perl
perl-cleaner --modules
emerge -1 automake
emerge -1 netcat6

Thus this bug report can be ignored.

Additional note: https://bugs.gentoo.org/show_bug.cgi?id=302586 has some more detail on the need to run perl-cleaner.