Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80977 - waimea 0.5.0_pre040506 compilation failure (`XRenderQueryExtension' undeclared)
Summary: waimea 0.5.0_pre040506 compilation failure (`XRenderQueryExtension' undeclared)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 06:12 UTC by Daniel Seyffer
Modified: 2005-04-06 07:22 UTC (History)
1 user (show)

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


Attachments
Patch for waimea to compile. (waimea-0.5.0-includes.patch,1.31 KB, patch)
2005-03-24 18:54 UTC, Francisco José Cañizares Santofimia
Details | Diff
Patch against current ebuild in portage for developer reference. (waimea-0.5.0_pre040506.ebuild.patch,748 bytes, patch)
2005-03-24 18:57 UTC, Francisco José Cañizares Santofimia
Details | Diff
Ebuild with patch applied. (waimea-0.5.0_pre040506-r1.ebuild,1.39 KB, text/plain)
2005-03-24 18:59 UTC, Francisco José Cañizares Santofimia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Seyffer 2005-02-06 06:12:20 UTC
Hi,

I am trying to compile waimea on an old laptop but compilation fails with the error message pasted below. Below distcc is enabled but set to localhost only. I tried with and without distcc enabled...

xorg was x11-base/xorg-x11-6.8.1.902 but i just upgraded to 904 and will give it another try - the system is a P166MMX...! ;-(

emerge waimea
[...]
if i586-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DWAIMEA_PATH=\"/usr/share/waimea\" -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libpng12      -I/usr/X11R6/include -DSHAPE  -DRANDR -DPNG -I/usr/include/libpng12    -DXCURSOR      -march=pentium-mmx -Os -pipe -fstack-protector -fomit-frame-pointer -MT Resources.o -MD -MP -MF ".deps/Resources.Tpo" \
  -c -o Resources.o `test -f 'Resources.cc' || echo './'`Resources.cc; \
then mv -f ".deps/Resources.Tpo" ".deps/Resources.Po"; \
else rm -f ".deps/Resources.Tpo"; exit 1; \
fi
Waimea.cc: In constructor `Waimea::Waimea(char**, char**)':
Waimea.cc:198: error: `XRenderQueryExtension' undeclared (first use this function)
Waimea.cc:198: error: (Each undeclared identifier is reported only once for each function it appears in.)
Waimea.cc:200: error: `XRenderQueryVersion' undeclared (first use this function)
distcc[11411] ERROR: compile Waimea.cc on localhost failed
make[2]: *** [Waimea.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Screen.cc: In member function `Visual* WaScreen::findARGBVisual()':
Screen.cc:336: error: `XRenderPictFormat' undeclared (first use this function)
Screen.cc:336: error: (Each undeclared identifier is reported only once for each function it appears in.)
Screen.cc:336: error: `format' undeclared (first use this function)
Screen.cc:350: error: `XRenderFindVisualFormat' undeclared (first use this function)
Screen.cc:351: error: `PictTypeDirect' undeclared (first use this function)
Screen.cc: In member function `WaSurface* WaScreen::rgbaToWaSurface(unsigned char*, unsigned int, unsigned int)':
Screen.cc:1547: error: `cairo_xlib_surface_create' undeclared (first use this function)
distcc[11413] ERROR: compile Screen.cc on localhost failed
make[2]: *** [Screen.o] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/waimea-0.5.0_pre040506/work/waimea-0.5.0'
make: *** [all] Error 2

!!! ERROR: x11-wm/waimea-0.5.0_pre040506 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge waimea
2.
3.




emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-rc1 i586)
=================================================================
System uname: 2.6.11-rc1 i586 Pentium MMX
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 14 2005, 06:34:33)]
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-mmx -Os -pipe -fstack-protector -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-mmx -Os -pipe -fstack-protector -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts crypt cups dga
divx4linux encode exif f77 fbcon font-server foomaticdb fortran gdbm gif gphoto2
gpm gtk gtk2 hbci icq imagemagick imap imlib ipv6 irda javascript jce jpeg
libg++ libwww mad maildir mikmod mmx motif moznoirc mozsvg mpeg ncurses nls ntpl
oggvorbis opengl oss pam pcmcia pdflib perl pic pie png pnp ppds python qt
quicktime readline real sdl spell ssl svga tcpd tiff truetype truetype-fonts
type1-fonts userlocales xine xml2 xmms xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Daniel Seyffer 2005-02-06 06:26:49 UTC
same with xorg .904
Comment 2 Francisco José Cañizares Santofimia 2005-03-24 18:54:14 UTC
Created attachment 54402 [details, diff]
Patch for waimea to compile.

This is the patch you need to include in ${FILESDIR} for the ebuild to compile.
Comment 3 Francisco José Cañizares Santofimia 2005-03-24 18:57:26 UTC
Created attachment 54403 [details, diff]
Patch against current ebuild in portage for developer reference.

This portage is just for developers reference.
This is, is not needed to compile waimea.
If you want to compile waimea please use the provided ebuild.
Comment 4 Francisco José Cañizares Santofimia 2005-03-24 18:59:45 UTC
Created attachment 54404 [details]
Ebuild with patch applied.

This is simply an ebuild that applies the patch provided.
You need to put the patch provided in comment #2 into ${FILESDIR}, this is,
into x11-wm/waimea/files

Please try it, and confirm it compiles, thanks :-)
Comment 5 Daniel Seyffer 2005-04-03 04:46:45 UTC
Hi,

sorry for reporting back so late...
Your patch worked fine. Waimea compiled and installed fine now.

Thanks a lot! And please add an updated ebuild to CVS. ;-)
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-04-06 07:22:40 UTC
Thanks for the patch, Francisco. Actually, the patch is needed when
you use >=cairo-0.3 (<=cairo-0.2-r1 doesn't need it).
I modified the ebuild to apply it only if you have >=cairo-0.3
is installed. Hope this solves the problem.