* fakeroot make-kpkg is broken in 3.14
@ 2014-04-03 22:12 Alexei Starovoitov
2014-04-04 15:27 ` Jason Cooper
0 siblings, 1 reply; 4+ messages in thread
From: Alexei Starovoitov @ 2014-04-03 22:12 UTC (permalink / raw)
To: LKML, Jason Cooper, Grant Likely
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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: fakeroot make-kpkg is broken in 3.14
2014-04-03 22:12 fakeroot make-kpkg is broken in 3.14 Alexei Starovoitov
@ 2014-04-04 15:27 ` Jason Cooper
2014-04-08 0:53 ` Alexei Starovoitov
0 siblings, 1 reply; 4+ messages in thread
From: Jason Cooper @ 2014-04-04 15:27 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: LKML, Grant Likely
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.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: fakeroot make-kpkg is broken in 3.14
2014-04-04 15:27 ` Jason Cooper
@ 2014-04-08 0:53 ` Alexei Starovoitov
2014-04-11 6:52 ` Manoj Srivastava
0 siblings, 1 reply; 4+ messages in thread
From: Alexei Starovoitov @ 2014-04-08 0:53 UTC (permalink / raw)
To: Jason Cooper, Manoj Srivastava; +Cc: LKML, Grant Likely
On Fri, Apr 4, 2014 at 8:27 AM, Jason Cooper <jason@lakedaemon.net> wrote:
> 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 ;-)
looks like it's a problem of make-kpkg itself.
It's doing:
./kernel/ruleset/misc/version_vars.mk:
HAVE_INST_PATH =$(call doit,grep -E '\(INSTALL_PATH\)' Makefile 2>/dev/null )
which is now being true and it triggers different path through package build.
Ccing Manoj who's the author of this stuff.
I think this issue will affect ubuntu guys.
>> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-04-11 7:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03 22:12 fakeroot make-kpkg is broken in 3.14 Alexei Starovoitov
2014-04-04 15:27 ` Jason Cooper
2014-04-08 0:53 ` Alexei Starovoitov
2014-04-11 6:52 ` Manoj Srivastava
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®