[arch-general] Makepkg Traps non Zero Exit Codes

Stefan Husmann stefan-husmann at t-online.de
Sat Feb 4 08:46:36 EST 2012


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.

Regards Stefan


More information about the arch-general mailing list