On Fri, 2014-09-12 at 18:26 +0800, YunQiang Su wrote: > Package: src:linux > Version: 3.16.2-2 > > After talking on Debconf14, we are planning switch mips64el back to > mips64r2 ISA. > > So 5kc-malta, and loongson-2e/f don't support mips64r2 ISA, and > octeon need patch for little endian. > > In this patch, we also fix a ftbfs problem, due to lacking of a > newline at end of defines file. No, the 'missing newline' messages in the diff refer to the symlinks. This is normal as the text of a symlink should be a path with no added newline. On IRC, you pointed to the build log: http://mips64el.debian.net/debian/buildlog/l/linux_3.16.2-2/linux_3.16.2-2_mips64el-20140909-1906.build The fatal error is: > could not find kernel image at /usr/share/kernel-wedge/commands/install-files line 101, <KVERS> line 3. Line 3 of debian/installer/mips64el/kernel-versions is for 5kc-malta, which is *not* listed in debian/config/mips64el/defines, i.e. we weren't actually building a kernel with that configuration. That's why removing the rest of its configuration fixes this failure. In the second build log you pointed to, after you removed these flavours, I found: > kernel-wedge install-files 3.16-1 > install -D -m 644 debian/linux-image-3.16-1-sb1-bcm91250a/boot/vmlinux-3.16-1-sb1-bcm91250a debian/kernel-image-3.16-1-sb1-bcm91250a-di/boot/vmlinux-3.16-1-sb1-bcm91250a > install -d debian/kernel-image-3.16-1-sb1-bcm91250a-di/lib/modules/3.16-1-sb1-bcm91250a > install -m 644 debian/linux-image-3.16-1-sb1-bcm91250a/lib/modules/3.16-1-sb1-bcm91250a/modules.builtin debian/linux-image-3.16-1-sb1-bcm91250a/lib/modules/3.16-1-sb1-bcm91250a/modules.order debian/kernel-image-3.16-1-sb1-bcm91250a-di/lib/modules/3.16-1-sb1-bcm91250a/ > install -D -m 644 debian/linux-image-3.16-1-sb1-bcm91250a/boot/System.map-3.16-1-sb1-bcm91250a debian/kernel-image-3.16-1-sb1-bcm91250a-di/boot/System.map-3.16-1-sb1-bcm91250a > kernel-wedge copy-modules 3.16-1 sb1-bcm91250a 3.16-1-sb1-bcm91250a > cannot read /tmp/linux/linux-3.16.2/debian/installer/mips64el/modules/mips64el-sb1-bcm91250a/mips64el-sb1-bcm91250a > kernel-wedge find-dups 3.16-1-sb1-bcm91250a > kernel-wedge find-unpackaged 3.16-1-sb1-bcm91250a 3.16-1-sb1-bcm91250a > These modules from 3.16-1-sb1-bcm91250a are unpackaged: [...] > kernel-wedge strip-modules 3.16-1-sb1-bcm91250a > install -D -m 644 debian/linux-image-3.16-1-loongson-3/boot/vmlinux-3.16-1-loongson-3 debian/kernel-image-3.16-1-loongson-3-di/boot/vmlinux-3.16-1-loongson-3 > install -d debian/kernel-image-3.16-1-loongson-3-di/lib/modules/3.16-1-loongson-3 > install -m 644 debian/linux-image-3.16-1-loongson-3/lib/modules/3.16-1-loongson-3/modules.builtin debian/linux-image-3.16-1-loongson-3/lib/modules/3.16-1-loongson-3/modules.order debian/kernel-image-3.16-1-loongson-3-di/lib/modules/3.16-1-loongson-3/ > install -D -m 644 debian/linux-image-3.16-1-loongson-3/boot/System.map-3.16-1-loongson-3 debian/kernel-image-3.16-1-loongson-3-di/boot/System.map-3.16-1-loongson-3 > kernel-wedge copy-modules 3.16-1 loongson-3 3.16-1-loongson-3 > cannot read /tmp/linux/linux-3.16.2/debian/installer/mips64el/modules/mips64el-loongson-3/mips64el-loongson-3 > kernel-wedge find-dups 3.16-1-loongson-3 > kernel-wedge find-unpackaged 3.16-1-loongson-3 3.16-1-loongson-3 > These modules from 3.16-1-loongson-3 are unpackaged: [...] > kernel/drivers/staging/speakup/speakup.ko > kernel/drivers/staging/speakup/speakup_acntpc.ko > kernel/drivers/staging/speakup/speakup_acntsa.ko > kernel/drivers/staging/speakup/speakup_apollo.ko > kernel/drivers/staging/speakup/speakup_audptr.ko > kernel/drivers/staging/speakup/speakup_bns.ko > kernel/drivers/staging/speakup/speakup_decext.ko > kernel/drivers/staging/speakup/speakup_dectlk.ko > kernel/drivers/staging/speakup/speakup_dtlk.ko > kernel/drivers/staging/speakup/speakup_dummy.ko > kernel/drivers/staging/speakup/speakup_keypc.ko > kernel/drivers/staging/speakup/speakup_ltlk.ko > kernel/drivers/staging/speakup/speakup_soft.ko > kernel/drivers/staging/speakup/speakup_spkout.ko > kernel/drivers/staging/speakup/speakup_txprt.ko [...] > kernel-wedge strip-modules 3.16-1-loongson-3 > kernel-wedge check kernel-image-3.16-1-sb1-bcm91250a-di nic-modules-3.16-1-sb1-bcm91250a-di nic-wireless-modules-3.16-1-sb1-bcm91250a-di nic-shared-modules-3.16-1-sb1-bcm91250a-di usb-serial-modules-3.16-1-sb1-bcm91250a-di ppp-modules-3.16-1-sb1-bcm91250a-di pata-modules-3.16-1-sb1-bcm91250a-di cdrom-core-modules-3.16-1-sb1-bcm91250a-di scsi-core-modules-3.16-1-sb1-bcm91250a-di scsi-modules-3.16-1-sb1-bcm91250a-di scsi-common-modules-3.16-1-sb1-bcm91250a-di scsi-extra-modules-3.16-1-sb1-bcm91250a-di loop-modules-3.16-1-sb1-bcm91250a-di btrfs-modules-3.16-1-sb1-bcm91250a-di isofs-modules-3.16-1-sb1-bcm91250a-di jfs-modules-3.16-1-sb1-bcm91250a-di ntfs-modules-3.16-1-sb1-bcm91250a-di xfs-modules-3.16-1-sb1-bcm91250a-di fat-modules-3.16-1-sb1-bcm91250a-di hfs-modules-3.16-1-sb1-bcm91250a-di affs-modules-3.16-1-sb1-bcm91250a-di minix-modules-3.16-1-sb1-bcm91250a-di md-modules-3.16-1-sb1-bcm91250a-di multipath-modules-3.16-1-sb1-bcm91250a-di usb-modules-3.16-1-sb1-bcm91250a-di usb-storage-modules-3.16-1-sb1-bcm91250a-di input-modules-3.16-1-sb1-bcm91250a-di event-modules-3.16-1-sb1-bcm91250a-di nic-usb-modules-3.16-1-sb1-bcm91250a-di sata-modules-3.16-1-sb1-bcm91250a-di i2c-modules-3.16-1-sb1-bcm91250a-di crc-modules-3.16-1-sb1-bcm91250a-di crypto-modules-3.16-1-sb1-bcm91250a-di crypto-dm-modules-3.16-1-sb1-bcm91250a-di ata-modules-3.16-1-sb1-bcm91250a-di nbd-modules-3.16-1-sb1-bcm91250a-di squashfs-modules-3.16-1-sb1-bcm91250a-di rtc-modules-3.16-1-sb1-bcm91250a-di virtio-modules-3.16-1-sb1-bcm91250a-di sound-modules-3.16-1-sb1-bcm91250a-di zlib-modules-3.16-1-sb1-bcm91250a-di udf-modules-3.16-1-sb1-bcm91250a-di fuse-modules-3.16-1-sb1-bcm91250a-di kernel-image-3.16-1-loongson-3-di nic-modules-3.16-1-loongson-3-di nic-wireless-modules-3.16-1-loongson-3-di nic-shared-modules-3.16-1-loongson-3-di usb-serial-modules-3.16-1-loongson-3-di ppp-modules-3.16-1-loongson-3-di pata-modules-3.16-1-loongson-3-di cdrom-core-modules-3.16-1-loongson-3-di firewire-core-modules-3.16-1-loongson-3-di scsi-core-modules-3.16-1-loongson-3-di scsi-modules-3.16-1-loongson-3-di scsi-common-modules-3.16-1-loongson-3-di scsi-extra-modules-3.16-1-loongson-3-di loop-modules-3.16-1-loongson-3-di btrfs-modules-3.16-1-loongson-3-di isofs-modules-3.16-1-loongson-3-di jfs-modules-3.16-1-loongson-3-di ntfs-modules-3.16-1-loongson-3-di xfs-modules-3.16-1-loongson-3-di fat-modules-3.16-1-loongson-3-di hfs-modules-3.16-1-loongson-3-di affs-modules-3.16-1-loongson-3-di minix-modules-3.16-1-loongson-3-di nfs-modules-3.16-1-loongson-3-di md-modules-3.16-1-loongson-3-di multipath-modules-3.16-1-loongson-3-di usb-modules-3.16-1-loongson-3-di usb-storage-modules-3.16-1-loongson-3-di input-modules-3.16-1-loongson-3-di event-modules-3.16-1-loongson-3-di nic-usb-modules-3.16-1-loongson-3-di sata-modules-3.16-1-loongson-3-di crc-modules-3.16-1-loongson-3-di crypto-modules-3.16-1-loongson-3-di crypto-dm-modules-3.16-1-loongson-3-di ata-modules-3.16-1-loongson-3-di nbd-modules-3.16-1-loongson-3-di squashfs-modules-3.16-1-loongson-3-di speakup-modules-3.16-1-loongson-3-di virtio-modules-3.16-1-loongson-3-di sound-modules-3.16-1-loongson-3-di zlib-modules-3.16-1-loongson-3-di udf-modules-3.16-1-loongson-3-di fuse-modules-3.16-1-loongson-3-di > find: `debian/speakup-modules-3.16-1-loongson-3-di': No such file or directory > speakup-modules-3.16-1-loongson-3-di will be empty I don't understand why speakup-modules is empty - the modules were built but not copied for some reason. Did you change anything to fix this? (I'm also puzzled by the 'cannot read' warnings for files named like the containing directory. These also appear in build logs for mipsel, ppc64 and sparc64 which are the other architectures with symlinks under debian/installer/$ARCH/modules, but not in any architecture I checked. Apparently they don't indicate a serious problem, but I would like to fix them.) Ben. -- Ben Hutchings I'm always amazed by the number of people who take up solipsism because they heard someone else explain it. - E*Borg on alt.fan.pratchett
Attachment:
signature.asc
Description: This is a digitally signed message part