Summary: | x11-libs/libXt fails to build on gcc-config[-native-symlinks]: configure: error: x86_64-pc-linux-gnu-gcc -m32 -E defines unix with or without -undef. I don't know what to do. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergei Trofimovich (RETIRED) <slyfox> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 |
Description
Sergei Trofimovich (RETIRED)
2021-01-21 07:32:09 UTC
The following seems to be enough to build a library and pass tests: --- a/x11-libs/libXt/libXt-1.2.0.ebuild +++ b/x11-libs/libXt/libXt-1.2.0.ebuild @@ -5,7 +5,7 @@ EAPI=7 XORG_DOC=doc XORG_MULTILIB=yes -inherit xorg-3 +inherit toolchain-funcs xorg-3 DESCRIPTION="X.Org X Toolkit Intrinsics library" @@ -29,3 +29,10 @@ pkg_setup() { --without-fop ) } + +src_prepare() { + xorg-3_src_prepare + + # bug #766354 + export CPP=$(tc-getPROG CPP cpp) +} The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfae04837c12839f82daa604806e451dbc775427 commit cfae04837c12839f82daa604806e451dbc775427 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-01-24 14:48:05 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-01-24 14:51:11 +0000 x11-libs/libXt: Version bump to 1.2.1 Closes: https://bugs.gentoo.org/766354 Signed-off-by: Matt Turner <mattst88@gentoo.org> x11-libs/libXt/Manifest | 1 + x11-libs/libXt/libXt-1.2.1.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) |