mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] ?= =?utf-8?q? nss: build fails with linux 5.4.58
Date: Fri, 14 Aug 2020 09:33:52 +0200	[thread overview]
Message-ID: <20200814073352.GD8684@pengutronix.de> (raw)
In-Reply-To: <3a3-5f33f600-15-1d0619c0@15793033>

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

  reply	other threads:[~2020-08-14  7:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12  9:50 [ptxdist] " 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     ` Michael Olbrich [this message]
2020-08-14  7:53       ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? ?= 8 Artur Wiebe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200814073352.GD8684@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox