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

Bug#955210: kernel-wedge: regression causes kfreebsd-10 FTBFS



Package: kernel-wedge
Version: 2.102
Severity: important
X-Debbugs-Cc: debian-bsd@lists.debian.org

Hi,

kfreebsd-10 FTBFS, due to probably this change in kernel-wedge:
https://salsa.debian.org/installer-team/kernel-wedge/-/commit/3827f1ee9f53540b104c592a8a2695f78d8629ed

The kfreebsd-10 build process produces kernel modules including lpt.ko
and ppi.ko under:
    debian/kfreebsd-image-10.3-0-amd64/lib/modules/10.3-0-amd64/

As of kernel-wedge=2.102, the preprocess step fails to find any modules:

KW_DEFCONFIG_DIR=debian/installer KW_CONFIG_DIR=debian/installer/amd64 \
perl -w /usr/share/kernel-wedge/commands/preprocess \
 debian/installer/amd64/modules/kfreebsd-amd64/parport-modules \
 debian/kfreebsd-image-10.3-0-amd64/lib/modules/10.3-0-amd64
missing module lpt
missing module ppi

but I notice that when adding a trailing slash to the second parameter
($moddir), then it does work again:

KW_DEFCONFIG_DIR=debian/installer KW_CONFIG_DIR=debian/installer/amd64 \
perl -w /usr/share/kernel-wedge/commands/preprocess \
 debian/installer/amd64/modules/kfreebsd-amd64/parport-modules \
 debian/kfreebsd-image-10.3-0-amd64/lib/modules/10.3-0-amd64/
lpt.ko
ppi.ko

Note that debian/kfreebsd-image-10.3-0-amd64/lib/modules/10.3-0-amd64
is a symlink, to ../../boot/modules/10.3-0-amd64

I think this has to do with a basename() somewhere removing the
"10.3-0-amd64" from the end of the path, so that it searches for .ko
files under:
    debian/kfreebsd-image-10.3-0-amd64/lib/modules/
instead.

Thanks!

-- System Information:
Debian Release: 8.0
  APT prefers stable-kfreebsd-proposed-updates
  APT policy: (500, 'stable-kfreebsd-proposed-updates'), (500, 'stable-kfreebsd')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Attachment: signature.asc
Description: Digital signature


Reply to: