rpcgen -b -I -K -1 rpcace.x gcc -g -Wall -O2 -DACEDB4 -fPIC -I. -I./wh -DLINUX -c -c aceclientlib.c aceclientlib.c:30:10: fatal error: rpc/rpc.h: No such file or directory 30 | #include <rpc/rpc.h> | ^~~~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * The following VMs are available for generation-2: Available Java Virtual Machines: (none found) timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Apr 5 00:39:13 UTC 2020 /var/db/repos/musl Sat Apr 4 03:02:24 UTC 2020 emerge -qpvO dev-perl/Ace [ebuild N ] dev-perl/Ace-1.920.0-r3 USE="-examples -test"
there is still a similar issue at unstable amd64 tinderbox image 17.0_musl-20200328-141627 (see bug 638620)
Created attachment 630230 [details] emerge-info.txt
Created attachment 630232 [details] dev-perl:Ace-1.920.0-r3:20200405-015307.log
Created attachment 630234 [details] emerge-history.txt
Created attachment 630236 [details] environment
Created attachment 630238 [details] etc.portage.tbz2
Created attachment 630240 [details] temp.tbz2
On musl, can you get me contents of: - qfile net-libs/libtirpc - qfile net-libs/rpcsvc-proto The patches in this *should* handle this. And you do have them installed ... 2020-03-29T11:00:24 >>> net-libs/libtirpc-1.2.5 2020-03-29T11:01:02 >>> net-nds/rpcbind-1.2.5 2020-03-29T11:01:14 >>> net-libs/rpcsvc-proto-1.4.1
on an old-stable system I get: [Wed-22-Apr 10:28PM] root@aether:0:942 ~ # equery f net-libs/libtirpc|grep rpc.h /usr/include/tirpc/rpc/rpc.h but: qfile net-libs/libtirpc qfile net-libs/rpcsvc-proto both return nothing. Could be old(er) version of gentoolkit conceivably? If so, whilst valid, it's a volatile detection mechanism, if this is what you're relying on ...
(In reply to Michael 'veremitz' Everitt from comment #9) > on an old-stable system I get: > > [Wed-22-Apr 10:28PM] root@aether:0:942 ~ # equery f net-libs/libtirpc|grep > rpc.h > /usr/include/tirpc/rpc/rpc.h > > but: > > qfile net-libs/libtirpc > qfile net-libs/rpcsvc-proto > > both return nothing. Could be old(er) version of gentoolkit conceivably? > If so, whilst valid, it's a volatile detection mechanism, if this is what > you're relying on ... Ah shit, I meant 'qlist' not 'qfile'.
Created attachment 634132 [details] qlist net-libs/rpsvc-proto OK, I can replicate this: gcc -g -Wall -O2 -DACEDB4 -fPIC -I. -I./wh -DLINUX -c -c aceclientlib.c aceclientlib.c:30:10: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:105: aceclientlib.o] Error 1 qlist replies (same as equery f): [Thu-23-Apr 01:53AM] root@aether:0:1015 ~ # qlist net-libs/libtirpc|grep rpc.h /usr/include/tirpc/rpc/rpc.h qlist net-libs/rpcsvc-proto attached. Let me know of anything else that would be helpful.
if use elibc_glibc ; then eapply "${FILESDIR}/${PN}-1.92-glibc26.patch" export LIBS="-ltirpc" fi Oh. Doh. Maybe this block needs to be changed ....
(In reply to Kent Fredric (IRC: kent\n) from comment #12) > if use elibc_glibc ; then > eapply "${FILESDIR}/${PN}-1.92-glibc26.patch" > export LIBS="-ltirpc" > fi > > Oh. Doh. Maybe this block needs to be changed .... Patch applies for musl too - so you can drop all the elibc conditionals. I will double-check with my uclibc chroot.
Created attachment 634134 [details] build.log from uclibc-ng chroot on amd64 Works fine here also.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ccff12204e3fb613c75a85a7a2fc832f36b544 commit 90ccff12204e3fb613c75a85a7a2fc832f36b544 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-04-23 02:34:11 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-04-23 02:47:04 +0000 dev-perl/Ace: -r1 bump: Employ patches for rpc.h on musl and uclibc Also: - Moved to EAPI7 - And note about licensing situation - Restrict mirroring due to license situation - Add warning for consumers to make them know about the issues at least as an intermediary solution. - Now installs DISCLAIMER.txt in doc/ Bug: https://bugs.gentoo.org/716266 Bug: https://bugs.gentoo.org/718936 Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org> dev-perl/Ace/Ace-1.920.0-r4.ebuild | 137 +++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+)
^ Give it a whirl and get back to me :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f20b2d96120529ca33344e38840b454b56beff86 commit f20b2d96120529ca33344e38840b454b56beff86 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-08-06 15:53:22 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-08-06 15:54:57 +0000 dev-perl/Ace: Cleanup old 1.920.0-r{3,4,5} Closes: https://bugs.gentoo.org/723152 Closes: https://bugs.gentoo.org/716266 Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org> dev-perl/Ace/Ace-1.920.0-r3.ebuild | 116 ------------------------- dev-perl/Ace/Ace-1.920.0-r4.ebuild | 137 ----------------------------- dev-perl/Ace/Ace-1.920.0-r5.ebuild | 139 ------------------------------ dev-perl/Ace/files/Ace-1.92-glibc26.patch | 29 ------- 4 files changed, 421 deletions(-)