coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling latest git snapshot (8.22.157-1b243)


From: Assaf Gordon
Subject: Problem compiling latest git snapshot (8.22.157-1b243)
Date: Fri, 18 Jul 2014 16:09:20 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hi,

Trying to build the latest revision (in an existing 'coreutil' directory after 
'git pull', not a fresh clone),

"./bootstrap" fails at the very end with:
    build-aux/gen-single-binary.sh: 52: build-aux/gen-single-binary.sh: Bad 
substitution
   ./bootstrap: bootstrap_post_import_hook failed

Line 52 of "build-aux/gen-single-binary.sh" has:
   eval "$var='$oldvalue "${value//\'/\'\"\'\"\'}"'"

Which I guess is a non-posix standard parameter expansion ( $(VAR//} works in 
bash but not in dash ).

As an ugly work-around, modifying "gen-single-binary.sh" from "#!/bin/sh" to 
"#!/bin/bash" avoids the problem - so this is likely the culprit.

- Assaf

P.S.
"gen-single-binary.sh" also doesn't have copyright or license statement - don't 
know if that's intentional or not.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]