lkml.org 
[lkml]   [2014]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fakeroot make-kpkg is broken in 3.14
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.


\
 
 \ /
  Last update: 2014-04-04 18:21    [W:2.382 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site