From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Alexander Dahl Date: Mon, 19 Oct 2020 13:52:38 +0200 Message-ID: <2754832.nNXZTqcv4L@ada> In-Reply-To: <5265841.nSftzJJNyd@ada> References: <5265841.nSftzJJNyd@ada> Subject: Re: [ptxdist] busybox build fails with recent oselas toolchain List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bastian Krause Hello, Am Montag, 19. Oktober 2020, 10:54:49 CEST schrieb Alexander Dahl: > with the recent OSELAS Toolchain 2020.08 building busybox fails like this: > > ----------------------- > target: busybox.compile > ----------------------- > > make: Entering directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build- > target/busybox-1.31.1' > CC util-linux/mount.o > util-linux/mount.c:253:11: fatal error: rpc/rpc.h: No such file or directory > compilation terminated. > make[1]: *** [scripts/Makefile.build:197: util-linux/mount.o] Error 1 > make: *** [Makefile:743: util-linux] Error 2 > make: Leaving directory '/home/adahl/Work/bsp/tt/ncl/platform-ncl/build- > target/busybox-1.31.1' > make: *** [/usr/local/lib/ptxdist-2020.08.0/rules/post/ > ptxd_make_world_compile.make:20: /home/adahl/Work/bsp/tt/ncl/platform-ncl/ > state/busybox.compile] Error 2 Got a hint in IRC this is caused by BUSYBOX_FEATURE_MOUNT_NFS and indeed, if I deactivate that, busybox build does not fail anymore. > I was trying to build with /opt/OSELAS.Toolchain-2020.08.0/arm-v5te-linux- > gnueabi/gcc-10.2.1-glibc-2.32-binutils-2.35-kernel-5.8-sanitized/bin and I > could not find any fixes in ptxdist git since ptxdist-2020.08.0 for that. > > The same BSP builds successful with > /opt/OSELAS.Toolchain-2019.09.1/arm-v5te- > linux-gnueabi/gcc-9.2.1-glibc-2.30-binutils-2.32-kernel-5.0-sanitized/bin I got other errors now. I could avoid the libnsl.so problem Jon Ringle reported two weeks ago by disabling PTXCONF_GLIBC_NSS_COMPAT and PTXCONF_GLIBC_NSL in the BSP. Now I face compile errors with sudo and logrotate. I saw sudo is already fixed with later ptxdist versions, so I will now migrate to 2020.10.0 first, before proceeding with latest toolchain tests. Greets Alex _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de