Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222767 - Perl gets fux0red when you add the USE="ithreads" flag.
Summary: Perl gets fux0red when you add the USE="ithreads" flag.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 235832 242206 257654 285963 297307 300600 (view as bug list)
Depends on:
Blocks: perl-5.10.1 286910
  Show dependency tree
 
Reported: 2008-05-19 06:12 UTC by Tres 'RiverRat' Melton
Modified: 2010-01-11 23:24 UTC (History)
5 users (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 Tres 'RiverRat' Melton 2008-05-19 06:12:35 UTC
I rebuilt perl with the USE="ithreads" flag and now many things can't find the files correctly.  The current problem looks like so:

 ./qmail-scanner-queue.pl -z                                                                                                               
Can't locate HTML/Parser.pm in @INC (@INC contains: /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /etc/perl /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/HTML.pm line 26.

The first issue I had after this was with perl-core/DB_File and it seems that simply re-emerging the afflicted package corrects it.  Shouldn't 

emerge -avDtN world

fix such things?  I can confirm that

emerge -avDt dev-perl/HTML-Parser

Fixed the above error as did 

emerge -avDt perl-core/DB_File

fix the previous problem.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-19 16:43:08 UTC
Please run perl-updater and reopen this bug if that doesn't fix the problem.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-19 16:43:33 UTC
Er, perl-cleaner that is.
Comment 3 Tres 'RiverRat' Melton 2008-05-21 00:06:10 UTC
I'm almost positive that I ran perl-cleaner and revdep-rebuild after those tweaks but may be mistaken (it may have been after others).  I do not however recall a warning suggesting I do so though so perhaps just emitting a warning would be in order.  Particularly if changing USE flags that will move perl-modules from on place to another such as into or out of:

/usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi

Or other include strings where it seems that USE flags are incorporated into the path.  As it stands now it is a production server and I can't really do that right now.  Perhaps I will have a test machine in the future to do it on.  I do think that closing/resolving this bug is premature though.  If you agree rej you can re-open it and ping me on IRC.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-21 00:11:05 UTC
Sounds good.
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2009-02-05 07:28:40 UTC
*** Bug 257654 has been marked as a duplicate of this bug. ***
Comment 6 Clemente Aguiar 2009-02-22 12:33:15 UTC
I actually reported a bug yesterday which I think it closely related to this one.
I cannot install openoffice-3.0.0 because the installer cannot find a perl module.

see http://bugs.gentoo.org/show_bug.cgi?id=247585

Here is my perl configuration:

# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.27-gentoo-r8, archname=x86_64-linux-thread-multi
    uname='linux caguiar-linux 2.6.27-gentoo-r8 #1 smp mon feb 16 14:22:56 wet 2009 x86_64 intel(r) core(tm)2 duo cpu e6750 @ 2.66ghz genuineintel gnulinux '
    config_args='-des -Darchname=x86_64-linux-thread -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=x86_64-pc-linux-gnu-gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2 -march=nocona -pipe -Duselargefiles -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 -Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm -Dinc_version_list=5.8.0 5.8.0/x86_64-linux-thread-multi 5.8.2 5.8.2/x86_64-linux-thread-multi 5.8.4 5.8.4/x86_64-linux-thread-multi 5.8.5 5.8.5/x86_64-linux-thread-multi 5.8.6 5.8.6/x86_64-linux-thread-multi 5.8.7 5.8.7/x86_64-linux-thread-multi  -Dcf_by=Gentoo -Ud_csh -Dusenm -Dusethreads -Di_ndbm -Di_gdbm -Di_db -Dusrinc=/usr/include -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=nocona -pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.2 (Gentoo 4.1.2 p1.3)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='x86_64-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib64'
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.8.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.8'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
  Built under linux
  Compiled at Feb 21 2009 16:23:20
  @INC:
    /etc/perl
    /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.8.8
    /usr/lib64/perl5/vendor_perl
    /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
    /usr/lib64/perl5/site_perl/5.8.8
    /usr/lib64/perl5/site_perl
    /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
    /usr/lib64/perl5/5.8.8
    /usr/local/lib/site_perl
    .
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2009-09-23 10:38:05 UTC
*** Bug 285963 has been marked as a duplicate of this bug. ***
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2009-09-29 09:12:27 UTC
Fixed in perl-5.10.1 and perl-cleaner-2*
Comment 9 James Pic 2009-09-29 09:25:22 UTC
(In reply to comment #8)
> Fixed in perl-5.10.1 and perl-cleaner-2*
> 

Good job! Thanks!
Comment 10 Torsten Veller (RETIRED) gentoo-dev 2009-09-29 11:00:55 UTC
*** Bug 242206 has been marked as a duplicate of this bug. ***
Comment 11 Torsten Veller (RETIRED) gentoo-dev 2009-12-19 12:02:23 UTC
*** Bug 297307 has been marked as a duplicate of this bug. ***
Comment 12 Torsten Veller (RETIRED) gentoo-dev 2010-01-10 12:39:24 UTC
*** Bug 235832 has been marked as a duplicate of this bug. ***
Comment 13 Torsten Veller (RETIRED) gentoo-dev 2010-01-11 23:24:27 UTC
*** Bug 300600 has been marked as a duplicate of this bug. ***