Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829301 - x11-libs/qwt-6.2.0: library is missing a lot of symbols
Summary: x11-libs/qwt-6.2.0: library is missing a lot of symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 828594
  Show dependency tree
 
Reported: 2021-12-15 23:17 UTC by Jean-Francois Ostiguy
Modified: 2021-12-16 09:08 UTC (History)
2 users (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 Jean-Francois Ostiguy 2021-12-15 23:17:59 UTC
x11-libs/qwt-6.2.0

does not build libqwt6-qt5.so.6.2.0 correctly. The easy way to confirm this is to try building any of the examples; the linker complains about a lot of missing symbols. 

Building the library from vanilla sources  *without the ebuild*
produces a working library. Comparing the generated Makefiles in both cases reveals that the ebuild strips an important define 

in src/Makefile generated from vanilla sources: 

DEFINES  = -DQWT_MOC_INCLUDE=1 -DQT_NO_KEYWORDS -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB 

in src/Makefile generated from ebuild  
DEFINES       = -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB


-DQWT_MOC_INCLUDE=1  is missing !
Comment 1 Larry the Git Cow gentoo-dev 2021-12-16 09:08:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18225a5960b019c589ee7f265c2ba9943ec4ea3d

commit 18225a5960b019c589ee7f265c2ba9943ec4ea3d
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2021-12-16 09:07:33 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-12-16 09:08:12 +0000

    x11-libs/qwt: build with MOC_INCLUDE=1
    
    also add a missing doc dep
    
    Closes: https://bugs.gentoo.org/829301
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 x11-libs/qwt/{qwt-6.2.0.ebuild => qwt-6.2.0-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)