Mantis - jbig2dec
Viewing Issue Advanced Details
3880 packaging trivial always 2009-09-04 13:27 2009-09-21 10:11
flod  
james  
normal  
closed  
fixed  
none    
none  
0003880: symbolic links in /opt/csw/lib/amd64/ lead nowhere, meaning amd64 libraries not included
The included symbolic links
/opt/csw/lib/amd64/libjbig2dec.so
/opt/csw/lib/amd64/libjbig2dec.so.0
lead nowhere as
/opt/csw/lib/amd64/libjbig2dec.so.0.10
is missing.
uname -a
SunOS sun 5.10 Generic_141415-10 i86pc i386 i86pc
grep CSWjbig2dec /var/sadm/install/contents
/opt/csw/bin/jbig2dec f none 0755 root bin 21752 18088 1246190682 CSWjbig2dec
/opt/csw/include/jbig2.h f none 0644 root bin 4304 34608 1235720428 CSWjbig2dec
/opt/csw/lib/amd64/libjbig2dec.so=libjbig2dec.so.0.10 s none CSWjbig2dec
/opt/csw/lib/amd64/libjbig2dec.so.0=libjbig2dec.so.0.10 s none CSWjbig2dec
/opt/csw/lib/libjbig2dec.so=libjbig2dec.so.0.10 s none CSWjbig2dec
/opt/csw/lib/libjbig2dec.so.0=libjbig2dec.so.0.10 s none CSWjbig2dec
/opt/csw/lib/libjbig2dec.so.0.10 f none 0755 root bin 62564 10387 1246190682 CSWjbig2dec
/opt/csw/share/doc/jbig2dec d none 0755 root bin CSWjbig2dec
/opt/csw/share/doc/jbig2dec/COPYING f none 0644 root bin 18009 30072 1235528373 CSWjbig2dec
/opt/csw/share/doc/jbig2dec/LICENSE f none 0644 root bin 1157 34334 1235528373 CSWjbig2dec
/opt/csw/share/doc/jbig2dec/README f none 0644 root bin 959 20585 1235528373 CSWjbig2dec

pkginfo -l CSWjbig2dec
 PKGINST: CSWjbig2dec
      NAME: jbig2dec - decoder implementing JBIG2 bi-level image compression
  CATEGORY: system
      ARCH: i386
   VERSION: 0.10,REV=2009.06.28
   BASEDIR: /
    VENDOR: http://jbig2dec.sourceforge.net/ [^] packaged for CSW by James Lee
    PSTAMP: build8x20090628140445
  INSTDATE: Sep 04 2009 13:19
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: james@opencsw.org
    STATUS: completely installed
     FILES: 11 installed pathnames
                   1 directories
                   2 executables
                 216 blocks used (approx)
Issue History
2009-09-04 13:27 flod New Issue
2009-09-04 13:30 james Status new => assigned
2009-09-04 13:30 james Assigned To => james
2009-09-04 13:35 james Note Added: 0006662
2009-09-04 13:54 flod Note Added: 0006663
2009-09-04 14:09 james Note Added: 0006664
2009-09-13 10:59 james Note Added: 0006694
2009-09-20 10:22 james Note Added: 0006732
2009-09-21 10:11 james Status assigned => closed
2009-09-21 10:11 james Resolution open => fixed

Notes
(0006662)
james   
2009-09-04 13:35   
Acknowledged and thank you for reporting. The underlying problem is the amd64 lib is missing. This matters should anyone want to build an amd64 program which links to this. Will fix shortly.

The corresponding sparc files are:
ls -lF /opt/csw/lib/sparcv9/libjbig2dec*
lrwxrwxrwx 1 root other 19 Jun 28 13:01 /opt/csw/lib/sparcv9/libjbig2dec.so -> libjbig2dec.so.0.10*
lrwxrwxrwx 1 root other 19 Jun 28 13:01 /opt/csw/lib/sparcv9/libjbig2dec.so.0 -> libjbig2dec.so.0.10*
-rwxr-xr-x 1 root bin 70896 Jun 28 12:57 /opt/csw/lib/sparcv9/libjbig2dec.so.0.10*


With a 64bit lib!
(0006663)
flod   
2009-09-04 13:54   
I stumbled upon it with:
"Early Access Patching Pre-flight Checks (ppc) tool" from Sun
http://forums.sun.com/thread.jspa?threadID=5404908 [^]
(contract required for this forum)

W 237 ~~ File: /opt/csw/lib/amd64/libjbig2dec.so.0.10 symlinked by: /opt/csw/lib/amd64/libjbig2dec.so doesn't exist (CSWjbig2dec)
W 237 ~~ File: /opt/csw/lib/amd64/libjbig2dec.so.0.10 symlinked by: /opt/csw/lib/amd64/libjbig2dec.so.0 doesn't exist (CSWjbig2dec)
(0006664)
james   
2009-09-04 14:09   
I can't view but I guess what it's doing. The only problem might be where a link is from one package to a file in another. This can occur when a file from another package supersedes a file in a package and the package packs a link and a depend. Example: CSWbdb4 is a package of links.

I have a package checker and this is one things that gets check. To over come the link to another package problem it has to do a virtual install of the package and its depends. For general unstable release packages are not checked as a set. Only when doing eg stable does the set get checked with rigour. This takes time. So the missing part in this case was me be bothered to run the check... sorry, "current" used to be called "unstable" for good reason.
(0006694)
james   
2009-09-13 10:59   
jbig2dec-0.10,REV=2009.09.13 build and in testing.

$ ls -l /opt/csw/lib/amd64/libjbig2dec.so.0.10
-rwxr-xr-x 1 root bin 77440 Sep 13 09:49 /opt/csw/lib/amd64/libjbig2dec.so.0.10
(0006732)
james   
2009-09-20 10:22   
big2dec-0.10,REV=2009.09.13 released.