Hi,

> I'm happy to announce that I've just released ptxdist-2019.07.0.
>
> This release contains several bigger changes.

I have discovered a bug in ptxdist-2019.07.0 when running it in docker.
As this always starts without a ~/.ptxdist directory and therefore no old 
ptxdistrc-xxxx.xx configuration file.
When running ptxdist-2019.07.0 it creates the ~/.ptxdist directory and then 
exits with an error as it's unable to find an old ptxdistrc configuration file.

$ ptxdist-2019.07.0
/usr/local/bin/ptxdist-2019.07.0: line 2261: 
/home/developer/.ptxdist/ptxdistrc-2010.01: No such file or directory
/usr/local/lib/ptxdist-2019.07.0/scripts/libptxdist.sh: line 105: 
/home/developer/.ptxdist/ptxdistrc-2010.01: No such file or directory
cp: cannot stat '/home/developer/.ptxdist/ptxdistrc-2010.01': No such file or 
directory
PTXdist: fatal error ... cannot start, sorry!

The workaround I currently use is to call the ptxdist-2018.12.0 version inside 
the same docker image, used for compiling OSELAS.Toolchain, before calling the 
new ptxdist version. As this creates ~/.ptxdist/ptxdistrc-2018.12 configuration 
file which then allows ptxdist-2019.07.0 to start and create 
~/.ptxdist/ptxdistrc-2019.07 successfully.

$ ptxdist-2018.12.0

PTXdist 2018.12.0                Build System for Embedded Linux Systems


$ ptxdist-2019.07.0

PTXdist 2019.07.0                Build System for Embedded Linux Systems


/Bruno
_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to