Package: libgpg-error-dev
Version: 1.10-1
Severity: wishlist
User: crossbu...@debian.org
Usertags: cross

libgpg-error-dev ships its own gpg-error-config program which dependent
packages are supposed to use.  Unfortunately this doesn't play
particularly well with standard cross-build setups; nothing knows that
per-architecture versions of gpg-error-config need to be installed in
some kind of per-architecture path, so if you try to cross-build
anything that build-depends on libgpg-error-dev (such as libgcrypt11) it
fails because it tries to link against libgpg-error libraries for the
architecture you're building on rather than the architecture you're
building for.

While it might be possible to add a pile of special-case code to
cross-building systems to handle gpg-error-config specially, it would be
much simpler if libgpg-error-dev would just provide a pkg-config file.
pkg-config is already set up to be friendly to cross-building,
cross-building tools already know to set the appropriate environment
variable to tell it what to do, and this way we only have to do the work
once.

Do you think you could discuss this with upstream?

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to