[csw-maintainers] Fwd: [csw-pkgrequests] New package request : PDFtk

Dagobert Michelsen dam at opencsw.org
Tue Jan 15 11:15:37 CET 2013


Hi folks,

Anfang der weitergeleiteten Nachricht:
> Von: pkgrequest at lists.opencsw.org
> Betreff: [csw-pkgrequests] New package request : PDFtk
> Datum: 14. Januar 2013 22:42:39 MEZ
> An: pkgrequests at lists.opencsw.org
> 
> Dear maintainers,
> 
> A new package request has been received from Owen Eng (mailto:owen.eng at rogers.com). PDFtk is requested to be added to our catalog.
> 
> Here is the attached message : 
> 
> http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
> 
> This is a package that is commonly available for linux distros. It would be really nice to have a package here for Solaris. What do you think?

I wanted to take a look, but stumbled upon a problem with gcj:

> dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/pdftk > gmake TOOLPATH=/opt/csw/gcc4/bin/ -f Makefile.Solaris
> gmake -f Makefile -iC ../java all
> gmake[1]: Entering directory `/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java'
> /opt/csw/gcc4/bin/gcj -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/ElementTags.java
> gcj: error trying to exec 'ecj1': execvp: No such file or directory
> gmake[1]: [com/lowagie/text/ElementTags.class] Error 1 (ignored)
> /opt/csw/gcc4/bin/gcjh -force --classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." com/lowagie/text/ElementTags
> ld.so.1: gcjh-4.7: fatal: relocation error: file /opt/csw/lib/libgcj.so.13: symbol libiconv_open: referenced symbol not found
> Killed

Indeed, here is -liconv missing:

dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java > ldd -r /opt/csw/lib/libgcj.so.13
        libpthread.so.1 =>       /lib/libpthread.so.1
        librt.so.1 =>    /lib/librt.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libgcc_s.so.1 =>         /opt/csw/lib/sparcv8/libgcc_s.so.1
        libc.so.1 =>     /lib/libc.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libscf.so.1 =>   /lib/libscf.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
        symbol not found: libiconv_open         (/opt/csw/lib/libgcj.so.13)
        symbol not found: libiconv_close                (/opt/csw/lib/libgcj.so.13)
        symbol not found: libiconv              (/opt/csw/lib/libgcj.so.13)
        /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1
        libm.so.2 =>     /lib/libm.so.2

dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java > dump -Lv /opt/csw/lib/libgcj.so.13

/opt/csw/lib/libgcj.so.13:

  **** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag         Value
[1]     POSFLAG_1       LAZYLOAD
[2]     NEEDED          libpthread.so.1
[3]     POSFLAG_1       LAZYLOAD
[4]     NEEDED          librt.so.1
[5]     POSFLAG_1       LAZYLOAD
[6]     NEEDED          libdl.so.1
[7]     POSFLAG_1       LAZYLOAD
[8]     NEEDED          libsocket.so.1
[9]     POSFLAG_1       LAZYLOAD
[10]    NEEDED          libnsl.so.1
[11]    POSFLAG_1       LAZYLOAD
[12]    NEEDED          libgcc_s.so.1
[13]    NEEDED          libc.so.1
[14]    INIT            0x1884af0
[15]    FINI            0x1884b0c
[16]    SONAME          libgcj.so.13
[17]    RUNPATH         /opt/csw/lib/$ISALIST:/opt/csw/lib
[18]    RPATH           /opt/csw/lib/$ISALIST:/opt/csw/lib
[19]    HASH            0xa9008
[20]    STRTAB          0x22d46c
[21]    STRSZ           0x44eac3
[22]    SYMTAB          0x12a6ec
[23]    SYMENT          0x10
[24]    CHECKSUM        0x50f6
[25]    VERDEF          0x67c0e0
[26]    VERDEFNUM       0x1
[27]    VERNEED         0x67bf30
[28]    VERNEEDNUM      0x7
[29]    RELACOUNT       0x7857d
[30]    PLTSZ           0x22548
[31]    PLTREL          0x7
[32]    JMPREL          0xeafe98
[33]    RELA            0x69c6ac
[34]    RELASZ          0x835d34
[35]    RELAENT         0xc
[36]    SYMINFO         0x684a8
[37]    SYMINSZ         0x40b60
[38]    SYMINENT        0x4
[39]    FLAGS           0
[40]    FLAGS_1         0
[41]    SUNW_STRPAD     0x200
[42]    SUNW_LDMACH     EM_SPARC
[43]    PLTGOT          0x1f09934


> gmake[1]: [com/lowagie/text/ElementTags.h] Error 137 (ignored)
> /opt/csw/gcc4/bin/gcj -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/List.java
> gcj: error trying to exec 'ecj1': execvp: No such file or directory

We don't seem to have ecj1 at all.

> gmake[1]: [com/lowagie/text/List.class] Error 1 (ignored)
> /opt/csw/gcc4/bin/gcjh -force --classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." com/lowagie/text/List
> ld.so.1: gcjh-4.7: fatal: relocation error: file /opt/csw/lib/libgcj.so.13: symbol libiconv_open: referenced symbol not found
> Killed
> gmake[1]: [com/lowagie/text/List.h] Error 137 (ignored)
> /opt/csw/gcc4/bin/gcj -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/Anchor.java
> gcj: error trying to exec 'ecj1': execvp: No such file or directory
> gmake[1]: [com/lowagie/text/Anchor.class] Error 1 (ignored)
> /opt/csw/gcc4/bin/gcjh -force --classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." com/lowagie/text/Anchor
> ^C[gmake[1]: *** wait: No child processes.  Stop.
> gmake[1]: *** Waiting for unfinished jobs....
> gmake[1]: *** wait: No child processes.  Stop.
> gmake: *** [javalib] Error 2


Maciej, any idea on how to fix these?


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list