Summary: | app-text/sword-1.8.1 fails build with icu-62.1 due to UnicodeString icu namespace error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
Component: | Current packages | Assignee: | Theology Herd (disbanded) <theology+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creffett |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 651698, 668282 | ||
Attachments: | full build log |
Description
Duncan
2018-10-11 10:42:39 UTC
That's strange, the patch should have added U_USING_ICU_NAMESPACE to definitions. What ICU version do you have installed? (In reply to Chris Reffett from comment #1) > That's strange, the patch should have added U_USING_ICU_NAMESPACE to > definitions. While this is definitely beyond my knowledge comfort zone, see if the theory fits... Based on the fact that the first bug's error was while using libtool in compile mode, while this one seems to be while using libtool to link already built binary object files, at a guess the problem may be that the patch applied the definition only to the compile step and here it's needed with the linker step as well. But simply doing the append-cxxflags adds it at a different level so it gets applied to both, explaining why that works while the patch didn't. ... If that makes any sense at all... > What ICU version do you have installed? It's in the title/summary. icu-62.1 =:^) > But simply doing the append-cxxflags adds it at a different level so it gets > applied to both, explaining why that works while the patch didn't. > > ... If that makes any sense at all... Sounds plausible enough. I just noticed that you have USE=icu and I didn't when testing, so I suppose that's why this slipped by before. Investigating further now. > > > What ICU version do you have installed? > > It's in the title/summary. icu-62.1 =:^) Whoops. So you did. Also, looks like the Fedora build doesn't enable -DWITH_ICU either, so I suspect that they just didn't define it somewhere they needed to. Probably will end up re-spinning their patch. ...Or it could be that Fedora is using the cmake build system and we're using the make build system (why on earth do they have two build systems!?) Oh well. We're using cmake now! Fixed in the revbump, please reopen if this still doesn't fix it. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a34df8eae4ad4debd0d170f1fe73cc0b3e62ff8 commit 6a34df8eae4ad4debd0d170f1fe73cc0b3e62ff8 Author: Chris Reffett <creffett@gentoo.org> AuthorDate: 2018-10-12 22:37:53 +0000 Commit: Chris Reffett <creffett@gentoo.org> CommitDate: 2018-10-12 22:38:46 +0000 app-text/sword: Revbump, switch to cmake build Switch to using CMake build system. Incidentally fixes 668296. Bug: https://bugs.gentoo.org/668296 Signed-off-by: Chris Reffett <creffett@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../{sword-1.8.1.ebuild => sword-1.8.1-r1.ebuild} | 41 +++++++++------------- 1 file changed, 16 insertions(+), 25 deletions(-) (In reply to Chris Reffett from comment #5) > Oh well. We're using cmake now! Fixed in the revbump, please reopen if this > still doesn't fix it. It does. Thanks again. =:^) |