Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523490 - x11-libs/qwt-6.1.1 USE=mathml - qwtmathml.pc installed in wrong location and with garbage in Libs.private
Summary: x11-libs/qwt-6.1.1 USE=mathml - qwtmathml.pc installed in wrong location and ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 00:30 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2014-12-24 09:47 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 Arfrever Frehtes Taifersar Arahesis 2014-09-23 00:30:21 UTC
x11-libs/qwt-6.1.1[mathml] installs qwtmathml.pc in /usr/$(get_libdir) instead of /usr/$(get_libdir)/pkgconfig:

$ qlist x11-libs/qwt-6.1.1 | sort | grep -E "\.pc$"
/usr/lib64/pkgconfig/qwt6.pc
/usr/lib64/qwtmathml.pc
$ pkg-config qwt6 --cflags                                                                                                  
-DQT_SHARED -I/usr/include/qwt6 -I/usr/include/qt4 -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore
$ pkg-config qwtmathml --cflags                                                                                                      
Package qwtmathml was not found in the pkg-config search path.
Perhaps you should add the directory containing `qwtmathml.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qwtmathml' found


A build-time path (-L/var/tmp/portage/...) is included in Libs.private:

$ cat /usr/lib64/qwtmathml.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include/qwt6
qt_config=include_source_dir lex yacc warn_on uic resources qt warn_on release incremental link_prl gdb_dwarf_index shared def_files_disabled exceptions no_mocdepend release stl qt_no_framework release release release release release dll create_pc create_prl no_install_prl shared dll moc thread

Name: qwtmathml
Description: Qwt MathML renderer
Version: 6.1.1
Libs: -L${libdir} -lqwtmathml 
Libs.private: -L/usr/lib64/qt4  -L/var/tmp/portage/x11-libs/qwt-6.1.1/work/qwt-6.1.1-shared/textengines/mathml/../../lib -lqwt6 -lQtXml -L/usr/lib64 -L/usr/lib64/qt4 -lQtGui -L/usr/X11R6/lib -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread   
Cflags:  -I${includedir}
Requires: QtGui QtXml
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-12-21 15:36:13 UTC
+*qwt-6.1.2 (21 Dec 2014)
+
+  21 Dec 2014; Justin Lecher <jlec@gentoo.org> qwt-6.1.1.ebuild,
+  +qwt-6.1.2.ebuild, +files/qwt-6.1.1-pc-destdir.patch:
+  Version BUmp; fix location of pc files, #523490
+
Comment 2 Arfrever Frehtes Taifersar Arahesis 2014-12-22 02:04:39 UTC
The second problem is still present in x11-libs/qwt-6.1.2:

-L/var/tmp/portage/x11-libs/qwt-6.1.2/work/qwt-6.1.2-shared/textengines/mathml/../../lib seen in:

$ pkg-config qwtmathml --libs --static
-L/var/tmp/portage/x11-libs/qwt-6.1.2/work/qwt-6.1.2-shared/textengines/mathml/../../lib -L/usr/lib64/qt4 -L/usr/X11R6/lib -L/usr/lib64/qt4 -L/usr/X11R6/lib -L/usr/lib64/qt4 -lqwtmathml -lqwt6 -lQtXml -lQtGui -lQtCore -lpthread -lQtGui -lQtCore -lpthread -lgthread-2.0 -pthread -lglib-2.0 -lpng -lz -lfreetype -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXi -lXrender -lXrandr -lXfixes -lXcursor -lfontconfig -lfreetype -lXext -lX11 -lm -lQtXml -lQtCore -lpthread -lQtCore -lpthread -lz -lm -ldl -lgthread-2.0 -pthread -lglib-2.0 -lrt
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-12-24 09:47:14 UTC
+  24 Dec 2014; Justin Lecher <jlec@gentoo.org> qwt-6.1.2.ebuild,
+  files/qwt-6.1.1-pc-destdir.patch:
+  Add opengl support; fix wrong lib location in pc file, #523490
+