coreutils
[Top][All Lists]
Advanced

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

Re: Problem compiling latest git snapshot (8.22.157-1b243)


From: Pádraig Brady
Subject: Re: Problem compiling latest git snapshot (8.22.157-1b243)
Date: Fri, 18 Jul 2014 22:02:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 07/18/2014 09:09 PM, Assaf Gordon wrote:
> 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

The attached should fix it up.
This is something that would be good to have in the 8.23 release I'm preparing,
as it would be common for users to:
  git checkout v8.23
  ./bootstrap
  ...

thanks!
Pádraig.

Attachment: bootstrap-posix.patch
Description: Text Data


reply via email to

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