Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526990 - media-tv/xbmc-9999 - In member function 'virtual bool CWinSystemX11::ResizeWindow(int, int, int, int)': WinSystemX11.cpp:198:3: error: 'XOutput' was not declared in this scope
Summary: media-tv/xbmc-9999 - In member function 'virtual bool CWinSystemX11::ResizeWi...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 23:51 UTC by Rafal Kupiec
Modified: 2014-10-30 00:35 UTC (History)
0 users

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


Attachments
build.log (1502699.text,199.54 KB, text/plain)
2014-10-29 17:18 UTC, Rafal Kupiec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Kupiec 2014-10-26 23:51:38 UTC
XBMC-9999 does not build due to the following error:


WinSystemX11.cpp: In member function 'virtual bool CWinSystemX11::ResizeWindow(int, int, int, int)':
WinSystemX11.cpp:198:3: error: 'XOutput' was not declared in this scope
   XOutput *out = NULL;
   ^
WinSystemX11.cpp:198:12: error: 'out' was not declared in this scope
   XOutput *out = NULL;
            ^
WinSystemX11.cpp:201:11: error: 'g_xrandr' was not declared in this scope
     out = g_xrandr.GetOutput(m_userOutput);
           ^
WinSystemX11.cpp:204:7: error: 'XMode' was not declared in this scope
       XMode mode = g_xrandr.GetCurrentMode(m_userOutput);
       ^
WinSystemX11.cpp:204:13: error: expected ';' before 'mode'
       XMode mode = g_xrandr.GetCurrentMode(m_userOutput);
             ^
WinSystemX11.cpp:205:12: error: 'mode' was not declared in this scope
       if (!mode.isCurrent)
            ^
WinSystemX11.cpp:213:24: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::vector'
     std::vector<XOutput> outputs = g_xrandr.GetModes();
                        ^
WinSystemX11.cpp:213:24: error:   expected a type, got 'XOutput'
WinSystemX11.cpp:213:24: error: template argument 2 is invalid
WinSystemX11.cpp:213:34: error: invalid type in declaration before '=' token
     std::vector<XOutput> outputs = g_xrandr.GetModes();
                                  ^
WinSystemX11.cpp:213:36: error: 'g_xrandr' was not declared in this scope
     std::vector<XOutput> outputs = g_xrandr.GetModes();
                                    ^
WinSystemX11.cpp:214:17: error: request for member 'size' in 'outputs', which is of non-class type 'int'
     if (outputs.size() > 0)
                 ^
WinSystemX11.cpp:216:31: error: invalid types 'int[int]' for array subscript
       m_userOutput = outputs[0].name;
                               ^
WinSystemX11.cpp: In member function 'virtual bool CWinSystemX11::HasCalibration(const RESOLUTION_INFO&)':
WinSystemX11.cpp:454:3: error: 'XOutput' was not declared in this scope
   XOutput *out = g_xrandr.GetOutput(m_currentOutput);
   ^
WinSystemX11.cpp:454:12: error: 'out' was not declared in this scope
   XOutput *out = g_xrandr.GetOutput(m_currentOutput);
            ^
WinSystemX11.cpp:454:18: error: 'g_xrandr' was not declared in this scope
   XOutput *out = g_xrandr.GetOutput(m_currentOutput);
                  ^
WinSystemX11.cpp: In member function 'void CWinSystemX11::GetConnectedOutputs(std::vector<CStdStr<char> >*)':
WinSystemX11.cpp:488:10: error: 'XOutput' was not declared in this scope
   vector<XOutput> outs;
          ^
WinSystemX11.cpp:488:17: error: template argument 1 is invalid
   vector<XOutput> outs;
                 ^
WinSystemX11.cpp:488:17: error: template argument 2 is invalid
WinSystemX11.cpp:488:23: error: invalid type in declaration before ';' token
   vector<XOutput> outs;
                       ^
WinSystemX11.cpp:489:3: error: 'g_xrandr' was not declared in this scope
   g_xrandr.Query(true);
   ^
WinSystemX11.cpp:492:32: error: request for member 'size' in 'outs', which is of non-class type 'int'
   for(unsigned int i=0; i<outs.size(); ++i)
                                ^
WinSystemX11.cpp:494:30: error: invalid types 'int[unsigned int]' for array subscript
     outputs->push_back(outs[i].name);
                              ^
WinSystemX11.cpp: In member function 'void CWinSystemX11::NotifyXRREvent()':
WinSystemX11.cpp:863:8: error: 'g_xrandr' was not declared in this scope
   if (!g_xrandr.Query(true))
        ^
WinSystemX11.cpp: In member function 'void CWinSystemX11::RecreateWindow()':
WinSystemX11.cpp:884:3: error: 'XOutput' was not declared in this scope
   XOutput *out = g_xrandr.GetOutput(m_userOutput);
   ^
WinSystemX11.cpp:884:12: error: 'out' was not declared in this scope
   XOutput *out = g_xrandr.GetOutput(m_userOutput);
            ^
WinSystemX11.cpp:884:18: error: 'g_xrandr' was not declared in this scope
   XOutput *out = g_xrandr.GetOutput(m_userOutput);
                  ^
WinSystemX11.cpp:885:3: error: 'XMode' was not declared in this scope
   XMode   mode = g_xrandr.GetCurrentMode(m_userOutput);
   ^
WinSystemX11.cpp:885:11: error: expected ';' before 'mode'
   XMode   mode = g_xrandr.GetCurrentMode(m_userOutput);
           ^
WinSystemX11.cpp:889:35: error: 'mode' was not declared in this scope
              , out->name.c_str(), mode.id.c_str(), mode.hz);
                                   ^
WinSystemX11.cpp:899:67: error: 'mode' was not declared in this scope
     if (CDisplaySettings::Get().GetResolutionInfo(i).strId.Equals(mode.id))
                                                                   ^
WinSystemX11.cpp: In member function 'bool CWinSystemX11::SetWindow(int, int, bool, const string&)':
WinSystemX11.cpp:1045:5: error: 'XOutput' was not declared in this scope
     XOutput *out = g_xrandr.GetOutput(output);
     ^
WinSystemX11.cpp:1045:14: error: 'out' was not declared in this scope
     XOutput *out = g_xrandr.GetOutput(output);
              ^
WinSystemX11.cpp:1045:20: error: 'g_xrandr' was not declared in this scope
     XOutput *out = g_xrandr.GetOutput(output);
                    ^
CPP     xbmc/music/Song.o
../../../Makefile.include:93: recipe for target 'WinSystemX11.o' failed
make[1]: *** [WinSystemX11.o] Error 1
Makefile:516: recipe for target 'xbmc/windowing/X11/windowing_X11.a' failed
make: *** [xbmc/windowing/X11/windowing_X11.a] Error 2
make: *** Waiting for unfinished jobs....
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-27 10:19:00 UTC
1) Please post your `emerge --info media-tv/xbmc' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Rafal Kupiec 2014-10-27 10:24:34 UTC
Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16424188 total,  14734716 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 26 Oct 2014 22:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r1
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories:

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

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_3 python_targets_python2_7 multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -mtune=core-avx2 -mcx16 -msahf -mpopcnt -maes -mavx -mavx2 -msse4.1 -msse4.2 -O2 -s -pipe -fomit-frame-pointer"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="0"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
COLORFGBG="15;0"
CXXFLAGS="-march=core-avx2 -mtune=core-avx2 -mcx16 -msahf -mpopcnt -maes -mavx -mavx2 -msse4.1 -msse4.2 -O2 -s -pipe -fomit-frame-pointer"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-83kC1qMf0I,guid=d244cd67929e48bd1cfd4909544e1514"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="default"
DISPLAY=":0"
DISTDIR="/usr/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose --with-bdeps y"
EMERGE_WARNING_DELAY="5"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.ovh.net/gentoo-distfiles/ http://de-mirror.org/distro/gentoo/ http://mirror.opteamax.de/gentoo/ http://gentoo.mirror.web4u.cz/"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.3"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_COMPRESS_FLAGS="--best"
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="belliash@asiotec.eu.org"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python3.3/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python3.3/site-packages"
PORTAGE_REPOSITORIES="[DEFAULT]
main-repo = gentoo

[belliash]
location = /usr/repos/belliash-overlay
masters = gentoo
priority = 0

[gentoo]
location = /usr/repos/gentoo-portage
masters = 
priority = -1000
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage

[roslin]
location = /usr/repos/roslin-overlay
masters = gentoo
priority = 1
"
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_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="security.* system.nfs4_acl"
PORTDIR="/usr/repos/gentoo-portage"
USE="X aac aacplus acl alsa amd64 apng avx bash-completion berkdb bzip2 cairo cdda cli community consolekit cracklib crypt css cups curl cxx dbus declarative dri dri3 dvd emerald encode extraengine fbcondecor ffmpeg flac gbm gd gdbm gif glamor graphite gtk2 gudev iconv icu ipv6 jemalloc jit jpeg kde kmod libv4l lto lzma max-idx-128 minizip mmx mng modemmanager modules mp3 mpeg multilib mysql ncurses networkmanager nls nptl nsplugin ntfs ogg old-output opengl openmp openrc pam pcre pipelight pkcs11 png policykit profiling pvr qemu qt3support qt4 rdesktop readline rtmp rtnetlink rtsp sasl script session slang smpeg sql sqlite sse sse2 sse3 sse4 sse4_2 ssl ssse3 svg symlink syslog tcpd threads tiff tls tokudb tools truetype udev unicode upnp uxa v4l vaapi vde vdpau vim-syntax vnc vorbis x264 xa xml xmp xvid zip 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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"
USEFLAGS="aac aacplus acl alsa apng avx bash-completion berkdb bzip2 cairo cdda community consolekit cracklib crypt css cups curl cxx dbus declarative dri3 dvd emerald encode extraengine fbcondecor ffmpeg flac gbm gd gdbm gif glamor graphite gtk2 gudev iconv icu ipv6 jemalloc jit jpeg kde kmod libv4l lto lzma max-idx-128 minizip mng modemmanager mp3 mpeg multilib mysql ncurses networkmanager nls nsplugin ntfs ogg old-output opengl openrc pam pcre pipelight pkcs11 png policykit profiling pvr qemu qt3support qt4 rdesktop readline rtmp rtnetlink rtsp sasl script sql sqlite sse3 sse4 sse4_2 ssse3 slang smpeg ssl svg symlink syslog threads tiff tls tokudb tools truetype udev unicode upnp uxa v4l vaapi vde vdpau vim-syntax vnc vorbis X x264 xa xml xmp xvid zip zlib -binary -fishbmc -fortran -gtk3 -libnl -mono -perl -prelink -projectm -pulseaudio -python -rsxs -samba -webdav -webkit -xrandr"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"


=================================================================
                        Package Settings
=================================================================

media-tv/xbmc-13.2 was built with the following:
USE="X alsa css mysql opengl pvr rtmp sdl sse sse2 upnp usb vaapi vdpau -airplay (-altivec) -avahi -bluetooth -bluray -caps -cec -debug -fishbmc -gles -goom -java -joystick -midi -nfs -profile -projectm -pulseaudio -rsxs -samba -sftp -udisks -upower -webserver -xrandr" ABI_X86="64" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-27 12:31:08 UTC
(In reply to Jeroen Roovers from comment #1)
> 2) Please attach the entire build log to this bug report.
Comment 4 Rafal Kupiec 2014-10-28 23:29:24 UTC
(In reply to Jeroen Roovers from comment #3)
> (In reply to Jeroen Roovers from comment #1)
> > 2) Please attach the entire build log to this bug report.

http://wklej.org/id/1502699/
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-29 09:14:05 UTC
(In reply to Rafal Kupiec from comment #4)
> http://wklej.org/id/1502699/

Please attach it right here, to this bug report.
Comment 6 Rafal Kupiec 2014-10-29 09:18:43 UTC
No, I can't. Nothing happens when I click 'submit'. DIY if you can.
Comment 7 Rafal Kupiec 2014-10-29 17:18:34 UTC
Created attachment 387748 [details]
build.log
Comment 8 Rafal Kupiec 2014-10-29 17:18:55 UTC
(In reply to Rafal Kupiec from comment #6)
> No, I can't. Nothing happens when I click 'submit'. DIY if you can.

Firefox sucks.
Comment 9 SpanKY gentoo-dev 2014-10-30 00:35:54 UTC
we do not track failures in live code.  if you're building that, then you need to talk to upstream when things fail.