=> Bootstrap dependency digest>=20010302: found digest-20121220 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for xorg-server-1.12.4.tar.bz2 => Checksum RMD160 OK for xorg-server-1.12.4.tar.bz2 ===> Installing dependencies for modular-xorg-server-1.12.4nb5 ========================================================================== The supported build options for modular-xorg-server are: debug dri dtrace inet6 The currently selected options are: dri inet6 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.12.4nb5. 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/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb9 => Tool dependency gmake>=3.81: found gmake-4.1nb1 => Tool dependency pkg-config>=0.25: found pkg-config-0.28 => Tool dependency checkperms>=1.1: found checkperms-1.11 => Build dependency tradcpp-[0-9]*: found tradcpp-0.4 => Build dependency x11-links>=0.91: found x11-links-0.91 => Build dependency cwrappers>=20141129: found cwrappers-20141129 => Full dependency xkbcomp-[0-9]*: found xkbcomp-1.3.0 => Full dependency xkeyboard-config-[0-9]*: found xkeyboard-config-2.13 ===> Overriding tools for modular-xorg-server-1.12.4nb5 ===> Extracting for modular-xorg-server-1.12.4nb5 ===> Patching for modular-xorg-server-1.12.4nb5 => Applying pkgsrc patches for modular-xorg-server-1.12.4nb5 => Verifying /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-configure => Applying pkgsrc patch /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2012/03/13 14:13:52 fhajny Exp $ | |Allow x86_64 as a SunOS arch. |--- configure.orig 2009-10-12 05:04:15.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 27102 (offset 8809 lines). done => Verifying /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-dix_dixfonts.c => Applying pkgsrc patch /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-dix_dixfonts.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-dix_dixfonts.c,v 1.1 2013/10/08 20:33:54 wiz Exp $ | |Fix CVE-2013-4396. | |From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001 |From: Alan Coopersmith |Date: Mon, 16 Sep 2013 21:47:16 -0700 |Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText() | |Save a pointer to the passed in closure structure before copying it |and overwriting the *c pointer to point to our copy instead of the |original. If we hit an error, once we free(c), reset c to point to |the original structure before jumping to the cleanup code that |references *c. | |Since one of the errors being checked for is whether the server was |able to malloc(c->nChars * itemSize), the client can potentially pass |a number of characters chosen to cause the malloc to fail and the |error path to be taken, resulting in the read from freed memory. | |Since the memory is accessed almost immediately afterwards, and the |X server is mostly single threaded, the odds of the free memory having |invalid contents are low with most malloc implementations when not using |memory debugging features, but some allocators will definitely overwrite |the memory there, leading to a likely crash. | |Reported-by: Pedro Ribeiro |Signed-off-by: Alan Coopersmith |Reviewed-by: Julien Cristau |--- | dix/dixfonts.c | 5 +++++ | 1 file changed, 5 insertions(+) | |--- dix/dixfonts.c.orig 2012-05-17 17:09:01.000000000 +0000 |+++ dix/dixfonts.c -------------------------- Patching file dix/dixfonts.c using Plan A... Hunk #1 succeeded at 1414. Hunk #2 succeeded at 1426. Hunk #3 succeeded at 1444. Hunk #4 succeeded at 1457. done => Verifying /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-hw_xfree86_common_compiler.h => Applying pkgsrc patch /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-hw_xfree86_common_compiler.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_xfree86_common_compiler.h,v 1.1 2013/05/21 18:38:03 joerg Exp $ | |--- hw/xfree86/common/compiler.h.orig 2013-05-21 17:33:57.000000000 +0000 |+++ hw/xfree86/common/compiler.h -------------------------- Patching file hw/xfree86/common/compiler.h using Plan A... Hunk #1 succeeded at 1392. Hunk #2 succeeded at 1420. Hunk #3 succeeded at 1429. done => Verifying /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-hw_xfree86_os-support_xf86__OSlib.h => Applying pkgsrc patch /bulk-data/pkgsrc/x11/modular-xorg-server/patches/patch-hw_xfree86_os-support_xf86__OSlib.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_xfree86_os-support_xf86__OSlib.h,v 1.1 2013/05/18 08:29:04 obache Exp $ | |* treat DragonFly same as newer FreeBSD. | |--- hw/xfree86/os-support/xf86_OSlib.h.orig 2012-05-17 17:09:03.000000000 +0000 |+++ hw/xfree86/os-support/xf86_OSlib.h -------------------------- Patching file hw/xfree86/os-support/xf86_OSlib.h using Plan A... Hunk #1 succeeded at 277. done ===> Creating toolchain wrappers for modular-xorg-server-1.12.4nb5 src=/usr/X11R7/lib/pkgconfig/fixesproto.pc dst=/scratch/x11/modular-xorg-server/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /scratch/x11/modular-xorg-server/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi src=/usr/X11R7/lib/pkgconfig/compositeproto.pc dst=/scratch/x11/modular-xorg-server/work/.buildlink/lib/pkgconfig/compositeext.pc; /bin/mkdir -p /scratch/x11/modular-xorg-server/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for modular-xorg-server-1.12.4nb5 => 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 portability problems in extracted files checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users 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 for style of include used by make... GNU checking for powerpc--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 dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -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 whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... powerpc--netbsd checking host system type... powerpc--netbsd checking for a sed that does not truncate output... /usr/bin/sed checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no checking if gcc -std=gnu99 supports -Wall... yes checking if gcc -std=gnu99 supports -Wpointer-arith... yes checking if gcc -std=gnu99 supports -Wmissing-declarations... yes checking if gcc -std=gnu99 supports -Wformat=2... yes checking if gcc -std=gnu99 supports -Wstrict-prototypes... yes checking if gcc -std=gnu99 supports -Wmissing-prototypes... yes checking if gcc -std=gnu99 supports -Wnested-externs... yes checking if gcc -std=gnu99 supports -Wbad-function-cast... yes checking if gcc -std=gnu99 supports -Wold-style-definition... yes checking if gcc -std=gnu99 supports -Wdeclaration-after-statement... yes checking if gcc -std=gnu99 supports -Wunused... yes checking if gcc -std=gnu99 supports -Wuninitialized... yes checking if gcc -std=gnu99 supports -Wshadow... yes checking if gcc -std=gnu99 supports -Wcast-qual... yes checking if gcc -std=gnu99 supports -Wmissing-noreturn... yes checking if gcc -std=gnu99 supports -Wmissing-format-attribute... yes checking if gcc -std=gnu99 supports -Wredundant-decls... yes checking if gcc -std=gnu99 supports -Werror=implicit... yes checking if gcc -std=gnu99 supports -Werror=nonnull... yes checking if gcc -std=gnu99 supports -Werror=init-self... yes checking if gcc -std=gnu99 supports -Werror=main... yes checking if gcc -std=gnu99 supports -Werror=missing-braces... yes checking if gcc -std=gnu99 supports -Werror=sequence-point... yes checking if gcc -std=gnu99 supports -Werror=return-type... yes checking if gcc -std=gnu99 supports -Werror=trigraphs... yes checking if gcc -std=gnu99 supports -Werror=array-bounds... yes checking if gcc -std=gnu99 supports -Werror=write-strings... yes checking if gcc -std=gnu99 supports -Werror=address... yes checking if gcc -std=gnu99 supports -Werror=int-to-pointer-cast... yes checking if gcc -std=gnu99 supports -Werror=pointer-to-int-cast... yes checking if gcc -std=gnu99 supports -pedantic... yes checking if gcc -std=gnu99 supports -Werror... yes checking if gcc -std=gnu99 supports -Werror=attributes... yes Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-macros' found checking whether make supports nested variables... yes checking for doxygen... no configure: WARNING: doxygen not found - documentation targets will be skipped checking for X.Org SGML entities >= 1.8... no checking whether to build documentation... yes checking whether to build developer documentation... yes checking for xmlto... no configure: WARNING: xmlto not found - documentation targets will be skipped checking for fop... no configure: WARNING: fop not found - documentation targets will be skipped checking for xsltproc... no configure: WARNING: xsltproc not found - cannot transform XML documents checking whether to build unit test cases... auto checking whether the linker accepts -Wl,-wrap,exit... yes checking dependency style of gcc -std=gnu99... gcc3 checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc -std=gnu99... /scratch/x11/modular-xorg-server/work/.cwrapper/bin/ld checking if the linker (/scratch/x11/modular-xorg-server/work/.cwrapper/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 the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert powerpc--netbsd file names to powerpc--netbsd format... func_convert_file_noop checking how to convert powerpc--netbsd file names to toolchain format... func_convert_file_noop checking for /scratch/x11/modular-xorg-server/work/.cwrapper/bin/ld option to reload object files... -r checking for powerpc--netbsd-objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for powerpc--netbsd-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for powerpc--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for powerpc--netbsd-strip... no checking for strip... strip checking for powerpc--netbsd-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for powerpc--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 -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/scratch/x11/modular-xorg-server/work/.cwrapper/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 pkg-config is at least version 0.9.0... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... no checking for byacc... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for cpp... (cached) /usr/pkg/bin/tradcpp -Uunix checking if /usr/pkg/bin/tradcpp -Uunix requires -undef... no checking if /usr/pkg/bin/tradcpp -Uunix requires -traditional... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... yes checking size of unsigned long... 4 checking for pid_t... yes checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking sys/endian.h usability... yes checking sys/endian.h presence... yes checking for sys/endian.h... yes checking for __swap16 variant of byteswapping macros... no checking for bswap16 variant of byteswapping macros... yes checking for dlopen... yes checking for backtrace... no checking for ffs... yes checking for geteuid... yes checking for getuid... yes checking for issetugid... yes checking for getresuid... no checking for getdtablesize... yes checking for getifaddrs... yes checking for getpeereid... yes checking for getpeerucred... no checking for getzoneid... no checking for mmap... yes checking for shmctl64... no checking for strncasecmp... yes checking for vasprintf... yes checking for vsnprintf... yes checking for walkcontext... no checking for strcasecmp... yes checking for strcasestr... yes checking for strlcat... yes checking for strlcpy... yes checking for strndup... yes checking for sqrt in -lm... yes checking for cbrt... yes checking ndbm.h usability... yes checking ndbm.h presence... yes checking for ndbm.h... yes checking dbm.h usability... no checking dbm.h presence... no checking for dbm.h... no checking rpcsvc/dbm.h usability... no checking rpcsvc/dbm.h presence... no checking for rpcsvc/dbm.h... no checking linux/agpgart.h usability... no checking linux/agpgart.h presence... no checking for linux/agpgart.h... no checking sys/agpio.h usability... yes checking sys/agpio.h presence... yes checking for sys/agpio.h... yes checking sys/agpgart.h usability... no checking sys/agpgart.h presence... no checking for sys/agpgart.h... no checking linux/apm_bios.h usability... no checking linux/apm_bios.h presence... no checking for linux/apm_bios.h... no checking linux/fb.h usability... no checking linux/fb.h presence... no checking for linux/fb.h... no checking asm/mtrr.h usability... no checking asm/mtrr.h presence... no checking for asm/mtrr.h... no checking sys/memrange.h usability... no checking sys/memrange.h presence... no checking for sys/memrange.h... no checking machine/mtrr.h usability... no checking machine/mtrr.h presence... no checking for machine/mtrr.h... no checking for sys/linker.h... no checking for SYSV IPC... yes checking machine/apmvar.h usability... yes checking machine/apmvar.h presence... yes checking for machine/apmvar.h... yes checking for sys/event.h... (cached) no checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for backtrace in -lc... no checking for root directory for font files... /usr/pkg/share/fonts/X11 checking for directory for misc files... ${FONTROOTDIR}/misc checking for directory for OTF files... ${FONTROOTDIR}/OTF checking for directory for TTF files... ${FONTROOTDIR}/TTF checking for directory for Type1 files... ${FONTROOTDIR}/Type1 checking for directory for 75dpi files... ${FONTROOTDIR}/75dpi checking for directory for 100dpi files... ${FONTROOTDIR}/100dpi checking for ${prefix}/etc/X11/fontpath.d... no checking for default font path... /usr/pkg/share/fonts/X11/misc,/usr/pkg/share/fonts/X11/TTF,/usr/pkg/share/fonts/X11/OTF,/usr/pkg/share/fonts/X11/Type1,/usr/pkg/share/fonts/X11/100dpi,/usr/pkg/share/fonts/X11/75dpi,/usr/pkg/share/fonts/X11/cyrillic,/usr/pkg/lib/X11/fonts/misc,/usr/pkg/lib/X11/fonts/TTF,/usr/pkg/lib/X11/fonts/OTF,/usr/pkg/lib/X11/fonts/Type1,/usr/pkg/lib/X11/fonts/100dpi,/usr/pkg/lib/X11/fonts/75dpi,/usr/pkg/lib/X11/fonts/cyrillic checking for thread local storage (TLS) support... __thread checking for tls_model attribute support... yes checking to see if we can install the Xorg server as root... no checking return type of signal handlers... void checking if Xtrans should support UNIX socket connections... yes checking if Xtrans should support TCP socket connections... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking if IPv6 support should be built... yes checking for struct sockaddr_in.sin_len... yes checking for socklen_t... yes checking if Xtrans should support os-specific local connections... no checking for authdes_seccreate... no checking for authdes_create... no checking if Secure RPC authentication ("SUN-DES-1") should be supported... no checking for PIXMAN... yes checking for UDEV... no checking for DBUS... no checking for HAL... no checking for glibc...... no checking for clock_gettime... yes checking for a useful monotonic clock ...... yes checking whether to track client ids... yes checking for XLIB... yes checking for GL... yes checking for DRIPROTO... yes checking for DRI... no configure: error: Package requirements (glproto >= 1.4.14 dri >= 7.8.0) were not met: No package 'dri' 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 DRI_CFLAGS and DRI_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error code 1 Stop. make[1]: stopped in /bulk-data/pkgsrc/x11/modular-xorg-server *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/x11/modular-xorg-server