Currently I don't have executable bit set on my qt shared libraries: betelgeuse@pena /usr/portage/dev-java/radeox $ ls -l /usr/qt/3/lib/ total 14365 -rw-r--r-- 1 root root 6711390 2006-03-18 22:13 libdesignercore.a -rw-r--r-- 1 root root 828 2006-03-18 22:13 libdesignercore.prl -rw-r--r-- 1 root root 442682 2006-03-18 22:13 libeditor.a -rw-r--r-- 1 root root 765 2006-03-18 22:13 libeditor.prl -rw-r--r-- 1 root root 36130 2006-03-18 22:13 libqassistantclient.a -rw-r--r-- 1 root root 776 2006-03-18 22:13 libqassistantclient.prl -rw-r--r-- 1 root root 875 2006-03-18 22:13 libqnp.prl -rw-r--r-- 1 root root 782 2006-03-18 22:13 libqt-mt.la -rw-r--r-- 1 root root 804 2006-03-18 22:13 libqt-mt.prl lrwxrwxrwx 1 root root 13 2006-03-18 22:13 libqt-mt.so -> libqt-mt.so.3 lrwxrwxrwx 1 root root 15 2006-03-18 22:13 libqt-mt.so.3 -> libqt-mt.so.3.3 lrwxrwxrwx 1 root root 17 2006-03-18 22:13 libqt-mt.so.3.3 -> libqt-mt.so.3.3.6 -rw-r--r-- 1 root root 7261576 2006-03-18 22:13 libqt-mt.so.3.3.6 lrwxrwxrwx 1 root root 11 2006-03-18 22:13 libqt.so -> libqt-mt.so lrwxrwxrwx 1 root root 13 2006-03-18 22:13 libqt.so.3 -> libqt-mt.so.3 lrwxrwxrwx 1 root root 15 2006-03-18 22:13 libqt.so.3.3 -> libqt-mt.so.3.3 lrwxrwxrwx 1 root root 17 2006-03-18 22:13 libqt.so.3.3.6 -> libqt-mt.so.3.3.6 -rw-r--r-- 1 root root 692 2006-03-18 22:13 libqui.prl lrwxrwxrwx 1 root root 11 2006-03-18 22:13 libqui.so -> libqui.so.1 lrwxrwxrwx 1 root root 13 2006-03-18 22:13 libqui.so.1 -> libqui.so.1.0 lrwxrwxrwx 1 root root 15 2006-03-18 22:13 libqui.so.1.0 -> libqui.so.1.0.0 -rw-r--r-- 1 root root 207140 2006-03-18 22:13 libqui.so.1.0.0 drwxr-xr-x 2 root root 72 2006-03-18 22:13 pkgconfig/ After talking with solar on #gentoo-dev, we think that Portage should turn on the executable bit automatically if the build system does not do it. Portage 2.1_pre7-r3 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer" DISTDIR="/usr/src/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect confcache cvs distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict stricter verify-rdepend" GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo http://lame.lut.fi/linux/gentoo " LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="fi" MAKEOPTS="-j2" PKGDIR="/home/pkg/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse /mnt/checkouts/gentooexperimental/gentoo-java-experimental" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 aac acl acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo cdb cddb cdparanoia crypt cups dbus divx4linux dri dts dvd dvdr dvdread emboss esd firefox foomaticdb freetype gif gstreamer gtk2 hal isdnlog java jpeg kde kdeenablefinal libg++ libwww logitech-mouse mad makecheck mikmod mjpeg mmx mmx2 mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pdflib png pppd qt quicktime readline real rtc samba spell sse sse2 ssl subversion svg symlink tcpd theora threads truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs xcomposite xml xml2 xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_fi userland_GNU video_cards_none video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS
It seems that by default dolib installs as 644 and dolib.so as 755. Maybe the default for dolib should changed, but in the meanwhile qt should be changed to use dolib.so.
> It seems that by default dolib installs as 644 and dolib.so as 755. Maybe the > default for dolib should changed no, that isnt how it works the default LIBOPTIONS is 644, but the ebuild can control that via `libopts` > but in the meanwhile qt should be changed to use dolib.so. yes
also, portage already scans default lib paths and enforces +x permissions on all .so libs found ... maybe the logic could be updated to scan like LDPATH as well see the prepall script
So what exactly is left to do here?
portage auto handles these now