[arch-general] Makepkg Traps non Zero Exit Codes
Allan McRae
allan at archlinux.org
Sat Feb 4 09:11:14 EST 2012
On 04/02/12 23:46, Stefan Husmann wrote:
> Am 04.02.2012 13:29, schrieb Frederic Bezies:
>> On 04/02/2012 12:54, Bastien Dejean wrote:
>>> Hi,
>>>
>>> There's a problem with all the mercurial based PKGBUILD, the following
>>> command:
>>>
>>> hg pull
>>>
>>> Returns with a non zero exit code if there's nothing to pull.
>>> In that case, makepkg fails with since it traps all non zero exit codes.
>>>
>>> I've found traces of this mercurial behavior dating from 2006, hence I
>>> presume that makepkg must have become picky lately?
>>>
>>> Greetings,
>>
>> For now, downgrade to mercurial 2.0.2 using :
>> http://arm.konnichi.com/search/
>>
>> I reported a bug on bugzilla.mozilla.org bugtracker related to
>> thunderbird trunk source code grabbing.
>>
>> https://bugzilla.mozilla.org/show_bug.cgi?id=723638
>>
>> So, until a fix is found either in mercurial or the AUR package you're
>> using, downgrading is the only answer :(
>>
>
> Unfortunately this seems to be an intended change in mercurial. See
> http://selenic.com/hg/rev/093b75c7b44b
>
> So a "fix" for this won't come, I guess.
>
Please file a bug for makepkg. This is something easily fixed for 4.0.2.
Allan
More information about the arch-general
mailing list