NetBSD Problem Report #40461

From bernd@arresum.veego.de  Fri Jan 23 13:13:24 2009
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7AE5D63BC6A
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 23 Jan 2009 13:13:24 +0000 (UTC)
Message-Id: <200901231313.n0NDDEMI008609@arresum.veego.de>
Date: Fri, 23 Jan 2009 14:13:14 +0100 (CET)
From: Bernd Ernesti <pr200903@veego.de>
Reply-To: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@gnats.NetBSD.org
Subject: build run-time search paths in qt4-libs
X-Send-Pr-Version: 3.95

>Number:         40461
>Category:       pkg
>Synopsis:       build run-time search paths in qt4-libs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 23 13:15:01 +0000 2009
>Closed-Date:    
>Last-Modified:  Wed Aug 01 06:40:01 +0000 2012
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.99.7
>Organization:
>Environment:
System: NetBSD 5.99.7
Architecture: i386
Machine: i386
>Description:

=> Checking for missing run-time search paths in qt4-libs-4.4.3nb2
ERROR: qt4/lib/libQt3Support.so: rpath relative to WRKDIR
ERROR: qt4/lib/libQt3Support.so.4: rpath relative to WRKDIR
ERROR: qt4/lib/libQt3Support.so.4.4.3: rpath relative to WRKDIR
ERROR: qt4/lib/libQtGui.so: rpath relative to WRKDIR
ERROR: qt4/lib/libQtGui.so.4: rpath relative to WRKDIR
ERROR: qt4/lib/libQtGui.so.4.4.3: rpath relative to WRKDIR
ERROR: qt4/lib/libQtOpenGL.so: rpath relative to WRKDIR
ERROR: qt4/lib/libQtOpenGL.so.4: rpath relative to WRKDIR
ERROR: qt4/lib/libQtOpenGL.so.4.4.3: rpath relative to WRKDIR
ERROR: qt4/lib/libQtSvg.so: rpath relative to WRKDIR
ERROR: qt4/lib/libQtSvg.so.4: rpath relative to WRKDIR
ERROR: qt4/lib/libQtSvg.so.4.4.3: rpath relative to WRKDIR
ERROR: qt4/lib/libQtWebKit.so: rpath relative to WRKDIR
ERROR: qt4/lib/libQtWebKit.so.4: rpath relative to WRKDIR
ERROR: qt4/lib/libQtWebKit.so.4.4.3: rpath relative to WRKDIR
*** Error code 1

	e.g.:

	/usr/pkg/qt4/lib/libQt3Support.so:
	[..]
        -lpng12.0 => /pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libpng12.so.0
	[..]

	All errors are related to libpng.

>How-To-Repeat:
	cd pkgsrc/x11/qt4-libs
	make install
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Sat, 24 Jan 2009 13:58:03 +0000
Responsible-Changed-Why:
Assigned to maintainer.


From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461 (build run-time search paths in qt4-libs)
Date: Sat, 18 Apr 2009 23:12:53 +0200

 FYI, the problem is still appearing with the latest pkgsrc source code.

From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461
Date: Mon, 7 Dec 2009 12:59:55 +0100

 Hi,

 this error is still happening even after the recents updates.

 This is causing build failures for kde4 which requires qt4-libs:

 => Checking for missing run-time search paths in qt4-libs-4.5.3nb1
 ERROR: qt4/lib/libQt3Support.so: rpath relative to WRKDIR
 ERROR: qt4/lib/libQt3Support.so.4: rpath relative to WRKDIR
 ERROR: qt4/lib/libQt3Support.so.4.5.3: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtGui.so: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtGui.so.4: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtGui.so.4.5.3: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtOpenGL.so: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtOpenGL.so.4: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtOpenGL.so.4.5.3: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtScriptTools.so: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtScriptTools.so.4: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtScriptTools.so.4.5.3: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtSvg.so: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtSvg.so.4: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtSvg.so.4.5.3: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtWebKit.so: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtWebKit.so.4: rpath relative to WRKDIR
 ERROR: qt4/lib/libQtWebKit.so.4.5.3: rpath relative to WRKDIR
 *** Error code 1

 Bernd

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461
Date: Mon, 07 Dec 2009 20:24:28 +0700

 For what it is worth, when building on NetBSD 4, I don't see
 that problem, qt4-libs builds (with PKG_DEVELOPER=yes, so all the
 checks are done) just fine.  I just installed my binary package
 in a sandbox to test it, and all the library paths are as you'd want
 them to be - nothing I saw referenced WORKDIR - though I only checked
 a couple of the installed .so files - I did explicitly look for
 the ref of libpng from libQt3Support.so (one shown in the original PR)
 and it was OK:
 	-lpng12.0 => /usr/pkg/lib/libpng12.so.0

 So, either it is some difference in current's binutils or something,
 or some local difference in Bernd's system.

 kre

From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461
Date: Mon, 7 Dec 2009 16:38:03 +0100

 The old build system was 4.99.7x and the latest try was with a source
 from this weekend on i386.

 This was a pkg_chk build this time, but I also tried a 'normal'
 make in that directory when I reported it.

 I started a build with an empty /usr/pkg and /var/db/pkg

 Hmm, I forget to mention that I use:
 PKG_DEFAULT_OPTIONS += cups

 Bernd

From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461
Date: Mon, 7 Dec 2009 21:26:13 +0100

 =46rom the .work.log:

 [Note that I removed most object files from the log file to make it a littl=
 e more readable.
 They are replaced with '  ........' lines]

 [*] /Z/x11/qt4-libs/work.i386/.wrapper/bin/libtool /Z/x11/qt4-libs/work.i38=
 6/.wrapper/bin/libtool --silent --mode=3Dlink c++ -version-info 9:3:5 -rpat=
 h /usr/pkg/qt4/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/=
 lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -fno-exceptions -Wl,-R/usr/pkg/qt=
 4/lib -Wl,-R/usr/pkg/qt4/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -Wl,-R/usr/X=
 11R7/lib -shared -o ../../lib/libQt3Support.la .obj/release-shared/q3cstrin=
 g.lo
   ........
  -L/usr/pkg/lib -L/usr/lib -L/usr/X11R7/lib -L/Z/x11/qt4-libs/work.i386/qt-=
 x11-opensource-src-4.5.3/lib /Z/x11/qt4-libs/work.i386/qt-x11-opensource-sr=
 c-4.5.3/lib/libQtSql.la -L/usr/pkg/lib -L/usr/lib -L/usr/X11R7/lib -L/Z/x11=
 /qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib -pthread -pthread -pthr=
 ead /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtXml.la -=
 pthread -pthread -pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4=
 .5.3/lib/libQtGui.la -lpng -lfreetype -lSM -lICE -pthread -pthread -pthread=
  -lXrender -Wl,-R/usr/X11R7/lib -lfontconfig -lXext -lX11 /Z/x11/qt4-libs/w=
 ork.i386/qt-x11-opensource-src-4.5.3/lib/libQtNetwork.la -lQtCore -pthread =
 -pthread -pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib=
 /libQtCore.la -lz -lm -pthread -pthread

 *** [buildlink3] Warning: libtool detected -L/Z/x11/qt4-libs/work.i386/qt-x=
 11-opensource-src-4.5.3/lib
 *** [buildlink3] Warning: libtool detected -L/Z/x11/qt4-libs/work.i386/qt-x=
 11-opensource-src-4.5.3/lib
 *** [buildlink3] Warning: libtool replaced -lQtCore with /Z/x11/qt4-libs/wo=
 rk.i386/qt-x11-opensource-src-4.5.3/lib/libQtCore.la

 <.> /usr/pkg/bin/libtool --silent --mode=3Dlink c++ -version-info 9:3:5 -rp=
 ath /usr/pkg/qt4/lib -L/Z/x11/qt4-libs/work.i386/.buildlink/lib -Wl,-R/usr/=
 pkg/lib -L/Z/x11/qt4-libs/work.i386/.x11-buildlink/lib -Wl,-R/usr/X11R7/lib=
  -fno-exceptions -Wl,-R/usr/pkg/qt4/lib -shared -o ../../lib/libQt3Support.=
 la .obj/release-shared/q3cstring.lo
   ........
  -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib /Z/x11/qt4-lib=
 s/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtSql.la -pthread -pthread -=
 pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtXml.=
 la -pthread -pthread -pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-s=
 rc-4.5.3/lib/libQtGui.la -lpng -lfreetype -lSM -lICE -pthread -pthread -pth=
 read -lXrender -lfontconfig -lXext -lX11 /Z/x11/qt4-libs/work.i386/qt-x11-o=
 pensource-src-4.5.3/lib/libQtNetwork.la /Z/x11/qt4-libs/work.i386/qt-x11-op=
 ensource-src-4.5.3/lib/libQtCore.la -pthread -pthread -pthread /Z/x11/qt4-l=
 ibs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtCore.la -lz -lm -pthread=
  -pthread=20

 [*] /Z/x11/qt4-libs/work.i386/.wrapper/bin/c++ /Z/x11/qt4-libs/work.i386/.w=
 rapper/bin/c++ -shared .obj/release-shared/.libs/q3cstring.o
   ........
  -Wl,--rpath -Wl,/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/=
 .libs -Wl,--rpath -Wl,/Z/x11/qt4-libs/work.i386/.buildlink/lib -Wl,--rpath =
 -Wl,/usr/pkg/qt4/lib -Wl,--rpath -Wl,/Z/x11/qt4-libs/work.i386/.buildlink/l=
 ib -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs -L/Z/x=
 11/qt4-libs/work.i386/.buildlink/lib -L/Z/x11/qt4-libs/work.i386/.x11-build=
 link/lib -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib /Z/x11=
 /qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs/libQtSql.so /Z/x1=
 1/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs/libQtXml.so /Z/x=
 11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs/libQtGui.so /Z/=
 x11/qt4-libs/work.i386/.buildlink/lib/libpng12.so -lfreetype -lSM -lICE -lX=
 render -lfontconfig -lXext -lX11 /Z/x11/qt4-libs/work.i386/qt-x11-opensourc=
 e-src-4.5.3/lib/.libs/libQtNetwork.so /Z/x11/qt4-libs/work.i386/qt-x11-open=
 source-src-4.5.3/lib/.libs/libQtCore.so -lz -lm -Wl,-R/usr/pkg/lib -Wl,-R/u=
 sr/X11R7/lib -Wl,-R/usr/pkg/qt4/lib -pthread -pthread -pthread -pthread -pt=
 hread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthre=
 ad -pthread -Wl,-soname -Wl,libQt3Support.so.4 -o ../../lib/.libs/libQt3Sup=
 port.so.4.5.3

 =3D=3D> Reordering libraries:  -lQtSql -lQtXml -lQtGui -lpng12 -lfreetype -=
 lSM -lICE -lXrender -lfontconfig -lXext -lX11 -lQtNetwork -lQtCore -lz -lm
 <.> /Z/x11/qt4-libs/work.i386/.gcc/bin/g++ -shared .obj/release-shared/.lib=
 s/q3cstring.o
   ........
  -Wl,--rpath,/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.lib=
 s -Wl,--rpath,/usr/pkg/lib -Wl,--rpath,/usr/pkg/qt4/lib -L/Z/x11/qt4-libs/w=
 ork.i386/qt-x11-opensource-src-4.5.3/lib/.libs -L/Z/x11/qt4-libs/work.i386/=
 .buildlink/lib -L/Z/x11/qt4-libs/work.i386/.x11-buildlink/lib -L/Z/x11/qt4-=
 libs/work.i386/qt-x11-opensource-src-4.5.3/lib -Wl,-R/usr/pkg/lib -Wl,-R/us=
 r/X11R7/lib -Wl,-R/usr/pkg/qt4/lib -pthread -pthread -pthread -pthread -pth=
 read -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthrea=
 d -pthread -Wl,-soname -Wl,libQt3Support.so.4 -o ../../lib/.libs/libQt3Supp=
 ort.so.4.5.3 -I/Z/x11/qt4-libs/work.i386/.buildlink/include -lQtSql -lQtXml=
  -lQtGui -lpng12 -lfreetype -lSM -lICE -lXrender -lfontconfig -lXext -lX11 =
 -lQtNetwork -lQtCore -lz -lm
 =3D=3D> Fixed ../../lib/libQt3Support.la
 =3D=3D> Fixed ../../lib/.libs/libQt3Support.lai


 I don't know the details about buildlink.mk, but why is a -lpng translated =
 to
 the libpng12 library?

 The .buidlink/lib has these links for png:

 lrwxr-xr-x  1     21 Dec  7 09:43 libpng.a -> /usr/pkg/lib/libpng.a
 -rw-r--r--  1    899 Dec  7 09:43 libpng.la
 lrwxr-xr-x  1     22 Dec  7 09:43 libpng.so -> /usr/pkg/lib/libpng.so
 lrwxr-xr-x  1     24 Dec  7 09:43 libpng.so.3 -> /usr/pkg/lib/libpng.so.3
 lrwxr-xr-x  1     29 Dec  7 09:43 libpng.so.3.41.0 -> /usr/pkg/lib/libpng.s=
 o.3.41.0
 lrwxr-xr-x  1     23 Dec  7 09:43 libpng12.a -> /usr/pkg/lib/libpng12.a
 -rw-r--r--  1    899 Dec  7 09:43 libpng12.la
 lrwxr-xr-x  1     24 Dec  7 09:43 libpng12.so -> /usr/pkg/lib/libpng12.so
 lrwxr-xr-x  1     26 Dec  7 09:43 libpng12.so.0 -> /usr/pkg/lib/libpng12.so=
 .0
 lrwxr-xr-x  1     31 Dec  7 09:43 libpng12.so.0.41.0 -> /usr/pkg/lib/libpng=
 12.so.0.41.0

 And these are the png libraries (png-1.2.41) in /usr/pkg/lib:

 lrwxr-xr-x  1 root  wheel      10 Dec  6 22:10 /usr/pkg/lib/libpng.a -> lib=
 png12.a
 lrwxr-xr-x  1 root  wheel      11 Dec  6 22:10 /usr/pkg/lib/libpng.la -> li=
 bpng12.la
 lrwxr-xr-x  1 root  wheel      11 Dec  6 22:10 /usr/pkg/lib/libpng.so -> li=
 bpng12.so
 lrwxr-xr-x  1 root  wheel      16 Dec  6 22:10 /usr/pkg/lib/libpng.so.3 -> =
 libpng.so.3.41.0
 -rwxr-xr-x  1 root  wheel  164639 Dec  6 22:10 /usr/pkg/lib/libpng.so.3.41.0
 -rw-r--r--  1 root  wheel  175462 Dec  6 22:10 /usr/pkg/lib/libpng12.a
 -rwxr-xr-x  1 root  wheel     868 Dec  6 22:10 /usr/pkg/lib/libpng12.la
 lrwxr-xr-x  1 root  wheel      18 Dec  6 22:10 /usr/pkg/lib/libpng12.so -> =
 libpng12.so.0.41.0
 lrwxr-xr-x  1 root  wheel      18 Dec  6 22:10 /usr/pkg/lib/libpng12.so.0 -=
 > libpng12.so.0.41.0
 -rwxr-xr-x  1 root  wheel  155575 Dec  6 22:10 /usr/pkg/lib/libpng12.so.0.4=
 1.0

 Bernd

From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461
Date: Wed, 9 Dec 2009 22:11:06 +0100

 It looks like the issue arose during the istallation stage.

 This is a file listing from the build directory:

  qt-x11-opensource-src-4.5.3/lib/.libs# ls -la libQt3Support*
 -rw-r--r--  1 root  wheel  4413686 Dec  7 12:21 libQt3Support.a
 lrwxr-xr-x  1 root  wheel       19 Dec  7 12:21 libQt3Support.la -> ../libQt3Support.la
 -rw-r--r--  1 root  wheel     1049 Dec  7 12:21 libQt3Support.lai
 -rw-r--r--  1 root  wheel     1409 Dec  7 12:21 libQt3Support.lai.blsav
 lrwxr-xr-x  1 root  wheel       22 Dec  7 12:21 libQt3Support.so -> libQt3Support.so.4.5.3
 lrwxr-xr-x  1 root  wheel       22 Dec  7 12:21 libQt3Support.so.4 -> libQt3Support.so.4.5.3
 -rwxr-xr-x  1 root  wheel  3127593 Dec  7 12:21 libQt3Support.so.4.5.3
 -rwxr-xr-x  1 root  wheel  3127561 Dec  7 12:22 libQt3Support.so.4.5.3T

 libQt3Support.so.4.5.3T is the library which has the wrong library path.

 And here is the output during the make install via sudo:

 libtool --mode=install /usr/bin/install -c -o root -g wheel -m 555 /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQt3Support.la  /usr/pkg/qt4/lib/
 libtool: install: warning: relinking `/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQt3Support.la'
  (cd /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/src/qt3support; /bin/sh /usr/pkg/bin/libtool --silent --mode=relink c++ -version-info 9:3:5 -rpath /usr/pkg/qt4/lib -L/Z/x11/qt4-libs/work.i386/.buildlink/lib -Wl,-R/usr/pkg/lib -L/Z/x11/qt4-libs/work.i386/.x11-buildlink/lib -Wl,-R/usr/X11R7/lib -fno-exceptions -Wl,-R/usr/pkg/qt4/lib -shared -o ../../lib/libQt3Support.la
  .......
  -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtSql.la -pthread -pthread -pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtXml.la -pthread -pthread -pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtGui.la -lpng -lfreetype -lSM -lICE -pthread -pthread -pthread -lXrender -lfontconfig -lXext -lX11 /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtNetwork.la /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtCore.la -pthread -pthread -pthread /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtCore.la -lz -lm -pthread -pthread ) 
 /usr/bin/install -c -o root -g wheel -m 555 /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs/libQt3Support.so.4.5.3T /usr/pkg/qt4/lib/libQt3Support.so.4.5.3


 This is the dependency_libs line from the libQt3Support.la of the build directory:

 # Libraries that this one depends upon.
 dependency_libs=' -L/Z/x11/qt4-libs/work.i386/.buildlink/lib -L/Z/x11/qt4-libs/work.i386/.x11-buildlink/lib -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib -L/Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/.libs /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtSql.la /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtXml.la /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtGui.la /Z/x11/qt4-libs/work.i386/.buildlink/lib/libpng.la -lfreetype -lSM -lICE -lXrender -lfontconfig -lXext -lX11 /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtNetwork.la /Z/x11/qt4-libs/work.i386/qt-x11-opensource-src-4.5.3/lib/libQtCore.la -lz -lm'


 And here the one from /usr/pkg/qt4/libs:

 # Libraries that this one depends upon.
 dependency_libs='-L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/pkg/qt4/lib -lQtSql -lQtXml -lQtGui -lpng -lfreetype -lSM -lICE -lXrender -lfontconfig -lXext -lX11 -lQtNetwork -lQtCore -lz -lm'

From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461
Date: Fri, 25 Dec 2009 13:51:56 +0100

 Hi,

 this is getting worse when I use a fixed x11-links on 5.0_STABLE:

 qt4/lib/libQt3Support.so:
         -lc.12 => /usr/lib/libc.so.12
         -lz.1 => /usr/lib/libz.so.1
         -lstdc++.6 => /usr/lib/libstdc++.so.6
         -lm.0 => /usr/lib/libm.so.0
         -lgcc_s.1 => /usr/lib/libgcc_s.so.1
         -lpthread.0 => /usr/lib/libpthread.so.0
         -lQtCore.4 => /usr/pkg/qt4/lib/libQtCore.so.4
         -lQtSql.4 => /usr/pkg/qt4/lib/libQtSql.so.4
         -lQtXml.4 => /usr/pkg/qt4/lib/libQtXml.so.4
         -lpng12.0 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libpng12.so.0
         -lfreetype.6 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libfreetype.so.6
         -lICE.6 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libICE.so.6
         -lSM.6 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libSM.so.6
         -lXdmcp.6 => /usr/X11R7/lib/libXdmcp.so.6
         -lXau.6 => /usr/X11R7/lib/libXau.so.6
         -lX11.6 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libX11.so.6
         -lXext.6 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libXext.so.6
         -lXrender.1 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libXrender.so.1
         -lexpat.1 => /usr/X11R7/lib/libexpat.so.1
         -lfontconfig.1 => /Z/pkgsrc/x11/qt4-libs/work.i386/.buildlink/lib/libfontconfig.so.1
         -lQtGui.4 => /usr/pkg/qt4/lib/libQtGui.so.4
         -lQtNetwork.4 => /usr/pkg/qt4/lib/libQtNetwork.so.4

 That was with an installation via sudo.

 Everything is fine if I do the installation as root.

 Bernd

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 08 Apr 2012 17:30:46 +0000
State-Changed-Why:
Is this still happening?
(based on later reports I'm guessing not)


From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461 (build run-time search paths in qt4-libs)
Date: Mon, 9 Apr 2012 19:53:51 +0200

 On Sun, Apr 08, 2012 at 05:30:50PM +0000, dholland@NetBSD.org wrote:
 > Synopsis: build run-time search paths in qt4-libs
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Sun, 08 Apr 2012 17:30:46 +0000
 > State-Changed-Why:
 > Is this still happening?
 > (based on later reports I'm guessing not)

 Yes, if the root .login overwrites the path.
 At least when I tried it last year.

From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461 (build run-time search paths in qt4-libs)
Date: Mon, 23 Apr 2012 08:07:33 +0200

 It still happens with qt4-libs-4.8.1nb1

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 23 Apr 2012 20:59:59 +0000
State-Changed-Why:
Still alive. darn :(


From: Bernd Ernesti <pr200903@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/40461: build run-time search paths in qt4-libs
Date: Wed, 1 Aug 2012 08:30:04 +0200

 The work around for not setting the $PATH in the root rc file is not longer
 working with a pkgsrc updated yesterday.

 P.S. Why is libQtWebKit.so at version 4.9.2 when all the other libraries are at 4.8.2?

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.