Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578180 - media-tv/dvbtune-0.5-r1 : dvbtune.c:397:27: error: unknown type name ‘uint16_t’
Summary: media-tv/dvbtune-0.5-r1 : dvbtune.c:397:27: error: unknown type name ‘uint16_t’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 578448 639902 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-24 13:43 UTC by Toralf Förster
Modified: 2018-01-04 16:09 UTC (History)
4 users (show)

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


Attachments
emerge-history.txt (emerge-history.txt,279.68 KB, text/plain)
2016-03-24 13:43 UTC, Toralf Förster
Details
environment (environment,75.41 KB, text/plain)
2016-03-24 13:43 UTC, Toralf Förster
Details
media-tv:dvbtune-0.5-r1:20160324-132736.log (media-tv:dvbtune-0.5-r1:20160324-132736.log,3.45 KB, text/plain)
2016-03-24 13:43 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,8.59 KB, text/plain)
2017-06-18 14:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,364.72 KB, text/plain)
2017-06-18 14:25 UTC, Toralf Förster
Details
environment (environment,75.67 KB, text/plain)
2017-06-18 14:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,29.00 KB, application/x-bzip)
2017-06-18 14:26 UTC, Toralf Förster
Details
media-tv:dvbtune-0.5-r1:20170616-234012.log (media-tv:dvbtune-0.5-r1:20170616-234012.log,3.86 KB, text/plain)
2017-06-18 14:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.49 KB, application/x-bzip)
2017-06-18 14:26 UTC, Toralf Förster
Details
Patch fixing the problem (fix_include.patch,251 bytes, patch)
2017-12-03 11:33 UTC, Philippe Valembois
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-03-24 13:43:16 UTC
 #warning Ignore this if using Satellite or Cable
  ^
dvbtune.c:397:27: error: unknown type name ‘uint16_t’
 void set_ts_filter(int fd,uint16_t pid)
                           ^


$ cat emerge-info.txt
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-13.0-unstable_20160314-220020) at a hardened host acting as a tinderbox.

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

  make.conf: USE="mmx sse sse2 pax_kernel -cdinstall -oci8 -bindist -apache apache2 avx cdb cdda cgi clang corefonts dbus dot drmkms evdev ffmpeg fontconfig ftp -gif gpg gstreamer gtk gudev hdf5 icu kerberos llvm logrotate melt -mod -mssql mysqli openexr opengl openssl plasma png postproc pulseaudio qt5 scripts sdl semantic-desktop smartcard source -system-icu thinkpad tk tools vpx -x265 xinetd xscreensaver xvfb"

  -----------------------------------------------------------------
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r2, 4.4.6-hardened x86_64)
=================================================================
System uname: Linux-4.4.6-hardened-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16157888 total,   3358792 free
KiB Swap:   16777212 total,  16666808 free
Timestamp of repository gentoo: Thu, 24 Mar 2016 10:22:50 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.0::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/tomoyo/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--deep --verbose-conflicts --color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 apache2 avx berkdb bzip2 cdb cdda cgi clang cli corefonts cracklib crypt cxx dbus dot dri drmkms evdev ffmpeg fontconfig fortran ftp gdbm gpg gstreamer gtk gudev hdf5 iconv icu ipv6 kerberos llvm logrotate melt mmx mmxext modules multilib mysqli ncurses nls nptl openexr opengl openmp openssl pam pax_kernel pcre plasma png postproc pulseaudio qt5 readline scripts sdl seccomp semantic-desktop session smartcard source sse sse2 ssl tcpd thinkpad tk tools unicode vpx xattr xinetd xscreensaver xvfb zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-03-24 13:43:18 UTC
Created attachment 428938 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2016-03-24 13:43:21 UTC
Created attachment 428940 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2016-03-24 13:43:23 UTC
Created attachment 428942 [details]
media-tv:dvbtune-0.5-r1:20160324-132736.log
Comment 4 Pacho Ramos gentoo-dev 2016-04-03 08:24:41 UTC
At least on stable it works... could it be due to the usage of a newer glibc? :/
Comment 5 Göktürk Yüksek archtester gentoo-dev 2016-04-03 09:48:45 UTC
*** Bug 578448 has been marked as a duplicate of this bug. ***
Comment 6 Toralf Förster gentoo-dev 2016-04-27 20:49:06 UTC
(In reply to Pacho Ramos from comment #4)
at least it is not the well-known glibvc-2-23-r1 thing, b/c it failed here at amd64-gnome-unstable_20160423-225856 too :

FWIW:

USE="
  mmx sse sse2
  pax_kernel xtpax -cdinstall -oci8 -bindist

  aes-ni -alsa cairo cdda cgoups csc curl dec_av2 -declarative designer
  drmkms gles2 graphtft gtk3 inifile ipv6 mdnsresponder-compat mng mysqli
  obj openmpi pdo pwquality python qemu qt5 sdl spice -sql sqlite -sqlite3
  sse4_2 system-cairo system-icu szip uml -usb usbredir xmp xslt

  xcb gles2 egl pcre16
"
Comment 7 Pacho Ramos gentoo-dev 2017-06-06 11:16:27 UTC
are you able to reproduce at present time? It still compiles fine for me
Comment 8 Toralf Förster gentoo-dev 2017-06-18 14:25:53 UTC
same issue with media-tv/dvbtune-0.5-r1 at the unstable amd64 chroot image 13.0-systemd_20170608-193944 at the tinderbox
Comment 9 Toralf Förster gentoo-dev 2017-06-18 14:25:56 UTC
Created attachment 476866 [details]
emerge-info.txt
Comment 10 Toralf Förster gentoo-dev 2017-06-18 14:25:59 UTC
Created attachment 476868 [details]
emerge-history.txt
Comment 11 Toralf Förster gentoo-dev 2017-06-18 14:26:03 UTC
Created attachment 476870 [details]
environment
Comment 12 Toralf Förster gentoo-dev 2017-06-18 14:26:06 UTC
Created attachment 476872 [details]
etc.portage.tbz2
Comment 13 Toralf Förster gentoo-dev 2017-06-18 14:26:09 UTC
Created attachment 476874 [details]
media-tv:dvbtune-0.5-r1:20170616-234012.log
Comment 14 Toralf Förster gentoo-dev 2017-06-18 14:26:12 UTC
Created attachment 476876 [details]
temp.tbz2
Comment 15 Juergen Rose 2017-10-05 20:07:26 UTC
Any news? It still fails to compile for me.
Comment 16 Philippe Valembois 2017-12-03 11:33:20 UTC
Created attachment 507874 [details, diff]
Patch fixing the problem

I managed to compile it by downgrading to stable version of linux-headers (4.4)
The problem is in /usr/include/linux/dvb/video.h which contains the line :

#include <stdint.h>

which disappeared in (at least) version 4.13
Downgrading solves the problem, so as including stdint.h in dvbtune.c
The attached patch adds this line.
The dvbtune package is still EAPI 5 and doesn't call epatch_user so the patch can't be added without modifying the ebuild
Comment 17 Vincent-Xavier JUMEL 2017-12-05 11:11:45 UTC
*** Bug 639902 has been marked as a duplicate of this bug. ***
Comment 18 Larry the Git Cow gentoo-dev 2018-01-04 16:08:55 UTC
The bug has been closed via the following commit(s):

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

commit 07dbc93e4e7f7f70711ebead2195a9315f99591a
Author:     Chris Reffett <creffett@gentoo.org>
AuthorDate: 2018-01-04 16:06:14 +0000
Commit:     Chris Reffett <creffett@gentoo.org>
CommitDate: 2018-01-04 16:06:14 +0000

    media-tv/dvbtune: Fix-in-place missing implicit include from kernel
    4.13. No bump since it's only a build failure.
    
    Closes: https://bugs.gentoo.org/578180
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-tv/dvbtune/dvbtune-0.5-r1.ebuild          |  3 ++-
 media-tv/dvbtune/files/dvbtune-0.5-stdint.patch | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)