Re: fakeroot make-kpkg is broken in 3.14

From: Jason Cooper
Date: Fri Apr 04 2014 - 11:28:00 EST


Alexei,

Thanks for the heads up.

On Thu, Apr 03, 2014 at 03:12:38PM -0700, Alexei Starovoitov wrote:
> It seems commit f4d4ffc03efc ("kbuild: dtbs_install: new make target")
> breaks 'fakeroot make-kpkg' package creation on ubuntu.
> Didn't investigate the root cause yet, just heads up.

Grant's version differs significantly from what I had proposed. Which
isn't a big deal, except that I'm not familiar with why he added the
'prepare' target to dtbs dtbs_install. It's also clear from the patch
that he is _much_ more familiar with the guts of the kernel Makefile
system than I am ;-)

> The errors I see:
> update-initramfs: Generating
> /w/net/debian/linux-image-3.14.0+//boot/initrd.img-3.14.0+
> grep: /boot/config-3.14.0+: No such file or directory
> WARNING: missing /lib/modules/3.14.0+
> Device driver support needs thus be built-in linux image!
> WARNING: Couldn't open directory /lib/modules/3.14.0+: No such file or directory
> FATAL: Could not open /lib/modules/3.14.0+/modules.dep.temp for
> writing: No such file or directory
> ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be
> preloaded: ignored.
> ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be
> preloaded: ignored.
> /dev/sda1: Permission denied
> FATAL: Could not load /lib/modules/3.14.0+/modules.dep: No such file
> or directory
> FATAL: Could not load /lib/modules/3.14.0+/modules.dep: No such file
> or directory
> FATAL: Could not load /lib/modules/3.14.0+/modules.dep: No such file
> or directory
> FATAL: Could not load /lib/modules/3.14.0+/modules.dep: No such file
> or directory
> FATAL: Could not load /lib/modules/3.14.0+/modules.dep: No such file
> or directory

This really doesn't tell us much as I'm not familiar with make-kpkg and
the assumptions it makes. Please provide more details once you've
investigated a bit more.

On a side note: It's a bit concerning to see make-kpkg grepping the
config. In general, one should directly test for features as config
symbols are not ABI and can change at any time.

thx,

Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/