Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651838 - sys-apps/xinetd-2.3.15.3 : src/confparse.c:16:10: fatal error: rpc/rpc.h: No such file or directory
Summary: sys-apps/xinetd-2.3.15.3 : src/confparse.c:16:10: fatal error: rpc/rpc.h: No ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://github.com/openSUSE/xinetd/pu...
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-rpc
  Show dependency tree
 
Reported: 2018-03-28 16:12 UTC by Toralf Förster
Modified: 2018-06-19 22:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.74 KB, text/plain)
2018-03-28 16:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.41 KB, text/plain)
2018-03-28 16:12 UTC, Toralf Förster
Details
environment (environment,92.02 KB, text/plain)
2018-03-28 16:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.75 KB, application/x-bzip)
2018-03-28 16:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.42 KB, application/x-bzip)
2018-03-28 16:12 UTC, Toralf Förster
Details
sys-apps:xinetd-2.3.15.3:20180328-095041.log (sys-apps:xinetd-2.3.15.3:20180328-095041.log,33.79 KB, text/plain)
2018-03-28 16:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.58 KB, application/x-bzip)
2018-03-28 16:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-28 16:12:09 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -DNO_RPC -fno-strict-overflow -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE   -O2 -pipe -march=native -Wall -Wextra -c -o src/xinetd-conf.o `test -f 'src/conf.c' || echo './'`src/conf.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -DNO_RPC -fno-strict-overflow -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE   -O2 -pipe -march=native -Wall -Wextra -c -o src/xinetd-confparse.o `test -f 'src/confparse.c' || echo './'`src/confparse.c
src/confparse.c:16:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl-test_20180326-195709

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)




emerge -qpv sys-apps/xinetd
[ebuild  N    ] sys-apps/xinetd-2.3.15.3  USE="tcpd -perl -rpc (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2018-03-28 16:12:12 UTC
Created attachment 525890 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-28 16:12:15 UTC
Created attachment 525892 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-28 16:12:18 UTC
Created attachment 525894 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-28 16:12:22 UTC
Created attachment 525896 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-28 16:12:25 UTC
Created attachment 525898 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-03-28 16:12:28 UTC
Created attachment 525900 [details]
sys-apps:xinetd-2.3.15.3:20180328-095041.log
Comment 7 Toralf Förster gentoo-dev 2018-03-28 16:12:31 UTC
Created attachment 525902 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-03-28 16:54:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad501fd2410dbcb26467b3e5c723a9c80e7c51e

commit 2ad501fd2410dbcb26467b3e5c723a9c80e7c51e
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-03-28 16:54:06 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-03-28 16:54:06 +0000

    sys-apps/xinetd: depend on libtirpc unconditionally on Linux
    
    confparse.c includes rpc/rpc.h unconditionally.
    
    Closes: https://bugs.gentoo.org/651838
    Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 sys-apps/xinetd/xinetd-2.3.15.3.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
Comment 9 SpanKY gentoo-dev 2018-06-19 06:06:28 UTC
the codebase still supports NO_RPC, so we shouldn't be forcing rpc logic onto everyone simple because one file has a bug
Comment 10 Larry the Git Cow gentoo-dev 2018-06-19 06:06:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff3934b17388d503099592e1d9c9eae106fe886

commit aff3934b17388d503099592e1d9c9eae106fe886
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: 2018-06-19 06:05:17 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2018-06-19 06:06:41 +0000

    sys-apps/xinetd: restore USE=rpc support #651838
    
    Closes: https://bugs.gentoo.org/651838

 sys-apps/xinetd/files/xinetd-2.3.15.3-no-rpc.patch | 50 ++++++++++++++++++
 .../files/xinetd-2.3.15.3-rpc-configure.patch      | 57 ++++++++++++++++++++
 sys-apps/xinetd/xinetd-2.3.15.3-r1.ebuild          | 60 ++++++++++++++++++++++
 3 files changed, 167 insertions(+)
Comment 11 Mike Gilbert gentoo-dev 2018-06-19 21:28:14 UTC
(In reply to SpanKY from comment #9)

Thanks for taking care of that.
Comment 12 SpanKY gentoo-dev 2018-06-19 22:03:58 UTC
upstream[suse] has merged the simple source change, so now on to getting more sane configure flags so we don't have to restore the monstrosity we had before.

in general, i'd like to avoid having really any package depend on rpc code (unless it's specifically an rpc package).  most rpc usage is dead nowadays.