My environment is a pkg_comp1 chroot, with NetBSD 7.0 inside. I use this to make sure all C++ programs are compiled with the same compiler: PKGSRC_COMPILER= gcc GCC_REQD+= 4.9 USE_PKGSRC_GCC= yes USE_PKGSRC_GCC_RUNTIME= yes When building devel/pango it fails in the configure stage as below. It (falsely) claims it can find neither FONTCONFIG nor CAIRO. This blocks 53 packages from my pkg_chk list, and who knows how many intermediate libraries. Script started on Tue Jul 10 22:00:05 2018 [...] => Full dependency pango>=1.42.1: NOT found => Verifying bin-install for ../../devel/pango ===> do-bin-install [pango-1.42.1 gtk2+-2.24.32nb4 aumix-gtk-2.9.1nb16] ===> Binary install for pango>=1.42.1 => Installing pango>=1.42.1 from /pkg_comp/packages/All pkg_add: no pkg found for 'pango>=1.42.1', sorry. pkg_add: 1 package addition failed => No binary package found for pango>=1.42.1; installing from source. => Bootstrap dependency digest>=20010302: found digest-20160304 ===> configure-message [pango-1.42.1 gtk2+-2.24.32nb4 aumix-gtk-2.9.1nb16] ===> Configuring for pango-1.42.1 => Generating pkg-config file for builtin expat package. => 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 portability problems in extracted files 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 make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for native Win32... no checking for x86_64--netbsd-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for x86_64--netbsd-c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for sysconf... yes checking for getpagesize... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep 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 for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory 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... no checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... NetBSD ld.elf_so checking how to hardcode library paths into programs... immediate configure: creating ./config.lt config.lt: creating libtool rm: libtoolT: No such file or directory checking for some Win32 platform... no checking pkg-config is at least version 0.9.0... yes checking for HARFBUZZ... yes checking for FONTCONFIG... no checking for CoreText availability... no checking for CAIRO... no configure: error: *** Could not enable any backends. *** Must have at least one backend to build Pango. *** Error code 1 Stop. make[5]: stopped in /usr/pkgsrc/devel/pango *** Error code 1 Stop. make[4]: stopped in /usr/pkgsrc/devel/pango *** Error code 1 Stop. make[3]: stopped in /usr/pkgsrc/devel/pango *** Error code 1 Stop. make[2]: stopped in /usr/pkgsrc/x11/gtk2 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/x11/gtk2 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/audio/aumix-gtk ===> su-do-clean [aumix-gtk-2.9.1nb16] ===> Cleaning for aumix-gtk-2.9.1nb16 PKG_COMP ==> Unmounting sandboxed filesystems Executing umount hooks. PKG_COMP ==> Build error summary Build failed for: audio/aumix-gtk PKG_COMP ==> Generating pkg_summary.tgz Script done on Tue Jul 10 22:00:28 2018 pkg_comp:gcc49-70.conf# pkg_info | grep 'fontconf\|cairo' fontconfig-2.13.0nb1 Library for configuring and customizing font access cairo-1.14.12nb1 Vector graphics library with cross-device output support cairo-gobject-1.14.12nb1 Vector graphics library with cross-device output support suse_fontconfig-13.1nb1 Linux compatibility package for fontconfig Any ideas? -Olaf. -- ___ Olaf 'Rhialto' Seibert -- Wayland: Those who don't understand X \X/ rhialto/at/falu.nl -- are condemned to reinvent it. Poorly.
Attachment:
signature.asc
Description: PGP signature