Hi Jacob!

the dejagnu(1) launcher now first walks the PATH returned by `getconf PATH` (and then the 
user's $PATH) for an "sh" in search of a POSIX shell.

Does this also fix your problem?

Kind of.  The getconf tool is missing in Guix, not only during the 
bootstrapping I'm trying.  Actually it is part of glibc, but the glibc tools 
are usually not in PATH.  If getconf is missing, the dejagnu script prints an 
annoying error message, which can be ignored:

# LANG=C_LANG dejagnu --version
dejagnu-1.6.3-checkout/dejagnu: line 76: getconf: command not found
dejagnu auxiliary launcher (DejaGnu) 1.6.4-git

Maybe change that line to suppress the error message:

SysPATH=`getconf PATH 2> /dev/null`

However, the path returned from getconf—if made available—is /bin:/usr/bin.  
But in a Guix build environment, for example when building and testing 
binutils, there is no /bin available and neither a /usr.  So even if the 
getconf is provided during build, its result is a lie.  But that's not the 
problem of dejagnu at all.


Bye

Stefan


Reply via email to