NetBSD-Users archive

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

Unable to build modular-xorg-server



Hi,

modular-xorg-server build fails with pkgsrc-current. I've added
X11_TYPE=modular in /etc/mk.conf.

Please find the log below -

Script started on Sat Feb  5 17:55:11 2011
> Dave# cd /usrcd
> /usr/pkgsrc/x11/modular-xorg-server
>
> Dave# bmake install clean
>
> => 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 xorg-server-1.6.5.tar.bz2
>
> => Checksum RMD160 OK for xorg-server-1.6.5.tar.bz2
>
> ===> Installing dependencies for modular-xorg-server-1.6.5nb9
>
> ==========================================================================
>
> The supported build options for modular-xorg-server are:
>
>
>
>     debug dri inet6
>
>
>
> The currently selected options are:
>
>
>
>     dri
>
>
>
> You can select which build options to use by setting PKG_DEFAULT_OPTIONS
>
> or the following variable.  Its current value is shown:
>
>
>
>     PKG_OPTIONS.modular-xorg-server (not defined)
>
>
>
> ==========================================================================
>
> ==========================================================================
>
> The following variables will affect the build process of this package,
>
> modular-xorg-server-1.6.5nb9.  Their current value is shown below:
>
>
>
>         * SSLBASE = /usr
>
>         * SSLCERTS = /etc/openssl/certs
>
>         * SSLDIR = /etc/openssl
>
>         * SSLKEYS = /etc/openssl/private
>
>         * VARBASE = /var
>
>
>
> Based on these variables, the following variables have been set:
>
>
>
>         * XKB_OUTPUT_DIR = /var/db/xkb
>
>
>
> You may want to abort the process now with CTRL-C and change their value
>
> before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
>
> the changes.
>
> ==========================================================================
>
> => Build dependency libtool-base>=2.2.6bnb3: found libtool-base-2.2.6bnb4
>
> => Build dependency gmake>=3.81: found gmake-3.82nb1
>
> => Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
>
> => Build dependency x11-links>=0.64: found x11-links-0.64
>
> => Build dependency xf86dgaproto>=2.1: found xf86dgaproto-2.1
>
> => Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3
>
> => Full dependency xkbcomp-[0-9]*: found xkbcomp-1.1.1
>
> => Full dependency xkeyboard-config-[0-9]*: found xkeyboard-config-2.0
>
> => Full dependency MesaLib>=7.1.0: found MesaLib-7.4.4nb3
>
> => Full dependency libXext>=1.1.1: NOT found
>
> => Verifying reinstall for ../../x11/libXext
>
> => 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'.
>
> ===> Configuring for libXext-1.1.1
>
> => 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
>
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g
> wheel
>
> checking whether build environment is sane... yes
>
> checking for a thread-safe mkdir -p... ./install-sh -c -d
>
> checking for gawk... /usr/bin/awk
>
> checking whether make sets $(MAKE)... yes
>
> checking whether to enable maintainer-specific portions of Makefiles... no
>
> checking build system type... x86_64--netbsd
>
> checking host system type... x86_64--netbsd
>
> checking for style of include used by make... GNU
>
> checking for x86_64--netbsd-gcc... cc
>
> 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 cc accepts -g... yes
>
> checking for cc option to accept ISO C89... none needed
>
> checking dependency style of cc... gcc3
>
> checking for a sed that does not truncate output...
> /usr/pkgsrc/x11/libXext/work/.tools/bin/sed
>
> checking for grep that handles long lines and -e... (cached) /usr/bin/grep
>
> checking for egrep... (cached) /usr/bin/egrep
>
> checking for ld used by cc... /usr/pkgsrc/x11/libXext/work/.wrapper/bin/ld
>
> checking if the linker (/usr/pkgsrc/x11/libXext/work/.wrapper/bin/ld) is
> GNU ld... yes
>
> checking for /usr/pkgsrc/x11/libXext/work/.wrapper/bin/ld option to reload
> object files... -r
>
> checking for BSD-compatible nm... /usr/bin/nm -B
>
> checking whether ln -s works... yes
>
> checking how to recognize 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 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 x86_64--netbsd-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 /usr/bin/nm -B output from cc object... ok
>
> checking for objdir... .libs
>
> checking for x86_64--netbsd-ar... no
>
> checking for ar... ar
>
> checking for x86_64--netbsd-ranlib... no
>
> checking for ranlib... ranlib
>
> checking for x86_64--netbsd-strip... no
>
> checking for strip... strip
>
> 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 static flag -static works... yes
>
> checking if cc supports -c -o file.o... yes
>
> checking whether the cc linker
> (/usr/pkgsrc/x11/libXext/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/libXext/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++ static flag  works... no
>
> checking if c++ supports -c -o file.o... no
>
> checking whether the c++ linker
> (/usr/pkgsrc/x11/libXext/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
>
> (cached) (cached) checking how to hardcode library paths into programs...
> unsupported
>
> 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 static flag -static works... no
>
> checking if f77 supports -c -o file.o... no
>
> checking whether the f77 linker
> (/usr/pkgsrc/x11/libXext/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.
>
> NetBSD ld.elf_so
>
> (cached) (cached) checking how to hardcode library paths into programs...
> immediate
>
> checking for x86_64--netbsd-gcc... (cached) cc
>
> checking whether we are using the GNU C compiler... (cached) yes
>
> checking whether cc accepts -g... (cached) yes
>
> checking for cc option to accept ISO C89... (cached) none needed
>
> checking dependency style of cc... (cached) gcc3
>
> checking for cc option to accept ISO C99... -std=gnu99
>
> checking pkg-config is at least version 0.9.0... yes
>
> checking for XEXT... configure: error: Package requirements (xproto >=
> 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2) were not met:
>
>
>
> Requested 'xextproto >= 7.0.99.2' but version of XExtProto is 7.0.5
>
>
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>
> installed software in a non-standard prefix.
>
>
>
> Alternatively, you may set the environment variables XEXT_CFLAGS
>
> and XEXT_LIBS to avoid the need to call pkg-config.
>
> See the pkg-config man page for more details.
>
>
>
> *** Error code 1
>
>
>
> Stop.
>
> bmake: stopped in /usr/pkgsrc/x11/libXext
>
> WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
> Makefile.
>
> WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package
> Makefile.
>
> *** Error code 1
>
>
>
> Stop.
>
> bmake: stopped in /usr/pkgsrc/x11/libXext
>
> *** Error code 1
>
>
>
> Stop.
>
> bmake: stopped in /usr/pkgsrc/x11/modular-xorg-server
>

Please let me know how to complete this build.

best,

dave


Home | Main Index | Thread Index | Old Index