Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498950 - media-plugins/vdr-epgsearch-0.9.25_beta17 compile fails with error: 'class cSetup' has no member named 'PrimaryLimit'
Summary: media-plugins/vdr-epgsearch-0.9.25_beta17 compile fails with error: 'class cS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-22 17:30 UTC by Mark Dominik Bürkle
Modified: 2014-01-23 10:18 UTC (History)
0 users

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


Attachments
(/mnt/gentoo)/var/lib/portage/world (world,1.02 KB, text/plain)
2014-01-22 17:45 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-01-22 17:30:20 UTC
media-plugins/vdr-epgsearch-0.9.15_beta17 (stable on amd64) fails to build in my VirtualBox VM "vdr-vb".

Seems to be an upstream bug.

Reproducible: Always

Steps to Reproduce:
1. Boot a VirtualBox VM (Gentoo64) with install-amd64-minimal-20120119.iso
2. expand stage3-amd64-20131226.tar.bz2 to /mnt/gentoo (/dev/sda1), drop resolv.conv, make.conf, package.{use,mask} (both empty), and the following /var/lib/portage/world therein
3. emerge -avuNDe @system
4. emerge -avuND @world
(5. and add some emerge -av --resume steps which I can't remember; see resulting portage.use file)

Actual Results:  
stops at least once, at "Emerging (260 of 294) media-plugins/vdr-epgsearch-0.9.25_beta17":
...
g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include -I/usr/include  conflictcheck.c
In file included from conflictcheck.c:26:0:
conflictcheck.h: In member function 'bool cConflictCheckDevice::ProvidesChannel(const cChannel*, int, bool*) const':
conflictcheck.h:258:32: error: 'class cSetup' has no member named 'PrimaryLimit'
conflictcheck.h:263:57: error: 'class cSetup' has no member named 'PrimaryLimit'
make: *** [conflictcheck.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed

Expected Results:  
compilation should continue, compiler error is a detection of source code error.

complete failure message:

>>> Emerging (260 of 294) media-plugins/vdr-epgsearch-0.9.25_beta17
 * vdr-epgsearch-0.9.25.beta17.tgz SHA256 size ;-) ...                                                                                                                                                      [ ok ]
 * Compiling against
 *      vdr-2.0.4 [API version 2.0.0]
>>> Unpacking source...
 * 
 *      vdr-plugin.eclass is deprecated
 *      Maintainer: please fix your ebuilds to use
 *      vdr-plugin-2.eclass 
 * 
>>> Unpacking vdr-epgsearch-0.9.25.beta17.tgz to /var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work
>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work
>>> Preparing source in /var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/epgsearch-0.9.25.beta17 ...
 * Patching Makefile
 * Using pcre for regexp searches
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/epgsearch-0.9.25.beta17 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/epgsearch-0.9.25.beta17 ...
make -j4 all LOCALEDIR=/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/tmp-locale LIBDIR=/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/epgsearch-0.9.25.beta17 TMPDIR=/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/temp 
g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include -I/usr/include  afuzzy.c
g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include -I/usr/include  blacklist.c
g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include -I/usr/include  changrp.c
g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include -I/usr/include  confdloader.c
g++ -march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELBIND -DUSE_PLUGINMISSING -D_GNU_SOURCE -DSENDMAIL='"/usr/sbin/sendmail"' -DPLUGIN_NAME_I18N='"epgsearch"' -I/usr/include -I/usr/include  conflictcheck.c
In file included from conflictcheck.c:26:0:
conflictcheck.h: In member function 'bool cConflictCheckDevice::ProvidesChannel(const cChannel*, int, bool*) const':
conflictcheck.h:258:32: error: 'class cSetup' has no member named 'PrimaryLimit'
conflictcheck.h:263:57: error: 'class cSetup' has no member named 'PrimaryLimit'
make: *** [conflictcheck.o] Error 1
make: *** Waiting for unfinished jobs....
emake failed
 * ERROR: media-plugins/vdr-epgsearch-0.9.25_beta17::gentoo failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2340:  Called vdr-plugin_src_compile
 *   environment, line 3094:  Called vdr-plugin_src_compile 'copy_source' 'compile'
 *   environment, line 3111:  Called die
 * The specific snippet of code:
 *                   emake ${BUILD_PARAMS} ${BUILD_TARGETS} LOCALEDIR="${TMP_LOCALE_DIR}" LIBDIR="${S}" TMPDIR="${T}" || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/vdr-epgsearch-0.9.25_beta17::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-epgsearch-0.9.25_beta17::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/epgsearch-0.9.25.beta17'
 * S: '/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/work/epgsearch-0.9.25.beta17'

>>> Failed to emerge media-plugins/vdr-epgsearch-0.9.25_beta17, Log file:

>>>  '/var/tmp/portage/media-plugins/vdr-epgsearch-0.9.25_beta17/temp/build.log'

 * Regenerating GNU info directory index...
 * Processed 90 info files.

 * IMPORTANT: 3 config files in '/etc' need updating.

 * IMPORTANT: 2 config files in '/etc/conf.d' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
vdr-vb / # etc-update 
...


vdr-vb ~ # cat /mnt/gentoo/etc/portage/package.use 
net-misc/ssh openssh

# required by media-video/vlc-2.0.7
# required by @selected
# required by @world (argument)
>=sys-libs/zlib-1.2.8-r1 minizip

# required by x11-drivers/xf86-video-vmware-13.0.1
# required by x11-base/xorg-drivers-1.14[video_cards_vmware]
# required by x11-base/xorg-server-1.14.3-r2[xorg]
# required by x11-drivers/xf86-video-nouveau-1.0.9
=x11-libs/libdrm-2.4.46 libkms
# required by media-libs/mesa-9.1.6
# required by x11-base/xorg-server-1.14.3-r2[-minimal]
# required by x11-drivers/xf86-video-nouveau-1.0.9
# required by x11-base/xorg-drivers-1.14[video_cards_nouveau]
=dev-libs/libxml2-2.9.1-r1 python
# required by x11-drivers/xf86-video-vmware-13.0.1
# required by x11-base/xorg-drivers-1.14[video_cards_vmware]
# required by x11-base/xorg-server-1.14.3-r2[xorg]
# required by x11-drivers/xf86-video-nouveau-1.0.9
=media-libs/mesa-9.1.6 xa
vdr-vb ~ # 


vdr-vb ~ # cat /mnt/gentoo/etc/portage/make.conf 
#CFLAGS="-march=athlon64 -maccumulate-outgoing-args -mno-align-stringops -momit-leaf-frame-pointer -O2 -falign-functions=64 -falign-loops=64 -pipe"
CFLAGS="-march=athlon64 -mno-align-stringops -O2 -falign-functions=64 -falign-loops=64 -pipe"
#CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
SYNC="rsync://192.168.178.20/portage"
FEATURES="buildpkg"
USE="-apm -emacs -f77 -fortran -oss -spell -svga -xmms X acpi alsa apache2 bash-completion bindist browserplugin cdr curl dvd dvdr dvdread gnome gtk gtk2 imap mmap mmx mozilla nptl nptl-only oggvorbis openal sse sse2 theora unicode xml xml2 xmlrpc xv zlib"
ACCEPT_KEYWORDS="amd64"
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/"
CONFIG_PROTECT="/etc/conf.d /etc/portage /etc/make.conf /etc/rsyncd.conf"
CONFIG_PROTECT_MASK="/etc/init.d /etc/pam.d"
LIRC_DEVICES="com1"
LINGUAS="de en fr"
INPUT_DEVICES="evdev keyboard mouse vmmouse"
VIDEO_CARDS="fbdev nouveau vmware"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save_summary"
PYTHON_TARGETS="python2_7 python3_3"
vdr-vb ~ # 


vdr-vb ~ # chroot /mnt/gentoo/
vdr-vb / # emerge --info
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.1.6-gentoo x86_64)
=================================================================
System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3088600 total,    509080 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 20 Jan 2014 17: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.11.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.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/make.conf /etc/portage /etc/rsyncd.conf /usr/share/gnupg/qualified.txt"
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/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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://192.168.178.20/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 mudflap 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" INPUT_DEVICES="evdev keyboard mouse vmmouse" 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="com1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau vmware" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

vdr-vb / #
Comment 1 Mark Dominik Bürkle 2014-01-22 17:45:03 UTC
Created attachment 368450 [details]
(/mnt/gentoo)/var/lib/portage/world
Comment 2 Joerg Bornkessel (RETIRED) gentoo-dev 2014-01-23 10:17:50 UTC
ui ui, a lot of debug infos M)

emerge --info
and the compile log should be enough

anyway,
the reported version is very old,
i am stablized the latest version
media-plugins/vdr-epgesearch-1.0.0.r1 
on amd64 x86

this version works fine, with a lot of patches, to fix issues to previous vdr versions

cleaned up old versions from tree

Doninik, thanks for reporting this

this bug will closed, please reopen if you have still problems