pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39387: pkgsrc pks's installs lib/*.so on AIX but comment them out in +CONTENTS
>Number: 39387
>Category: pkg
>Synopsis: pkgsrc pks's installs lib/*.so on AIX but comment them out in
>+CONTENTS
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 20 10:15:00 +0000 2008
>Originator: Jens Rehsack
>Release: aix 5.3.0.0 TL8
>Organization:
Bayer Business Services
>Environment:
AIX ue9e 3 5 00CAC12F4C00
>Description:
ls -l /opt/pkgsrc/lib/|grep libz
-rw-r--r-- 1 root system 97694 Aug 20 11:00 libz.a
-r-xr-xr-x 1 root system 822 Aug 20 11:00 libz.la
lrwxrwxrwx 1 root system 13 Aug 20 11:00 libz.so ->
libz.so.1.0.2
lrwxrwxrwx 1 root system 13 Aug 20 11:00 libz.so.1 ->
libz.so.1.0.2
-r-xr-xr-x 1 root system 142482 Aug 20 11:00 libz.so.1.0.2
cat /opt/pkgsrc/var/db/pkg/zlib*/+CONTENTS | grep .so
@comment No shared objects - lib/libz.so
@comment No shared objects - lib/libz.so.1
@comment No shared objects - lib/libz.so.1.0.2
If files going to be installed, they should be added to the pkg's +CONTENTS,
anyway.
>How-To-Repeat:
Build sth. with shared objects (e.g. devel/zlib or textproc/expat etc.) using
IBM's gcc (4.2 only?) on AIX.
>Fix:
For the moment I used shlib-elf.awk instead of shlib-none.awk for aixlibs which
helps me out of the dilemma:
--- pkgsrc/mk/plist/plist.mk 2008-08-20 12:04:45.000000000 +0200
+++ pkgsrc/mk/plist/plist.mk.orig 2008-04-08 22:52:15.000000000 +0200
@@ -190,7 +190,7 @@
_SHLIB_AWKFILE.ECOFF= ${.CURDIR}/../../mk/plist/shlib-elf.awk
_SHLIB_AWKFILE.ELF= ${.CURDIR}/../../mk/plist/shlib-elf.awk
_SHLIB_AWKFILE.SOM= ${.CURDIR}/../../mk/plist/shlib-som.awk
-_SHLIB_AWKFILE.aixlib= ${.CURDIR}/../../mk/plist/shlib-elf.awk
+_SHLIB_AWKFILE.aixlib= ${.CURDIR}/../../mk/plist/shlib-none.awk
_SHLIB_AWKFILE.a.out= ${.CURDIR}/../../mk/plist/shlib-aout.awk
_SHLIB_AWKFILE.dylib= ${.CURDIR}/../../mk/plist/shlib-dylib.awk
_SHLIB_AWKFILE.none= ${.CURDIR}/../../mk/plist/shlib-none.awk
I'm pretty sure this is - like the other linker related problem I reported - a
gcc problem.
Home |
Main Index |
Thread Index |
Old Index