| Summary: | app-crypt/pinentry USE="qt4 static" - /var/tmp/portage/app-crypt/pinentry-0.8.1/temp/environment: line 2360: /usr/bin/moc: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | tdr <ted.d.rodgers> |
| Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
tdr
2012-06-27 08:17:51 UTC
1) It could use REQUIRED_USE to avoid failing in the build phases. 2) It could link statically against ncurses and at the same time link dynamically against GTK+/Qt, right? 3) It fails to find moc (x11-libs/qt-core) because that dependency is only pulled in with USE=-static. I understand why it fails to find moc when static is in USE ... the dep on qt isn't there. But,already installed qt4 would allow it to pass the moc check and still build only static due to how the ebuild handles the static flag later, though, and since qt4 us later disabled if static is on anyway, I'm suggesting the check is perhaps badly placed. I'm not sure if the package can link static for curses and dynamically for gtk/qt4 as well. The bug I reported came from user I helped on IRC; I didn't poke into it very deeply, just enough to see why it's happening. Not sure a REQUIRED_USE, forcing on some flags, is a good route. Since the package is useful enough that different toolkits can use it, forcing support for some toolkits vs others doesn't seem "fair " to other packages wanting to support it. I don't understand... If now there can be no static and qt4, is there any issue to solve? It is OK if static is minimal configuration. Thanks! Please reopen if any more issue. |