Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268134 - net-im/licq-1.3.6 qt4-gui wrong library installation path
Summary: net-im/licq-1.3.6 qt4-gui wrong library installation path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 280647 (view as bug list)
Depends on: 296880
Blocks: 274070
  Show dependency tree
 
Reported: 2009-05-01 17:44 UTC by Stefan Behte (RETIRED)
Modified: 2009-12-15 17:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behte (RETIRED) gentoo-dev Security 2009-05-01 17:44:36 UTC
[craig@n2]$ licq
19:34:56: [ERR] Unable to load plugin (qt-gui): /usr/lib64/licq/licq_qt-gui.so: cannot open shared object file: No such file or directory.

The library is installed to /usr/lib/licq/licq_qt-gui.so, so it's not found. The other libs are installed to the correct places:

   usr/lib64/licq/licq_forwarder.so
   usr/lib64/licq/licq_autoreply.so
   usr/lib64/licq/licq_rms.so
   usr/lib64/licq/licq_console.so
   usr/lib64/licq/licq_osd.so
   usr/lib/licq/licq_qt4-gui.so

USE="crypt ncurses nls qt4 socks5* ssl xosd* -debug -kde* -msn -qt3*"

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-glibc2.2.5
Timestamp of tree: Fri, 01 May 2009 10:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.0.2:66/ http://gentoo.intergenia.de/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr arts asf berkdb bzip2 cdparanoia cdr cli cracklib crypt css cups curl dga divx4linux dri dts dv dvd dvdr dvdread encode ethereal extrafilters ffmpeg flac fortran ftp gdbm gif gpm gtk gtk2 iconv icq imagemagick ipv6 isdnlog java jpeg lame lzo mad midi mjpeg mmx motif mudflap multilib musepack ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openmp pam pcre perl png pppd print python qt3support quicktime readline reflection samba session spl sse sse2 ssl sysfs tcpd theora threads tiff unicode usb userlocales vcd vorbis wavpack x264 xine xinerama xorg xprint xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-31 11:08:19 UTC
Should be fixed now.
Please reopen if it is still broken after you recompile it.
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2009-07-16 20:35:22 UTC
Unfortunately, it is not fixed yet:

[...]
-- Installing: /var/tmp/portage/net-im/licq-1.3.6/image/usr/lib/licq/licq_qt4-gui.so
-- Removed runtime path from "/var/tmp/portage/net-im/licq-1.3.6/image//usr/lib/licq/licq_qt4-gui.so"
!!! dodoc: doc/README* does not exist
>>> Completed installing licq-1.3.6 into /var/tmp/portage/net-im/licq-1.3.6/image/

 * QA Notice: file does not exist:
 * 
 *      dodoc: ChangeLog does not exist
 *      dodoc: doc/README* does not exist
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/licq/licq_qt4-gui.so
   usr/bin/licq
   usr/lib64/licq/licq_osd.so
   usr/lib64/licq/licq_console.so
   usr/lib64/licq/licq_rms.so
   usr/lib64/licq/licq_forwarder.so
   usr/lib64/licq/licq_autoreply.so

>>> Installing (1 of 1) net-im/licq-1.3.6

 * Messages for package net-im/licq-1.3.6:

 * I will generate these plugins/frontends for licq:
 * auto-reply email rms console osd  qt4-gui
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.


Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-glibc2.2.5
Timestamp of tree: Wed, 15 Jul 2009 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.0.20 http://gentoo.intergenia.de/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://
ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr arts asf berkdb bzip2 cdparanoia cdr cli cracklib crypt css cups curl dga divx4linux dri dts dv dvd dvdr dvdread encode ethereal extrafilters ffmpeg flac fortran ftp gdbm gi
f gpm gtk gtk2 iconv icq imagemagick ipv6 isdnlog java jpeg lame lzo mad midi mjpeg mmx motif mp3 mudflap multilib musepack ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openmp pam pcre perl png
 pppd print python qt3support quicktime readline reflection samba session spl sse sse2 ssl sysfs tcpd theora threads tiff truetype unicode usb userlocales utf8 vcd vorbis wavpack x264 xine xinerama xorg xprint xv
id xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions 
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env 
expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICE
S="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Stefan Behte (RETIRED) gentoo-dev Security 2009-07-17 18:47:27 UTC
/usr/lib64/licq/licq_qt4-gui.so should be /usr/lib64/licq/licq_qt-gui.so (at least that's what licq is searching for).
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-08-07 11:58:45 UTC
*** Bug 280647 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-08-07 11:59:10 UTC
Files matching a file type that is not allowed:
   usr/lib/licq/licq_qt4-gui.so
 * 
 * ERROR: net-im/licq-1.3.6 failed.
 * Call stack:
 *       misc-functions.sh, line 730:  Called install_qa_check
 *       misc-functions.sh, line 469:  Called die
 * The specific snippet of code:
 *              [[ ${abort} == yes ]] && die "multilib-strict check failed!"
 *  The die message:
 *   multilib-strict check failed!
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-12-11 15:05:21 UTC
USE qt4 masked in base/use.mask until this is resolved.
Comment 7 Andy Crook 2009-12-12 12:55:53 UTC
(In reply to comment #6)
> USE qt4 masked in base/use.mask until this is resolved.

As far as I understand this bug does not affect licq on x86 (at least 1.3.7, as for me)
So, is there a reason to mask flags in _base_, not in arch/amd64?

P.S. For those who steel wants to be on the bleeding edge on x86:
1. create /etc/portage/profile dir
2. place there package.use.mask file containing the string:
net-im/licq -qt4
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-12-12 13:14:37 UTC
(In reply to comment #7)
> As far as I understand this bug does not affect licq on x86 (at least 1.3.7, 

Wrong. Read Comment #3, it's broken on all arch's.
Comment 9 Andy Crook 2009-12-12 18:50:56 UTC
(In reply to comment #8)
> > As far as I understand this bug does not affect licq on x86
> Wrong. Read Comment #3, it's broken on all arch's.

I don't know what means "licq is searching for" but my licq 1.3.7 on x86 definitely uses licq_qt4-gui.so and it's located in /usr/lib/licq
Did Stefan mean "...when you start licq for the first time" in Comment #3?

Though my licq config for current user is very old and survived 3-4 versions, and during last version upgrade and change from qt3 to qt4 I had to manually edit corresponding strings, replacing kde-gui with qt4-gui.

Anyway I will check this on Monday with new user, when I'll get direct access to my PC at work.
Comment 10 Stefan Behte (RETIRED) gentoo-dev Security 2009-12-13 23:47:23 UTC
By "is searching for" I meant that strace shows me it tries to load that .so

The error is different now; now licq_qt-gui.so won't even be created.

USE="qt4" emerge -D '=net-im/licq-1.3.7'

if I try to start licq it says: 00:18:44: [ERR] Unable to load plugin (qt-gui): /usr/lib64/licq/licq_qt-gui.so: cannot open shared object file: No such file or directory.

In the beginning it says:
 * I will generate these plugins/frontends for licq:
 * auto-reply email rms console osd 

qt4-gui is missing there. For some reason, the USE flag gets ignored, I have really no clue why.


BTW, emerge says:

 * QA Notice: Unrecognized configure options:
 * 
 *      configure: WARNING: unrecognized options: --enable-gpgme
 *      configure: WARNING: unrecognized options: --enable-gpgme
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --enable-nls
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --disable-debug
 *      configure: WARNING: unrecognized options: --enable-gpgme, --enable-openssl, --enable-socks5, --disable-debug
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/licq
   usr/lib64/licq/licq_osd.so
   usr/lib64/licq/licq_console.so
   usr/lib64/licq/licq_rms.so
   usr/lib64/licq/licq_forwarder.so
   usr/lib64/licq/licq_autoreply.so
Comment 11 Andy Crook 2009-12-14 13:33:24 UTC
OK
I've just checked all 3 verions (1.3.6 (7,8)) on x86
1. plugin is named and placed correctly (/usr/lib/licq/licq_qt4-gui.so)
2. during the first start I get qt4-gui configured by default without problems

So, Samuli, will you be so kind to move the mask flags from base to arch/amd64?
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-12-14 14:22:12 UTC
Fixed in 1.3.8.
Comment 13 Marcel Semancik 2009-12-14 17:52:52 UTC
Licq has option "-p" (for years) that specified desired UI plugin. If plugin name has changed from qt-gui to qt4-gui then you need to run

licq -p qt4-gui

It is sufficient to execute licq with "-p" only once. Next time it will search for plugin that was used last time - qt4-gui. I think it is realy not very smart to hardmask qt4 use flag and leave only ncurses interface.
Comment 14 Stefan Behte (RETIRED) gentoo-dev Security 2009-12-14 20:55:15 UTC
My installation/config is *very* old so that seems to have been the problem here. licq -p qt4-gui fixed it for me, thanks! 

Before I did that, I always got:

$ licq
21:52:07: [ERR] Unable to load plugin (qt-gui): /usr/lib64/licq/licq_qt-gui.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden.
21:52:07: [WRN] This usually happens when your plugin
                is not kept in sync with the daemon.
                Please try recompiling the plugin.
                If you are still having problems, see
                the FAQ at www.licq.org
Comment 15 Marcel Semancik 2009-12-15 17:18:10 UTC
Fine, but licq-1.3.8 is the only version, where USE flag qt4 is not hard-masked but 1.3.8 suffers from http://bugs.gentoo.org/show_bug.cgi?id=296929

It is impossible to use licq with default KDE style now. It forces users to install and switch style (in 1.3.8), use ncurses or do tricks with /etc/portage/profile/package.use.mask to solve "fix" and unmask qt4 USE flag (in 1.3.6, 1.3.7).