from ypset.c:32: ypset.c: In function ‘bind_tohost_v2’: ypset.c:145:6: error: cast between incompatible function types from ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} to ‘bool_t (*)(XDR *, ...)’ {aka ‘int (*)(struct __rpc_xdr *, ...)’} [-Werror=cast-function-type] (xdrproc_t) xdr_void, NULL, tv); ^ /usr/include/tirpc/rpc/clnt.h:167:10: note: in definition of macro ‘clnt_call’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-systemd_libressl_20180817-190408 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv net-nds/yp-tools [ebuild N ] net-nds/yp-tools-4.2.2-r2 USE="nls"
Created attachment 544366 [details] emerge-info.txt
Created attachment 544368 [details] emerge-history.txt
Created attachment 544370 [details] environment
Created attachment 544372 [details] etc.portage.tbz2
Created attachment 544374 [details] logs.tbz2
Created attachment 544376 [details] net-nds:yp-tools-4.2.2-r2:20180821-154750.log
Created attachment 544378 [details] temp.tbz2
Hi, I have the same issue. Is there a solution or workaround? It's rather important.
Hi, I was able to compile yp-tools by changing the version of gcc. I replaced gcc-8.2.0-r2 with gcc-7.3.0-r3. No more worry.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b8e55366a2ea91ac13142a9a21a7db1e77dbeb commit e5b8e55366a2ea91ac13142a9a21a7db1e77dbeb Author: David Seifert <soap@gentoo.org> AuthorDate: 2018-12-06 00:16:40 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2018-12-06 00:17:38 +0000 net-nds/yp-tools: Bump to 4.2.3 * EAPI 7 * Fix for building with GCC 8 Closes: https://bugs.gentoo.org/664208 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org> net-nds/yp-tools/Manifest | 1 + net-nds/yp-tools/yp-tools-4.2.3.ebuild | 43 ++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+)