Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 114177
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: MICHIELB [...] cpan.org
Requestors: DR2370 [...] att.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 4.035_01



Subject: install fails for p5-DBD-mysql-4.033 on freebsd from ports.
Date: Wed, 4 May 2016 18:43:55 +0000
To: "bug-DBD-mysql [...] rt.cpan.org" <bug-DBD-mysql [...] rt.cpan.org>
From: "RANDOLPH, DONALD L" <DR2370 [...] att.com>
Here is a snippet from when the install fails... it is looking for /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::README.3.gz and it doesn't seem to exist. ===> Staging for p5-DBD-mysql-4.033 ===> Generating temporary packing list "/usr/local/bin/perl5.20.3" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 Manifying 3 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/DBD/mysql/mysql.so Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/README.pod Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql.pm Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql/INSTALL.pod Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql/GetInfo.pm Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/Bundle/DBD/mysql.pm Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/Bundle::DBD::mysql.3 Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::mysql.3 Installing /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::mysql::INSTALL.3 /usr/bin/strip /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/DBD/mysql/mysql.so ====> Compressing man pages (compress-man) ===> Installing for p5-DBD-mysql-4.033 ===> Checking if p5-DBD-mysql already installed ===> Registering installation for p5-DBD-mysql-4.033 pkg-static: Unable to access file /usr/ports/databases/p5-DBD-mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::README.3.gz: No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/databases/p5-DBD-mysql *** Error code 1 Stop. make: stopped in /usr/ports/databases/p5-DBD-mysql ===>>> Installation of p5-DBD-mysql-4.033 (databases/p5-DBD-mysql) failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster <flags> databases/p5-DBD-mysql Thanks Don Randolph
On 2016-05-04 14:44:26, DR2370@att.com wrote: Show quoted text
> Here is a snippet from when the install fails... it is looking for > /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::README.3.gz > and it doesn't seem to exist. > > ===> Staging for p5-DBD-mysql-4.033 > ===> Generating temporary packing list > "/usr/local/bin/perl5.20.3" -MExtUtils::Command::MM -e 'cp_nonempty' > -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 > Manifying 3 pod documents > Files found in blib/arch: installing files in blib/lib into > architecture dependent library tree > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/DBD/mysql/mysql.so > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/README.pod > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql.pm > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql/INSTALL.pod > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql/GetInfo.pm > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/Bundle/DBD/mysql.pm > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/Bundle::DBD::mysql.3 > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::mysql.3 > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::mysql::INSTALL.3 > /usr/bin/strip /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/DBD/mysql/mysql.so > ====> Compressing man pages (compress-man) > ===> Installing for p5-DBD-mysql-4.033 > ===> Checking if p5-DBD-mysql already installed > ===> Registering installation for p5-DBD-mysql-4.033 > pkg-static: Unable to access file /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::README.3.gz: > No such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/databases/p5-DBD-mysql > *** Error code 1 > > Stop. > make: stopped in /usr/ports/databases/p5-DBD-mysql > > ===>>> Installation of p5-DBD-mysql-4.033 (databases/p5-DBD-mysql) > failed > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command > line: > portmaster <flags> databases/p5-DBD-mysql > > Thanks > > Don Randolph
First, this looks like a problem of FreeBSD's port system (especially the perl module handling), and should be reported at FreeBSD's bugzilla system. But there's another problem here: README.pod is installed as DBD/README.pod, which is probably wrong. It should be installed as DBD/mysql/README.pod, or not installed at all. A patch to fix the problem can be found here: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/DBD-mysql-4.033-RT114177.patch Unfortunately it does not seem to exist a simple way in ExtUtils::MakeMaker to just exclude certain files in the dirscan process, so the solution now is to list explicitly all files to be installed. Another workaround would be to rename README.pod to README; in this case no changes to the Makefile.PL have to be done. Regards, Slaven
On Wed 04 Mei 2016 14:44:26, DR2370@att.com wrote: Show quoted text
> Here is a snippet from when the install fails... it is looking for > /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::README.3.gz > and it doesn't seem to exist. > > ===> Staging for p5-DBD-mysql-4.033 > ===> Generating temporary packing list > "/usr/local/bin/perl5.20.3" -MExtUtils::Command::MM -e 'cp_nonempty' > -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 > Manifying 3 pod documents > Files found in blib/arch: installing files in blib/lib into > architecture dependent library tree > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/DBD/mysql/mysql.so > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/README.pod > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql.pm > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql/INSTALL.pod > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/DBD/mysql/GetInfo.pm > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/Bundle/DBD/mysql.pm > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/Bundle::DBD::mysql.3 > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::mysql.3 > Installing /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::mysql::INSTALL.3 > /usr/bin/strip /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/DBD/mysql/mysql.so > ====> Compressing man pages (compress-man) > ===> Installing for p5-DBD-mysql-4.033 > ===> Checking if p5-DBD-mysql already installed > ===> Registering installation for p5-DBD-mysql-4.033 > pkg-static: Unable to access file /usr/ports/databases/p5-DBD- > mysql/work/stage/usr/local/lib/perl5/site_perl/man/man3/DBD::README.3.gz: > No such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/databases/p5-DBD-mysql > *** Error code 1 > > Stop. > make: stopped in /usr/ports/databases/p5-DBD-mysql > > ===>>> Installation of p5-DBD-mysql-4.033 (databases/p5-DBD-mysql) > failed > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command > line: > portmaster <flags> databases/p5-DBD-mysql > > Thanks > > Don Randolph
Thanks for the bug report! I fixed this by renaming README.pod to README.md in https://github.com/perl5-dbi/DBD-mysql/commit/5943f9288cfbc1050ee53660f486acb73be424d5 -- Michiel