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: [email protected]
Telefon: +491632699840
Web: artur.4wiebe.de
Quellenstraße 49, 72124 Pliezhausen
USt-IdNr: DE299286057 
 
On Friday, August 14, 2020 09:33 CEST, Michael Olbrich 
<[email protected]> 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 
> > <[email protected]> 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
> > > > [email protected]
> > > > To unsubscribe, send a mail with subject "unsubscribe" to 
> > > > [email protected]
> > > > 
> > > 
> > > -- 
> > > 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
> > > [email protected]
> > > To unsubscribe, send a mail with subject "unsubscribe" to 
> > > [email protected]
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > [email protected]
> > To unsubscribe, send a mail with subject "unsubscribe" to 
> > [email protected]
> > 
> 
> -- 
> 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
> [email protected]
> To unsubscribe, send a mail with subject "unsubscribe" to 
> [email protected]


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to