x86_64-pc-linux-gnu-gcc -I../../lib -O2 -pipe -march=native -Wall -MMD -Wl,-O1 -Wl,--as-needed -o dst_test dst_test.c dst_test.c: In function ‘dst_set_pid’: dst_test.c:116:19: error: ‘CA_SET_PID’ undeclared (first use in this function); did you mean ‘CA_GET_CAP’? if ((ioctl(cafd, CA_SET_PID)) < 0) { ^~~~~~~~~~ CA_GET_CAP ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_libressl_20171227-170709 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) [5] pypy (fallback) [6] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv media-tv/linuxtv-dvb-apps [ebuild N ] media-tv/linuxtv-dvb-apps-1.1.1.20100223-r1 USE="-alevt -usb"
Created attachment 513188 [details] emerge-info.txt
Created attachment 513190 [details] emerge-history.txt
Created attachment 513192 [details] environment
Created attachment 513194 [details] etc.portage.tbz2
Created attachment 513196 [details] media-tv:linuxtv-dvb-apps-1.1.1.20140321:20180103-234215.log
Created attachment 513198 [details] temp.tbz2
CA_SET_PID appears to be removed with newer kernels. Upstream removed support in other parts of the codebase, so I'm going to roll a patch to remove the CA_SET_PID references.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed58fb83ffaf70423a83866a738978cc273f877b commit ed58fb83ffaf70423a83866a738978cc273f877b Author: Chris Reffett <creffett@gentoo.org> AuthorDate: 2018-01-04 18:13:00 +0000 Commit: Chris Reffett <creffett@gentoo.org> CommitDate: 2018-01-04 18:13:49 +0000 media-tv/linuxtv-dvb-apps: Remove references to deleted CA_SET_PID syscall Closes: https://bugs.gentoo.org/643436 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../files/linuxtv-dvb-apps-no-ca_set_pid.patch | 41 ++++++++++++++++++++++ .../linuxtv-dvb-apps-1.1.1.20140321.ebuild | 3 +- 2 files changed, 43 insertions(+), 1 deletion(-)
The patch worked for me.
I just received the same error.
Actually, the error is there for the currently-marked stable version, rather than for this "unstable" version. Stabilization request opened as bug 676038