Summary: | app-text/fbreader-0.99.4-r3 doesn't compile on 17.1 profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bob Johnson <bob> |
Component: | Current packages | Assignee: | Andrey Grozin <grozin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 544108, 506276 |
Description
Bob Johnson
2018-01-10 00:56:08 UTC
Yes indeed, the qt5 patch is hardcoding the MOC path. This should be enough to fix it: --- a/app-text/fbreader/files/fbreader-0.99.4-qt5.patch +++ b/app-text/fbreader/files/fbreader-0.99.4-qt5.patch @@ -30,7 +30,7 @@ index 4267113..3b46102 100644 -ifeq "$(UI_TYPE)" "gtk" - UILIBS = $(shell pkg-config --libs gtk+-2.0 gio-2.0) -lpng -ljpeg -endif -+MOC = /usr/lib/qt5/bin/moc ++MOC = "$(shell pkg-config --variable=host_bins Qt5Core)/moc" +QTINCLUDE = $(shell pkg-config --cflags Qt5Gui Qt5Widgets Qt5Network) +UILIBS = $(shell pkg-config --libs Qt5Gui Qt5Widgets Qt5Network) ...even though in line 57 of the ebuild there is another hardcoded path to /usr/bin/moc that should be replaced by a call to qt5_get_bindir from qmake-utils.eclass. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea23d69ad0e2567f32002ec5f8351bdb65c0e9e commit 4ea23d69ad0e2567f32002ec5f8351bdb65c0e9e Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2018-01-11 15:48:47 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2018-01-11 15:48:47 +0000 app-text/fbreader: fix building on the 17.1 profile Closes: https://bugs.gentoo.org/644084 Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-text/fbreader/fbreader-0.99.4-r5.ebuild | 84 ++++ .../fbreader/files/fbreader-0.99.4-combined.patch | 535 +++++++++++++++++++++ 2 files changed, 619 insertions(+) |