Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237583 - media-video/vdr-1.6.0_p2: build failure in recording.c
Summary: media-video/vdr-1.6.0_p2: build failure in recording.c
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-13 18:42 UTC by Marco Schinkel
Modified: 2009-03-27 22:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Schinkel 2008-09-13 18:42:45 UTC
Build breaks in recording.c due to not working cast

g++ -O3 -march=pentium4 -msse2 -mfpmath=sse -mno-tls-direct-seg-refs -fomit-frame-pointer -fstack-protector -pipe -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVBPLAYER -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_OSDMAXITEMS -DUSE_PLUGINMISSING -DUSE_SORTRECORDS -DUSE_SYNCEARLY -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_VALIDINPUT -DUSE_WAREAGLEICON -DUSE_YAEPG -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DPLUGINDIR=\"/usr/lib/vdr/plugins\" -DLOCDIR=\"/usr/share/vdr/locale\" -DUSE_DVDCHAPJUMP -I/usr/include/freetype2 -I/usr/include -I/usr/include/dvdnav recording.c
recording.c: In destructor »cFileName::~cFileName()«:
recording.c:2017: Fehler: Umformung von »cString« in »char*« ist nicht eindeutig
tools.h:160: Anmerkung: Kandidaten sind: cString::operator const char*() const <nahe Übereinstimmung>
tools.h:159: Anmerkung:                  cString::operator const void*() const <nahe Übereinstimmung>
recording.c:2019: Fehler: Umformung von »cString« in »char*« ist nicht eindeutig
tools.h:160: Anmerkung: Kandidaten sind: cString::operator const char*() const <nahe Übereinstimmung>
tools.h:159: Anmerkung:                  cString::operator const void*() const <nahe Übereinstimmung>
recording.c:2024: Fehler: Umformung von »cString« in »char*« ist nicht eindeutig
tools.h:160: Anmerkung: Kandidaten sind: cString::operator const char*() const <nahe Übereinstimmung>
tools.h:159: Anmerkung:                  cString::operator const void*() const <nahe Übereinstimmung>
make: *** [recording.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
 *
 * ERROR: media-video/vdr-1.6.0_p2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2517:  Called _eapi0_src_compile
 *               ebuild.sh, line  604:  Called _eapi2_src_compile
 *               ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/media-video/vdr-1.6.0_p2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/media-video/vdr-1.6.0_p2/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/vdr-1.6.0_p2
Comment 1 Matthias Schwarzott gentoo-dev 2008-09-14 10:51:36 UTC
Please also attach the use-flags you used for vdr and full emerge --info output.
Comment 2 Marco Schinkel 2008-09-14 13:42:36 UTC
Use flags:
==========

[ebuild     U ] media-video/vdr-1.6.0_p2 [1.6.0_p1-r1] USE="cmdsubmenu cutterlimit cutterqueue cuttime ddepgentry dolbyinrec dvbplayer dvbsetup dvdarchive dvdchapjump dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer graphtft hardlinkcutter jumpplay liemikuutio mainmenuhooks menuorg osdmaxitems sortrecords syncearly timercmd timerinfo validinput wareagleicon yaepg -analogtv -atsc -cmdreccmdi18n% -debug -deltimeshiftrec -dxr3* -em84xx -iptv -lircsettings -livebuffer -lnbshare -noepg -pinplugin -rotor -settime -setup -sourcecaps -ttxtsubs -vanilla -volctrl"

Portage 2.2_rc8 (default/linux/x86/2008.0/server, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26.2-daedalus i686)
=================================================================
System uname: Linux-2.6.26.2-daedalus-i686-Intel-R-_XEON-TM-_CPU_2.20GHz-with-glibc2.0
Timestamp of tree: Sat, 13 Sep 2008 23:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r4, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
APACHE2_MPMS="prefork"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -msse2 -mfpmath=sse -mno-tls-direct-seg-refs -fomit-frame-pointer -fstack-protector -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/bind /var/lib/hsqldb /var/service /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O3 -march=pentium4 -msse2 -mfpmath=sse -mno-tls-direct-seg-refs -fomit-frame-pointer -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
DVB_CARDS="ttpci"
EDITOR="/usr/bin/joe"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="ccache distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GDM_LANG="de_DE.utf8"
GENERATION="2"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://de-mirror.org/distro/gentoo/"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info:/usr/share/info/emacs-21"
INPUTRC="/etc/inputrc"
INPUT_DEVICES="keyboard mouse"
JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JDK_HOME="/opt/blackdown-jdk-1.4.2.03"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="de_DE@euro"
LANGUAGE="de_DE.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="de"
LIRC_DEVICES="uirt2_raw"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/opera/share/man:/opt/vmware/server/man"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/srv/perl/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/opt/vmware/server/bin:/opt/vmware/server/console/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="15"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.8"
PS1="\[\033[01;31m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin:/opt/vmware/server/bin:/opt/vmware/server/console/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="1"
SSH_AUTH_SOCK="/tmp/ssh-HxEfsc5610/agent.5610"
SSH_CLIENT="192.168.2.38 39772 22"
SSH_CONNECTION="192.168.2.38 39772 192.168.0.1 22"
SSH_TTY="/dev/pts/0"
SVCDIR="/service"
SVCTIMEOUT="15"
SVCVARDIR="/var/service"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="linux"
TEXINPUTS="/usr/lib/ocaml/ocamldoc:"
USE="16bit 7zip X X509 Xaw3d a52 aac aalib accessibility acl acpi adns aio akode alsa amd amr aotuv apache2 arj asf aspell asterisk async audiofile auth authdaemond authfile automount autosieve avahi bash-completion bcmath bcp berkdb bidi big-tables bigpatch bjam bzip2 bzlib c++ cairo calendar capi caps cardbus cddb cdparanoia cdr cgi chroot cjk clamav clamd clearpasswd cli cmdsubmenu compress connectionstatus contactnotes cpdflib cracklib crypt crypto_libgcrypt crypto_openssl css csv ctype cups curl curlwrappers custom-cflags cvs cxx cyrus daap daemon dba dbi dbm dbus dbx dhcp dio dirac discard-path disk-partition divx4linux djbfft djvu dmi dnd dnotify dolby-record-switch dri dtaus dts dv dvb dvbplayer dvd dvdnav dvdr dvdread ecc elf enca encode escreen eurofile examples exif expat extraengine extramodules faillog fam fame fastcgi fat fax faxonly fbcon ffmpeg fftw finger flac flatfile force-cgi-redirect fpx ft ftp fuse gcj gd gdbm geoip ggi gif glib glibc-compat20 glibc-omitfp glitz gmp gnutls gopher gpm gs gsm gtk gtkspell guile gzip hal hash hbci hddtemp iconv icq icu id3 id3tag idea idn ieee1394 ifsession imagemagick imap imlib immqt-bc inifile innodb iodbc irc isdn isdnlog ithreads jabber jack java java5 javascript jbig jpeg jpeg2k js json jumpplay kdeenablefinal kerberos lame latex lcms lesstif libcaca libedit libnotify libsamplerate libwww lirc lm_sensors lmtp lua lzo lzw m17n-lib mad magic maildir mailwrapper matroska max-idx-128 mbox mcal md5sum memlimit mhash midi milter mime ming mjpeg mmap mmx mmxext mng modperl motif mozilla mp2 mp3 mp3rtp mp4 mpd mpeg mpeg2 mpi mplayer msession msn mudflap musepack mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses neXt netboot netcdf network networking nfs nis nls nntp no-suexec nptl nptlonly nsplugin ntfs ntlm ntp nvram oav objc objc++ objc-gc ocaml odbc offensive ofx ogg openal openexr openmp openssl opensslcrypt pam parse-clocks passwordsave paste64 pcap pcntl pcre pdf pdo perl perlsuid php pic pie plugin png pnm pop posix ppds pppd priority procmail pyste python qt3 qt3support qt4 quicktime quotas radius rar rc5 rdesktop readline real recode reflection regex reiserfs rewrite rle rpm rrdcgi rrdtool rss rtc samba sasl schroedinger scp screen sendfile sensord serial server session setup-plugin sftp sftplogging shaper shared sharedext shout sieve simplexml sitemisc skey slang slp smarty smime smp sms smtp sndfile snmp soap sockets socks5 softquota source sox speex spell spl sqlite sqlite3 srp srt sse sse2 ssl stats subject-rewrite subtitles subversion suid svg svga sysfs syslog sysvipc szip t1lib taglib tagwriting tcl tcltk tcp tcpd tdb tetex text tga theora thesaurus threads threadsafe tidy tiff tk tokenizer toolbar tools tos transcode transmitter transparent-proxy truetype tta type1 ucs2 unicode unzip ups urandom usb v4l v4l2 vcd vdr vfat vnc vncviewer vorbis vorbis-psy vroot wav wavpack webdav wifi win32codecs winbind wireshark wma wmf wxgtk1 wxwindows x264 x86 xanim xattr xcb xcomposite xine xinerama xinetd xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xprint xrandr xsl xtended xterm xv xvid xvmc xvnc yaepg yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" DVB_CARDS="ttpci" ELIBC="glibc" FRITZCAPI_CARDS="fcusb2" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="uirt2_raw" MISDN_CARDS="hfcsusb" USERLAND="GNU" VIDEO_CARDS="mach64 vesa fbdev"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="mach64 vesa fbdev"
VMHANDLE="blackdown-jdk-1.4.2"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"

Comment 3 Thomas Reinhold 2008-09-15 20:22:53 UTC
The use-flags "dvdarchive liemikuutio" only in combination reproduce this bug
Comment 4 Joerg Bornkessel gentoo-dev 2008-09-16 18:13:52 UTC
Im added for vdr-1.6.0_p2 the newest version of ExtPatch-64,

plz. rsync in a half hour and try to compile

short feedback if it works are welcome

Thanks to tr500 for point me to the newest version.
Comment 5 Marco Schinkel 2008-09-21 17:10:37 UTC
Hello,

compiles with both use flags on my system now. Thank you for fixing!

Best regards,

Marco

(In reply to comment #4)
> Im added for vdr-1.6.0_p2 the newest version of ExtPatch-64,
> 
> plz. rsync in a half hour and try to compile
> 
> short feedback if it works are welcome
> 
> Thanks to tr500 for point me to the newest version.
>