[MacPorts] #13600: xrender 0.9.0 build fails: 'xRenderAddTrapsReq' undeclared (first use in this function)
MacPorts
trac at macosforge.org
Thu Mar 20 21:22:36 PDT 2008
#13600: xrender 0.9.0 build fails: 'xRenderAddTrapsReq' undeclared (first use in
this function)
-----------------------------+----------------------------------------------
Reporter: joizsi at ono.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: reopened
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Resolution: | Keywords: xrender wine
-----------------------------+----------------------------------------------
Changes (by ulf.moehring at mac.com):
* status: closed => reopened
* resolution: invalid =>
Comment:
I tried to upgrade to the current version of xrender and get the same
error. No weird links here. I'm on OSX 10.4.11, Core2 Duo, MacPorts 1.600,
and X11 1.1.3 / XFree86 4.4.0 (Apple's version).
Here's the debug output:
--
DEBUG: xrender 0.9.0_2 exists in the ports tree
DEBUG: xrender 0.9.0_1 is installed
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: XFree86 is *not* installed by MacPorts
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Requested variant i386 is not provided by port XFree86.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant macosx provides macosx
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: XFree86 installed outside the MacPorts system
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: XFree86 4.7.0_0 exists in the ports tree
DEBUG: XFree86 4.7.0_0 is installed
DEBUG: Not following dependencies
DEBUG: No need to upgrade! XFree86 4.7.0_0 >= XFree86 4.7.0_0
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/render
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: render 0.9_1 exists in the ports tree
DEBUG: render 0.9_1 is installed
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.23_0 exists in the ports tree
DEBUG: pkgconfig 0.23_0 is installed
DEBUG: No need to upgrade! pkgconfig 0.23_0 >= pkgconfig 0.23_0
DEBUG: No need to upgrade! render 0.9_1 >= render 0.9_1
DEBUG: variants to install {} darwin_8
DEBUG: available variants are : universal
DEBUG: new portvariants: darwin_8 +
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xrender
DEBUG: Requested variant darwin_8 is not provided by port xrender.
DEBUG: Requested variant darwin is not provided by port xrender.
DEBUG: Requested variant i386 is not provided by port xrender.
DEBUG: Requested variant macosx is not provided by port xrender.
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/render
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/render
DEBUG: Requested variant darwin_8 is not provided by port render.
DEBUG: Requested variant darwin is not provided by port render.
DEBUG: Requested variant i386 is not provided by port render.
DEBUG: Requested variant macosx is not provided by port render.
DEBUG: Searching for dependency: render
DEBUG: Found Dependency: receipt exists for render
DEBUG: Executing org.macports.main (xrender)
---> Fetching xrender
DEBUG: Executing org.macports.fetch (xrender)
---> Verifying checksum(s) for xrender
DEBUG: Executing org.macports.checksum (xrender)
---> Checksumming libXrender-0.9.0.tar.bz2
DEBUG: Correct (md5) checksum for libXrender-0.9.0.tar.bz2
DEBUG: Correct (sha1) checksum for libXrender-0.9.0.tar.bz2
DEBUG: Correct (rmd160) checksum for libXrender-0.9.0.tar.bz2
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
---> Extracting xrender
DEBUG: Executing org.macports.extract (xrender)
---> Extracting libXrender-0.9.0.tar.bz2
DEBUG: setting option extract.args to
/opt/local/var/macports/distfiles/xrender/libXrender-0.9.0.tar.bz2
DEBUG: Environment:
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xrender/work"
&& /opt/local/bin/bzip2 -dc
/opt/local/var/macports/distfiles/xrender/libXrender-0.9.0.tar.bz2 |
/usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (xrender)
DEBUG: Executing proc-post-org.macports.patch-patch-0
---> Configuring xrender
DEBUG: Executing org.macports.configure (xrender)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include'
CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0'
F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2'
OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2'
FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xrender/work/libXrender-0.9.0"
&& ./configure --prefix=/opt/local'
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking build system type... i686-apple-darwin8.11.1
checking host system type... i686-apple-darwin8.11.1
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for egrep... grep -E
checking for ld used by /usr/bin/gcc-4.0... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/g++-4.0 accepts -g... yes
checking dependency style of /usr/bin/g++-4.0... gcc3
checking how to run the C++ preprocessor... /usr/bin/g++-4.0 -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from /usr/bin/gcc-4.0
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /usr/bin/gcc-4.0 static flag works... yes
checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common
checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++-4.0... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/bin/ld) supports shared
libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X_CFLAGS...
checking for X_LIBS...
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XTHREADS in Xlib... yes
checking for RENDER_CFLAGS... -I/opt/local/include
checking for RENDER_LIBS...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xrender.pc
config.status: creating config.h
config.status: executing depfiles commands
---> Building xrender with target all
DEBUG: Executing org.macports.build (xrender)
DEBUG: Environment:
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xrender/work/libXrender-0.9.0"
&& make all'
make all-am
if /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
-I. -I. -I/opt/local/include -I/opt/local/include -I/usr/X11R6/include
-DXTHREADS -O2 -MT AddTrap.lo -MD -MP -MF ".deps/AddTrap.Tpo" \
-c -o AddTrap.lo `test -f 'AddTrap.c' || echo './'`AddTrap.c; \
then mv -f ".deps/AddTrap.Tpo" ".deps/AddTrap.Plo"; \
else rm -f ".deps/AddTrap.Tpo"; exit 1; \
fi
mkdir .libs
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include
-I/opt/local/include -I/usr/X11R6/include -DXTHREADS -O2 -MT AddTrap.lo
-MD -MP -MF .deps/AddTrap.Tpo -c AddTrap.c -fno-common -DPIC -o
.libs/AddTrap.o
AddTrap.c: In function 'XRenderAddTraps':
AddTrap.c:38: error: 'xRenderAddTrapsReq' undeclared (first use in this
function)
AddTrap.c:38: error: (Each undeclared identifier is reported only once
AddTrap.c:38: error: for each function it appears in.)
AddTrap.c:38: error: 'req' undeclared (first use in this function)
AddTrap.c:47: error: 'sz_xRenderAddTrapsReq' undeclared (first use in this
function)
AddTrap.c:47: error: parse error before ')' token
AddTrap.c:47: error: 'X_RenderAddTraps' undeclared (first use in this
function)
AddTrap.c:54: error: 'sz_xTrap' undeclared (first use in this function)
make[1]: *** [AddTrap.lo] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xrender/work/libXrender-0.9.0"
&& make all " returned error 2
Command output: make all-am
if /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
-I. -I. -I/opt/local/include -I/opt/local/include -I/usr/X11R6/include
-DXTHREADS -O2 -MT AddTrap.lo -MD -MP -MF ".deps/AddTrap.Tpo" \
-c -o AddTrap.lo `test -f 'AddTrap.c' || echo './'`AddTrap.c; \
then mv -f ".deps/AddTrap.Tpo" ".deps/AddTrap.Plo"; \
else rm -f ".deps/AddTrap.Tpo"; exit 1; \
fi
mkdir .libs
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include
-I/opt/local/include -I/usr/X11R6/include -DXTHREADS -O2 -MT AddTrap.lo
-MD -MP -MF .deps/AddTrap.Tpo -c AddTrap.c -fno-common -DPIC -o
.libs/AddTrap.o
AddTrap.c: In function 'XRenderAddTraps':
AddTrap.c:38: error: 'xRenderAddTrapsReq' undeclared (first use in this
function)
AddTrap.c:38: error: (Each undeclared identifier is reported only once
AddTrap.c:38: error: for each function it appears in.)
AddTrap.c:38: error: 'req' undeclared (first use in this function)
AddTrap.c:47: error: 'sz_xRenderAddTrapsReq' undeclared (first use in this
function)
AddTrap.c:47: error: parse error before ')' token
AddTrap.c:47: error: 'X_RenderAddTraps' undeclared (first use in this
function)
AddTrap.c:54: error: 'sz_xTrap' undeclared (first use in this function)
make[1]: *** [AddTrap.lo] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for xrender):
org.macports.destroot org.macports.build
DEBUG: Registry error: XFree86 not registered as installed.
invoked from within
"registry_installed ${portname}"
invoked from within
"$workername eval registry_installed \${portname}"
Error: Unable to upgrade port: 1
--
Thanks,
Ulf
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13600#comment:6>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list