Summary: | x11-libs/libX11 fails to cross compile (Cannot find keysymdef.h) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yuri Vasilevski (RETIRED) <yvasilev> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agaffney, alexander, bjorn.ottervik |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
stable build fail log
testing build fail log |
Description
Yuri Vasilevski (RETIRED)
2010-01-04 18:16:55 UTC
(In reply to comment #0) > dir=`pkg-config --variable=includedir xproto` I think this should be: dir=`$PKG_CONFIG --variable=includedir xproto` I don't have a system to test. Fails with the same error: checking keysymdef.h... configure: error: Cannot find keysymdef.h The only way I'am able to circumvent this is with: -KEYSYMDEF="$dir/X11/keysymdef.h" +eval KEYSYMDEF="$dir/X11/keysymdef.h" But I'm not sure how portable this eval thing will be among all the platforms that libX11 is supposed to compile on. (In reply to comment #1) > (In reply to comment #0) > > dir=`pkg-config --variable=includedir xproto` > > I think this should be: > > dir=`$PKG_CONFIG --variable=includedir xproto` > > I don't have a system to test. That's been fixed in all upstream Xorg modules, which should help for cross-compiling. Thanks In the mean time, I was able to manually remove the single quotes around $prefix in the SYSROOT's xproto.pc and the ./configure succeeded. Upstream actually made the situation worse at least in the 1.4.3 So how does one get around this? Is this still a problem with current stable? Created attachment 466086 [details]
stable build fail log
Created attachment 466088 [details]
testing build fail log
(In reply to Matt Turner from comment #8) > Is this still a problem with current stable? Yes, both stable and testing. I couldn't reproduce with latest 1.6.7, but it seems the host has to have all kind of headers installed. So basically, emerge libX11 + deps first on the host, and then for the cross-compile chroot. Please try with: https://gitlab.freedesktop.org/xorg/lib/libx11/commit/a121b7b0c210efe10bf93453b29050282324c906 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e63e33be6eb1f152b27c00a81494e85b3152709 commit 6e63e33be6eb1f152b27c00a81494e85b3152709 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-06-17 14:54:52 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-06-17 15:18:51 +0000 x11-libs/libX11: Version bump to 1.6.8 Closes: https://bugs.gentoo.org/299654 Closes: https://bugs.gentoo.org/550502 Closes: https://bugs.gentoo.org/616140 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-libs/libX11/Manifest | 1 + x11-libs/libX11/libX11-1.6.8.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) |