Re: About building packages in porterbox
On Sat, May 19, 2012 at 4:38 PM, Aron Xu <[email protected]> wrote:
> On Sat, May 19, 2012 at 4:12 PM, Colin Tuckley <[email protected]> wrote:
>>
>> The problem on armel:
>>
>> /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../arm-linux-gnueabi/libpciaccess.so:
>> undefined reference to `gzopen64@ZLIB_1.2.3.3'
>>
>> Looks like it might be the same problem as mentioned here:
>>
>> http://forums.fedoraforum.org/showthread.php?t=228945
>>
>> Which turns out to be an Ubuntu specific version of zlib which includes
>> gzopen64.
>>
>
> $ objdump -T /usr/lib/i386-linux-gnu/libz.so.1.2.7 | grep gzopen
> 0000d720 g DF .text 00000016 Base gzopen
> 0000d740 g DF .text 00000016 ZLIB_1.2.3.3 gzopen64
>
> $ objdump -T /usr/lib/x86_64-linux-gnu/libz.so.1.2.7 | grep gzopen
> 000000000000d7f0 g DF .text 000000000000000d Base gzopen
> 000000000000d800 g DF .text 000000000000000d ZLIB_1.2.3.3 gzopen64
>
> $ grep gzopen64 /usr/include/zlib.h
> ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
> # define z_gzopen z_gzopen64
> # define gzopen gzopen64
> ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
>
>
Note: Information above is collected on clean Sid chroots.
I encountered a similar issue with shelxle (1.0.551-1)[1] on mipsel
recently, but rebuilding on mipsel porterbox didn't give more hint
because the build was successful.
[1]https://buildd.debian.org/status/package.php?p=shelxle
--
Regards,
Aron Xu
Reply to: