[opensuse-buildservice] Help with packing failure
Hi, I am trying my hand at using the build service, in the hopes of getting perlcritic added at some point. perlcritic depends on B::Keywords which is just a simple Perl modules, thus it should be an easy enough start. I've tried to follow the build tutorial and the packaging guidelines for creating the spec file. When I build on my local machine with: osc build SUSE_Linux_11.1 x86_64 perl-B-Keywords.spec I end up with the following error: error: Installed (but unpackaged) file(s) found: /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/B/Keywords/.packlist RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/B/Keywords/.packlist I think this is related to me using %perl_process_packlist. I did find http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros#3.15._.25perl_pro... as an explanation what %perl_process_packlist means but I could not find any directions on what I am supposed to to to make things work. Help is much appreciated. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, On Tue, 01 Sep 2009, Robert Schweikert wrote:
When I build on my local machine with:
osc build SUSE_Linux_11.1 x86_64 perl-B-Keywords.spec
I end up with the following error:
error: Installed (but unpackaged) file(s) found:
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/B/Keywords/.packlist
RPM build errors: Installed (but unpackaged) file(s) found:
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/B/Keywords/.packlist
I think this is related to me using %perl_process_packlist. I did find http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros#3.15._.25perl_pro...
I'd guess you can delete the packlist as it's information is stored in /var/adm/perl-modules/perl-B-Keywords and added to by SuSEconfig to the system-packlist. %perl_make_install %perl_process_packlist %__rm -f %{buildroot}%{perl_vendorarch}/auto/B/Keywords/.packlist Although I think that rm belongs in the %perl_process_packlist macro. -dnh -- We deal in the moral equivalent of black holes, where the normal laws of right and wrong break down; beyond those metaphysical event horizons there exist ... special circumstances -- Use Of Weapons -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Thanks. This worked. Robert David Haller wrote:
Hello,
On Tue, 01 Sep 2009, Robert Schweikert wrote:
When I build on my local machine with:
osc build SUSE_Linux_11.1 x86_64 perl-B-Keywords.spec
I end up with the following error:
error: Installed (but unpackaged) file(s) found:
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/B/Keywords/.packlist
RPM build errors: Installed (but unpackaged) file(s) found:
/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/B/Keywords/.packlist
I think this is related to me using %perl_process_packlist. I did find http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros#3.15._.25perl_pro...
I'd guess you can delete the packlist as it's information is stored in /var/adm/perl-modules/perl-B-Keywords and added to by SuSEconfig to the system-packlist.
%perl_make_install %perl_process_packlist %__rm -f %{buildroot}%{perl_vendorarch}/auto/B/Keywords/.packlist
Although I think that rm belongs in the %perl_process_packlist macro.
-dnh
-- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
David Haller
-
Robert Schweikert