Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716266 - dev-perl/Ace-1.920.0-r3 : aceclientlib.c: fatal error: rpc/rpc.h: No such file or directory
Summary: dev-perl/Ace-1.920.0-r3 : aceclientlib.c: fatal error: rpc/rpc.h: No such fil...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-05 09:07 UTC by Toralf Förster
Modified: 2020-08-06 15:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-04-05 09:07 UTC, Toralf Förster
Details
dev-perl:Ace-1.920.0-r3:20200405-015307.log (dev-perl:Ace-1.920.0-r3:20200405-015307.log,10.34 KB, text/plain)
2020-04-05 09:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,327.22 KB, text/plain)
2020-04-05 09:07 UTC, Toralf Förster
Details
environment (environment,67.73 KB, text/plain)
2020-04-05 09:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.61 KB, application/x-bzip)
2020-04-05 09:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.58 KB, application/x-bzip)
2020-04-05 09:07 UTC, Toralf Förster
Details
qlist net-libs/rpsvc-proto (file_716266.txt,941 bytes, text/plain)
2020-04-23 00:58 UTC, Michael 'veremitz' Everitt
Details
build.log from uclibc-ng chroot on amd64 (file_716266.txt,48.54 KB, text/plain)
2020-04-23 02:10 UTC, Michael 'veremitz' Everitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-05 09:07:36 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2020-04-05 09:07:38 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.0_musl-20200328-141627 (see bug 638620)
Comment 2 Toralf Förster gentoo-dev 2020-04-05 09:07:41 UTC
Created attachment 630230 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-05 09:07:44 UTC
Created attachment 630232 [details]
dev-perl:Ace-1.920.0-r3:20200405-015307.log
Comment 4 Toralf Förster gentoo-dev 2020-04-05 09:07:47 UTC
Created attachment 630234 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-04-05 09:07:50 UTC
Created attachment 630236 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-04-05 09:07:52 UTC
Created attachment 630238 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-05 09:07:55 UTC
Created attachment 630240 [details]
temp.tbz2
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-22 21:20:44 UTC
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
Comment 9 Michael 'veremitz' Everitt 2020-04-22 21:32:52 UTC
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 ...
Comment 10 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-23 00:31:04 UTC
(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'.
Comment 11 Michael 'veremitz' Everitt 2020-04-23 00:58:43 UTC
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.
Comment 12 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-23 01:21:20 UTC
	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 ....
Comment 13 Michael 'veremitz' Everitt 2020-04-23 01:47:26 UTC
(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.
Comment 14 Michael 'veremitz' Everitt 2020-04-23 02:10:12 UTC
Created attachment 634134 [details]
build.log from uclibc-ng chroot on amd64

Works fine here also.
Comment 15 Larry the Git Cow gentoo-dev 2020-04-23 02:49:30 UTC
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(+)
Comment 16 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-23 02:50:52 UTC
^ Give it a whirl and get back to me :)
Comment 17 Larry the Git Cow gentoo-dev 2020-08-06 15:55:17 UTC
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(-)