Skip Menu |

This queue is for tickets about the Module-Build-Tiny CPAN distribution.

Report information
The Basics
Id: 92304
Status: resolved
Priority: 0/
Queue: Module-Build-Tiny

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

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



Subject: --destdir broken in 0.31?
I just tried to upgrade the debian package to 0.31, and the build failed: Show quoted text
>-->snip-->
dh build dh_testdir dh_auto_configure perl Build.PL --installdirs vendor --config "optimize=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2" --config "ld=cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro" Creating new 'Build' script for 'Module-Build-Tiny' version '0.031' dh_auto_build perl Build cp lib/Module/Build/Tiny.pm blib/lib/Module/Build/Tiny.pm dh_auto_test perl Build test t/00-compile.t .......... ok t/release-pod-syntax.t .. skipped: these tests are for release candidate testing t/simple.t .............. ok All tests successful. Files=3, Tests=22, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.30 cusr 0.02 csys = 0.35 CPU) Result: PASS fakeroot debian/rules binary dh binary dh_testroot dh_prep rm -f debian/libmodule-build-tiny-perl.substvars rm -f debian/libmodule-build-tiny-perl.*.debhelper rm -rf debian/libmodule-build-tiny-perl/ dh_auto_install install -d debian/libmodule-build-tiny-perl perl Build install --destdir /tmp/buildd/libmodule-build-tiny-perl-0.031/debian/libmodule-build-tiny-perl --create_packlist 0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/man/man3' mkdir /usr/local/man/man3: Permission denied at /usr/share/perl/5.18/ExtUtils/Install.pm line 469. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at lib/Module/Build/Tiny.pm line 110. dh_auto_install: perl Build install --destdir /tmp/buildd/libmodule-build-tiny-perl-0.031/debian/libmodule-build-tiny-perl --create_packlist 0 returned exit code 13 make: *** [binary] Error 13 <--snip<--< Looks like --destdir $temporarybuildir is ignored? Data::Dumper'ing %opts in the Build() after the (new) GetOptionsFromArray line outputs nothing (whereas with 0.30 it contains the expected values for all stages). Cheers, gregor
On Mon Jan 20 14:19:53 2014, GREGOA wrote: Show quoted text
> I just tried to upgrade the debian package to 0.31, and the build > failed: >
> > -->snip-->
> > dh build > dh_testdir > dh_auto_configure > perl Build.PL --installdirs vendor --config "optimize=-g -O2 > -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format- > security -D_FORTIFY_SOURCE=2" --config "ld=cc -g -O2 -fstack-protector > --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,- > z,relro" > Creating new 'Build' script for 'Module-Build-Tiny' version '0.031' > dh_auto_build > perl Build > cp lib/Module/Build/Tiny.pm blib/lib/Module/Build/Tiny.pm > dh_auto_test > perl Build test > t/00-compile.t .......... ok > t/release-pod-syntax.t .. skipped: these tests are for release > candidate testing > t/simple.t .............. ok > All tests successful. > Files=3, Tests=22, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.30 cusr > 0.02 csys = 0.35 CPU) > Result: PASS > fakeroot debian/rules binary > dh binary > dh_testroot > dh_prep > rm -f debian/libmodule-build-tiny-perl.substvars > rm -f debian/libmodule-build-tiny-perl.*.debhelper > rm -rf debian/libmodule-build-tiny-perl/ > dh_auto_install > install -d debian/libmodule-build-tiny-perl > perl Build install --destdir /tmp/buildd/libmodule-build-tiny- > perl-0.031/debian/libmodule-build-tiny-perl --create_packlist 0 > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > ERROR: Can't create '/usr/local/man/man3' > mkdir /usr/local/man/man3: Permission denied at > /usr/share/perl/5.18/ExtUtils/Install.pm line 469. > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > at lib/Module/Build/Tiny.pm line 110. > dh_auto_install: perl Build install --destdir /tmp/buildd/libmodule- > build-tiny-perl-0.031/debian/libmodule-build-tiny-perl > --create_packlist 0 returned exit code 13 > make: *** [binary] Error 13 > > <--snip<--< > > Looks like --destdir $temporarybuildir is ignored? > > Data::Dumper'ing %opts in the Build() after the (new) > GetOptionsFromArray line outputs nothing (whereas with 0.30 it > contains the expected values for all stages). > > Cheers, > gregor
Yes, 0.031 had broken argument handling. I just released 0.032 that should fix this and related issues. Regards, Leon
Subject: Re: [rt.cpan.org #92304] --destdir broken in 0.31?
Date: Mon, 20 Jan 2014 20:52:23 +0100
To: Leon Timmermans via RT <bug-Module-Build-Tiny [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Mon, 20 Jan 2014 14:24:47 -0500, Leon Timmermans via RT wrote: Show quoted text
> > Data::Dumper'ing %opts in the Build() after the (new) > > GetOptionsFromArray line outputs nothing (whereas with 0.30 it > > contains the expected values for all stages). > > > > Cheers, > > gregor
> > Yes, 0.031 had broken argument handling. I just released 0.032 that should fix this and related issues.
Confirmed, thanks for the quick fix. Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Peter Jones: Easy
Download signature.asc
application/pgp-signature 819b

Message body not shown because it is not plain text.