From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k6UDp-0000qm-4j for ptxdist@pengutronix.de; Fri, 14 Aug 2020 09:33:53 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1k6UDo-0002Fu-Rc for ptxdist@pengutronix.de; Fri, 14 Aug 2020 09:33:52 +0200 Date: Fri, 14 Aug 2020 09:33:52 +0200 From: Michael Olbrich Message-ID: <20200814073352.GD8684@pengutronix.de> References: <20200812134018.GA30299@pengutronix.de> <3a3-5f33f600-15-1d0619c0@15793033> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3a3-5f33f600-15-1d0619c0@15793033> Subject: Re: [ptxdist] ?==?utf-8?q? ?==?utf-8?q? nss: build fails with linux 5.4.58 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de 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 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