FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-19-2012, 05:34 AM
Liang Guo
 
Default About building packages in porterbox

Hi, List,

One of my packages [1] failed to build on armel, kfreebsd and hurd,
But I don't have such a machine to test my packages. Is it possible
to use debian porterbox to build the package and dig into this
problem ?

[1] https://buildd.debian.org/status/package.php?p=spice-vdagent

Thanks and Regards,
--
Liang Guo
http://bluestone.cublog.cn
 
Old 05-19-2012, 08:12 AM
Colin Tuckley
 
Default About building packages in porterbox

On 19/05/12 06:34, Liang Guo wrote:

> One of my packages [1] failed to build on armel, kfreebsd and hurd,
> But I don't have such a machine to test my packages. Is it possible
> to use debian porterbox to build the package and dig into this
> problem ?

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.

Did your sources come from Ubuntu?

Also note that armel is a 32 bit arch, so you can't expect 64 bit native
functions to exist.

Colin

--
Colin Tuckley | +44(0)1223 830814 | PGP/GnuPG Key Id
Debian Developer | +44(0)7799 143369 | 0x1B3045CE

Backups? We doan *NEED* no steenking baX%^~,VbKx NO CARRIER


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FB755DE.80201@debian.org">http://lists.debian.org/4FB755DE.80201@debian.org
 
Old 05-19-2012, 08:38 AM
Aron Xu
 
Default About building packages in porterbox

On Sat, May 19, 2012 at 4:12 PM, Colin Tuckley <colint@debian.org> 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 *));


--
Regards,
Aron Xu


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAMr=8w6JOA9Z9gao5p=WQk4teBycAe6K1XyNWoThcZq9F+7vm A@mail.gmail.com">http://lists.debian.org/CAMr=8w6JOA9Z9gao5p=WQk4teBycAe6K1XyNWoThcZq9F+7vm A@mail.gmail.com
 
Old 05-19-2012, 08:50 AM
Aron Xu
 
Default About building packages in porterbox

On Sat, May 19, 2012 at 4:38 PM, Aron Xu <happyaron.xu@gmail.com> wrote:
> On Sat, May 19, 2012 at 4:12 PM, Colin Tuckley <colint@debian.org> 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


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAMr=8w5RQtSxf87cMDxnGXwTZx484DLvmq8dnNrkbWrSByimJ A@mail.gmail.com">http://lists.debian.org/CAMr=8w5RQtSxf87cMDxnGXwTZx484DLvmq8dnNrkbWrSByimJ A@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 08:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org