[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845125: marked as done (pegasus-wms: FTBFS when built with dpkg-buildpackage -A (dpkg-genbuildinfo error))



Your message dated Wed, 07 Dec 2016 09:05:10 +0000
with message-id <E1cEYA2-0006Cp-JZ@fasolo.debian.org>
and subject line Bug#845125: fixed in pegasus-wms 4.4.0+dfsg-6
has caused the Debian Bug report #845125,
regarding pegasus-wms: FTBFS when built with dpkg-buildpackage -A (dpkg-genbuildinfo error)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
845125: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845125
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:pegasus-wms
Version: 4.4.0+dfsg-5
Severity: serious
Tags: patch

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh_testdir
# during build we need symlinks to system provided jars
(cd share/pegasus/java && \
 rm -f *.jar && \
 for JAR in commons-logging.jar commons-pool.jar gnu-getopt.jar log4j-1.2.jar mysql-connector-java.jar xml-resolver.jar xercesImpl.jar xmlParserAPIs.jar xmlrpc-common.jar jglobus-ssl-proxies.jar jglobus-gss.jar jglobus-gridftp.jar jglobus-gram.jar gson.jar; do \
     ln -s /usr/share/java/$JAR ; \
 done \
)
# build documentation to get updated PDFs
ant doc
Buildfile: /<<BUILDDIR>>/pegasus-wms-4.4.0+dfsg/build.xml


[... snipped ...]

	find debian/pegasus-wms/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/pegasus-wms/usr/share/man -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms/usr/lib/x86_64-linux-gnu/perl5/5.24 debian/pegasus-wms/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
	find debian/pegasus-wms -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
	find debian/pegasus-wms-doc  -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/pegasus-wms-doc ! -type l  -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/pegasus-wms-doc/usr/share/doc -type f  ! -regex 'debian/pegasus-wms-doc/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms-doc/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/pegasus-wms-doc/usr/share/man -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms-doc/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms-doc/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms-doc/usr/lib/x86_64-linux-gnu/perl5/5.24 debian/pegasus-wms-doc/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
	find debian/pegasus-wms-doc -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/pegasus-wms-doc/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
dh_installdeb
	install -d debian/pegasus-wms/DEBIAN
	install -d debian/pegasus-wms-doc/DEBIAN
dh_gencontrol
	echo misc:Depends= >> debian/pegasus-wms.substvars
	echo misc:Pre-Depends= >> debian/pegasus-wms.substvars
	dpkg-gencontrol -ppegasus-wms -ldebian/changelog -Tdebian/pegasus-wms.substvars -Pdebian/pegasus-wms
dpkg-gencontrol: warning: Depends field of package pegasus-wms: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
	chmod 0644 -- debian/pegasus-wms/DEBIAN/control
	chown 0:0 -- debian/pegasus-wms/DEBIAN/control
	echo misc:Depends= >> debian/pegasus-wms-doc.substvars
	echo misc:Pre-Depends= >> debian/pegasus-wms-doc.substvars
	dpkg-gencontrol -ppegasus-wms-doc -ldebian/changelog -Tdebian/pegasus-wms-doc.substvars -Pdebian/pegasus-wms-doc
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
	chmod 0644 -- debian/pegasus-wms-doc/DEBIAN/control
	chown 0:0 -- debian/pegasus-wms-doc/DEBIAN/control
dh_md5sums
	(cd debian/pegasus-wms >/dev/null ; find . -type f  ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
	chmod 0644 -- debian/pegasus-wms/DEBIAN/md5sums
	chown 0:0 -- debian/pegasus-wms/DEBIAN/md5sums
	(cd debian/pegasus-wms-doc >/dev/null ; find . -type f  ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
	chmod 0644 -- debian/pegasus-wms-doc/DEBIAN/md5sums
	chown 0:0 -- debian/pegasus-wms-doc/DEBIAN/md5sums
dh_builddeb -i
	dpkg-deb --build debian/pegasus-wms-doc ..
dpkg-deb: building package 'pegasus-wms-doc' in '../pegasus-wms-doc_4.4.0+dfsg-5_all.deb'.
 dpkg-genbuildinfo --build=all
dpkg-genbuildinfo: error: cannot fstat file ../pegasus-wms_4.4.0+dfsg-5_amd64.deb: No such file or directory
dpkg-buildpackage: error: dpkg-genbuildinfo --build=all gave error exit status 2
--------------------------------------------------------------------------------

To reproduce please try to build the package with "dpkg-buildpackage -A".

Based in similar bugs I believe the patch below may be enough to the problem.
If it's not enough, consider adding -a and -i everywhere (but IMO
the best fix would be to switch to "dh").

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -79,8 +79,8 @@ binary-indep: build-indep
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
+	dh_gencontrol -i
+	dh_md5sums -i
 	dh_builddeb -i
 
 
@@ -137,8 +137,8 @@ binary-arch: build-arch
 	dh_fixperms
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
+	dh_gencontrol -a
+	dh_md5sums -a
 	dh_builddeb -a
 
 

--- End Message ---
--- Begin Message ---
Source: pegasus-wms
Source-Version: 4.4.0+dfsg-6

We believe that the bug you reported is fixed in the latest version of
pegasus-wms, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 845125@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated pegasus-wms package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 07 Dec 2016 08:34:57 +0100
Source: pegasus-wms
Binary: pegasus-wms pegasus-wms-doc
Architecture: source
Version: 4.4.0+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Description:
 pegasus-wms - Scientific workflow management system for HTCondor
 pegasus-wms-doc - Scientific workflow management system for HTCondor - documentatio
Closes: 845125
Changes:
 pegasus-wms (4.4.0+dfsg-6) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS when building Arch:all only (closes: #845125).
Checksums-Sha1:
 366730b6147a1dc3489cd22848516b767d2c114c 1899 pegasus-wms_4.4.0+dfsg-6.dsc
 cd8609602999d92f64701cc611176443d3486779 54648 pegasus-wms_4.4.0+dfsg-6.debian.tar.xz
Checksums-Sha256:
 1e102fb5d29b57dc6c65150233113af6cdf0c5e4c1c69534af68c015a04b0a24 1899 pegasus-wms_4.4.0+dfsg-6.dsc
 b56598aad73b4dbcb9c8259b09a1063b0d37bdde8835a82d445e616630063316 54648 pegasus-wms_4.4.0+dfsg-6.debian.tar.xz
Files:
 f2230960b8ea77950aab5566c681e91f 1899 science optional pegasus-wms_4.4.0+dfsg-6.dsc
 c156df712382482aaa2e4b8da1add53f 54648 science optional pegasus-wms_4.4.0+dfsg-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE/Zzi2Nd1S3irJ5u9LDtDb+rGgQEFAlhHwjIACgkQLDtDb+rG
gQErOwf8D9dYdQtOhi4pCvMomUb8l8xy3WjTBD0vcVYreCuVCcw9Qk7RLM9Q5IGp
6zaOV9M+yBr0yRtE7UQRHPRQ3+SPFkthmlsxNm95xuZm1km0kteRSpcJ19NpIRgD
i4/3xEqNgQoISqMRPzGVil9c+KfW0meJLJKGmhKXjhjbUar1edKqGZV6oxda99t1
FKP10w9BYtpgtVnWq9rTaBqR/wHNiAQjx2Wja2EQJAdjroCPuAeAStiDUw2LVQD0
2RTtVo7yRNiW9REnnhQhYtMuQfQnv17qg2TKuWlpM8pcuMLzDCZPrm9FX5JHxDtz
9f/ozID+zGNDcdT4jP34hIYYHE8IpA==
=Ozee
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: