While doing an 'emerge --deep --update world' the process stopped when the make process decided something was wrong and it couldn't build DBD-mysql. Reproducible: Always Steps to Reproduce: 1. emerge --deep --update DBD-mysql Actual Results: Gentoo2 etc # emerge --deep --update DBD-mysql Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/DBD-mysql-2.1027 to / >>> md5 src_uri ;-) DBD-mysql-2.1027.tar.gz >>> Unpacking source... >>> Unpacking DBD-mysql-2.1027.tar.gz to /var/tmp/portage/DBD-mysql-2.1027/work >>> Source unpacked. I will use the following settings for compiling and testing: cflags (mysql_config) = -I'/usr/include/mysql' libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto nocatchstderr (default ) = 0 ssl (guessed ) = 1 testdb (default ) = test testhost (default ) = testpassword (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Warning: prerequisite DBI 1.08 not found. Can't locate DBI/DBD.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/local/lib/site_perl .) at Makefile.PL line 285. make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-perl/DBD-mysql-2.1027 failed. !!! Function perl-module_src_compile, Line 41, Exitcode 2 !!! compilation failed Gentoo2 etc # Expected Results: Should build. Gentoo2 etc # emerge info Portage 2.0.49_pre18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif gpm jpeg kde libg++ mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile sdl tcpd pam perl python esd imlib oggvorbis qt opengl mozilla X gtk alsa mysql imap libwww maildir sasl ssl -gnome radeon" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Gentoo2 etc #
please re-emerge dev-perl/DBI - looks like it isn't there
Thanks for looking at this. OK, by removing DBI and reinstalling it the DBD-mysql installed correctly, but I don;t understand why. what was broken? <SNIP> Checking if your kit is complete... Looks good Warning: prerequisite DBI 1.08 not found. Can't locate DBI/DBD.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/local/lib/site_perl .) at Makefile.PL line 285. make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-perl/DBD-mysql-2.1027 failed. !!! Function perl-module_src_compile, Line 41, Exitcode 2 !!! compilation failed Gentoo2 etc # emerge --deep --update -p dev-perl/DBI These are the packages that I would merge, in order: Calculating dependencies ...done! Gentoo2 etc # emerge -Cp dev-perl/DBI >>> These are the packages that I would unmerge: dev-perl/DBI selected: 1.37 protected: none omitted: none >>> Packages in red are slated for removal. >>> Packages in green will not be removed. Gentoo2 etc # <SNIP> So I did 'emerge -C dev-perl/DBI' and then proceed to try the install again: <SNIP> Gentoo2 etc # emerge -p --deep --update DBD-mysql These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-perl/DBI-1.37 [ebuild U ] dev-perl/DBD-mysql-2.1027 [2.1013-r1] Gentoo2 etc # DBI-1.37 gets installed, and then DBD-mysql installs correctly. Why didn't this work before? Anyway, thanks!
Life is weird sometimes :)
*** Bug 110154 has been marked as a duplicate of this bug. ***