Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-RPM CPAN distribution.

Report information
The Basics
Id: 111572
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-RPM

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

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



Subject: Tests fail if $HOME/rpmbuild/SOURCES does not exist
I see the following error on Debian and FreeBSD systems with a "rpm" binary available: cp: directory /home/cpansand/rpmbuild/SOURCES does not exist [RPM] cp failed at /usr/perl5.10.1/lib/site_perl/5.10.1/amd64-freebsd/Moose/Meta/Method/Delegation.pm line 110. t/02release.t .. Dubious, test returned 9 (wstat 2304, 0x900) No subtests run
On Sat Jan 30 08:14:29 2016, SREZIC wrote: Show quoted text
> I see the following error on Debian and FreeBSD systems with a "rpm" > binary available: > > cp: directory /home/cpansand/rpmbuild/SOURCES does not exist > [RPM] cp failed at /usr/perl5.10.1/lib/site_perl/5.10.1/amd64- > freebsd/Moose/Meta/Method/Delegation.pm line 110. > t/02release.t .. > Dubious, test returned 9 (wstat 2304, 0x900) > No subtests run
Thanks for reporting. Can you test with the latest commit https://github.com/SkySymbol/perl-dist-zilla-plugin-rpm/commit/32a56083785a93765154936ebb3d4210b627ec19
On 2016-02-07 10:24:41, SKYSYMBOL wrote: Show quoted text
> On Sat Jan 30 08:14:29 2016, SREZIC wrote:
> > I see the following error on Debian and FreeBSD systems with a "rpm" > > binary available: > > > > cp: directory /home/cpansand/rpmbuild/SOURCES does not exist > > [RPM] cp failed at /usr/perl5.10.1/lib/site_perl/5.10.1/amd64- > > freebsd/Moose/Meta/Method/Delegation.pm line 110. > > t/02release.t .. > > Dubious, test returned 9 (wstat 2304, 0x900) > > No subtests run
> > Thanks for reporting. Can you test with the latest commit > https://github.com/SkySymbol/perl-dist-zilla-plugin- > rpm/commit/32a56083785a93765154936ebb3d4210b627ec19
"dzil test" is successful using this commit, and fails with the previous one (checked on a debian wheezy system).
On Sun Feb 07 12:05:18 2016, SREZIC wrote: Show quoted text
> On 2016-02-07 10:24:41, SKYSYMBOL wrote:
> > On Sat Jan 30 08:14:29 2016, SREZIC wrote:
> > > I see the following error on Debian and FreeBSD systems with a > > > "rpm" > > > binary available: > > > > > > cp: directory /home/cpansand/rpmbuild/SOURCES does not exist > > > [RPM] cp failed at /usr/perl5.10.1/lib/site_perl/5.10.1/amd64- > > > freebsd/Moose/Meta/Method/Delegation.pm line 110. > > > t/02release.t .. > > > Dubious, test returned 9 (wstat 2304, 0x900) > > > No subtests run
> > > > Thanks for reporting. Can you test with the latest commit > > https://github.com/SkySymbol/perl-dist-zilla-plugin- > > rpm/commit/32a56083785a93765154936ebb3d4210b627ec19
> > "dzil test" is successful using this commit, and fails with the > previous one (checked on a debian wheezy system).
Yes, that's because the module gets the path to the SOURCES directory from the variable %_sourcedir, wich defaults to ~/rpmbuild/SOURCES. this can be overwritten with a .rpmmacros file. I'll investigate further
On Sun Feb 07 12:05:18 2016, SREZIC wrote: Show quoted text
> On 2016-02-07 10:24:41, SKYSYMBOL wrote:
> > On Sat Jan 30 08:14:29 2016, SREZIC wrote:
> > > I see the following error on Debian and FreeBSD systems with a > > > "rpm" > > > binary available: > > > > > > cp: directory /home/cpansand/rpmbuild/SOURCES does not exist > > > [RPM] cp failed at /usr/perl5.10.1/lib/site_perl/5.10.1/amd64- > > > freebsd/Moose/Meta/Method/Delegation.pm line 110. > > > t/02release.t .. > > > Dubious, test returned 9 (wstat 2304, 0x900) > > > No subtests run
> > > > Thanks for reporting. Can you test with the latest commit > > https://github.com/SkySymbol/perl-dist-zilla-plugin- > > rpm/commit/32a56083785a93765154936ebb3d4210b627ec19
> > "dzil test" is successful using this commit, and fails with the > previous one (checked on a debian wheezy system).
Fixed with https://github.com/SkySymbol/perl-dist-zilla-plugin-rpm/commit/4511031fdc4d0799f7f38f243654b6c7f7cbe326