Subject: pkg/37460: fonts/libfontenc fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: David H. Gutteridge <dhgutteridge@sympatico.ca>
List: pkgsrc-bugs
Date: 12/02/2007 04:55:00
>Number: 37460
>Category: pkg
>Synopsis: fonts/libfontenc fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 02 04:55:00 +0000 2007
>Originator: David H. Gutteridge
>Release: NetBSD 4.0RC5
>Organization:
>Environment:
System: NetBSD arcusv.nonus-porta.net 4.0_RC5 NetBSD 4.0_RC5 (GENERIC) #0:
Wed Nov 28 13:53:06 PST 2007
builds@wb30:/home/builds/ab/netbsd-4-0-RC5/macppc/200711280522Z-obj/home/builds/ab/netbsd-4-0-RC5/src/sys/arch/macppc/compile/GENERIC
macppc
Architecture: powerpc
Machine: macppc
>Description:
Hello,
The fonts/libfontenc package is failing to compile for me. I've
attached the configure output below. It looks like it thinks it
doesn't have the x11/xproto package installed. I checked and it
appears the package didn't get built automatically, so I manually
added it, but that didn't fix the problem.
Regards,
Dave
=> Returning to build of mkfontscale-1.0.3
=> Full dependency freetype2>=2.1.10nb1: found freetype2-2.3.5
=> Full dependency libfontenc>=0.99: NOT found
=> Verifying reinstall for ../../fonts/libfontenc
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Checking for vulnerabilities in libfontenc-1.0.4
=> Fetching libfontenc-1.0.4.tar.bz2
=> Total size: 224063 bytes
Requesting
http://xorg.freedesktop.org/releases/individual/lib/libfontenc-1.0.4.tar.bz2
100%
|**************************************************************************************************************************************|
218 KB 311.02 KB/s 00:00 ETA
224063 bytes retrieved in 00:00 (310.30 KB/s)
=> Checksum SHA1 OK for libfontenc-1.0.4.tar.bz2
=> Checksum RMD160 OK for libfontenc-1.0.4.tar.bz2
===> Installing dependencies for libfontenc-1.0.4
=> Build dependency libtool-base>=1.5.18nb5: found libtool-base-1.5.24nb5
=> Build dependency pkg-config>=0.19: found pkg-config-0.22
===> Overriding tools for libfontenc-1.0.4
===> Extracting for libfontenc-1.0.4
===> Patching for libfontenc-1.0.4
===> Creating toolchain wrappers for libfontenc-1.0.4
===> Configuring for libfontenc-1.0.4
=> 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.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
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 for powerpc--netbsd-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking if xorg-macros used to generate configure is at least 1.1... yes,
1.1.3
checking for powerpc--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 for style of include used by make... GNU
checking dependency style of cc... gcc3
checking build system type... powerpc-unknown-netbsd4.0.
checking host system type... powerpc--netbsd
checking for a sed that does not truncate output...
/usr/pkgsrc/fonts/libfontenc/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/fonts/libfontenc/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/fonts/libfontenc/work/.wrapper/bin/ld)
is GNU ld... yes
checking for /usr/pkgsrc/fonts/libfontenc/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 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 powerpc--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 nm output from cc object... ok
checking for objdir... .libs
checking for powerpc--netbsd-ar... no
checking for ar... ar
checking for powerpc--netbsd-ranlib... no
checking for ranlib... ranlib
checking for powerpc--netbsd-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/fonts/libfontenc/work/.wrapper/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
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/fonts/libfontenc/work/.wrapper/bin/ld) supports shared
libraries... ERROR: To use this compiler, you have to add c++ to
ERROR: 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/fonts/libfontenc/work/.wrapper/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... ERROR: To use this compiler, you
have to add c++ to
ERROR: USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
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/fonts/libfontenc/work/.wrapper/bin/ld) supports shared
libraries... ERROR: To use this compiler, you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
yes
checking dynamic linker characteristics... ERROR: To use this compiler, you
have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
ERROR: To use this compiler, you have to add fortran to
ERROR: USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for gzclose in -lz... yes
checking pkg-config is at least version 0.9.0... yes
checking for FONTENC... configure: error: Package requirements (xproto) were
not met:
No package 'xproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FONTENC_CFLAGS
and FONTENC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/fonts/libfontenc
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.
make: stopped in /usr/pkgsrc/fonts/libfontenc
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/fonts/mkfontscale
>How-To-Repeat:
Try to build fonts/libfontenc on NetBSD 4.0.
>Fix:
Unknown.
>Unformatted: