Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334195 - x11-plugins/compiz-plugins-extra-0.8.6 fails to compile
Summary: x11-plugins/compiz-plugins-extra-0.8.6 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 05:24 UTC by nixscripter
Modified: 2011-07-15 17:54 UTC (History)
0 users

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 nixscripter 2010-08-24 05:24:48 UTC
make[4]: Entering directory `/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6/src/wallpaper'
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR='""' -DLIBDIR='"/usr/lib"' -DLOCALEDIR="\"/usr/share/locale\"" -DIMAGEDIR='"/usr/share/compiz"' -I../../include    -O2 -march=pentium4m -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c -o wallpaper.lo wallpaper.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -DDATADIR=\"\" -DLIBDIR=\"/usr/lib\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -O2 -march=pentium4m -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c wallpaper.c  -fPIC -DPIC -o .libs/wallpaper.o
In file included from /usr/include/X11/extensions/Xrender.h:28,
                 from wallpaper.c:28:
/usr/include/X11/extensions/render.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Glyph’
/usr/include/X11/extensions/render.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GlyphSet’
/usr/include/X11/extensions/render.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Picture’
/usr/include/X11/extensions/render.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PictFormat’
In file included from wallpaper.c:28:
/usr/include/X11/extensions/Xrender.h:47: error: expected specifier-qualifier-list before ‘PictFormat’
/usr/include/X11/extensions/Xrender.h:69: error: expected specifier-qualifier-list before ‘Picture’
/usr/include/X11/extensions/Xrender.h:100: error: expected specifier-qualifier-list before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:108: error: expected specifier-qualifier-list before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:116: error: expected specifier-qualifier-list before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:241: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderCreatePicture’
/usr/include/X11/extensions/Xrender.h:249: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:255: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:263: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:268: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:273: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:278: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:279: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:280: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:291: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderCreateGlyphSet’
/usr/include/X11/extensions/Xrender.h:294: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderReferenceGlyphSet’
/usr/include/X11/extensions/Xrender.h:297: error: expected declaration specifiers or ‘...’ before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:301: error: expected declaration specifiers or ‘...’ before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:302: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/extensions/Xrender.h:310: error: expected declaration specifiers or ‘...’ before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:311: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/usr/include/X11/extensions/Xrender.h:317: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:318: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:320: error: expected declaration specifiers or ‘...’ before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:331: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:332: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:334: error: expected declaration specifiers or ‘...’ before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:345: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:346: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:348: error: expected declaration specifiers or ‘...’ before ‘GlyphSet’
/usr/include/X11/extensions/Xrender.h:359: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:360: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:372: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:373: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:385: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:386: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:398: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:408: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:416: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:417: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:427: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:428: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:438: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:439: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:449: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:450: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:460: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:461: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:477: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:486: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:499: error: expected declaration specifiers or ‘...’ before ‘Picture’
/usr/include/X11/extensions/Xrender.h:505: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderCreateSolidFill’
/usr/include/X11/extensions/Xrender.h:508: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderCreateLinearGradient’
/usr/include/X11/extensions/Xrender.h:514: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderCreateRadialGradient’
/usr/include/X11/extensions/Xrender.h:520: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRenderCreateConicalGradient’
wallpaper.c: In function ‘findArgbVisual’:
wallpaper.c:333: error: ‘XRenderPictFormat’ has no member named ‘type’
wallpaper.c:333: error: ‘XRenderPictFormat’ has no member named ‘direct’
make[4]: *** [wallpaper.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6/src/wallpaper'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6/src/wallpaper'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6'
make: *** [all] Error 2
 * ERROR: x11-plugins/compiz-plugins-extra-0.8.6 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2979:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =x11-plugins/compiz-plugins-extra-0.8.6',
 * the complete build log and the output of 'emerge -pqv =x11-plugins/compiz-plugins-extra-0.8.6'.
 * The complete build log is located at '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/temp/environment'.
 * S: '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6'

>>> Failed to emerge x11-plugins/compiz-plugins-extra-0.8.6, Log file:

>>>  '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/temp/build.log'

 * ERROR: x11-plugins/compiz-plugins-extra-0.8.6 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2979:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =x11-plugins/compiz-plugins-extra-0.8.6',
 * the complete build log and the output of 'emerge -pqv =x11-plugins/compiz-plugins-extra-0.8.6'.
 * The complete build log is located at '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/temp/environment'.
 * S: '/var/tmp/portage/x11-plugins/compiz-plugins-extra-0.8.6/work/compiz-plugins-extra-0.8.6'

________

The solution: a minor modification to src/wallpaper/wallpaper.c. Add:

#include <X11/X.h>

above the series of includes.

Reproducible: Always

Steps to Reproduce:
Compile the package
Actual Results:  
Compiler error.

Expected Results:  
Compilation successful.

emerge --info
Timestamp of tree: Fri, 13 Aug 2010 09:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.4-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1, 1.11.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc:       4.1.2, 4.4.3-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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"
SYNC="rsync://192.168.2.1/gentoo-portage"
USE="X acl acpi alsa berkdb bzip2 cairo cli cpufreq cracklib crypt cups cxx dbus dri gdbm gpm gtk hal iconv ipv6 java laptop lm_sensors mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl ssse3 svg synaptics sysfs tcpd unicode x86 xfce xorg 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 i915" 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, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-08-27 23:37:52 UTC
Please provide a full build.log file
Comment 2 David J Cozatt 2011-07-10 10:54:53 UTC
a year and no build log? xorg has updated several times since. I did not reproduce this nor has anyone else replied to this bug. There were at least one bug report mentioning the wallpaper plugin.
Comment 3 nixscripter 2011-07-15 17:54:10 UTC
Whoops, sorry guys, I just plain forgot about it.

I will try a newer version and re-open if it's a problem.
Comment 4 nixscripter 2011-07-15 17:54:42 UTC
Set to invalid.