Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13600 closed defect (worksforme)

xrender 0.9.0 build fails: 'xRenderAddTrapsReq' undeclared (first use in this function)

Reported by: joizsi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: xrender Cc: ryandesign (Ryan Carsten Schmidt)
Port: xrender

Description (last modified by jmpp@…)

--->  Building xrender with target all
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
 /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

Change History (14)

comment:1 Changed 16 years ago by jmpp@…

Description: modified (diff)

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: xrender 0.9.0 build fails when building wine 0.9.51xrender 0.9.0 build fails: 'xRenderAddTrapsReq' undeclared (first use in this function)

What version of Mac OS X, Xcode and MacPorts do you have, and what architecture is your processor (Intel or PowerPC)? And do you have anything in /usr/local?

comment:3 in reply to:  2 Changed 16 years ago by joizsi@…

Replying to ryandesign@macports.org:

What version of Mac OS X, Xcode and MacPorts do you have, and what architecture is your processor (Intel or PowerPC)? And do you have anything in /usr/local?

Hello,
Mac OS X 10.4.6
Xcode 2.4.1
MacPorts 1.520
intel processor.

I linked /usr/local to /opt/local because problems with clamxav installation, maybe this the wrong thing?

Regards.

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Linking /usr/local to /opt/local is certainly not advisable. You should remove that symlink, then rebuild all the ports that are probably mislinked. (You'll probably start getting error messages for lots of software about libraries in /usr/local not being found; rebuild each such port foo with sudo port -ncuf upgrade foo as you find them.)

If you still have the same problem you had installing clamav, please file a bug for that as well so its maintainer can fix it.

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

No follow-up in over 2 months, and it looks like it was user error. Marking invalid.

comment:6 Changed 16 years ago by ulf.moehring@…

Resolution: invalid
Status: closedreopened

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

comment:7 Changed 16 years ago by ulf.moehring@…

Forgot to use code formatting:

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

comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: wine removed
Port: xrender added

This has been reported several times before over the years, in #11106, #10066 and #7785, and each time, the cause was installing MacPorts into /usr/local.

There is also a patch here which might be related. Though I think updating xrender to 0.10.x would be a better thing to investigate first; the patch is probably included there already.

comment:9 Changed 15 years ago by blb@…

Was there ever a consensus on this issue? Also, should this port list universal_variant no for now?

comment:10 in reply to:  9 Changed 15 years ago by blb@…

Replying to blb@…:

Was there ever a consensus on this issue? Also, should this port list universal_variant no for now?

Oops, ignore that, wrong ticket in this tab...

comment:11 in reply to:  8 Changed 15 years ago by blb@…

Replying to ryandesign@…:

There is also a patch here which might be related. Though I think updating xrender to 0.10.x would be a better thing to investigate first; the patch is probably included there already.

Where are you seeing 0.10? I 0.9.4 but that's the latest I've found.

comment:12 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

You're right, 0.9.4 is the latest. There was confusion because 0.10 is the version of the render protocol that xrender 0.9.4 implements.

comment:13 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: reopenedclosed

xrender has been updated to 0.9.4. Please "sudo port sync" to update your portfiles, then try installing or upgrading to xrender 0.9.4, and re-open the ticket if the problem persists.

comment:14 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.