As the error message indicates later, it claims that it cannot find DBI.pm and DBI/DBD.pm. DBI.pm is installed: bash-2.05a# locate DBI.pm /usr/lib/perl5/site_perl/5.6.1/i686-linux/Bundle/DBI.pm /usr/lib/perl5/site_perl/5.6.1/i686-linux/DBI.pm However DBI/DBD.pm is not installed. Is it a missing dependency of some kind or a problem with the ebuild? Here is the error: bash-2.05a# emerge dev-perl/DBD-mysql Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/DBD-mysql-2.1013-r1 to / >>> md5 ;-) DBD-mysql-2.1013.tar.gz >>> Unpacking source... >>> Unpacking DBD-mysql-2.1013.tar.gz patching file Makefile.PL >>> 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 nocatchstderr (default ) = 0 ssl (guessed ) = 0 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 failed to load: Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at (eval 4) line 3. Can't locate DBI/DBD.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at Makefile.PL line 285. make: *** No targets specified and no makefile found. Stop. !!! ERROR: The ebuild did not complete successfully. !!! Function perl-module_src_compile, Line 10, Exitcode 2 !!! compilation failed
what if you re-emerge it DBI ?
I forgot to mention it in the original bug report, but I did try to re-emerge dev-perl/DBI but that did not help.
Run a qpkg -I -l dev-perl/DBI Did it install into /usr/lib/perl5/site_perl/5.6.1 or /usr/lib/site_perl/5.6.1
/usr/lib/site_perl/5.6.1/i686-linux
emerge rsync emerge ExtUtils-MakeMaker The MakeMaker package fixes this bug. It is now part of all system profiles (so it is installed following an emerge sync && emerge -u system) as well as being a part of the perl-modules eclass (again - it was, was dropped, now it's back) as of a few days ago. This should resolve your problem for all future perl modules (and packages that install perl modules, hopefully) that you emerge. Please report back if it does not work. Heck, please report back if it does =:) Michael
Workded. The steps I had to take were: 1. Reemerge ExtUtils-MakeMaker 2. Remerge dev-perl/DBI 3. emerge dev-perl/DBD-mysql
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641f4641b6556dd36545a11f20b460b3ddb35084 commit 641f4641b6556dd36545a11f20b460b3ddb35084 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2023-07-08 19:32:13 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2023-07-08 21:22:16 +0000 sys-apps/openrazer: port to DISTUTILS_USE_PEP517 Closes: https://bugs.gentoo.org/10034 Signed-off-by: Maciej Barć <xgqt@gentoo.org> ...r-3.6.1-r1.ebuild => openrazer-3.6.1-r2.ebuild} | 43 +++++++++++++--------- 1 file changed, 25 insertions(+), 18 deletions(-)