Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596930 - media-tv/tvheadend-4.0.9 fails on arm
Summary: media-tv/tvheadend-4.0.9 fails on arm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo ARM Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 08:33 UTC by Xavier Miller (RETIRED)
Modified: 2017-12-04 22:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,162.91 KB, application/octet-stream)
2016-10-12 08:33 UTC, Xavier Miller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2016-10-12 08:33:12 UTC
Created attachment 449970 [details]
build.log

Emerging tvheadend on a raspberry pi 1:

armv6j-hardfloat-linux-gnueabi-gcc -MD -MP -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer   -g -O2 -Wunused-result -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -funsigned-char -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/build.linux -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/src -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9 -c -o /var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/build.linux/src/descrambler/tvhcsa.o src/descrambler/tvhcsa.c
armv6j-hardfloat-linux-gnueabi-gcc -MD -MP -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer   -g -O2 -Wunused-result -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -funsigned-char -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/build.linux -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/src -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9 -c -o /var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/build.linux/src/descrambler/cwc.o src/descrambler/cwc.c
armv6j-hardfloat-linux-gnueabi-gcc -MD -MP -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer -O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer   -g -O2 -Wunused-result -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations -Wmissing-prototypes -fms-extensions -funsigned-char -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/build.linux -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/src -I/var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9 -c -o /var/tmp/portage/media-tv/tvheadend-4.0.9/work/tvheadend-4.0.9/build.linux/src/input/mpegts/linuxdvb/linuxdvb_ca.o src/input/mpegts/linuxdvb/linuxdvb_ca.c
In file included from src/input/mpegts/linuxdvb/linuxdvb_ca.c:21:0:
src/input/mpegts/linuxdvb/linuxdvb_private.h:113:3: error: unknown type name ‘dvb_fe_type_t’
   dvb_fe_type_t             lfe_type;
   ^
src/input/mpegts/linuxdvb/linuxdvb_private.h:188:38: error: field ‘lca_sf’ has incomplete type
   struct en50221_app_send_functions  lca_sf;
                                      ^
src/input/mpegts/linuxdvb/linuxdvb_private.h:307:43: error: unknown type name ‘dvb_mux_t’
   int (*ld_grace) (linuxdvb_diseqc_t *ld, dvb_mux_t *lm);
                                           ^
src/input/mpegts/linuxdvb/linuxdvb_private.h:308:43: error: unknown type name ‘dvb_mux_t’
   int (*ld_tune)  (linuxdvb_diseqc_t *ld, dvb_mux_t *lm,
                                           ^
src/input/mpegts/linuxdvb/linuxdvb_private.h:311:43: error: unknown type name ‘dvb_mux_t’
   int (*ld_post)  (linuxdvb_diseqc_t *ld, dvb_mux_t *lm,
                                           ^
src/input/mpegts/linuxdvb/linuxdvb_private.h:313:1: error: no semicolon at end of struct or union [-Werror]
 };
 ^
src/input/mpegts/linuxdvb/linuxdvb_private.h:318:42: error: unknown type name ‘dvb_mux_t’
   uint32_t  (*lnb_freq)(linuxdvb_lnb_t*, dvb_mux_t*);
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2016-10-12 08:45:02 UTC
# emerge --info '=media-tv/tvheadend-4.0.9::gentoo'
Portage 2.3.1 (python 2.7.12-final-0, default/linux/arm/13.0/armv6j, gcc-5.4.0, glibc-2.23-r2, 3.19.3+ armv6l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.19.3+-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-gentoo-2.3
KiB Mem:      238072 total,     40588 free
KiB Swap:    2097148 total,   2095932 free
Timestamp of repository gentoo: Tue, 11 Oct 2016 08:30:01 +0000
sh bash 4.4
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 armv6j-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.4::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

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

local
    location: /usr/local/portage/overlay
    masters: gentoo
    priority: 0

proaudio
    location: /var/lib/layman/proaudio
    masters: gentoo
    priority: 50

xmw
    location: /var/lib/layman/xmw
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n -k"
FCFLAGS="-O2 -pipe -march=armv6j"
FEATURES="assume-digests binpkg-logs buildpkg candy config-protect-if-modified distcc-pump distlocks ebuild-locks fixlafiles merge-sync 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 -march=armv6j"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/var/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="arm armv6 bzip2 cli cracklib crypt cxx dri iconv modules ncurses nls nptl openmp pcre readline seccomp session sqlite ssl tcpd unicode xattr zlib" 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" 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" L10N="fr fr_BE fr_FR nl nl_BE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" 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 2 Xavier Miller (RETIRED) gentoo-dev 2016-10-12 13:55:44 UTC
Running and configured kernel is 3.19.3, where linux-headers is 4.7

Can it be the cause of the error?
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2016-10-12 14:32:26 UTC
tested NOK with downgraded linux-headers
Comment 4 Patrice Clement (RETIRED) gentoo-dev 2016-10-15 12:59:09 UTC
Xavier, you've got to assign the bug to arm@. ;)
Comment 5 James Le Cuirot gentoo-dev 2017-11-16 21:02:27 UTC
Admittedly I built it against kernel 2.6.35 (damn blob drivers) but I didn't experience this problem on armv7. I was even cross-compiling it, which did require a small fix, but it wasn't related to this.
Comment 6 Larry the Git Cow gentoo-dev 2017-12-04 22:28:59 UTC
The bug has been closed via the following commit(s):

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

commit 3f38b9c5a0536d3b1effe0af621e28b1dfe11da4
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2017-12-04 22:28:48 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2017-12-04 22:28:48 +0000

    media-tv/tvheadend: Drop old 4.0.9
    
    Closes: https://bugs.gentoo.org/595032
    Closes: https://bugs.gentoo.org/596930
    Closes: https://bugs.gentoo.org/633966
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-tv/tvheadend/Manifest                        |   2 -
 .../files/tvheadend-4.0.9-hdhomerun-include.patch  |  27 -----
 media-tv/tvheadend/metadata.xml                    |   1 -
 media-tv/tvheadend/tvheadend-4.0.9.ebuild          | 117 ---------------------
 4 files changed, 147 deletions(-)
Comment 7 James Le Cuirot gentoo-dev 2017-12-04 22:30:11 UTC
I'm assuming this is no longer a problem but please reopen if necessary.