Bug#749813: php-guzzle-stream: FTBFS - unrepresentable changes to source
Package: php-guzzle-stream Version: 1.1.0-3 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. [...] dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean --with phpcomposer dh_testdir dh_auto_clean make[1]: Entering directory '/srv/jenkins-slave/workspace/sid-goto-cc-php-guzzle-stream/php-guzzle-stream-1.1.0' rm -rf artifacts/* make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-php-guzzle-stream/php-guzzle-stream-1.1.0' dh_clean dpkg-source -b php-guzzle-stream-1.1.0 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building php-guzzle-stream using existing ./php-guzzle-stream_1.1.0.orig.tar.gz dpkg-source: error: cannot represent change to php-guzzle-stream-1.1.0/GuzzleHttp/Stream: dpkg-source: error: new version is plain file dpkg-source: error: old version is symlink to ../src dpkg-source: error: unrepresentable changes to source dpkg-buildpackage: error: dpkg-source -b php-guzzle-stream-1.1.0 gave error exit status 2 It seems that either the original source needs to be repacked or replacing the symlink must be avoided. Best, Michael pgpH3Iz2eVv0k.pgp Description: PGP signature
Bug#749813: [pkg-php-pear] Bug#749813: php-guzzle-stream: FTBFS - unrepresentable changes to source
Hi Michael, Thanks for your QA work. Package: php-guzzle-stream Version: 1.1.0-3 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. Im not able to reproduce that issue in pbuilder, where can I read more information about your setup (what is goto-cc about)? dpkg-source: error: cannot represent change to php-guzzle-stream-1.1.0/GuzzleHttp/Stream: dpkg-source: error: new version is plain file dpkg-source: error: old version is symlink to ../src dpkg-source: error: unrepresentable changes to source dpkg-buildpackage: error: dpkg-source -b php-guzzle-stream-1.1.0 gave error exit status 2 It seems that either the original source needs to be repacked or replacing the symlink must be avoided. The symlink is not in the upstream tarball, its just added (via a quilt patch) during the build to run the testsuite. I dont mind creating the symlink an other way (e.g., in d/rules) but would prefer to understand the root issue that need fixing first. Regards David -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749813: [pkg-php-pear] Bug#749813: php-guzzle-stream: FTBFS - unrepresentable changes to source
Hi David, [...] I'm not able to reproduce that issue in pbuilder, where can I read more information about your setup (what is goto-cc about)? There's a brief intro to be found here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747585#15 But this should indeed be pretty irrelevant in your case, see below. [...] The symlink is not in the upstream tarball, it's just added (via a quilt patch) during the build to run the testsuite. I don't mind creating the symlink an other way (e.g., in d/rules) but would prefer to understand the root issue that need fixing first. So indeed the build works for me when I do the following steps from within the chroot, i.e., using cowbuilder --login --basepath /srv/sid-base.cow/ and then apt-get install php-symfony-classloader phpunit pkg-php-tools dget http://ftp.de.debian.org/debian/pool/main/p/php-guzzle-stream/php-guzzle-stream_1.1.0-3.dsc dpkg-source -x php-guzzle-stream_1.1.0*.dsc cd php-guzzle-stream-1.1.0 dpkg-buildpackage [ ... builds fine ... ] Yet when I do (outside the chroot initially): dget http://ftp.de.debian.org/debian/pool/main/p/php-guzzle-stream/php-guzzle-stream_1.1.0-3.dsc cd php-guzzle-stream-1.1.0/ pdebuild --pbuilder cowbuilder --use-pdebuild-internal -- --basepath /srv/sid-base.cow/ the build fails as originally described. It might be the case that --use-pdebuild-internal makes all the difference here - could you give that a try? Best, Michael pgptoLAtZYUq9.pgp Description: PGP signature
Bug#749813: [pkg-php-pear] Bug#749813: php-guzzle-stream: FTBFS - unrepresentable changes to source
Hi Michael, Thanks for your quick follow up. There's a brief intro to be found here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747585#15 Thanks for the pointers. The symlink is not in the upstream tarball, it's just added (via a quilt patch) during the build to run the testsuite. I don't mind creating the symlink an other way (e.g., in d/rules) but would prefer to understand the root issue that need fixing first. So indeed the build works for me when I do the following steps from within the chroot [...] It might be the case that --use-pdebuild-internal makes all the difference here - could you give that a try? Thanks, but building with a stock pdebuild --use-pdebuild-internal (i.e., without cowbuilder) still succeed. The build also succeed with sbuild (which I believe is the closest thing to the buildd configuration one can easily install) so I honestly wonder if the bug doesn't actually lie in the rebuild method or toolchain, rather than in the package. Regards David -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org