Summary: | net-misc/nx-3.5.0.32 fails to build with sys-libs/glibc-2.26 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jarausch |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381391 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2011-06-09 09:30:36 UTC
> ConnDis.c:826:21: fatal error: rpc/rpc.h: No such file or directory
I guess we'll have to patch nx-X11 lib/X11/Imakefile to point to libtirpc headers/libs...
I doubt we need the dependency to glibc-2.14. We ran nx for months against glibc-2.19, now glibc-2.20 without issues. However, we always have to ignore that dependency again and again when compiling portage stuff. Please verify if we can drop that old dependency. Hmm the "elibc_glibc? ( || ( net-libs/libtirpc <sys-libs/glibc-2.14 ) )" was only supposed to go in the ebuild when migrated to libtirpc, but it looks like I committed it accidentally a long time ago. Dropped from the current ebuilds, thanks for the report! OK this now becomes important again. ConnDis.c:826:21: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> I have no clue about IMake. However, what you need to do is (ideally only for libc >= 2.26): find include paths and library names of libtirpc, and add one to the CFLAGS, the other to the libraries to link. See https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57c699afeb1df34ac362f360473ea81258df3ab for a simple (and therefore very much imperfect) autoconf example. Sorry for the delay, I am working on a version bump that will also fix this problem. After checking the related NX parts, SunRPC is not needed (code is here as it is based on old xorg), so I will disable it entirely. net-misc/nx-3.5.0.33 will be the first version to have this setting (with a few other changes), if all goes well, I'll send it for a stabilization round after usual waiting time The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7f4405d0aad895d17346e9ab22eb9538f12e3d2 commit b7f4405d0aad895d17346e9ab22eb9538f12e3d2 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2017-11-08 12:55:53 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2017-11-08 12:57:51 +0000 net-misc/nx: 3.5.0.33 bump Update ebuild EAPI, safe directory changes Follow upstream compilation steps Limit X11 elements build list Drop obsolete patches and warning Disable SunRPC build, not used for NX and not supporting libtirpc Bug: https://bugs.gentoo.org/370767 Bug: https://bugs.gentoo.org/630492 Package-Manager: Portage-2.3.13, Repoman-2.3.4 net-misc/nx/Manifest | 1 + net-misc/nx/nx-3.5.0.33.ebuild | 102 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+)} Confirmed 3.5.0.33 works fine on my setup with unmasked glibc-2.26-r3 |