Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194135 - www-apache/mod_perl-2.0.3-r1 - undefined symbol: Perl_Top_ptr
Summary: www-apache/mod_perl-2.0.3-r1 - undefined symbol: Perl_Top_ptr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 206366 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-28 19:57 UTC by Jon Griffin
Modified: 2010-11-02 22:07 UTC (History)
6 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 Jon Griffin 2007-09-28 19:57:17 UTC
When trying to start apache 2.2.6-r1 I get the following error.

apache2: Syntax error on line 171 of /etc/apache2/httpd.conf: Syntax error on line 3 of /etc/apache2/modules.d/75_mod_perl.conf: Cannot load /usr/lib/apache2/modules/mod_perl.so into server: /usr/lib/apache2/modules/mod_perl.so: undefined symbol: Perl_Top_ptr            


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-28 20:18:42 UTC
emerge --info please.
Comment 2 Jon Griffin 2007-09-28 20:29:36 UTC
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.2.5-r2,glibc-2.5-r                                                 0, 2.6.22-gentoo-r7 i686)
=================================================================
System uname: 2.6.22-gentoo-r7 i686 Intel(R) Pentium(R) D CPU 2.80GHz
Timestamp of tree: Fri, 28 Sep 2007 18:00:09 +0000
app-shells/bash:     2.05a-r2, 3.2_p17-r1
dev-java/java-config: 1.2.6
dev-lang/python:     2.3.6, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.7.8-r1, 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10
sys-devel/binutils:  2.11.92.0.12.3-r2, 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans use                                                 rfetch"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress                                                  --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di                                                 stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bitmap-fonts bzip2 cli cracklib crypt doc dri fastcgi fortran gd                                                 bm gif gpm iconv ipv6 isdnlog ithreads jp2 jpeg jpeg2k midi mudflap ncurses nls                                                  nptl nptlonly openmp pam pcre pdf pg-hier pg-vacuumdelay png postgres pppd pytho                                                 n readline reflection ruby rubytests samba session slang spl ssl tcl tcpd thread                                                 s tidy truetype-fonts type1-fonts unicode unzip vhosts x86 xml zip zlib" ALSA_CA                                                 RDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x en                                                 s1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident                                                  usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy d                                                 mix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear me                                                 ter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVI                                                 CES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 g                                                 lk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ar                                                 k chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic                                                  nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga                                                  trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU                                                 AS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Martins Steinbergs 2007-10-05 11:48:20 UTC
same problem here on amd64. emerge --info will follow later today
Comment 4 Martins Steinbergs 2007-10-05 16:38:32 UTC
and my emerge --info

Portage 2.1.3.11 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Fri, 05 Oct 2007 12:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="cccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_GB lv"
MAKEOPTS="-s -j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/gentopia /usr/portage/local/layman/rox /usr/portage/local/layman/xemacs /usr/portage/local/layman/enlightenment /usr/portage/local/layman/xeffects/trunk /usr/portage/local/layman/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi ada alsa amd64 apache2 arts artswrappersuid audiofile berkdb bitmap-fonts browserplugin bzip2 cairo cdda cdr cli commercial cracklib crypt css cups dbus dga divx4linux dlloader dri dts dvb dvd dvdr dvdread dvi exif fat ffmpeg flac foomatic-db fortran freetype fuse gdbm gimpprint gnutls gphoto2 gpm gtk2 hal hfs iconv ieee1394 ipv6 isdnlog jack java jfs jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdgraphics ladspa ldap libcaca live logitech-mouse mad midi mikmod mmx mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mpeg mudflap musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntfs ogg oggvorbis on-the-fly-crypt opengl openmp pam pcre pdf perl php portaudio postgres pppd python qt qt3 qt4 readline reflection reiserfs rtsp ruby scanner session skins sms sndfile soundtouch spl sql sqlite sse sse2 ssl stats subversion svg symlink tcpd truetype truetype-fonts type1-fonts udev unichrome unicode vcd visualization vorbis wifi xine xinerama xml xml2 xorg xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB lv" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Yuval Yaari (RETIRED) gentoo-dev 2007-10-07 09:50:40 UTC
Please provide output of:
`equery uses mod_perl`
and
`equery uses libperl`
Comment 6 Martins Steinbergs 2007-10-08 06:41:33 UTC
naak martins # equery uses mod_perl
[ Searching for packages matching mod_perl... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ No USE flags found for www-apache/mod_perl-2.0.3-r1]

naak martins # equery uses libperl
[ Searching for packages matching libperl... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-devel/libperl-5.8.8-r1 ]
 U I
 + + berkdb   : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - debug    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
 + + gdbm     : Adds support for sys-libs/gdbm (GNU database libraries)
 - - ithreads : Enable Perl threads, has some compatibility problems

Comment 7 Kevin McGrath 2007-11-15 18:50:15 UTC
Having same issue.

emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Thu, 15 Nov 2007 08:00:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/webapps-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mod_perl mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection sasl session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


---------------------------------


equery uses mod_perl
[ Searching for packages matching mod_perl... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ No USE flags found for www-apache/mod_perl-2.0.3-r1]


------------------------

equery uses libperl
[ Searching for packages matching libperl... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-devel/libperl-5.8.8-r1 ]
 U I
 + + berkdb   : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - debug    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .
 + + gdbm     : Adds support for sys-libs/gdbm (GNU database libraries)
 + - ithreads : Enable Perl threads, has some compatibility problems




Comment 8 Benedikt Böhm (RETIRED) gentoo-dev 2008-01-06 21:05:41 UTC
i have commited a cleaned up mod_perl-2.0.3-r2, not sure if that fixes anything related to this bug, please re-open if this is still an issue
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-01-17 18:25:59 UTC
This is caused by mismatch b/w USE=ithreads in perl and libperl and the bug is thus INVALID.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-01-17 18:26:45 UTC
*** Bug 206366 has been marked as a duplicate of this bug. ***
Comment 11 Shunichi Fuji 2009-02-10 08:13:17 UTC
(In reply to comment #9)
> This is caused by mismatch b/w USE=ithreads in perl and libperl and the bug is
> thus INVALID.
> 

so, we needs checking whatever libperl has ithreads too?

diff --git a/mod_perl-2.0.3-r2.ebuild b/mod_perl-2.0.3-r2.ebuild
index 7d4e8ba..e8c9b01 100644
--- a/mod_perl-2.0.3-r2.ebuild
+++ b/mod_perl-2.0.3-r2.ebuild
@@ -30,6 +30,7 @@ need_apache2
 
 pkg_setup() {
        has_apache_threads_in dev-lang/perl ithreads
+       has_apache_threads_in sys-devel/libperl ithreads
 }
 
 src_unpack() {
Comment 12 Kazankov Alexander 2010-01-12 20:47:09 UTC
Depend still has broken! I have upgrade to www-apache/mod_perl-2.0.4-r1 and error message still present! 

After re-build libperl w/ USE=ithreads, allways good.
Comment 13 Benedikt Böhm (RETIRED) gentoo-dev 2010-01-13 08:06:47 UTC
shouldn't libperl have ithreads if perl has ithreads?
Comment 14 Torsten Veller (RETIRED) gentoo-dev 2010-01-13 08:29:43 UTC
(In reply to comment #13)
> shouldn't libperl have ithreads if perl has ithreads?

Yes, it should.
But there is not check in perl-5.8.8 that libperl is compiled with the same useflags :(
Comment 15 Benedikt Böhm (RETIRED) gentoo-dev 2010-01-13 09:22:37 UTC
i just wanted to make sure that i don't have to fix it in mod_perl. so the perl team should fix dev-lang/perl then
Comment 16 Torsten Veller (RETIRED) gentoo-dev 2010-11-02 22:07:18 UTC
perl 5.12 doesn't have this problem. I don't think anyone will fix 5.8.8.

I'd say it's FIXED.