Bug#774422: [Reproducible-builds] Bug#774422: perl: please make perl builds reproducible
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jan 23 15:45:12 UTC 2015
On Fri 2015-01-23 06:03:25 -0500, Holger Levsen wrote:
> Hi Niko,
>
> On Freitag, 23. Januar 2015, Niko Tyni wrote:
>> A quick search indicates that there's no separate namespace for other
>> uname(2) information than the host name and domain name. This suggests
>> that something like http://www.bstern.org/libuname/ is needed. I'm not
>> aware of anything in Debian already that does that. Time for an RFP maybe
>> :)
>
> it builds fine but doesn't work:
>
> jenkins at jenkins:~/u/libuname-1.0.0$ make
> gcc -Wall -Werror -O2 -fPIC -c -o libuname.o libuname.c
> if [ "`uname -s`" = "SunOS" ]; then \
> ld -G -dy -z text -Qn -o libuname.so libuname.o; \
> else \
> ld -shared -fPIC -o libuname.so libuname.o; \
> fi
> jenkins at jenkins:~/u/libuname-1.0.0$ LD_PRELOAD=$PWD/libuname.so
> LIBUNAME='Linux;bar;2.6.15;#1;Mon Feb 37 22:33:44 UTC 2006;i686;unknown' uname
> -a
> uname: symbol lookup error: /var/lib/jenkins/u/libuname-1.0.0/libuname.so:
> undefined symbol: dlsym
This is resolved by the attached patch.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libuname-build-and-run-cleanly.diff
Type: text/x-diff
Size: 661 bytes
Desc: build libuname 1.0.0 cleanly on modern debian GNU/Linux systems.
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150123/9f94ca5d/attachment.diff>
More information about the Perl-maintainers
mailing list