Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508054 - media-plugins/vdr-audiorecorder-0.1.0_pre14-r2 - In file included from audiorecorder.c:10: /usr/include/libavutil/common.h:173:47: error: ‘UINT64_C’ was not declared in this scope
Summary: media-plugins/vdr-audiorecorder-0.1.0_pre14-r2 - In file included from audior...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 22:38 UTC by Mark Dominik Bürkle
Modified: 2014-04-19 15:14 UTC (History)
1 user (show)

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


Attachments
complete build.log (with MAKEOPTS=-j1) (build.log,4.00 KB, text/plain)
2014-04-18 22:46 UTC, Mark Dominik Bürkle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Dominik Bürkle 2014-04-18 22:38:57 UTC
build fails in file /usr/include/libavutil/common.h:173:47: with message:
    error: ‘UINT64_C’ was not declared in this scope
while compiling audiorecorder.c.

Reproducible: Always

Steps to Reproduce:
1. package.keywords, add =media-plugins/vdr-audiorecorder-0.1.0_pre14-r2 ~amd64
2. package.use, add
  =virtual/ffmpeg-0.10.3 mp3
  =media-video/ffmpeg-1.0.8 mp3
3. emerge media-plugins/vdr-audiorecorder
Actual Results:  
build fails:
>>> Compiling source in /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14 ...
make -j1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14 TMPDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/temp 
x86_64-pc-linux-gnu-g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"audiorecorder"' -DTIXML_USE_STL -I/usr/include -I/usr/include  -I/usr/include/taglib -I/usr/include -I/usr/include/libavcodec -o audiorecorder.o audiorecorder.c
In file included from /usr/include/libavutil/avutil.h:274:0,
                 from /usr/include/libavutil/samplefmt.h:24,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from convert.h:13,
                 from postproc.h:9,
                 from audiorecorder.h:9,
                 from audiorecorder.c:10:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’:
/usr/include/libavutil/common.h:173:47: error: ‘UINT64_C’ was not declared in this scope
make: *** [audiorecorder.o] Error 1
 * ERROR: media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo failed (compile phase):
 *   emake failed


Expected Results:  
ebuild should compile and merge

vdr-vb ~ # emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.14.0-gentoo x86_64)
=================================================================
System uname: Linux-3.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3077704 total,   2691152 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 14 Apr 2014 16:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /etc/portage /etc/rsyncd.conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/pam.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lapmdb-hpl ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://lapmdb-hpl.localnet/portage"
USE="X acl acpi alsa amd64 apache2 bash-completion berkdb bindist browserplugin bzip2 cdr cli cracklib crypt curl cxx dri dvd dvdr dvdread gdbm gnome gtk gtk2 iconv imap ipv6 mmap mmx modules mozilla multilib ncurses nls nptl nptl-only oggvorbis openal openmp pam pcre readline session sse sse2 ssl tcpd theora unicode xml xml2 xmlrpc xv 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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau virtualbox" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

vdr-vb ~ # 
vdr-vb ~ # emerge --info '=media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.14.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3077704 total,   2690260 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 14 Apr 2014 16:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /etc/portage /etc/rsyncd.conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/pam.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lapmdb-hpl ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://lapmdb-hpl.localnet/portage"
USE="X acl acpi alsa amd64 apache2 bash-completion berkdb bindist browserplugin bzip2 cdr cli cracklib crypt curl cxx dri dvd dvdr dvdread gdbm gnome gtk gtk2 iconv imap ipv6 mmap mmx modules mozilla multilib ncurses nls nptl nptl-only oggvorbis openal openmp pam pcre readline session sse sse2 ssl tcpd theora unicode xml xml2 xmlrpc xv 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" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau virtualbox" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

vdr-vb ~ # emerge -pqv '=media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo'
[ebuild  N    ] media-plugins/vdr-audiorecorder-0.1.0_pre14-r2 
vdr-vb ~ #
Comment 1 Mark Dominik Bürkle 2014-04-18 22:39:18 UTC
vdr-vb ~ # cat /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/temp/build.log
 * Package:    media-plugins/vdr-audiorecorder-0.1.0_pre14-r2
 * Repository: gentoo
 * Maintainer: vdr@gentoo.org media-tv@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Compiling against
 * 	vdr-2.0.4 [API version 2.0.0]
>>> Unpacking source...
>>> Unpacking vdr-audiorecorder-0.1.0-pre14.tgz to /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work
>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work
>>> Preparing source in /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14 ...
 * Applying vdr-audiorecorder-0.1.0_pre14-shared-tinyxml.diff ...                                                                              [ ok ]
 * Patching Makefile
 * Patching for Linguas support
 * available Languages for vdr-audiorecorder-0.1.0_pre14 are:
 * LINGUAS="ca cs da de el es et fi fr hr hu it nl nn pl pt ro ru sl sv tr "
 * Applying vdr-audiorecorder-0.1.0_pre14_obsolete-i18n.diff ...                                                                               [ ok ]
 * Applying vdr-audiorecorder-0.1.0_pre14-ffmpeg-1.patch ...                                                                                   [ ok ]
 * Applying vdr-audiorecorder-0.1.0_pre14-libav9.patch ...                                                                                     [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14 ...
make -j1 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/tmp-locale LOCDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14 TMPDIR=/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/temp 
x86_64-pc-linux-gnu-g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"audiorecorder"' -DTIXML_USE_STL -I/usr/include -I/usr/include  -I/usr/include/taglib -I/usr/include -I/usr/include/libavcodec -o audiorecorder.o audiorecorder.c
In file included from /usr/include/libavutil/avutil.h:274:0,
                 from /usr/include/libavutil/samplefmt.h:24,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from convert.h:13,
                 from postproc.h:9,
                 from audiorecorder.h:9,
                 from audiorecorder.c:10:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’:
/usr/include/libavutil/common.h:173:47: error: ‘UINT64_C’ was not declared in this scope
make: *** [audiorecorder.o] Error 1
 * ERROR: media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14'
 * S: '/var/tmp/portage/media-plugins/vdr-audiorecorder-0.1.0_pre14-r2/work/audiorecorder-0.1.0-pre14'
vdr-vb ~ #
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-18 22:40:50 UTC
Please attach the entire build log to this bug report.
Comment 3 Mark Dominik Bürkle 2014-04-18 22:46:03 UTC
Created attachment 375246 [details]
complete build.log (with MAKEOPTS=-j1)

build.log, as included in comment#1
Comment 4 Joerg Bornkessel (RETIRED) gentoo-dev 2014-04-19 06:01:02 UTC
fixed wrong defined part

append-cppflags -> append-cxxflags
in ebuild.

this should be fixed the reported 'UINT64_C' problem.

but it will still fails on later compile part

<snipp>
x86_64-pc-linux-gnu-g++ -march=amdfam10 -O2 -pipe -mtune=amdfam10 -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_GRAPHTFT -DUSE_PLUGINMISSING -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"audiorecorder"' -DTIXML_USE_STL -I/usr/include -I/usr/include  -I/usr/include/taglib -I/usr/include -I/usr/include/libavcodec -o trackinfo.o trackinfo.c
audioreceiver.c: In constructor 'cAudioReceiver::cAudioReceiver(const cChannel*)':
audioreceiver.c:13:70: error: no matching function for call to 'cReceiver::cReceiver(tChannelID, int, int)'
 :cReceiver(_channel->GetChannelID(), -2, _channel->Apid(0)), cThread()
                                                                      ^
audioreceiver.c:13:70: note: candidates are:
In file included from audioreceiver.h:14:0,
                 from audioreceiver.c:5:
/usr/include/vdr/receiver.h:41:3: note: cReceiver::cReceiver(const cChannel*, int)
   cReceiver(const cChannel *Channel = NULL, int Priority = MINPRIORITY);
   ^
/usr/include/vdr/receiver.h:41:3: note:   candidate expects 2 arguments, 3 provided
/usr/include/vdr/receiver.h:17:7: note: cReceiver::cReceiver(const cReceiver&)
 class cReceiver {
       ^
/usr/include/vdr/receiver.h:17:7: note:   candidate expects 1 argument, 3 provided
Makefile:78: recipe for target 'audioreceiver.o' failed
make: *** [audioreceiver.o] Error 1
make: *** Waiting for unfinished jobs....
mainmenu.c: In member function 'virtual eOSState cMainmenu::ProcessKey(eKeys)':
mainmenu.c:66:74: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
                                  cPluginAudiorecorder::get_cfg().c_str());
                                                                          ^
trackinfo.c: In member function 'std::string cTrackInfo::path_external()':
trackinfo.c:326:10: warning: ignoring return value of 'int asprintf(char**, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         );
          ^
 * ERROR: media-plugins/vdr-audiorecorder-0.1.0_pre14-r2::gentoo failed (compile phase):
 *   emake failed

</snapp>

anyway, i have to find out from what vdr versions changes this error will be affekted...
Comment 5 Joerg Bornkessel (RETIRED) gentoo-dev 2014-04-19 09:48:58 UTC
plz check

vdr-audiorecorder-0.1.0_pre14-r3.ebuild

added several fixes, found it around vdr-portal.de...

btw. Makeopts=-j1 is not needed, there are no problems with multicore CPU's
Comment 6 Mark Dominik Bürkle 2014-04-19 12:19:49 UTC
(In reply to Joerg Bornkessel from comment #5)

Thanks for vdr-audiorecorder-0.1.0_pre14-r3.ebuild, compiles and merges.

Makeopts=-j1 was added only for documenting the failure.
Comment 7 Joerg Bornkessel (RETIRED) gentoo-dev 2014-04-19 15:14:39 UTC
Mark Dominik

thx for your fast reply :)

regards Jörg