Subject: pkg/37128: imake packages fails to build on Linux, X11_TYPE=modular
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 10/13/2007 23:55:00
>Number:         37128
>Category:       pkg
>Synopsis:       imake packages fails to build on Linux, X11_TYPE=modular
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 13 23:55:00 +0000 2007
>Originator:     Aleksey Cheusov
>Release:        linux
>Organization:
home
>Environment:
Linux pkgsrc-0 2.6.18-5-vserver-686 #1 SMP Thu Aug 30 04:29:47 UTC 2007 i686 GNU/Linux

>Description:
Lots of imake packages faile to build on Linux
at installation stage.
http://www.mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log/20071007.0032/xlockmore-lite-5.25/install.log

Neither imake nor xmkmf was installed from outside pkgsrc.


=> Bootstrap dependency digest>=20010302: digest-20070803 found
=> Bootstrap dependency checkperms>=1.1: checkperms-1.9 found
===> Installing for xlockmore-lite-5.25
=> Generating pre-install file lists
gmake[1]: Entering directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/xlock'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/xlock'
gmake[1]: Entering directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/modes/glx'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/modes/glx'
gmake[1]: Entering directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/modes'
../mkinstalldirs /usr/pkg/bin
/usr/bin/install -c -s -o root -g root -m 555 -s -g shadow -m 2111 ../xlock/xlock /usr/pkg/bin
#mkdir -p /usr/pkg/lib/X11/xlock/modules
#cp *.xlk /usr/pkg/lib/X11/xlock/modules
#cp glx/*.xlk /usr/pkg/lib/X11/xlock/modules
../mkinstalldirs /usr/pkg/man/man1
/usr/bin/install -c -o root -g root -m 444 ../xlock/xlock.man /usr/pkg/man/man1/xlock.1
../mkinstalldirs /usr/pkg/lib/X11/app-defaults
mkdir /usr/pkg/lib/X11/app-defaults
/usr/bin/install -c -o root -g root -m 444 ../xlock/XLock.ad /usr/pkg/lib/X11/app-defaults/XLock
install COMPLETE

gmake[1]: Leaving directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/modes'
gmake[1]: Entering directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/xmlock'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/xmlock'
gmake[1]: Entering directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/xglock'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/xglock'
/usr/bin/install -d -o root -g root -m 755 /usr/pkg/lib/X11/xlock/sounds
cd /srv/obj_pkgsrc/x11/xlockmore-lite/work/xlockmore-5.25/sounds;						 for file in *.au; do						 /usr/bin/install -c -o root -g root -m 444 $file /usr/pkg/lib/X11/xlock/sounds;		 done
=> Automatic manual page handling
=> Generating post-install file lists
=> Registering installation for xlockmore-lite-5.25
xlockmore-lite-5.25 requires installed package libICE-1.0.3
xlockmore-lite-5.25 requires installed package libSM-1.0.3
xlockmore-lite-5.25 requires installed package libX11-1.1.3
xlockmore-lite-5.25 requires installed package libXext-1.0.3
=> Checking file-check results for xlockmore-lite-5.25
=> Checking file permissions in xlockmore-lite-5.25
=> Checking for missing run-time search paths in xlockmore-lite-5.25
ERROR: /usr/pkg/bin/xlock: 	libSM.so.6 => not found
ERROR: 	libICE.so.6 => not found
ERROR: 	libX11.so.6 => not found
ERROR: 	libXext.so.6 => not found
ERROR: *** The programs/libs shown above will not find the listed
ERROR:     shared libraries at runtime.
ERROR:     Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/x11/xlockmore-lite
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/x11/xlockmore-lite
*** Error code 1

Stop.
bmake: stopped in /srv/pkgsrc/x11/xlockmore-lite
>How-To-Repeat:

>Fix:
Do you need any diagnostics?