Package: libpoppler5
Version: 0.12.2-2.1
Severity: important

For a while now, cups has failed to build on armel [1]:

Linking pdftoijs...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wl,--as-needed  
-pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -D_GNU_SOURCE 
-o pdftoijs pdftoijs.o \
                -lpoppler -llcms -lcups -lavahi-common -lavahi-client   
-lgnutls   -lpthread -lm -lcrypt  -lijs -lcups -lavahi-common -lavahi-client   
-lgnutls   -lpthread -lm -lcrypt 
pdftoijs.o: In function `main':
/build/buildd-cups_1.4.2-9.1-armel-H26thd/cups-1.4.2/filter/pdftoijs.cxx:271: 
undefined reference to `setErrorFunction(void (*)(int, char*, std::__va_list))'

It works fine on all other platforms.

It seems that on armel's libpoppler.so there's something wrong with
this symbol? I attach a trivial test case.

On i386:

$ g++ -o test -lpoppler test.c
$

on armel (tested on the agricola porter box):

$ g++ -o test -lpoppler test.c 
test.c:14: note: the mangling of 'va_list' has changed in GCC 4.4
/tmp/ccLDKCzn.o: In function `main':
test.c:(.text+0xb8): undefined reference to `setErrorFunction(void (*)(int, 
char*, std::__va_list))'
collect2: ld returned 1 exit status

The symbol is kind of there:

$ nm -D /usr/lib/libpoppler.so|grep setError
0007b858 T _Z16setErrorFunctionPFviPcPvE

but perhaps the "mangling has changed" is responsible for hat? Perhaps
poppler needs a rebuild with the current gcc on armel?

FTR, In Ubuntu cups and poppler build just fine on armel.

Thanks,

Martin


[1] 
https://buildd.debian.org/fetch.cgi?pkg=cups&arch=armel&ver=1.4.2-9.1&stamp=1268315680&file=log&as=raw
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to