| Summary: | app-text/xiphos-3.1.3 fails to compile w/ xulrunner | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Peter Fox <gentoo> |
| Component: | Current packages | Assignee: | Theology Herd (disbanded) <theology+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | n-roeser |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Failing build log
Patch for the ebuild to add an include directory |
||
|
Description
Peter Fox
2010-04-23 21:48:34 UTC
Created attachment 228923 [details]
Failing build log
This is the build log showing the build failure
No, this is a different bug than bug 213379. This bug is about prtypes.h not being found. That header is part of dev-libs/nspr, and is installed to /usr/include/nspr/, so probably something like adding -I/usr/include/nspr to CPPFLAGS can work around the problem. Created attachment 230135 [details, diff]
Patch for the ebuild to add an include directory
This patch works for me, app-text/xiphos-3.1.3 compiles now on my system.
Maintainers, please verify this patch, as I am quite sure that it properly works around the problem, but I assume that it is not a proper fix. Thanks.
Please commit this fix. It is correct! On other linux distributions this additonal -I/usr/incude/nspr is added to all all libxul*.pc files and we have been relying on that. This additional include directory is not added in the libxul*.pc on gentoo. I have now committed to xiphos svn a fix to check explicitly for nspr and and always include those nspr headers. So next xiphos release will just work =) Also note that xiphos-3.1.3 is the last release which supports automake buildsystem. We have switched to waf and working waf configuration is included in xiphos-3.1.3. Please change your ebuild to use waf build system. in short it's ./waf configure --prefix=/usr ./waf build ./waf install For further information you can contact me via xiphos mailinglist (gnomesword-devel@l.sf.net) -- Dmitrijs Ledkovs Debian/Ubuntu maintainer and upstream developer of Xiphos. Fixed in CVS, thanks guys |