Summary: | dev-libs/libxslt-1.1.24-r1 tries to link against native libgcrypt when crosscompiling | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrei Slavoiu <ansla80> |
Component: | [OLD] Library | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ssuominen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 267479 | ||
Bug Blocks: | |||
Attachments: | Tell configure to use the right libgcrypt-config script |
Description
Andrei Slavoiu
2009-04-26 07:50:23 UTC
Created attachment 189467 [details, diff]
Tell configure to use the right libgcrypt-config script
It would be simpler if libgcrypt provided a pkgconfig files. SYSROOT seems to be specific to cross-compile environment, it'd be nicer to use something that makes sense even in non-cross-compile env. In non-cross-compile environments ${SYSROOT} will be replaced by empty-string so the path resulting will be "/usr/bin/libgcrypt-config" which makes sense for native builds. since I don't have this test environment, you should retry with 1.1.26 and report back if this 'hack' is still required. if it is, please make it a patch that can be applied upstream. It's still reproducible with libxslt-1.1.26. And I don't see what upstream could do about this unless libgcrypt switches to using pkgconfig like Gilles Dartiguelongue suggested in comment #2. + 08 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> libxslt-1.1.26.ebuild: + Because libgcrypt is missing pkg-config file, fixing cross-compile here + wrt #267503, thanks to Andrei Slavoiu. + # libgcrypt is missing pkg-config file, so fixing cross-compile + # here. see bug 267503. + if tc-is-cross-compiler; then + export LIBGCRYPT_CONFIG="${SYSROOT}/usr/bin/libgcrypt-config" + fi |