Summary: | 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 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Dominik Bürkle <dominik.buerkle> |
Component: | [OLD] Library | Assignee: | Gentoo VDR Project <vdr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | media-tv |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | complete build.log (with MAKEOPTS=-j1) |
Description
Mark Dominik Bürkle
2014-04-18 22:38:57 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 ~ # Please attach the entire build log to this bug report. Created attachment 375246 [details] complete build.log (with MAKEOPTS=-j1) build.log, as included in comment#1 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... 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 (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. Mark Dominik thx for your fast reply :) regards Jörg |