Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Fedora CPAN distribution.

Report information
The Basics
Id: 93118
Status: resolved
Priority: 0/
Queue: CPANPLUS-Dist-Fedora

People
Owner: Nobody in particular
Requestors: chris.travers [...] gmail.com
Cc:
AdminCc:

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



Subject: Bug: Can't build rpms for recent fedora
Date: Tue, 18 Feb 2014 02:13:22 -0800
To: bug-CPANPLUS-Dist-Fedora [...] rt.cpan.org
From: Chris Travers <chris.travers [...] gmail.com>
Recent fedora now installs cpan modules as downloaded and built from CPAN into the local user's directory instead of globally. This appears to break the build process. On Fedora 17, steps to reproduce this are: root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject This produces a spec file in the current directory and the following errors on building the RPM: RPM build errors: File not found by glob: /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/usr/share/perl5/vendor_perl/* File not found by glob: /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/usr/share/man/man3/*.3* Now, checking this out, the file is actually in /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/root/perl5/lib/perl5/PGObject.pm I am looking into a possible fix. Is there a source repo I can create a patch against? -- Best Wishes, Chris Travers Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor lock-in. http://www.efficito.com/learn_more.shtml
Subject: Re: [rt.cpan.org #93118] AutoReply: Bug: Can't build rpms for recent fedora
Date: Tue, 18 Feb 2014 02:47:47 -0800
To: bug-cpanplus-dist-fedora <bug-CPANPLUS-Dist-Fedora [...] rt.cpan.org>
From: Chris Travers <chris.travers [...] gmail.com>
I found a way to fix it. In the spec file I had to modify it so that the %build section reads as follows: %build %{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=%{perl_vendorlib} INSTALLVENDORMAN3DIR=%{_mandir}/man3 make %{?_smp_mflags} Note that is three lines (%build, then the Makefile.PL processing, then the make). On Tue, Feb 18, 2014 at 2:13 AM, Bugs in CPANPLUS-Dist-Fedora via RT < bug-CPANPLUS-Dist-Fedora@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Bug: Can't build rpms for recent fedora", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #93118]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=93118 > > Please include the string: > > [rt.cpan.org #93118] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > bug-CPANPLUS-Dist-Fedora@rt.cpan.org > > ------------------------------------------------------------------------- > Recent fedora now installs cpan modules as downloaded and built from CPAN > into the local user's directory instead of globally. This appears to break > the build process. > > On Fedora 17, steps to reproduce this are: > > root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject > > This produces a spec file in the current directory and the following errors > on building the RPM: > > RPM build errors: > File not found by glob: > > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/usr/share/perl5/vendor_perl/* > File not found by glob: > > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/usr/share/man/man3/*.3* > > Now, checking this out, the file is actually in > > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3-1.fc17.i386/root/perl5/lib/perl5/PGObject.pm > > I am looking into a possible fix. Is there a source repo I can create a > patch against? > > > -- > Best Wishes, > Chris Travers > > Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor > lock-in. > http://www.efficito.com/learn_more.shtml >
-- Best Wishes, Chris Travers Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor lock-in. http://www.efficito.com/learn_more.shtml
Hi Chris, thanks for the report. On Tue Feb 18 05:13:33 2014, EINHVERFR wrote: Show quoted text
> Recent fedora now installs cpan modules as downloaded and built from > CPAN > into the local user's directory instead of globally. This appears to > break > the build process. > > On Fedora 17, steps to reproduce this are: > > root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject > > This produces a spec file in the current directory and the following > errors > on building the RPM: > > RPM build errors: > File not found by glob: > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > 1.fc17.i386/usr/share/perl5/vendor_perl/* > File not found by glob: > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > 1.fc17.i386/usr/share/man/man3/*.3* > > Now, checking this out, the file is actually in > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > 1.fc17.i386/root/perl5/lib/perl5/PGObject.pm > > I am looking into a possible fix. Is there a source repo I can create > a > patch against?
Yes, there is: https://bitbucket.org/shlomif/cpanplus-dist-backends A pull request or a patch will be welcome (just note that I'll have to set up a virtual machine (VM) of a recent Fedora to test it). Regards, -- Shlomi Fish
Subject: Re: [rt.cpan.org #93118] Bug: Can't build rpms for recent fedora
Date: Tue, 18 Feb 2014 03:10:55 -0800
To: bug-cpanplus-dist-fedora <bug-CPANPLUS-Dist-Fedora [...] rt.cpan.org>
From: Chris Travers <chris.travers [...] gmail.com>
Great. I will send you a patch. Also I am noticing that the build requires vs requires detection seems to assume one is not building for distribution. I may send you a patch on that too once I get a chance to look at that more. I am hoping to use this to package the PGObject framework modules for Fedora. On Tue, Feb 18, 2014 at 2:49 AM, Shlomi Fish via RT < bug-CPANPLUS-Dist-Fedora@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=93118 > > > Hi Chris, > > thanks for the report. > > On Tue Feb 18 05:13:33 2014, EINHVERFR wrote:
> > Recent fedora now installs cpan modules as downloaded and built from > > CPAN > > into the local user's directory instead of globally. This appears to > > break > > the build process. > > > > On Fedora 17, steps to reproduce this are: > > > > root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject > > > > This produces a spec file in the current directory and the following > > errors > > on building the RPM: > > > > RPM build errors: > > File not found by glob: > > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > > 1.fc17.i386/usr/share/perl5/vendor_perl/* > > File not found by glob: > > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > > 1.fc17.i386/usr/share/man/man3/*.3* > > > > Now, checking this out, the file is actually in > > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > > 1.fc17.i386/root/perl5/lib/perl5/PGObject.pm > > > > I am looking into a possible fix. Is there a source repo I can create > > a > > patch against?
> > Yes, there is: > > https://bitbucket.org/shlomif/cpanplus-dist-backends > > A pull request or a patch will be welcome (just note that I'll have to set > up a virtual machine (VM) of a recent Fedora to test it). > > Regards, > > -- Shlomi Fish > > >
-- Best Wishes, Chris Travers Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor lock-in. http://www.efficito.com/learn_more.shtml
Subject: Re: [rt.cpan.org #93118] Bug: Can't build rpms for recent fedora
Date: Tue, 18 Feb 2014 03:25:46 -0800
To: bug-cpanplus-dist-fedora <bug-CPANPLUS-Dist-Fedora [...] rt.cpan.org>
From: Chris Travers <chris.travers [...] gmail.com>
Patch submitted via pull request. I am new to Mercurial so let me know if I did something horribly wrong. On Tue, Feb 18, 2014 at 3:10 AM, Chris Travers <chris.travers@gmail.com>wrote: Show quoted text
> Great. I will send you a patch. > > Also I am noticing that the build requires vs requires detection seems to > assume one is not building for distribution. I may send you a patch on > that too once I get a chance to look at that more. I am hoping to use this > to package the PGObject framework modules for Fedora. > > > On Tue, Feb 18, 2014 at 2:49 AM, Shlomi Fish via RT < > bug-CPANPLUS-Dist-Fedora@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=93118 > >> >> Hi Chris, >> >> thanks for the report. >> >> On Tue Feb 18 05:13:33 2014, EINHVERFR wrote:
>> > Recent fedora now installs cpan modules as downloaded and built from >> > CPAN >> > into the local user's directory instead of globally. This appears to >> > break >> > the build process. >> > >> > On Fedora 17, steps to reproduce this are: >> > >> > root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject >> > >> > This produces a spec file in the current directory and the following >> > errors >> > on building the RPM: >> > >> > RPM build errors: >> > File not found by glob: >> > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- >> > 1.fc17.i386/usr/share/perl5/vendor_perl/* >> > File not found by glob: >> > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- >> > 1.fc17.i386/usr/share/man/man3/*.3* >> > >> > Now, checking this out, the file is actually in >> > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- >> > 1.fc17.i386/root/perl5/lib/perl5/PGObject.pm >> > >> > I am looking into a possible fix. Is there a source repo I can create >> > a >> > patch against?
>> >> Yes, there is: >> >> https://bitbucket.org/shlomif/cpanplus-dist-backends >> >> A pull request or a patch will be welcome (just note that I'll have to >> set up a virtual machine (VM) of a recent Fedora to test it). >> >> Regards, >> >> -- Shlomi Fish >> >> >>
> > > -- > Best Wishes, > Chris Travers > > Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor > lock-in. > http://www.efficito.com/learn_more.shtml >
-- Best Wishes, Chris Travers Efficito: Hosted Accounting and ERP. Robust and Flexible. No vendor lock-in. http://www.efficito.com/learn_more.shtml
Hi Chris, thanks for the patches. This was applied. RESOLVing. Regards, -- Shlomi Fish On Tue Feb 18 06:26:05 2014, EINHVERFR wrote: Show quoted text
> Patch submitted via pull request. I am new to Mercurial so let me > know if > I did something horribly wrong. > > > On Tue, Feb 18, 2014 at 3:10 AM, Chris Travers > <chris.travers@gmail.com>wrote: >
> > Great. I will send you a patch. > > > > Also I am noticing that the build requires vs requires detection > > seems to > > assume one is not building for distribution. I may send you a patch > > on > > that too once I get a chance to look at that more. I am hoping to > > use this > > to package the PGObject framework modules for Fedora. > > > > > > On Tue, Feb 18, 2014 at 2:49 AM, Shlomi Fish via RT < > > bug-CPANPLUS-Dist-Fedora@rt.cpan.org> wrote: > >
> >> <URL: https://rt.cpan.org/Ticket/Display.html?id=93118 > > >> > >> Hi Chris, > >> > >> thanks for the report. > >> > >> On Tue Feb 18 05:13:33 2014, EINHVERFR wrote:
> >> > Recent fedora now installs cpan modules as downloaded and built > >> > from > >> > CPAN > >> > into the local user's directory instead of globally. This appears > >> > to > >> > break > >> > the build process. > >> > > >> > On Fedora 17, steps to reproduce this are: > >> > > >> > root# cpan2dist --format=CPANPLUS::Dist::Fedora PGObject > >> > > >> > This produces a spec file in the current directory and the > >> > following > >> > errors > >> > on building the RPM: > >> > > >> > RPM build errors: > >> > File not found by glob: > >> > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > >> > 1.fc17.i386/usr/share/perl5/vendor_perl/* > >> > File not found by glob: > >> > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > >> > 1.fc17.i386/usr/share/man/man3/*.3* > >> > > >> > Now, checking this out, the file is actually in > >> > /root/rpmbuild/BUILDROOT/perl-PGObject-1.3- > >> > 1.fc17.i386/root/perl5/lib/perl5/PGObject.pm > >> > > >> > I am looking into a possible fix. Is there a source repo I can > >> > create > >> > a > >> > patch against?
> >> > >> Yes, there is: > >> > >> https://bitbucket.org/shlomif/cpanplus-dist-backends > >> > >> A pull request or a patch will be welcome (just note that I'll have > >> to > >> set up a virtual machine (VM) of a recent Fedora to test it). > >> > >> Regards, > >> > >> -- Shlomi Fish > >> > >> > >>
> > > > > > -- > > Best Wishes, > > Chris Travers > > > > Efficito: Hosted Accounting and ERP. Robust and Flexible. No > > vendor > > lock-in. > > http://www.efficito.com/learn_more.shtml > >