pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37479: work directories in qt4-lib pkgconfig pc files



>Number:         37479
>Category:       pkg
>Synopsis:       work directories in qt4-lib pkgconfig pc files
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 04 20:15:00 +0000 2007
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD 4.0_RC4
>Organization:
  Jeremy C. Reed
>Environment:
        
        
System: NetBSD new-host-3 4.0_RC4 NetBSD 4.0_RC4 (GENERIC) #0: Thu Nov 8 
00:11:53 PST 2007 
builds@wb28:/home/builds/ab/netbsd-4-0-RC4/amd64/200711080452Z-obj/home/builds/ab/netbsd-4-0-RC4/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:

My lyx package build failed because the earlier configure failed to detect 
setenv or putenv. I looked at it had tried to compile a .la file and no -l 
either.

Anyways, I looked at the Qt*.pc files and they had many references to work 
files. Like /usr/pkg/lib/pkgconfig/Qt3Support.pc has:

uic_location=/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/bin/uic

And it has in Libs: 
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/lib/libQtGui.la 
(no -l).

And here is /usr/pkg/lib/pkgconfig/QtCore.pc:

prefix=/usr/pkg/qt4
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/QtCore
qt_config=lex yacc warn_on uic resources qt warn_on release link_prl 
no_mocdepend release stl qt_no_framework release shared dll largefile stl 
separate_debug_info mmx sse sse2 dylib create_prl link_prl depend_includepath 
QTDIR_build qt_install_headers qt warn_on depend_includepath qmake_cache 
target_qt hide_symbols create_libtool create_pc explicitlib moc thread shared 
dll
moc_location=/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/bin/moc
uic_location=/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/bin/uic

Name: Qtcore
Description: Qtcore Library
Version: 4.3.2
Libs: -Wl,-R${libdir} -L${libdir} -lQtCore -L/usr/pkg/lib  
-L/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.2/lib  -lz -lm 
-pthread  
Cflags: -DQT_SHARED -I/usr/pkg/qt4/include -I${includedir}


They are all like this.

Someone else building qt4 had the same problem as me. I forwarded
his problem to pkgsrc-users in October:

http://mail-index.netbsd.org/pkgsrc-users/2007/10/19/0010.html

Note the package installs so maybe others never noticed. If you have 
installed qt4-libs please have a look at the lib/pkgconfig/Qt*.pc files.

By the way, the libtool .la files don't have work directories listed.
>How-To-Repeat:
        
>Fix:
Get rid of the pkgsrc work directory references from the pkgconfig files.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index