pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45484: x11/Xfixes fails on build



>Number:         45484
>Category:       pkg
>Synopsis:       x11/Xfixes fails on build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 18 16:20:04 +0000 2011
>Originator:     diro%nixsyspaus.org@localhost
>Release:        NetBSD 5.1.0_PATCH
>Organization:
>Environment:
NetBSD themobe.lan 5.1.0_PATCH NetBSD 5.1.0_PATCH (THEMOBE2) #0: Tue Oct 18
13:33:37 UTC 2011  
root%themobe.lan@localhost:/usr/obj/sys/arch/i386/compile/THEMOBE2 i386
Architecture: i386
Machine: i386
>Description:
        
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for libXfixes-2.0.1.tar.bz2
=> Checksum RMD160 OK for libXfixes-2.0.1.tar.bz2
===> Installing dependencies for Xfixes-2.0.1nb5
=> Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb5
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency x11-links>=0.66: found x11-links-0.68
=> Build dependency fixesproto>=3.0.0: found fixesproto-4.0
=> Build dependency xextproto>=7.0: found xextproto-7.1.2
=> Build dependency inputproto>=1.4: found inputproto-2.0
=> Build dependency xproto>=7.0.9: found xproto-7.0.18
===> Overriding tools for Xfixes-2.0.1nb5
===> Extracting for Xfixes-2.0.1nb5
===> Patching for Xfixes-2.0.1nb5
===> Creating toolchain wrappers for Xfixes-2.0.1nb5
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  
dst=/usr/pkgsrc/x11/Xfixes/work/.buildlink/lib/pkgconfig/fixesext.pc;  
/bin/mkdir -p /usr/pkgsrc/x11/Xfixes/work/.buildlink/lib/pkgconfig;  if test -f 
${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for Xfixes-2.0.1nb5
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output... 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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking build system type... i386--netbsdelf
checking host system type... i386--netbsdelf
checking for a sed that does not truncate output... 
/usr/pkgsrc/x11/Xfixes/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld) is GNU 
ld... yes
checking for /usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld option to reload 
object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern 
/lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -E
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 for i386--netbsdelf-g++... c++
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking how to run the C++ preprocessor... cpp
checking for i386--netbsdelf-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for i386--netbsdelf-ar... no
checking for ar... ar
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for i386--netbsdelf-strip... no
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld) 
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... NetBSD ld.elf_so
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 whether the c++ linker (/usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld) 
supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ 
compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for c++ option to produce PIC... 
checking if c++ supports -c -o file.o... no
checking whether the c++ linker (/usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying 
to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/pkgsrc/x11/Xfixes/work/.wrapper/bin/ld) 
supports shared libraries... PKGSRC-WARNING: Something is trying to run the 
fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying 
to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for x11... checking for X... libraries /usr/X11R7/lib, headers 
/usr/X11R7/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XTHREADS in Xlib... yes
checking for fixesext >= 2.0... yes
checking FIXESEXT_CFLAGS... -I/usr/pkg/include  
checking FIXESEXT_LIBS...  
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xfixes.pc
config.status: creating config.h
config.status: executing depfiles commands
=> Modifying libtool scripts to use pkgsrc libtool
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
===> Building for Xfixes-2.0.1nb5
/usr/pkg/bin/bmake  all-am
if /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.    
-I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R7/include -DXTHREADS -O2 
-I/usr/pkg/include -MT Cursor.lo -MD -MP -MF ".deps/Cursor.Tpo"  -c -o 
Cursor.lo `test -f 'Cursor.c' || echo './'`Cursor.c;  then mv -f 
".deps/Cursor.Tpo" ".deps/Cursor.Plo";  else rm -f ".deps/Cursor.Tpo"; exit 1;  
fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. 
-I/usr/pkgsrc/x11/Xfixes/work/.buildlink/include 
-I/usr/pkgsrc/x11/Xfixes/work/.x11-buildlink/include -DXTHREADS -O2 -MT 
Cursor.lo -MD -MP -MF .deps/Cursor.Tpo -c Cursor.c  -fPIC -DPIC -o 
.libs/Cursor.o
In file included from Cursor.c:25:
Xfixesint.h:31:22: error: X11/Xlib.h: No such file or directory
Xfixesint.h:32:25: error: X11/Xlibint.h: No such file or directory
Xfixesint.h:33:23: error: X11/Xutil.h: No such file or directory
In file included from Xfixesint.h:34,
                 from Cursor.c:25:
Xfixes.h:35: error: expected specifier-qualifier-list before 'Bool'
Xfixes.h:48: error: expected specifier-qualifier-list before 'Bool'
Xfixes.h:64: error: expected specifier-qualifier-list before 'Atom'
Xfixes.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XserverRegion'
Xfixes.h:80: error: expected specifier-qualifier-list before 'Atom'
Xfixes.h:88: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesQueryExtension'
Xfixes.h:89: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesQueryVersion'
Xfixes.h:94: error: expected ')' before '*' token
Xfixes.h:101: error: expected ')' before '*' token
Xfixes.h:107: error: expected ')' before '*' token
Xfixes.h:112: error: expected ')' before '*' token
Xfixes.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesCreateRegion'
Xfixes.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesCreateRegionFromBitmap'
Xfixes.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesCreateRegionFromWindow'
Xfixes.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesCreateRegionFromGC'
Xfixes.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'XFixesCreateRegionFromPicture'
Xfixes.h:133: error: expected ')' before '*' token
Xfixes.h:136: error: expected ')' before '*' token
Xfixes.h:140: error: expected ')' before '*' token
Xfixes.h:143: error: expected ')' before '*' token
Xfixes.h:147: error: expected ')' before '*' token
Xfixes.h:151: error: expected ')' before '*' token
Xfixes.h:155: error: expected ')' before '*' token
Xfixes.h:159: error: expected ')' before '*' token
Xfixes.h:162: error: expected ')' before '*' token
Xfixes.h:164: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'*' token
Xfixes.h:168: error: expected ')' before '*' token
Xfixes.h:173: error: expected ')' before '*' token
Xfixes.h:177: error: expected ')' before '*' token
Xfixes.h:182: error: expected ')' before '*' token
Xfixes.h:185: error: expected ')' before '*' token
Xfixes.h:188: error: expected ')' before '*' token
Xfixes.h:191: error: expected ')' before '*' token
In file included from Xfixesint.h:35,
                 from Cursor.c:25:
/usr/pkgsrc/x11/Xfixes/work/.buildlink/include/X11/extensions/xfixesproto.h:51:34:
 error: X11/extensions/shape.h: No such file or directory
In file included from Cursor.c:25:
Xfixesint.h:41: error: expected specifier-qualifier-list before 'Display'
Xfixesint.h:58: error: expected ')' before '*' token
Cursor.c:28: error: expected ')' before '*' token
Cursor.c:48: error: expected ')' before '*' token
Cursor.c:120: error: expected ')' before '*' token
Cursor.c:142: error: expected ')' before '*' token
Cursor.c:177: error: expected ')' before '*' token
Cursor.c:196: error: expected ')' before '*' token
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes/work/libXfixes-2.0.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes/work/libXfixes-2.0.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes
>How-To-Repeat:
        cd pkgsrc/x11/Xfixes; bmake; # pkgsrc-2011Q3
>Fix:
Add:
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"

to the Makefile



Home | Main Index | Thread Index | Old Index