mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] "ptxdist get" failure in container
@ 2023-01-27 15:34 Tim Sander
  2023-01-27 16:09 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Sander @ 2023-01-27 15:34 UTC (permalink / raw)
  To: ptxdist

Hi

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 <http://gnu.org/licenses/gpl.html>
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?

Best regards
Tim






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] "ptxdist get" failure in container
  2023-01-27 15:34 [ptxdist] "ptxdist get" failure in container Tim Sander
@ 2023-01-27 16:09 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2023-01-27 16:09 UTC (permalink / raw)
  To: Tim Sander; +Cc: ptxdist

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 <http://gnu.org/licenses/gpl.html>
> 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 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-27 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-27 15:34 [ptxdist] "ptxdist get" failure in container Tim Sander
2023-01-27 16:09 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox