Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223005 - net-irc/quassel import to prefix
Summary: net-irc/quassel import to prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: High enhancement (vote)
Assignee: Gentoo non-Linux Team
URL: http://quassel-irc.org/
Whiteboard:
Keywords:
Depends on: 256802
Blocks:
  Show dependency tree
 
Reported: 2008-05-20 19:58 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2009-06-03 22:07 UTC (History)
1 user (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 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-05-20 19:58:40 UTC
Please import net-irc/quassel into the prefix overlay, it builds and works fine on sparc-solaris.

Reproducible: Always

Steps to Reproduce:
1. emerge net-irc/quassel
2. joy!
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-23 16:47:05 UTC
Sorry, I won't add this. There is something wrong with the build system on quassel, it isn't linking correctly.

With qt-4.4.0 on x86-linux:
%% ldd usr/bin/quasselclient|grep "not found"
        libQtScript.so.4 => not found
        libQtGui.so.4 => not found
        libQtNetwork.so.4 => not found
        libQtCore.so.4 => not found

Those libs are in usr/lib/qt4/ so I don't know why they aren't linking right.

Also, I was talking to Sput (quassel dev) and he posted his ldd output:

libQtScript.so.4 => /usr/lib/qt4/libQtScript.so.4 (0xb7e7f000)
<snip>

Proof that the lib exists! :
%% ls usr/lib/qt4/libQtScript.so.4 -l
usr/lib/qt4/libQtScript.so.4 -> libQtScript.so.4.4.0*
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-23 16:52:58 UTC
Oh, btw. There is "something" wrong with qt-4.3* in prefix and on x86-linux and I am pretty sure the my qt-4.4 porting is correct.

Also, the linking is wrong $DESTDIR even. =/
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2008-05-23 18:32:11 UTC
I have to add that ${EPREFIX}/usr/lib/qt4 needs to be in LD_LIBRARY_PATH or quassel will fail to start.

Also I noticed some instability when connecting an amd64 quasselclient to a sparc-solaris prefix quasselcore or vice versa.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-23 18:34:45 UTC
(In reply to comment #3)
> I have to add that ${EPREFIX}/usr/lib/qt4 needs to be in LD_LIBRARY_PATH or
> quassel will fail to start.

confirmed. Setting LD_LIBRARY_PATH fixes my issues wrt libraries not being found.

@grobian: Is this acceptable for prefix use?

Comment 5 Fabian Groffen gentoo-dev 2008-05-23 18:46:27 UTC
LD_LIBRARY_PATH is considered harmful, so NO, not even outside prefix.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-29 14:33:19 UTC
(In reply to comment #5)
> LD_LIBRARY_PATH is considered harmful, so NO, not even outside prefix.

I talked to the quassel devs and they will investigate more if other qt4 apps link to the correct libs.
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2008-08-27 14:40:49 UTC
seems to be correct outside prefix given

Dynamic section at offset 0x368ee0 contains 29 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libQtCore.so.4]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libQtDBus.so.4]
 0x00000001 (NEEDED)                     Shared library: [libQtGui.so.4]
 0x00000001 (NEEDED)                     Shared library: [libQtNetwork.so.4]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000f (RPATH)                      Library rpath: [/usr/lib/qt4]
 0x0000001d (RUNPATH)                    Library runpath: [/usr/lib/qt4]
Comment 8 Markus Ullmann (RETIRED) gentoo-dev 2008-09-03 20:40:00 UTC
Also tried on osx now, works sanely...
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-05-25 17:19:35 UTC
After qt-4.5.1 is now keyworded on solaris, I tried to ecopy net-irc/quassel again and it emerged successfully. The client works well. The core crashes for certain actions, but per discussion in IRC this due to a bug in sqlite and not quassel.

Please consider for importing in prefix.
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-03 22:07:42 UTC
(In reply to comment #9)
> After qt-4.5.1 is now keyworded on solaris, I tried to ecopy net-irc/quassel
> again and it emerged successfully. The client works well. The core crashes for
> certain actions, but per discussion in IRC this due to a bug in sqlite and not
> quassel.
> 
> Please consider for importing in prefix.
> 

done.