bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Libvirt bootstrap issue


From: Eric Blake
Subject: Re: Libvirt bootstrap issue
Date: Mon, 24 May 2010 14:47:19 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4

[adding bug-gnu-gettext]

On 05/14/2010 07:26 PM, Scott Feldman wrote:
> Attached is log from attempt with shell dubuggin turned on.
> 
> -scott

Bruno,

Scott experienced an interesting failure while trying to run autopoint
from gettext 0.17 as part of bootstrapping libvirt.

>>> Please send me a diff for bootstrap to get the sh -vx in...
>>
>> diff --git i/bootstrap w/bootstrap
>> index 365a3d9..527b2c2 100755
>> --- i/bootstrap
>> +++ w/bootstrap
>> @@ -1,6 +1,6 @@
>>  #! /bin/sh
>>  # Print a version string.
>> -scriptversion=2010-02-24.17; # UTC
>> +scriptversion=2010-05-14.20; # UTC
>>
>>  # Bootstrap this package from checked-out sources.
>>
>> @@ -748,7 +748,7 @@ grep '^[  ]*AM_GNU_GETTEXT_VERSION(' configure.ac
>>> /dev/null || \
>>  if test $with_gettext = yes; then
>>    echo "$0: (cd $bt2; ${AUTOPOINT-autopoint}) ..."
>>    cp configure.ac $bt2 &&
>> -  (cd $bt2 && ${AUTOPOINT-autopoint} && rm configure.ac) &&
>> +  (cd $bt2 && sh -vx ${AUTOPOINT-autopoint} && rm configure.ac) &&
>>    slurp $bt2 $bt || exit

Relevant from his build log with that verbosity turned on:

+ mkdir tmpwrk25819
CVSROOT="$srcdir/$cvs_dir"
+ CVSROOT=/home/sfeldma/git/libvirt/._bootmp2/tmpcvs25819
...
cvs -d "$CVSROOT" init
+ cvs -d /home/sfeldma/git/libvirt/._bootmp2/tmpcvs25819 init
cvs [init aborted]: Cannot initialize repository under existing CVSROOT:
`/home'

Have you ever seen anything like this?  Is this something that autopoint
can work around?  And now that gettext 0.18 supports the option of git
instead of CVS, is it something we even need to worry about?

Eventually, Scott informed me that he worked around the issue by
bootstrapping as a different user, such that $HOME was no longer
pointing to the problematic /home/sfeldma.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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