From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 27 Oct 2023 08:17:15 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwG9k-005d25-A8 for lore@lore.pengutronix.de; Fri, 27 Oct 2023 08:17:15 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qwG9j-0004Hj-9z; Fri, 27 Oct 2023 08:17:15 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qwG9P-0004Ha-3M; Fri, 27 Oct 2023 08:16:55 +0200 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qwG9O-004a1p-L1; Fri, 27 Oct 2023 08:16:54 +0200 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qwG9O-00Bln2-C3; Fri, 27 Oct 2023 08:16:54 +0200 Date: Fri, 27 Oct 2023 08:16:54 +0200 From: Michael Olbrich To: Mircea Ciocan Message-ID: Mail-Followup-To: Mircea Ciocan , ptxdist References: <825314430.404032.1698241702676.JavaMail.zimbra@ppc-ag.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <825314430.404032.1698241702676.JavaMail.zimbra@ppc-ag.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] util-linux fail to compile with 2023.10.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Wed, Oct 25, 2023 at 03:48:22PM +0200, Mircea Ciocan wrote: > while attempting to compile ptxdist with 2023.10.0 I've encountered a failure in cfdisk package, that is build regardless if it is selected or not in the ptxconfig :(, no one seems to use PTXCONF_UTIL_LINUX_CFDISK to select if the cfdisk utility is build or not, but unfortunately if also no other packages that use the ncurses library are also not selected, when cfdisk is compiled the following error occurs: > > [479/612] Linking target cfdisk > FAILED: cfdisk > /opt/OSELAS.Toolchain-2023.07.0/arm-v7a-linux-gnueabihf/gcc-13.2.0-clang-17.0.1-glibc-2.37-binutils-2.41-kernel-6.1-sanitized/lib/gcc/arm-v7a-linux-gnueabihf/13.2.0/../../../../arm-v7a-linux-gnueabihf/bin/ld: platform-dabija/build-target/util-linux-2.39.2-build/../util-linux-2.39.2/disk-utils/cfdisk.c:685:(.text+0x50): undefined reference to `wclrtoeol' > /opt/OSELAS.Toolchain-2023.07.0/arm-v7a-linux-gnueabihf/gcc-13.2.0-clang-17.0.1-glibc-2.37-binutils-2.41-kernel-6.1-sanitized/lib/gcc/arm-v7a-linux-gnueabihf/13.2.0/../../../../arm-v7a-linux-gnueabihf/bin/ld: platform-dabija/build-target/util-linux-2.39.2-build/../util-linux-2.39.2/disk-utils/cfdisk.c:697:(.text+0xae): undefined reference to `wattr_on' > [...snip many more similar messages...] > > Maybe the maintainer of the package will have a look, because I think there may be some other packages that are not actually constrained with the ptxconf selection options. Can you try ptxdist master or copy rules/util-linux.in into your BSP? I applied a patch that fixed some dependency issues related to ncurses in util-linux. Michael -- 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 |