| Summary: | dev-util/systemtap has automagic dependencies on NSS and Avahi | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | Current packages | Assignee: | Sven Wegener <swegener> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | systemtap-1.7_pre20110903.ebuild | ||
|
Description
Diego Elio Pettenò (RETIRED)
2011-09-01 13:46:59 UTC
I sent upstream a patch to allow disabling NSS and Avahi, and to check for them with pkg-config so that it can be cross-compiled. As it happens, systemtap 1.6 does _not_ build without NSS, as it lacks some conditionals: In file included from csclient.cxx:12: cscommon.h:7:17: error: ssl.h: No such file or directory In file included from csclient.cxx:12: cscommon.h:48: error: ISO C++ forbids declaration of ‘CERTCertificate’ with no type cscommon.h:48: error: expected ‘,’ or ‘...’ before ‘*’ token make[2]: *** [stap-csclient.o] Error 1 make[2]: Leaving directory `/build/arm-generic/tmp/portage/dev-util/systemtap-1.6/work/systemtap-1.6' Okay I was able to get two patches upstream, one to fix the discovery of the two (so that it uses pkg-config) and another to add --without options that allows us to disable code for both. But the collapse of the two can't be applied over 1.6, I have a port over 1.6, so I could commit this with an avahi USE flag right away, if you wish. Created attachment 285643 [details]
systemtap-1.7_pre20110903.ebuild
This is an ebuild for the latest snapshot, that includes my patches and the disabled-NSS fixes, which means it can be used without applying futher patches.
I also bumped the ebuild to EAPI=4 as it shortens it a bit.
Should be fixed in 2.0 I think |