Bug 191709 - x11-base/xorg-server-1.3.0.0 fails to compile with renderproto-0.9.3
|
Bug#:
191709
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: x11@gentoo.org
|
Reported By: deduktionstheorem@web.de
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: x11-base/xorg-server-1.3.0.0 fails to compile with renderproto-0.9.3
|
|
Keywords: Inclusion
|
|
Status Whiteboard:
|
|
Opened: 2007-09-08 14:56 0000
|
$> emerge xorg-server
[...]
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I../include
-I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi
-I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-march=nocona -O2 -pipe -MT renderedge.lo -MD -MP -MF .deps/renderedge.Tpo -c
renderedge.c -fPIC -DPIC -o .libs/renderedge.o
In file included from /usr/include/X11/extensions/renderproto.h:30,
from glyphstr.h:28,
from picturestr.h:29,
from renderedge.h:28,
from renderedge.c:29:
/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 picturestr.h:29,
from renderedge.h:28,
from renderedge.c:29:
glyphstr.h:141: error: expected declaration specifiers or '...' before 'Glyph'
glyphstr.h:144: error: expected declaration specifiers or '...' before 'Glyph'
glyphstr.h:147: error: expected declaration specifiers or '...' before 'Glyph'
In file included from renderedge.h:28,
from renderedge.c:29:
picturestr.h:499: error: expected ')' before 'pid'
picturestr.h:643: error: expected ')' before 'pid'
picturestr.h:648: error: expected ')' before 'pid'
picturestr.h:657: error: expected ')' before 'pid'
picturestr.h:668: error: expected ')' before 'pid'
make[1]: *** [renderedge.lo] Error 1
make[1]: Leaving directory
`/var/tmp/portage/x11-base/xorg-server-1.3.0.0/work/xorg-server-1.3.0.0/render'
make: *** [all-recursive] Error 1
*
* ERROR: x11-base/xorg-server-1.3.0.0 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called x-modular_src_compile
* x-modular.eclass, line 337: Called x-modular_src_make
* x-modular.eclass, line 332: Called die
*
* emake failed
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/x11-base/xorg-server-1.3.0.0/temp/build.log'.
*
Reproducible: Always
Steps to Reproduce:
1. emerge xorg-server
$> emerge --info
Portage 2.1.3.8 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sat, 08 Sep 2007 08:50:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="confcache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.isu.edu.tw/pub/Linux/Gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
ftp://ftp.rhnet.is/pub/gentoo/"
LINGUAS="en"
MAKEOPTS="-j3 -l 4.0"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/igel/gentoo-haskell"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apm avahi bitmap-fonts bzip2 cdda cdr
cli cracklib crypt css cups dbus directfb dri dts dvd dvdr dvdread encode
ffmpeg firefox flac flash ftp gdbm gif gnome gnutls gpm gtk gtk2 hal hddtemp
howl iconv icq ipv6 isdnlog jabber java jpeg jpeg2k libnotify live lm_sensors
logrotate mad midi mmx mozilla mp3 mpeg mudflap musepack mysql ncurses nls nptl
nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl
png pppd python readline reflection samba session spl sse sse2 ssl stream svg
tcpd theora threadsafe tiff truetype-fonts type1-fonts unicode usb vcd vim
vim-syntax vorbis wxwindows xml xorg xv zlib" ALSA_CARDS="emu10k1"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
OK sorry for getting the severity wrong.
I need to add some information, though: This packages has already been
successfully compiled on my system, the bug came up during a re-install of
xorg-server-1.3, and is not related to an update.
I think this is related to the recently added x11-proto/renderproto-0.9.3
version bump:
With 0.9.2 /usr/include/X11/extensions/render.h includes these lines:
typedef unsigned long Glyph;
typedef unsigned long GlyphSet;
typedef unsigned long Picture;
typedef unsigned long PictFormat;
In 0.9.3 these lines changed to:
typedef XID Glyph;
typedef XID GlyphSet;
typedef XID Picture;
typedef XID PictFormat;
and XID seems undefined though.
Hm, just saw that this fix was applied in libXrender in version 0.9.4 which is
also in portage. Maybe this bug is not related to my initial ideas then.
Could you tell me your versions of renderproto and libXrender?
(In reply to comment #6)
> Could you tell me your versions of renderproto and libXrender?
>
renderproto-0.9.3
libXrender-0.9.4
Regards,
Stephan
(In reply to comment #9)
> renderproto-0.9.3
> libXrender-0.9.4
same failure with those same versions.
Portage 2.1.3.9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6-r0,
2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sun, 09 Sep 2007 10:00:01 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-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
sys-devel/binutils: 2.18.50.0.1
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /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"
CXXFLAGS="-O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs distlocks metadata-transfer parallel-fetch
sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en nl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/marijn/git/gentoo-lisp-overlay /home/marijn/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 berkdb bitmap-fonts cairo cdr cli cracklib crypt
cups dbus dri dts dvd dvdr dvdread eds emacs emboss encode esd fam firefox
fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg
kde kdeenablefinal ldap lm_sensors mad midi mikmod mng mp3 mpeg mudflap ncurses
nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl png ppds
pppd python qt3 qt4 quicktime readline reflection sdl session smp spell spl ssl
svg tcpd theora threads truetype truetype-fonts type1-fonts unicode vorbis
xinerama xml xorg xpm xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
same thing happens with libXrender-0.9.2 and renderproto-0.9.3
with both versions at 0.9.2 I was able to emerge xorg-server again
(renderproto-0.9.3 is a dep of libXrender-0.9.4).
same problem here with xgl-0.0.1_pre20070918 from sabayon overlay
*** Bug 194341 has been marked as a duplicate of this bug. ***
(In reply to comment #15)
> *** Bug 194341 has been marked as a duplicate of this bug. ***
>
Please reconsider this. That bug is not a duplicate, but rather a new bug
caused by a fix for this bug.
Could someone please modify xorg-server-1.3.0.0-r?.ebuild to replace the
RDEPEND on x11-libs/libXrender with <x11-libs/libXrender-0.9.3 to match the
RDEPEND on <x11-proto/renderproto-0.9.3
Fixed in xorg-server-1.3.0.0-r2, thanks!
Hi,
I just synced and unmasked r2 and I get this
[ebuild UD] x11-proto/renderproto-0.9.2 [0.9.3]
[ebuild U ] x11-libs/libXrender-0.9.4 [0.9.2]
[ebuild U ] x11-base/xorg-server-1.3.0.0-r2 [1.3.0.0] VIDEO_CARDS="-fglrx%"
so I'm not sure this syncs the versions are requested.
I also confirm that the versions shown installed above work fine as reported by
Ken in his supposedly duped bug linked in #15. So it seems he's correct and
that was a new bug created by attempts to fix this one.
Thanks for you efforts Donnie. At least the latest sync cleaned up the twist in
the dep graph for those packages.
(In reply to comment #19)
> [ebuild UD] x11-proto/renderproto-0.9.2 [0.9.3]
> [ebuild U ] x11-libs/libXrender-0.9.4 [0.9.2]
> [ebuild U ] x11-base/xorg-server-1.3.0.0-r2 [1.3.0.0] VIDEO_CARDS="-fglrx%"
Nothing else I can do:
donnie@supernova xorg-server $ grep render xorg-server-1.3.0.0-r2.ebuild
<x11-libs/libXrender-0.9.3
<x11-proto/renderproto-0.9.3
Are you using portage or an alternative package manager?