Bug#787004: FTBFS on amd64
Simon John wrote: > Could I get a link to the SVN repo the fix is in, I can't seem to find > it here: > http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/debian/ Hi Simon, It's here: https://anonscm.debian.org/viewvc/kernel?view=revision&revision=22722 > Also, could we have some clarification on the numbering as the package > tracker says linux-image-4.0.0-1-amd64 (4.0.2-1) but the package that > doesn't build seems to be called 4.0.0-2 and the changelog seems to say > its upstream kernel 4.0.3 I don't know if the exact numbering scheme is documented but I believe the number embedded in the binary package name is the ABI version, so rather than being any particular kernel version it represents a range of kernel versions that have a compatible ABI. I think the package version number includes the upstream kernel version and Debian packaging version, separated by a hyphen. Each Debian changelog entry can mention more than one upstream version, so although it might refer to "ChangeLog-4.0.3" near the top, lower down you can also find "ChangeLog-4.0.4". - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options! -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#787004: FTBFS on amd64
Could I get a link to the SVN repo the fix is in, I can't seem to find it here: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/debian/ Also, could we have some clarification on the numbering as the package tracker says linux-image-4.0.0-1-amd64 (4.0.2-1) but the package that doesn't build seems to be called 4.0.0-2 and the changelog seems to say its upstream kernel 4.0.3 Thanks. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#787004: FTBFS on amd64
On Fri, Jun 5, 2015 at 03:24:39 +0100, Wookey wrote: > Package: linux linux is a source not binary package name. > Version: 4.0.4 That version does not exist. > Followup-For: Bug #787004 > [...] > This does indeed allow the build to complete. Patch attached. > Or you could have noticed that this bug is tagged pending and the fix is already in svn. Cheers, Julien signature.asc Description: Digital signature
Bug#787004: FTBFS on amd64
Package: linux Version: 4.0.4 Followup-For: Bug #787004 I just tried this in a clean unstable amd64 chroot and it does indeed fail near the end, just as the buildd did. This is causing linux-libc-dev multiarch skew so multiarch-built crosstoolchains are currently unbuildable (on amd64). The issue is that installer/amd64/modules/amd64/scsi-extra-modules lists i2o_block and i2o_scsi and installer/modules/scsi-extra-modules lists i2o_block But the modules are not built because CONFIG_I2O_BLOCK and CONFIG_I2o_SCSI are not set The changelog says: "Disable i2o" So I presume the correct fix is to stop asking to install the modules into the scsi-extra-modules udeb (As opposed to enabling the config options). This does indeed allow the build to complete. Patch attached. And whilst I am here, the package doesn't build (with dpkg-buildpackage -S ) a second time, with all these changed files left over: dpkg-source: info: local changes detected, the modified files are: linux-4.0.4/arch/s390/include/asm/cmb.h.1 linux-4.0.4/drivers/dma-buf/reservation.c.1 linux-4.0.4/drivers/dma-buf/seqno-fence.c.1 linux-4.0.4/drivers/gpu/drm/i915/i915_irq.c.1 linux-4.0.4/drivers/scsi/constants.c.1 linux-4.0.4/drivers/usb/gadget/function/f_acm.c.1 linux-4.0.4/drivers/usb/gadget/function/f_ecm.c.1 linux-4.0.4/drivers/usb/gadget/function/f_obex.c.1 linux-4.0.4/drivers/usb/gadget/function/f_serial.c.1 linux-4.0.4/drivers/usb/gadget/function/f_subset.c.1 linux-4.0.4/include/linux/reservation.h.1 linux-4.0.4/kernel/sys.c.1 linux-4.0.4/lib/crc32.c.1 linux-4.0.4/sound/soc/soc-cache.c.1 Changed date and build bath in man page. Only in linux-4.0.4.new/arch/s390/include/asm: cmb.h.1 diff -ur linux-4.0.4/debian/changelog linux-4.0.4.new/debian/changelog --- linux-4.0.4/debian/changelog 2015-05-26 02:30:07.0 +0100 +++ linux-4.0.4.new/debian/changelog 2015-06-05 03:13:13.936808845 +0100 @@ -1,3 +1,10 @@ +linux (4.0.4-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS on amd64 (Closes: #787004) + + -- Wookey Fri, 05 Jun 2015 03:11:53 +0100 + linux (4.0.4-1) unstable; urgency=medium * New upstream stable update: diff -ur linux-4.0.4/debian/config.defines.dump linux-4.0.4.new/debian/config.defines.dump diff -ur linux-4.0.4/debian/control.md5sum linux-4.0.4.new/debian/control.md5sum diff -ur linux-4.0.4/debian/installer/amd64/modules/amd64/scsi-extra-modules linux-4.0.4.new/debian/installer/amd64/modules/amd64/scsi-extra-modules --- linux-4.0.4/debian/installer/amd64/modules/amd64/scsi-extra-modules 2015-05-11 14:22:50.0 +0100 +++ linux-4.0.4.new/debian/installer/amd64/modules/amd64/scsi-extra-modules 2015-06-05 02:18:32.352722659 +0100 @@ -1,4 +1,2 @@ #include dpt_i2o - -i2o_block -i2o_scsi diff -ur linux-4.0.4/debian/rules.gen linux-4.0.4.new/debian/rules.gen Only in linux-4.0.4.new/drivers/dma-buf: reservation.c.1 Only in linux-4.0.4.new/drivers/dma-buf: seqno-fence.c.1 Only in linux-4.0.4.new/drivers/gpu/drm/i915: i915_irq.c.1 Only in linux-4.0.4.new/drivers/scsi: constants.c.1 Only in linux-4.0.4.new/drivers/usb/gadget/function: f_acm.c.1 Only in linux-4.0.4.new/drivers/usb/gadget/function: f_ecm.c.1 Only in linux-4.0.4.new/drivers/usb/gadget/function: f_obex.c.1 Only in linux-4.0.4.new/drivers/usb/gadget/function: f_serial.c.1 Only in linux-4.0.4.new/drivers/usb/gadget/function: f_subset.c.1 Only in linux-4.0.4.new/include/linux: reservation.h.1 Only in linux-4.0.4.new/kernel: sys.c.1 Only in linux-4.0.4.new/lib: crc32.c.1 Only in linux-4.0.4.new/sound/soc: soc-cache.c.1
Bug#787004: FTBFS on amd64
Package: linux Version: 4.0.4-1 Severity: serious Hi, your last upload fails to build on amd64, see buildlog: ---snip--- [...] install -d debian/kernel-image-4.0.0-2-amd64-di/lib/modules/4.0.0-2-amd64 install -m 644 debian/linux-image-4.0.0-2-amd64/lib/modules/4.0.0-2-amd64/modules.builtin debian/linux-image-4.0.0-2-amd64/lib/modules/4.0.0-2-amd64/modules.order debian/kernel-image-4.0.0-2-amd64-di/lib/modules/4.0.0-2-amd64/ install -D -m 644 debian/linux-image-4.0.0-2-amd64/boot/System.map-4.0.0-2-amd64 debian/kernel-image-4.0.0-2-amd64-di/boot/System.map kernel-wedge copy-modules 4.0.0-2 amd64 4.0.0-2-amd64 missing module i2o_block missing module i2o_scsi command exited with status 1 make[2]: *** [install-udeb_amd64] Error 2 debian/rules.real:424: recipe for target 'install-udeb_amd64' failed make[2]: Leaving directory '/«PKGBUILDDIR»' make[1]: *** [binary-arch_amd64] Error 2 debian/rules.gen:19: recipe for target 'binary-arch_amd64' failed make[1]: Leaving directory '/«PKGBUILDDIR»' make: *** [binary-arch] Error 2 debian/rules:42: recipe for target 'binary-arch' failed ---snap--- Regards, Daniel -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org