Lucas Nussbaum <[EMAIL PROTECTED]> writes: > On 23/05/08 at 12:08 +0100, Roger Leigh wrote: >> On Fri, May 23, 2008 at 09:25:01AM +0200, Lucas Nussbaum wrote: >> > It seems that sbuild now extracts the source while installing >> > build-deps. See: >> > >> > Selecting previously deselected package gettext. >> > Unpacking gettext (from .../gettext_0.17-2_i386.deb) ... >> > Selecting previously deselected package intltool-debian. >> > Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710gpg: >> > Signature made Wed Apr 19 12:53:15 2006 CEST using DSA key ID 8E635A5E >> > gpg: Can't check signature: public key not found >> > dpkg-source: extracting crip in crip_3.7-3 >> > dpkg-source: info: unpacking crip_3.7.orig.tar.gz >> > dpkg-source: info: applying crip_3.7-3.diff.gz >> > .1_all.deb) ... >> > Selecting previously deselected package po-debconf. >> > Unpacking po-debconf (from .../po-debconf_1.0.13_all.deb) ... >> > Selecting previously deselected package debhelper. >> > Unpacking debhelper (from .../debhelper_7.0.9_all.deb) ... >> > >> > This produces confusing build log. If this change was made on purpose, >> > please provide an option to serialize those steps, so I can get "clean" >> > build logs when reporting bugs. >> >> There have not been any changes made on purpose. install_deps() is >> called before build(). One possiblity is that the logging stream PLOG >> is doing some odd buffering in subprocesses, and flushing the stream at >> certain points would help (the logging is done in a separate process). >> >> It would be interesting to know the the git master head >> git://git.debian.org/git/buildd-tools/sbuild >> also suffers from this problem, and if the log is identical between >> sbuild runs. >> >> sbuild has had quite a lot of refactoring done over the last two weeks >> or so, and it's possible that something broke as a result, but none of >> this work should have changed the program logic. > > git bisect shows that the first bad commit is > c1e3cbc8699da54f9f540bdabc6436a128eaa668 . > > A test case is to build crip_3.7-3 : it builds fine before the commit, > and fails to build with the commit.
Is this for #482456 rather than this bug? For me, crip fails to apply a dpatch patch (log attached) using the current git (master). However, I do see dpkg-source logged as running /during/ dpkg-buildpackage. I still suspect this is a buffering issue in the PLOG stream, but I don't have any remaining time this weekend to track it down, I'm afraid. This certainly shouldn't cause build failures though, just out-of-order messages in the logfile. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
Automatic build of crip_3.7-3 on hardknott by sbuild/powerpc 0.57.3 Build started at 20080525-2305 ****************************************************************************** Checking available source versions... Fetching source files... Reading package lists... Building dependency tree... Reading state information... Need to get 43.3kB of source archives. Get:1 http://ftp.ie.debian.org unstable/main crip 3.7-3 (dsc) [581B] Get:2 http://ftp.ie.debian.org unstable/main crip 3.7-3 (tar) [36.4kB] Get:3 http://ftp.ie.debian.org unstable/main crip 3.7-3 (diff) [6328B] Fetched 43.3kB in 0s (119kB/s) Download complete and in download only mode Arch check ok (powerpc included in all) ** Using build dependencies supplied by package: Build-Depends-Indep: debhelper (>= 4.0.0), perl, dpatch Merging pkg deps: , , debhelper (>= 4.0.0), perl, dpatch, Dependency-expanded build essential packages: base-files, base-passwd, bash, bsdutils, coreutils, debianutils, diff, dpkg, e2fsprogs, findutils, grep, gzip, hostname, login, mktemp, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit, tar, util-linux, libc6-dev|libc-dev, gcc (>= 4:4.1.1), g++ (>= 4:4.1.1), make, dpkg-dev (>= 1.13.5), awk, libc6, libncurses5, libacl1, libselinux1, e2fslibs, libblkid1, libcomerr2, libss2, libuuid1, libpam-modules, libpam-runtime, libpam0g, libsepol1, initscripts, sysv-rc, file-rc, sysvinit-utils, lsb-base, tzdata, libslang2, zlib1g, linux-libc-dev, cpp, gcc-4.3, g++-4.3, perl5, perl-modules, cpio, bzip2, lzma, patch, binutils, libtimedate-perl, libgcc1, libattr1, libdevmapper1.02.1, passwd, libdb4.6, debconf, debconf-2.0, cpp-4.3, gcc-4.3-base, libgomp1, libstdc++6-4.3-dev, libgmp3c2, libmpfr1ldbl, perl, libbz2-1.0, libstdc++6, debconf-i18n, debconf-english, libgdbm3, liblocale-gettext-perl, libtext-iconv-perl, libtext-wrapi18n-perl, libtext-charwidth-perl, perlapi-5.10.0 Source dependencies of crip: debhelper (>= 4.0.0), perl, dpatch Filtering dependencies Checking for already installed source dependencies... Requesting dpkg status for packages: perl debhelper dpatch debhelper: pos dep, installed, no versioned dep or version ok debhelper: already installed (7.0.9 >= 4.0.0 is satisfied) perl: pos dep, installed, no versioned dep or version ok perl: already installed (5.10.0-10) dpatch: pos dep, not installed dpatch: missing using dpatch for install Checking for source dependency conflicts... Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libvolume-id0 Use 'apt-get autoremove' to remove them. Suggested packages: curl Recommended packages: patchutils The following NEW packages will be installed: dpatch 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst dpatch (2.0.29 Debian:unstable) Conf dpatch (2.0.29 Debian:unstable) No srcdep conflicts Writing srcdep lock file /var/lib/schroot/mount/sid-621a529c-4637-4a52-91fc-3aa163ab2bff//var/lib/sbuild/srcdep-lock/24943-1: Job crip_3.7-3 pid 24943 user rleigh debhelper perl dpatch Installing positive dependencies: dpatch Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libvolume-id0 Use 'apt-get autoremove' to remove them. Suggested packages: curl Recommended packages: patchutils The following NEW packages will be installed: dpatch 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/87.3kB of archives. After this operation, 348kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! dpatch Authentication warning overridden. Selecting previously deselected package dpatch. (Reading database ... 11578 files and directories currently installed.) Unpacking dpatch (from .../archives/dpatch_2.0.29_all.deb) ... Processing triggers for man-db ... Setting up dpatch (2.0.29) ... Added to installed list: dpatch Added to removed list: Removing negative dependencies: Added to removed list: Checking correctness of source dependencies... Requesting dpkg status for packages: gcc-4.3 libc6-dev dpatch perl g++-4.3 binutils debhelper linux-libc-dev libstdc++6 libstdc++6-4.3-dev Kernel: Linux 2.6.25-1-powerpc powerpc (ppc) Toolchain package versions: libc6-dev_2.7-11 linux-libc-dev_2.6.25-3 gcc-4.3_4.3.0-5 g++-4.3_4.3.0-5 binutils_2.18.1~cvs20080103-6 libstdc++6-4.3-dev_4.3.0-5 libstdc++6_4.3.0-5 ------------------------------------------------------------------------------ dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package crip dpkg-buildpackage: source version 3.7-3 dpkg-buildpackage: source changed by Timo Schneider <[EMAIL PROTECTED]> dpkg-buildpackage: host architecture powerpc /usr/bin/fakeroot debian/rules clean dpatch deapply-all 30dont_overwrite_files not applied to ./ . 20missing_option not applied to ./ . 10sensible_editor not applied to ./ . rm -rf patch-stamp patch-stampT debian/patched dh_testdir dh_testroot rm -f build-stamp dh_clean debian/crip.1 debian/editcomment.1 debian/editfilenames.1 dpkg-source -b crip-3.7-3 dpkg-source: warning: source directory 'crip-3.7-3' is not <sourcepackage>-<upstreamversion> 'crip-3.7' dpkg-source: warning: .orig directory name crip-3.7-3.orig is not <package>-<upstreamversion> (wanted crip-3.7.orig) dpkg-source: info: using source format `1.0' dpkg-source: info: building crip using existing crip_3.7.orig.tar.gz dpkg-source: info: building crip in crip_3.7-3.diff.gz dpkg-source: warning: executable mode 0755 of 'debian/patches/30dont_overwrite_files.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/10sensible_editor.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of 'debian/patches/20missing_option.dpatch' will not be represented in diff dpkg-source: info: building crip in crip_3.7-3.dsc debian/rules build test -d debian/patched || install -d debian/patched dpatch apply-all applying patch 10sensible_editor to ./ ... ok. applying patch 20missing_option to ./ ... ok. applying patch 30dont_overwrite_files to ./ ... failed. make: *** [patch-stamp] Error 1 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 ****************************************************************************** Build finished at 20080525-2306 FAILED [dpkg-buildpackage died] ------------------------------------------------------------------------------ Reinstalling removed packages: Installed were: Removed were: Removed from removed list: Removed from installed list: Removing installed packages: dpatch Uninstalling packages: dpatch (Reading database ... 11624 files and directories currently installed.) Removing dpatch ... Purging configuration files for dpatch ... Processing triggers for man-db ... Removed from installed list: dpatch Removing srcdep lock file /var/lib/schroot/mount/sid-621a529c-4637-4a52-91fc-3aa163ab2bff//var/lib/sbuild/srcdep-lock/24943-1 ****************************************************************************** Finished at 20080525-2306 Build needed 00:00:05, 220k disk space
pgpIr5ZdzNR6Q.pgp
Description: PGP signature