* 5.0.7 regression: .config file not found
@ 2019-04-06 17:32 Harald Dunkel
2019-04-07 4:32 ` Masahiro Yamada
0 siblings, 1 reply; 5+ messages in thread
From: Harald Dunkel @ 2019-04-06 17:32 UTC (permalink / raw)
To: linux-kbuild
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
Hi folks,
Since 5.0.7 I get a message at build time about a missing .config file.
The result of make oldconfig has been lost somehow. 5.0.6 builds fine.
Sample session is attached.
Regards
Harri
[-- Attachment #2: build.log.txt --]
[-- Type: text/plain, Size: 3515 bytes --]
% cd /export/work/linux-source
% git log -1
commit 8b298d3a0bd5feeb47129c4889356b38b78ab231 (HEAD -> linux-5.0.y, tag: v5.0.7, br3.0.0/linux-5.0.y)
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Fri Apr 5 22:34:54 2019 +0200
Linux 5.0.7
% cd
% make -C /export/work/linux-source O=/export/tmp/build_kernel-5.0/build oldconfig
make: Entering directory '/export/work/linux-source'
make[1]: Entering directory '/home/tmp/build_kernel-5.0/build'
HOSTCC scripts/basic/fixdep
GEN Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/preprocess.o
LEX scripts/kconfig/zconf.lex.c
YACC scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/zconf.lex.o
YACC scripts/kconfig/zconf.tab.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
make[1]: Leaving directory '/home/tmp/build_kernel-5.0/build'
make: Leaving directory '/export/work/linux-source'
% make -C /export/work/linux-source O=/export/tmp/build_kernel-5.0/build -j 4 bindeb-pkg LOCALVERSION=-raw
make: Entering directory '/export/work/linux-source'
make[1]: Entering directory '/home/tmp/build_kernel-5.0/build'
UPD include/config/kernel.release
/bin/sh /export/work/linux-source/scripts/package/mkdebian
dpkg-buildpackage -r"fakeroot -u" -a$(cat debian/arch) -b -nc -uc
dpkg-buildpackage: info: source package linux-5.0.7-raw
dpkg-buildpackage: info: source version 5.0.7-raw-1
dpkg-buildpackage: info: source distribution sid
dpkg-buildpackage: info: source changed by Harald Dunkel <harri@afaics.de>
dpkg-buildpackage: warning: debian/rules is not executable; fixing that
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules build
make KERNELRELEASE=5.0.7-raw ARCH=x86 KBUILD_BUILD_VERSION=1 KBUILD_SRC=
scripts/kconfig/conf --syncconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[7]: *** [scripts/kconfig/Makefile:69: syncconfig] Error 1
make[6]: *** [Makefile:556: syncconfig] Error 2
make[5]: Failed to remake makefile 'include/config/auto.conf'.
Error: kernelrelease not valid - run 'make prepare' to update it
UPD include/config/kernel.release
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
UPD include/generated/uapi/linux/version.h
UPD include/generated/utsrelease.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
Compiler lacks asm-goto support.
make[5]: *** [arch/x86/Makefile:294: checkbin] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:15: __sub-make] Error 2
make[3]: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make[2]: *** [/export/work/linux-source/scripts/package/Makefile:79: bindeb-pkg] Error 2
make[1]: *** [/export/work/linux-source/Makefile:1413: bindeb-pkg] Error 2
make[1]: Leaving directory '/home/tmp/build_kernel-5.0/build'
make: *** [Makefile:171: sub-make] Error 2
make: Leaving directory '/export/work/linux-source'
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 5.0.7 regression: .config file not found
2019-04-06 17:32 5.0.7 regression: .config file not found Harald Dunkel
@ 2019-04-07 4:32 ` Masahiro Yamada
2019-04-08 6:04 ` Harald Dunkel
0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2019-04-07 4:32 UTC (permalink / raw)
To: Harald Dunkel; +Cc: Linux Kbuild mailing list, linux-stable, Greg Kroah-Hartman
(+CC linux-stable, Greg)
On Sun, Apr 7, 2019 at 2:39 AM Harald Dunkel <harri@afaics.de> wrote:
>
> Hi folks,
>
> Since 5.0.7 I get a message at build time about a missing .config file.
> The result of make oldconfig has been lost somehow. 5.0.6 builds fine.
>
> Sample session is attached.
Thanks for the report.
I think the problem will be fixed
by back-porting the following commit:
commit 175209cce23d6b0669ed5366add2517e26cd75cd
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Thu Feb 14 12:05:14 2019 +0900
kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
'$(MAKE) KBUILD_SRC=' changes the working directory back and forth
between objtree and srctree.
It is better to recurse to the top-level Makefile directly.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 5.0.7 regression: .config file not found
2019-04-07 4:32 ` Masahiro Yamada
@ 2019-04-08 6:04 ` Harald Dunkel
2019-04-08 6:10 ` Masahiro Yamada
0 siblings, 1 reply; 5+ messages in thread
From: Harald Dunkel @ 2019-04-08 6:04 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Linux Kbuild mailing list, linux-stable, Greg Kroah-Hartman
Dear Masahiro-san,
On 4/7/19 6:32 AM, Masahiro Yamada wrote:
>
> I think the problem will be fixed
> by back-porting the following commit:
>
> commit 175209cce23d6b0669ed5366add2517e26cd75cd
> Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Seems to work. Thanx very much for your fix.
I wonder if this could be included in the 5.0 branch?
Regards
Harri
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 5.0.7 regression: .config file not found
2019-04-08 6:04 ` Harald Dunkel
@ 2019-04-08 6:10 ` Masahiro Yamada
2019-04-08 14:40 ` Sasha Levin
0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2019-04-08 6:10 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Linux Kbuild mailing list, linux-stable, Harald Dunkel, Sasha Levin
Hi Greg,
On Mon, Apr 8, 2019 at 3:04 PM Harald Dunkel <harri@afaics.de> wrote:
>
> Dear Masahiro-san,
>
> On 4/7/19 6:32 AM, Masahiro Yamada wrote:
> >
> > I think the problem will be fixed
> > by back-porting the following commit:
> >
> > commit 175209cce23d6b0669ed5366add2517e26cd75cd
> > Author: Masahiro Yamada <yamada.masahiro@socionext.com>
>
> Seems to work. Thanx very much for your fix.
>
> I wonder if this could be included in the 5.0 branch?
Greg,
We have a regression in the build system for v5.0.7
Could you please backport 175209cce23d6b0669ed5366add2517e26cd75cd
to fix the problem?
Thanks.
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 5.0.7 regression: .config file not found
2019-04-08 6:10 ` Masahiro Yamada
@ 2019-04-08 14:40 ` Sasha Levin
0 siblings, 0 replies; 5+ messages in thread
From: Sasha Levin @ 2019-04-08 14:40 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Greg Kroah-Hartman, Linux Kbuild mailing list, linux-stable,
Harald Dunkel
On Mon, Apr 08, 2019 at 03:10:54PM +0900, Masahiro Yamada wrote:
>Hi Greg,
>
>On Mon, Apr 8, 2019 at 3:04 PM Harald Dunkel <harri@afaics.de> wrote:
>>
>> Dear Masahiro-san,
>>
>> On 4/7/19 6:32 AM, Masahiro Yamada wrote:
>> >
>> > I think the problem will be fixed
>> > by back-porting the following commit:
>> >
>> > commit 175209cce23d6b0669ed5366add2517e26cd75cd
>> > Author: Masahiro Yamada <yamada.masahiro@socionext.com>
>>
>> Seems to work. Thanx very much for your fix.
>>
>> I wonder if this could be included in the 5.0 branch?
>
>Greg,
>We have a regression in the build system for v5.0.7
>
>Could you please backport 175209cce23d6b0669ed5366add2517e26cd75cd
>to fix the problem?
I've queued it for 5.0, thanks.
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-04-08 14:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06 17:32 5.0.7 regression: .config file not found Harald Dunkel
2019-04-07 4:32 ` Masahiro Yamada
2019-04-08 6:04 ` Harald Dunkel
2019-04-08 6:10 ` Masahiro Yamada
2019-04-08 14:40 ` Sasha Levin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.