On 2015-04-17 11:28, Edmund Grimley Evans wrote:
> Source: make-dfsg
> Version: 4.0-8.1
> 
> When building with binutils 2.25-6, the version currently in unstable,
> it fails to build. The output is:
> 
> features/archives ....................................... FAILED (3/10 passed)
> 
> It's clear what's happening here. This entry in the changelog for
> binutils (2.25-6) explains it:
> 
>   * Configure with --enable-deterministic-archives. Closes: #774429.
> 
> Files are added to archives with a zero timestamp so make then adds
> them again, unexpectedly.
> 
> However, I'm not sure how you'll want to fix this. Weaken the test
> somehow?

I have just noted that ar has the 'U' option to disable deterministic
archives. This would allow to still test this part of make.

Unfortunately ar doesn't take arguments, but rather a list of modifiers
which need to be in the same argument, so we can't use an alias to force
this. We could also have done that using a shell function, but POSIX
shells do not provide a way to export shell functions. We can still do
it by using a wrapper called ar and changing PATH to point first to
the directory containing the wrapper. That's a bit more ugly though.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to