Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643436 - media-tv/linuxtv-dvb-apps-1.1.1.20140321 : dst_test.c:116:19: error: CA_SET_PID undeclared (first use in this function)
Summary: media-tv/linuxtv-dvb-apps-1.1.1.20140321 : dst_test.c:116:19: error: CA_SET_P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 16:57 UTC by Toralf Förster
Modified: 2019-01-22 14:22 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.76 KB, text/plain)
2018-01-04 16:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,306.13 KB, text/plain)
2018-01-04 16:57 UTC, Toralf Förster
Details
environment (environment,47.65 KB, text/plain)
2018-01-04 16:57 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.82 KB, application/x-bzip)
2018-01-04 16:57 UTC, Toralf Förster
Details
media-tv:linuxtv-dvb-apps-1.1.1.20140321:20180103-234215.log (media-tv:linuxtv-dvb-apps-1.1.1.20140321:20180103-234215.log,23.74 KB, text/plain)
2018-01-04 16:57 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.94 KB, application/x-bzip)
2018-01-04 16:57 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-01-04 16:57:17 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-01-04 16:57:20 UTC
Created attachment 513188 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-04 16:57:23 UTC
Created attachment 513190 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-01-04 16:57:26 UTC
Created attachment 513192 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-01-04 16:57:29 UTC
Created attachment 513194 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-01-04 16:57:32 UTC
Created attachment 513196 [details]
media-tv:linuxtv-dvb-apps-1.1.1.20140321:20180103-234215.log
Comment 6 Toralf Förster gentoo-dev 2018-01-04 16:57:35 UTC
Created attachment 513198 [details]
temp.tbz2
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2018-01-04 18:05:08 UTC
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.
Comment 8 Larry the Git Cow gentoo-dev 2018-01-04 18:14:15 UTC
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(-)
Comment 9 Juergen Rose 2018-01-05 07:38:06 UTC
The patch worked for me.
Comment 10 Amel Hodzic 2019-01-22 14:18:11 UTC
I just received the same error.
Comment 11 Amel Hodzic 2019-01-22 14:22:22 UTC
Actually, the error is there for the currently-marked stable version, rather than for this "unstable" version.  

Stabilization request opened as bug 676038