Open-vm-tools-0.0.20100919.301124 fails to compile with several "conflicting types for ResolutionBackendInit" error messages. Reproducible: Always Steps to Reproduce: 1.emerge -v =app-emulation/open-vm-tools-0.0.20100919.301124 Actual Results: In file included from /usr/include/X11/extensions/render.h:29, from /usr/include/X11/extensions/Xrender.h:33, from /usr/include/X11/extensions/Xrandr.h:33, from resolutionX11.c:32: /usr/include/X11/Xdefs.h:47: error: conflicting types for 'Bool' /var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/work/open-vm-tools-2010.09.19-301124/lib/include/vm_basic_types.h:86: note: previous declaration of 'Bool' was here resolutionX11.c:115: error: conflicting types for 'ResolutionBackendInit' resolutionInt.h:73: note: previous declaration of 'ResolutionBackendInit' was here resolutionX11.c:168: error: conflicting types for 'ResolutionSetResolution' resolutionInt.h:76: note: previous declaration of 'ResolutionSetResolution' was here resolutionX11.c:205: error: conflicting types for 'ResolutionSetTopology' resolutionInt.h:81: note: previous declaration of 'ResolutionSetTopology' was here make[3]: *** [libresolutionSet_la-resolutionX11.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/work/open-vm-tools-2010.09.19-301124/services/plugins/resolutionSet' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/work/open-vm-tools-2010.09.19-301124/services/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/work/open-vm-tools-2010.09.19-301124/services' make: *** [all-recursive] Error 1 emake failed * ERROR: app-emulation/open-vm-tools-0.0.20100919.301124 failed: * failed to compile * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2792: Called die * The specific snippet of code: * emake || die "failed to compile" * * If you need support, post the output of 'emerge --info =app-emulation/open-vm-tools-0.0.20100919.301124', * the complete build log and the output of 'emerge -pqv =app-emulation/open-vm-tools-0.0.20100919.301124'. * The complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/temp/environment'. * S: '/var/tmp/portage/app-emulation/open-vm-tools-0.0.20100919.301124/work/open-vm-tools-2010.09.19-301124' Expected Results: Expected a successful compile. I did get it to compile by bumping the version to open-vm-tools-2010.12.19-339835 and commenting out the 'epatch "${FILESDIR}/checkvm-pie-safety.patch" line' in the ebuild. I also updated the open-vm-tools-kmod to open-vm-tools-kmod-2010.12.19-339835 and did not modify anything in that ebuild. Open vm tools versions 2010.10.18 and 2010.11.17 failed to compile with the same error as 2010.09.19.
Created attachment 259889 [details] Build log
emerge --info =app-emulation/open-vm-tools-0.0.20100919.301124 Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-gentoo-1.12.14 Timestamp of tree: Fri, 14 Jan 2011 09:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/net/goober/mnt/files/gentoo/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/wcooke /usr/local/portage/layman/wcooke-sunrise" SYNC="rsync://atom.apt.local/gentoo-portage" USE="X X509 a52 aac acl acpi aio alsa amd64 apache2 applet archive artworkextra async autoipd bash-completion berkdb branding bzip2 cairo caps cdr chromium chroot cisco cli connection-sharing consolekit cpudetection cracklib crypt cscope css ctype cups curl cxx dbus degnome desktop dga dhcp dhcpcd disk-partition dri dts dvd dvdr eap-tls elf emboss enca encode exif extra-tools extrafilters extras fam fame fat fftw filter firefox flac fontconfig fortran fpx ftp fts fuse gcrypt gd gdbm gdu gedit gif gimp git glitz gnome gnome-keyring gnutls gpm graphviz gs gsm gstreamer gtk gzip hdri hfs hpn iconv imagemagick imap imlib inifile inline irc ithreads java john jpeg jpeg2k json kerberos laptop lcms libcaca libnl libnotify loop-aes lua lzma lzo mad mikmod milter mmap mmx mmxext mng modules mp4 mpeg mudflap multilib multitarget multiuser mysql mysqli nat nautilus ncurses network-cron networkmanager nfs nls nptl nptlonly nsplugin nss ntp odbc offensive ogg openexr opengl openmp pam pango passwordsave pcap pcre pdf perl php pic plugins-symlink png policykit posix ppds pppd prediction pth ptw python qt3support qt4 radius rar rdesktop rdpusb readline resolvconf rtc samba sasl sdl sectools secure-delete session slp smi smp snmp sockets socks5 spell sql sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion suid svg symlink sysfs syslog system-sqlite t1lib tcl tcpd threads thumbnail tiff tk truetype udev unicode unity urandom usb utils vim vim-pager vim-syntax vix vm vnc vorbis webdav webkit wifi wps x264 xattr xcb xinerama xml xorg xsl xulrunner xv xvid zero zip zlib" 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" 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 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" 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 ubx" INPUT_DEVICES="vmmouse mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="cmdir" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -pqv =app-emulation/open-vm-tools-0.0.20100919.301124 [ebuild N ] app-emulation/open-vm-tools-0.0.20100919.301124 USE="X fuse pic unity xinerama -doc -icu"
Created attachment 259890 [details] New ebuild
Related open-vm-tools bug on SourceForge: http://sourceforge.net/tracker/index.php?func=detail&aid=3118268&group_id=204462&atid=989708 Related Forum Thread: http://forums.gentoo.org/viewtopic-p-6493986.html
(In reply to comment #3) > Created an attachment (id=259890) [details] > New ebuild > Is this ebuild from vmware overlay?
(In reply to comment #5) > (In reply to comment #3) > > Created an attachment (id=259890) [details] [details] > > New ebuild > > > Is this ebuild from vmware overlay? > The ebuild is from Gentoo portage and is the Open-vm-tools-0.0.20100919.301124 version with 1 line commented out to prevent the checkvm-pie-safety.patch from being applied.
new version is in the cvs.