From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 27 Jan 2023 17:10:06 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) 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 1pLRIl-0042kX-L8 for lore@lore.pengutronix.de; Fri, 27 Jan 2023 17:10:06 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pLRIi-0005yl-LV; Fri, 27 Jan 2023 17:10:04 +0100 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pLRIR-0005yZ-N5; Fri, 27 Jan 2023 17:09:47 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1pLRIR-0008R8-Fz; Fri, 27 Jan 2023 17:09:47 +0100 Date: Fri, 27 Jan 2023 17:09:47 +0100 From: Michael Olbrich To: Tim Sander Message-ID: <20230127160947.GB8218@pengutronix.de> Mail-Followup-To: Tim Sander , ptxdist@pengutronix.de References: <4457593.LvFx2qVVIh@sanderhbk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4457593.LvFx2qVVIh@sanderhbk> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] "ptxdist get" failure in container 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@pengutronix.de 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.ext.pengutronix.de); SAEximRunCond expanded to false On Fri, Jan 27, 2023 at 04:34:50PM +0100, Tim Sander wrote: > I have the problem that when i run "ptxdist-2023.01.0 get" in a container > environment i get the following output: > ptxdist-2023.01.0 -d -d -d -d -d -d -d -d -d -v -v -v -v -v -v get > GNU Make 4.3 > Built for x86_64-pc-linux-gnu > Copyright (C) 1988-2020 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > Reading makefiles... > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > make: -c: No such file or directory > Updating makefiles.... > Updating goal targets.... > File 'get' does not exist. > File '/downloads/sources/ethtool-6.0.tar.xz' does not exist. > Must remake target '/downloads/sources/ethtool-6.0.tar.xz'. > make: -c: No such file or directory > make: *** [/usr/lib/ptxdist-2023.01.0/rules/post/ptxd_make_world_get.make:15: > /downloads/sources/ethtool-6.0.tar.xz] Error 127 > > I have not found the reason for this error, but i know that the same call > works with the same call on my developer machine. So it must be some difference > in the environment. I checked for various different missing executables (e.g. > gawk) but found nothing? Any idea what might be amiss? I'm guessing that there the actual command comes from a variable that is empty. Can you run: strace -eexecve -f -o logfile.txt ptxdist-2023.01.0 get and take a look at logfile.txt. You should find the '-c' there as failed commands. Maybe the other arguments will give as a hint what fails here. 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 |