Re: Help needed with fedora-security-guide-en-US-1.0-16.fc12
Hi Eric, I'm having problems with a Publican package (the Security Guide). Below you will see the latest build error from Koji. I'm not familiar with the error and I can't find anything listed on the wiki pages that I'm used to finding solutions to packaging errors. The SPEC file can be seen at http://sparks.fedorapeople.org/Packages/security-guide/fedora-security-guide-en-US.spec. I'd appreciate any suggestions. I just looked at your spec file in CVS (it's newer than the one you provided a link to): http://cvs.fedoraproject.org/viewvc/rpms/fedora-security-guide-en-US/devel/fedora-security-guide-en-US.spec?revision=1.4view=markup You have this in the %install section: desktop-file-install %{?vendoropt} --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{name}.desktop but you have this in the %files section: %{_datadir}/applications/%{?vendor}%{name}.desktop That %{?vendor} causes Fedora Project to be inserted into the filename, resulting in these errors in build.log: Processing files: fedora-security-guide-en-US-1.0-16.fc12.noarch error: Two files on one line: /usr/share/applications/Fedora error: File must begin with /: Projectfedora-security-guide-en-US.desktop Looks like you need to remove %{?vendor}. Regards, Rich -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Help needed with fedora-security-guide-en-US-1.0-16.fc12
On Sun, 2009-07-26 at 20:09 +0100, Richard Fearn wrote: Hi Eric, I'm having problems with a Publican package (the Security Guide). Below you will see the latest build error from Koji. I'm not familiar with the error and I can't find anything listed on the wiki pages that I'm used to finding solutions to packaging errors. The SPEC file can be seen at http://sparks.fedorapeople.org/Packages/security-guide/fedora-security-guide-en-US.spec. I'd appreciate any suggestions. I just looked at your spec file in CVS (it's newer than the one you provided a link to): http://cvs.fedoraproject.org/viewvc/rpms/fedora-security-guide-en-US/devel/fedora-security-guide-en-US.spec?revision=1.4view=markup You have this in the %install section: desktop-file-install %{?vendoropt} --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{name}.desktop but you have this in the %files section: %{_datadir}/applications/%{?vendor}%{name}.desktop That %{?vendor} causes Fedora Project to be inserted into the filename, resulting in these errors in build.log: Processing files: fedora-security-guide-en-US-1.0-16.fc12.noarch error: Two files on one line: /usr/share/applications/Fedora error: File must begin with /: Projectfedora-security-guide-en-US.desktop Looks like you need to remove %{?vendor}. Regards, Rich I'll forward this along as this is default coming out of Publican. Thanks for the eyes, Rich. -- Eric signature.asc Description: This is a digitally signed message part -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Help needed with fedora-security-guide-en-US-1.0-16.fc12
I'm having problems with a Publican package (the Security Guide). Below you will see the latest build error from Koji. I'm not familiar with the error and I can't find anything listed on the wiki pages that I'm used to finding solutions to packaging errors. The SPEC file can be seen at http://sparks.fedorapeople.org/Packages/security-guide/fedora-security-guide-en-US.spec. I'd appreciate any suggestions. Thanks, Eric Package: fedora-security-guide-en-US-1.0-16.fc12 Tag: dist-f12-rebuild Status: failed Built by: jkeating ID: 117516 Started: Sat, 25 Jul 2009 16:44:37 UTC Finished: Sat, 25 Jul 2009 16:49:17 UTC fedora-security-guide-en-US-1.0-16.fc12 (117516) failed on x86-5.fedora.phx.redhat.com (noarch), x86-1.fedora.phx.redhat.com (noarch): BuildError: error building package (arch noarch), mock exited with status 1; see build.log for more information SRPMS: fedora-security-guide-en-US-1.0-16.fc12.src.rpm Failed tasks: - Task 1503758 on x86-5.fedora.phx.redhat.com Task Type: build (dist-f12-rebuild, /cvs/pkgs:rpms/fedora-security-guide-en-US/devel:fedora-security-guide-en-US-1_0-16_fc12) Task 1513511 on x86-1.fedora.phx.redhat.com Task Type: buildArch (fedora-security-guide-en-US-1.0-16.fc12.src.rpm, noarch) logs: http://koji.fedoraproject.org/koji/getfile?taskID=1513511name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=1513511name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=1513511name=state.log Closed tasks: - Task 1513488 on x86-5.fedora.phx.redhat.com Task Type: buildSRPMFromSCM (/cvs/pkgs:rpms/fedora-security-guide-en-US/devel:fedora-security-guide-en-US-1_0-16_fc12) logs: http://koji.fedoraproject.org/koji/getfile?taskID=1513488name=build.log http://koji.fedoraproject.org/koji/getfile?taskID=1513488name=checkout.log http://koji.fedoraproject.org/koji/getfile?taskID=1513488name=root.log http://koji.fedoraproject.org/koji/getfile?taskID=1513488name=state.log Task Info: http://koji.fedoraproject.org/koji/taskinfo?taskID=1503758 Build Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=117516 -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list