* [ptxdist] nss: build fails with linux 5.4.58
@ 2020-08-12 9:50 Artur Wiebe
2020-08-12 13:40 ` Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Artur Wiebe @ 2020-08-12 9:50 UTC (permalink / raw)
To: ptxdist
Hi ptxdist,
I have a problem to compile nss with the latest lts-linux 5.4.58. With linux 4.19 everything built well.
ptxdist version 2020.08.0
Toolchain: OSELAS.Toolchain-2019.09.1/x86_64-unknown-linux-gnu/gcc-9.2.1-clang-8.0.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized
Does anyone have a clue?
Thank you in advance!
Artur
-------------------
target: nss.compile
-------------------
make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
# no real way to encode these in any sensible way
make -C coreconf/nsinstall program
../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
make: *** [manifest.mn:24: prepare_build] Error 2
make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] nss: build fails with linux 5.4.58
2020-08-12 9:50 [ptxdist] nss: build fails with linux 5.4.58 Artur Wiebe
@ 2020-08-12 13:40 ` Michael Olbrich
2020-08-12 13:59 ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? " Artur Wiebe
0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2020-08-12 13:40 UTC (permalink / raw)
To: ptxdist
On Wed, Aug 12, 2020 at 11:50:53AM +0200, Artur Wiebe wrote:
> I have a problem to compile nss with the latest lts-linux 5.4.58. With
> linux 4.19 everything built well.
>
> ptxdist version 2020.08.0
> Toolchain: OSELAS.Toolchain-2019.09.1/x86_64-unknown-linux-gnu/gcc-9.2.1-clang-8.0.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized
>
> Does anyone have a clue?
Hmm, I'm guess there is still something broken with parallel building. Can
you verify, that you use all patches? This was broken in ptxdist-2020.07.0.
Does 'ptxdist -j1 compile nss' work? What's you're 'make' version?
Michael
> Thank you in advance!
> Artur
>
>
> -------------------
> target: nss.compile
> -------------------
>
> make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> # no real way to encode these in any sensible way
> make -C coreconf/nsinstall program
> ../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
> make: *** [manifest.mn:24: prepare_build] Error 2
> make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] ?==?utf-8?q? ?==?utf-8?q? nss: build fails with linux 5.4.58
2020-08-12 13:40 ` Michael Olbrich
@ 2020-08-12 13:59 ` Artur Wiebe
2020-08-14 7:33 ` [ptxdist] ?= =?utf-8?q? " Michael Olbrich
0 siblings, 1 reply; 5+ messages in thread
From: Artur Wiebe @ 2020-08-12 13:59 UTC (permalink / raw)
To: ptxdist
Hi Michael,
same problem as below...
make --version
GNU Make 4.2.1
ptxdist clean nss && ptxdist -j1 compile nss
-------------------
target: nss.extract
-------------------
extract: pkg_src=/home/client/src/nss-3.54.tar.gz
extract: pkg_extract_dir=root/platform-x86/build-target/nss-3.54
pkg_patch_dir: 'ptxdist-2020.08.0/patches/nss-3.54'
pkg_patch_series: 'ptxdist-2020.08.0/patches/nss-3.54/series'
patchin: patch: apply 'ptxdist-2020.08.0/patches/nss-3.54/series'
applying '0001-nss-fix-nsinstall-build.patch'
patching file nss/coreconf/nsinstall/Makefile
applying '0002-add-nss.pc.in.patch'
patching file nss/nss.pc.in
applying '0003-HACK-don-t-build-the-commands.patch'
patching file nss/manifest.mn
applying '0004-HACK-fix-parallel-building-issue.patch'
patching file nss/coreconf/rules.mk
applying '0005-fix-dependency-generation.patch'
patching file nss/coreconf/rules.mk
patchin: patch: done
finished target nss.extract
-------------------
target: nss.compile
-------------------
make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
# no real way to encode these in any sensible way
make -C coreconf/nsinstall program
../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
make: *** [manifest.mn:24: prepare_build] Error 2
make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
On Wednesday, August 12, 2020 15:40 CEST, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
> On Wed, Aug 12, 2020 at 11:50:53AM +0200, Artur Wiebe wrote:
> > I have a problem to compile nss with the latest lts-linux 5.4.58. With
> > linux 4.19 everything built well.
> >
> > ptxdist version 2020.08.0
> > Toolchain: OSELAS.Toolchain-2019.09.1/x86_64-unknown-linux-gnu/gcc-9.2.1-clang-8.0.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized
> >
> > Does anyone have a clue?
>
> Hmm, I'm guess there is still something broken with parallel building. Can
> you verify, that you use all patches? This was broken in ptxdist-2020.07.0.
>
> Does 'ptxdist -j1 compile nss' work? What's you're 'make' version?
>
> Michael
>
> > Thank you in advance!
> > Artur
> >
> >
> > -------------------
> > target: nss.compile
> > -------------------
> >
> > make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > # no real way to encode these in any sensible way
> > make -C coreconf/nsinstall program
> > ../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
> > make: *** [manifest.mn:24: prepare_build] Error 2
> > make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
> >
> >
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> >
>
> --
> Pengutronix e.K. | |
> Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] ?= =?utf-8?q? nss: build fails with linux 5.4.58
2020-08-12 13:59 ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? " Artur Wiebe
@ 2020-08-14 7:33 ` Michael Olbrich
2020-08-14 7:53 ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? ?= 8 Artur Wiebe
0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2020-08-14 7:33 UTC (permalink / raw)
To: ptxdist
On Wed, Aug 12, 2020 at 03:59:58PM +0200, Artur Wiebe wrote:
> Hi Michael,
>
> same problem as below...
>
> make --version
> GNU Make 4.2.1
>
> ptxdist clean nss && ptxdist -j1 compile nss
>
> -------------------
> target: nss.extract
> -------------------
>
> extract: pkg_src=/home/client/src/nss-3.54.tar.gz
> extract: pkg_extract_dir=root/platform-x86/build-target/nss-3.54
>
> pkg_patch_dir: 'ptxdist-2020.08.0/patches/nss-3.54'
> pkg_patch_series: 'ptxdist-2020.08.0/patches/nss-3.54/series'
>
> patchin: patch: apply 'ptxdist-2020.08.0/patches/nss-3.54/series'
> applying '0001-nss-fix-nsinstall-build.patch'
> patching file nss/coreconf/nsinstall/Makefile
> applying '0002-add-nss.pc.in.patch'
> patching file nss/nss.pc.in
> applying '0003-HACK-don-t-build-the-commands.patch'
> patching file nss/manifest.mn
> applying '0004-HACK-fix-parallel-building-issue.patch'
> patching file nss/coreconf/rules.mk
> applying '0005-fix-dependency-generation.patch'
> patching file nss/coreconf/rules.mk
> patchin: patch: done
>
> finished target nss.extract
>
> -------------------
> target: nss.compile
> -------------------
>
> make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
Right, we use OS_RELEASE=$(PTXCONF_KERNEL_VERSION) and this is with quotes.
Maybe PTXCONF_KERNEL_VERSION contains a trailing whitespace in your
platformconfig? The kernel package won't care, because we remove the quotes
there and any whitespace is lost.
Michael
> coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
> coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
> coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
> coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> # no real way to encode these in any sensible way
> make -C coreconf/nsinstall program
> ../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
> make: *** [manifest.mn:24: prepare_build] Error 2
> make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
>
>
>
> On Wednesday, August 12, 2020 15:40 CEST, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
>
> > On Wed, Aug 12, 2020 at 11:50:53AM +0200, Artur Wiebe wrote:
> > > I have a problem to compile nss with the latest lts-linux 5.4.58. With
> > > linux 4.19 everything built well.
> > >
> > > ptxdist version 2020.08.0
> > > Toolchain: OSELAS.Toolchain-2019.09.1/x86_64-unknown-linux-gnu/gcc-9.2.1-clang-8.0.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized
> > >
> > > Does anyone have a clue?
> >
> > Hmm, I'm guess there is still something broken with parallel building. Can
> > you verify, that you use all patches? This was broken in ptxdist-2020.07.0.
> >
> > Does 'ptxdist -j1 compile nss' work? What's you're 'make' version?
> >
> > Michael
> >
> > > Thank you in advance!
> > > Artur
> > >
> > >
> > > -------------------
> > > target: nss.compile
> > > -------------------
> > >
> > > make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > > coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
> > > coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
> > > coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > # no real way to encode these in any sensible way
> > > make -C coreconf/nsinstall program
> > > ../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
> > > make: *** [manifest.mn:24: prepare_build] Error 2
> > > make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > > make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
> > >
> > >
> > > _______________________________________________
> > > ptxdist mailing list
> > > ptxdist@pengutronix.de
> > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> > >
> >
> > --
> > Pengutronix e.K. | |
> > Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
> >
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] ?==?utf-8?q? ?==?utf-8?q? ?= 8
2020-08-14 7:33 ` [ptxdist] ?= =?utf-8?q? " Michael Olbrich
@ 2020-08-14 7:53 ` Artur Wiebe
0 siblings, 0 replies; 5+ messages in thread
From: Artur Wiebe @ 2020-08-14 7:53 UTC (permalink / raw)
To: ptxdist
Hi Michael,
That was it!!! Now it compiles.
PTXCONF_KERNEL_VERSION="5.4.58 "
The trailng space is invisible in ptxdist platformconfig.
I was digging in a completely wrong place...
Thank you very much for support!!
Artur
--
Dipl.-Ing. Artur Wiebe
Software-Ingenieur
Email: artur@4wiebe.de
Telefon: +491632699840
Web: artur.4wiebe.de
Quellenstraße 49, 72124 Pliezhausen
USt-IdNr: DE299286057
On Friday, August 14, 2020 09:33 CEST, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
> On Wed, Aug 12, 2020 at 03:59:58PM +0200, Artur Wiebe wrote:
> > Hi Michael,
> >
> > same problem as below...
> >
> > make --version
> > GNU Make 4.2.1
> >
> > ptxdist clean nss && ptxdist -j1 compile nss
> >
> > -------------------
> > target: nss.extract
> > -------------------
> >
> > extract: pkg_src=/home/client/src/nss-3.54.tar.gz
> > extract: pkg_extract_dir=root/platform-x86/build-target/nss-3.54
> >
> > pkg_patch_dir: 'ptxdist-2020.08.0/patches/nss-3.54'
> > pkg_patch_series: 'ptxdist-2020.08.0/patches/nss-3.54/series'
> >
> > patchin: patch: apply 'ptxdist-2020.08.0/patches/nss-3.54/series'
> > applying '0001-nss-fix-nsinstall-build.patch'
> > patching file nss/coreconf/nsinstall/Makefile
> > applying '0002-add-nss.pc.in.patch'
> > patching file nss/nss.pc.in
> > applying '0003-HACK-don-t-build-the-commands.patch'
> > patching file nss/manifest.mn
> > applying '0004-HACK-fix-parallel-building-issue.patch'
> > patching file nss/coreconf/rules.mk
> > applying '0005-fix-dependency-generation.patch'
> > patching file nss/coreconf/rules.mk
> > patchin: patch: done
> >
> > finished target nss.extract
> >
> > -------------------
> > target: nss.compile
> > -------------------
> >
> > make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
>
> Right, we use OS_RELEASE=$(PTXCONF_KERNEL_VERSION) and this is with quotes.
> Maybe PTXCONF_KERNEL_VERSION contains a trailing whitespace in your
> platformconfig? The kernel package won't care, because we remove the quotes
> there and any whitespace is lost.
>
> Michael
>
> > coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
> > coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
> > coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > # no real way to encode these in any sensible way
> > make -C coreconf/nsinstall program
> > ../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
> > make: *** [manifest.mn:24: prepare_build] Error 2
> > make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
> >
> >
> >
> > On Wednesday, August 12, 2020 15:40 CEST, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
> >
> > > On Wed, Aug 12, 2020 at 11:50:53AM +0200, Artur Wiebe wrote:
> > > > I have a problem to compile nss with the latest lts-linux 5.4.58. With
> > > > linux 4.19 everything built well.
> > > >
> > > > ptxdist version 2020.08.0
> > > > Toolchain: OSELAS.Toolchain-2019.09.1/x86_64-unknown-linux-gnu/gcc-9.2.1-clang-8.0.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized
> > > >
> > > > Does anyone have a clue?
> > >
> > > Hmm, I'm guess there is still something broken with parallel building. Can
> > > you verify, that you use all patches? This was broken in ptxdist-2020.07.0.
> > >
> > > Does 'ptxdist -j1 compile nss' work? What's you're 'make' version?
> > >
> > > Michael
> > >
> > > > Thank you in advance!
> > > > Artur
> > > >
> > > >
> > > > -------------------
> > > > target: nss.compile
> > > > -------------------
> > > >
> > > > make: Entering directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > > > coreconf/rules.mk:287: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:311: warning: overriding recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:294: warning: ignoring old recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:310: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:311: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:294: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:315: warning: overriding recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:311: warning: ignoring old recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:314: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:315: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:311: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:318: warning: overriding recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:315: warning: ignoring old recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:317: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:318: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:315: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:327: warning: overriding recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:318: warning: ignoring old recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:320: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:351: warning: overriding recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:327: warning: ignoring old recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:351: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:351: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:318: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:352: warning: overriding recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:351: warning: ignoring old recipe for target 'Linux5.4.58'
> > > > coreconf/rules.mk:352: *** mixed implicit and normal rules: deprecated syntax
> > > > coreconf/rules.mk:352: warning: overriding recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > coreconf/rules.mk:351: warning: ignoring old recipe for target '_x86_64_glibc_PTH_64_OPT.OBJ/%.o'
> > > > # no real way to encode these in any sensible way
> > > > make -C coreconf/nsinstall program
> > > > ../../coreconf/rules.mk:164: *** invalid syntax in conditional. Stop.
> > > > make: *** [manifest.mn:24: prepare_build] Error 2
> > > > make: Leaving directory '/mnt/root/platform-x86/build-target/nss-3.54/nss'
> > > > make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ptxd_make_world_compile.make:20: /mnt/root/platform-x86/state/nss.compile] Error 2
> > > >
> > > >
> > > > _______________________________________________
> > > > ptxdist mailing list
> > > > ptxdist@pengutronix.de
> > > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> > > >
> > >
> > > --
> > > Pengutronix e.K. | |
> > > Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> > > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
> > >
> > > _______________________________________________
> > > ptxdist mailing list
> > > ptxdist@pengutronix.de
> > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> >
> >
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> >
>
> --
> Pengutronix e.K. | |
> Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-08-14 7:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 9:50 [ptxdist] nss: build fails with linux 5.4.58 Artur Wiebe
2020-08-12 13:40 ` Michael Olbrich
2020-08-12 13:59 ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? " Artur Wiebe
2020-08-14 7:33 ` [ptxdist] ?= =?utf-8?q? " Michael Olbrich
2020-08-14 7:53 ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? ?= 8 Artur Wiebe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox