Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143400 - DBD-mysql-3.0004 fails to emerge on AMD64
Summary: DBD-mysql-3.0004 fails to emerge on AMD64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 15:52 UTC by Matthew Schultz
Modified: 2006-08-21 10:10 UTC (History)
0 users

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 Matthew Schultz 2006-08-09 15:52:37 UTC
I'm trying to do an emerge -uDN world on my gentoo box using AMD64 arch and I keep getting this error when I try to emerge DBD-mysql-3.0004 (the error also occurs with 3.0006):

>>> starting parallel fetching
>>> Emerging (1 of 20) dev-perl/DBD-mysql-3.0004 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking DBD-mysql-3.0004.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking DBD-mysql-3.0004.tar.gz to /var/tmp/portage/DBD-mysql-3.0004/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/DBD-mysql-3.0004/work/DBD-mysql-3.0004 ...
 * Using ExtUtils::MakeMaker
Can't locate DBI/DBD.pm in @INC (@INC contains: /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/5.8.7 /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 .) at Makefile.PL line 23.

!!! ERROR: dev-perl/DBD-mysql-3.0004 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called perl-module_src_compile
  perl-module.eclass, line 125:   Called perl-module_src_prep
  perl-module.eclass, line 114:   Called die

!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, and the call stack if relevant.

Error in sys.exitfunc:








emerge --info:

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm) Processor 144
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa apache2 audiofile avi bcmath berkdb bitmap-fonts bzip2 calendar cjk clamav cli crypt cups curl curlwrappers dio directfb dlloader dri dts dvb dvd dvdread eds emboss emu-linux-x86 encode exif fbcon ffmpeg flac foomaticdb fortran ftp gd gif gmp gnome gpm gstreamer gtk gtk2 hash iconv ieee1394 imagemagick imlib innodb ipv6 isdnlog ithreads java javascript jpeg jpeg2k kde kdeenablefinal lcms ldap lzo lzw lzw-tiff mad matroska mcal mhash mime mjpeg mng mp3 mp4 mpeg msession mysql mysqli ncurses network nls nptl nsplugin nvidia ogg openal opengl osc oss pam pcre pdf pdflib pdo perl png pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl seamonkey session simplexml soap sockets spell spl sqlite ssl svg tcpd theora threads tidy tiff transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wddx wxwindows x264 xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-10 00:37:23 UTC
re-emerge module-build and try again
Comment 2 Matthew Schultz 2006-08-10 09:58:54 UTC
module-build is not emerged on my system.  Does DBD-Mysql depend on it because when I go to emerge DBD-Mysql, it does not bring up a module-build dependency?
Comment 3 Matthew Schultz 2006-08-10 10:06:46 UTC
I got this error after I emerged module-build 0.28 and tried to emerge DBD-mysql again:

>>> Emerging (1 of 1) dev-perl/DBD-mysql-3.0004 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking DBD-mysql-3.0004.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking DBD-mysql-3.0004.tar.gz to /var/tmp/portage/DBD-mysql-3.0004/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/DBD-mysql-3.0004/work/DBD-mysql-3.0004 ...
 * Using ExtUtils::MakeMaker
Can't locate DBI/DBD.pm in @INC (@INC contains: /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/5.8.7 /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 .) at Makefile.PL line 23.

!!! ERROR: dev-perl/DBD-mysql-3.0004 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called perl-module_src_compile
  perl-module.eclass, line 125:   Called perl-module_src_prep
  perl-module.eclass, line 114:   Called die

!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 4 Matthew Schultz 2006-08-10 10:07:20 UTC
Reopening as the suggestion did not solve the problem.
Comment 5 Yuval Yaari (RETIRED) gentoo-dev 2006-08-10 10:20:31 UTC
Can I have the output of `perldoc -l DBI` ?
Looks like DBI's not in your @INC, which is weird.
Comment 6 Matthew Schultz 2006-08-10 10:47:15 UTC
I tried perldoc -l DBI and it output that there wasn't any documentation for DBI.  Then I decided to reemerge DBI-1.50 and and then emerged DBD-mysql again and this time it emerged.
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2006-08-12 05:53:21 UTC
Not sure why you were asked to emerge module-build, clearly doesn't use it:
* Using ExtUtils::MakeMaker (it's why i added that fluff to the eclass ;)

Was part of your upgrade and upgrade of perl perhaps? If so, a short run of perl-cleaner should catch any modules hanging around form your pre-5.8.8 install (DBI is certainly a dep, and this has all the hallmarks of being the result of a perl upgrade).
Comment 8 Matthew Schultz 2006-08-12 09:57:17 UTC
You're right.  I reemerged perl a little while ago because it was complaining about not being compiled as multi-threaded as I have everything set as multi-threaded.  That must have resulted in breaking DBI.  
Comment 9 Yuval Yaari (RETIRED) gentoo-dev 2006-08-21 08:01:45 UTC
Closing.
Note: please run perl-cleaner after recompiling perl ;)
Matthew, if you did run perl-cleaner and DBI was still b0rked, reopen or file a new bug.

Thanks
Comment 10 Matthew Schultz 2006-08-21 10:10:57 UTC
Reemerging DBI worked.  I didn't have to run perl-cleaner to emerge DBD-mysql, but I ran it anyway just in case.  Thanks for the help!