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
>Release:        NetBSD 4.0_RC4
  Jeremy C. Reed
System: NetBSD new-host-3 4.0_RC4 NetBSD 4.0_RC4 (GENERIC) #0: Thu Nov 8 
00:11:53 PST 2007 
Architecture: x86_64
Machine: amd64

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 

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


And it has in Libs: 
(no -l).

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

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 

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 
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:

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.
Get rid of the pkgsrc work directory references from the pkgconfig files.


Home | Main Index | Thread Index | Old Index