Gentlemen, thank you for investigating such twisted issue! When building in parallel, sometime librhash.a was created prior to librhash.so and rhash_shared binary. The command 'mv rhash_shared rhash' preserved timestamp. Then wrong static 'rhash' binary was re-built by command 'make test' (as required by Makefile dependencies) but without all necessary CFLAGS. That led to linker error.
The bug can be fixed by changing 'mv rhash_shared rhash' line to 'cp rhash_shared rhash' or 'mv rhash_shared rhash && touch rhash'. I'm preparing a package with the fix and will upload it to ftpmaster asap. 26.11.2012 0:09, Michael Banck wrote: > Hi, > > On Sun, Nov 25, 2012 at 05:31:55PM +0100, Michael Banck wrote: >> On Fri, Nov 02, 2012 at 05:13:57PM +0100, gregor herrmann wrote: >>> Ok, NMU cancelled until this is sorted out ... >> >> For the record, I tried a build of Gregor's NMU patch using sbuild and >> DEB_BUILD_OPTIONS=parallel=4 on both i386 and amd64 and they both worked >> fine. > > Ok, in an i386 chroot on my amd64 machine I can reproduce this as > well, just not every time... > > > Michael >
signature.asc
Description: OpenPGP digital signature