=> Bootstrap dependency digest>=20010302: found digest-20121220 => Checksum SHA1 OK for grub-2.00.tar.gz => Checksum RMD160 OK for grub-2.00.tar.gz => Checksum SHA1 OK for unifont-5.1.20080820.pcf.gz => Checksum RMD160 OK for unifont-5.1.20080820.pcf.gz ===> Installing dependencies for grub2-2.00nb2 ========================================================================== The supported build options for grub2 are: debug freetype The currently selected options are: freetype You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.grub2 (not defined) ========================================================================== => Tool dependency bison>=1.0: found bison-3.0.2 => Tool dependency flex>=2.5.4a: found flex-2.5.36nb1 => Tool dependency gmake>=3.81: found gmake-4.0 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.18.3.2 => Build dependency help2man>=1.36: found help2man-1.44.1 => Build dependency dejavu-ttf>=2.30: found dejavu-ttf-2.34 => Build dependency flex>=2.5.4a: found flex-2.5.36nb1 => Full dependency gettext-tools>=0.15: found gettext-tools-0.18.3.2 => Full dependency freetype2>=2.4.11: found freetype2-2.5.3nb1 => Full dependency gettext-lib>=0.18: found gettext-lib-0.18.3.2 ===> Overriding tools for grub2-2.00nb2 ===> Extracting for grub2-2.00nb2 /bin/mv /usr/pkgsrc/work/sysutils/grub2/work/unifont-5.1.20080820.pcf /usr/pkgsrc/work/sysutils/grub2/work/grub-2.00/unifont.pcf ===> Patching for grub2-2.00nb2 => Applying pkgsrc patches for grub2-2.00nb2 => Fixing installation of OS configuration scripts. => Fixing configuration paths in scripts. => Fixing tabulations for sed in scripts. INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/00_header.in. INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/10_xnu.in. INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/40_custom.in. INFO: [subst.mk:fix-sed-tabs] Nothing changed in ./util/grub.d/41_custom.in. ===> Creating toolchain wrappers for grub2-2.00nb2 ===> Configuring for grub2-2.00nb2 => Fixing dejavu search paths in configure. => 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 => Fixing locale directory references. checking build system type... i386-elf32-minix checking host system type... i386-elf32-minix checking target system type... i386-elf32-minix checking for a BSD-compatible install... /usr/bin/install -c -o root -g operator checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking for cmp... /usr/bin/cmp checking for bison... /usr/pkg/bin/bison -y checking for i386-elf32-minix-ranlib... no checking for ranlib... ranlib checking for gawk... (cached) /usr/bin/awk checking for style of include used by make... GNU checking for i386-elf32-minix-gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 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... (cached) /usr/pkg/bin/bison -y checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for makeinfo... /usr/pkgsrc/work/sysutils/grub2/work/.tools/bin/makeinfo checking for i386-elf32-minix-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 how to run the C preprocessor... cc -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 minix/config.h usability... yes checking minix/config.h presence... yes checking for minix/config.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking whether NLS is requested... yes checking for msgfmt... /usr/pkgsrc/work/sysutils/grub2/work/.tools/bin/msgfmt checking for gmsgfmt... /usr/pkgsrc/work/sysutils/grub2/work/.tools/bin/msgfmt checking for xgettext... /usr/pkg/bin/xgettext checking for msgmerge... /usr/pkg/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for working iconv... no checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether byte ordering is bigendian... no checking size of void *... 4 checking size of long... 4 checking whether our compiler is apple cc... no checking for help2man... /usr/pkg/bin/help2man checking for posix_memalign... no checking for memalign... no checking for asprintf... yes checking for vasprintf... yes checking for getextmntent... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for struct statfs.f_fstypename... no checking for struct statfs.f_mntfromname... no checking util.h usability... yes checking util.h presence... yes checking for util.h... yes checking for opendisk in -lutil... yes checking for getrawpartition in -lutil... no checking for gcc... gcc checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether getenv is declared... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking for flockfile... yes checking for funlockfile... yes checking for btowc... yes checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for mempcpy... no checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... no checking for getdelim... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... no checking for memchr... yes checking for nl_langinfo... yes checking for wcscoll... yes checking for sleep... yes checking for strndup... yes checking for vasnprintf... no checking for wcrtomb... yes checking for iswcntrl... yes checking for iswblank... yes checking for features.h... no checking for linewrap.h... no checking for errno.h... yes checking for float.h... yes checking for wctype.h... yes checking for getopt.h... yes checking for langinfo.h... yes checking for sys/mman.h... yes checking for locale.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for wchar.h... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/wait.h... yes checking for sysexits.h... yes checking for unistd.h... (cached) yes checking whether uses 'inline' correctly... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... none checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking whether the preprocessor supports include_next... yes checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for mbstate_t... yes checking whether getdelim is declared... yes checking whether getline is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... no checking for working fcntl.h... no (bad O_NOATIME, O_NOFOLLOW) checking whether we are using the GNU C Library 2.1 or newer... no checking whether malloc, realloc, calloc are POSIX compliant... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking for long long int... yes checking for unsigned long long int... yes checking whether C symbols are prefixed with underscore at the linker level... no checking for working strerror function... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... no checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... no checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... no checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... no checking whether strcasecmp is declared without a macro... yes checking whether strncasecmp is declared without a macro... yes checking whether strndup is declared... (cached) yes checking whether strnlen is declared... (cached) yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether snprintf returns a byte count as in C99... yes checking for snprintf... yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... no checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking whether iswblank is declared... no checking whether program_invocation_name is declared... no checking whether program_invocation_short_name is declared... no checking whether program_invocation_name is defined... no checking whether program_invocation_short_name is defined... no checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... guessing yes checking whether // is distinct from /... (cached) no checking for error_at_line... no checking for working POSIX fnmatch... yes checking for working getdelim function... yes checking for getline... yes checking for working getline function... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking whether nl_langinfo is declared without a macro... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether mbrtowc handles incomplete characters... guessing yes checking whether mbrtowc works as well as mbtowc... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... guessing yes checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether mbsrtowcs works... guessing yes checking for mempcpy... (cached) no checking whether program_invocation_name is declared... (cached) no checking whether program_invocation_short_name is declared... (cached) no checking for rawmemchr... no checking for working re_compile_pattern... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking whether isblank is declared... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking whether sleep is declared... yes checking for working sleep... yes checking for ssize_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether stdint.h conforms to C99... yes checking whether dprintf is declared without a macro... yes checking whether fpurge is declared without a macro... yes checking whether fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... yes checking whether getline is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... no checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... yes checking whether vsnprintf is declared without a macro... yes checking for random.h... no checking for struct random_data... no checking whether _Exit is declared without a macro... yes checking whether atoll is declared without a macro... yes checking whether canonicalize_file_name is declared without a macro... no checking whether getloadavg is declared without a macro... yes checking whether getsubopt is declared without a macro... no checking whether grantpt is declared without a macro... yes checking whether mkdtemp is declared without a macro... yes checking whether mkostemp is declared without a macro... no checking whether mkostemps is declared without a macro... no checking whether mkstemp is declared without a macro... yes checking whether mkstemps is declared without a macro... no checking whether ptsname is declared without a macro... yes checking whether random_r is declared without a macro... no checking whether initstat_r is declared without a macro... no checking whether srandom_r is declared without a macro... no checking whether setstate_r is declared without a macro... no checking whether realpath is declared without a macro... yes checking whether rpmatch is declared without a macro... no checking whether setenv is declared without a macro... yes checking whether strtod is declared without a macro... yes checking whether strtoll is declared without a macro... yes checking whether strtoull is declared without a macro... yes checking whether unlockpt is declared without a macro... yes checking whether unsetenv is declared without a macro... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strncasecmp... yes checking whether strncasecmp is declared... (cached) yes checking for strchrnul... no checking for working strndup... yes checking for working strnlen... yes checking whether chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... no checking whether euidaccess is declared without a macro... no checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd is declared without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checking whether endusershell is declared without a macro... yes checking whether lchown is declared without a macro... yes checking whether link is declared without a macro... yes checking whether linkat is declared without a macro... yes checking whether lseek is declared without a macro... yes checking whether pipe2 is declared without a macro... yes checking whether pread is declared without a macro... yes checking whether pwrite is declared without a macro... yes checking whether readlink is declared without a macro... yes checking whether readlinkat is declared without a macro... yes checking whether rmdir is declared without a macro... yes checking whether sleep is declared without a macro... yes checking whether symlink is declared without a macro... yes checking whether symlinkat is declared without a macro... yes checking whether ttyname_r is declared without a macro... yes checking whether unlink is declared without a macro... yes checking whether unlinkat is declared without a macro... yes checking whether usleep is declared without a macro... yes checking for ptrdiff_t... yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether mbrtowc handles incomplete characters... (cached) guessing yes checking whether mbrtowc works as well as mbtowc... (cached) guessing yes checking whether wcrtomb return value is correct... guessing yes checking whether iswcntrl works... yes checking for stdint.h... (cached) yes checking for i386-elf32-minix-objcopy... no checking for objcopy... objcopy checking for i386-elf32-minix-strip... no checking for strip... strip checking for i386-elf32-minix-nm... no checking for nm... nm checking whether -falign-loops works... no checking whether -fno-dwarf2-cfi-asm works... no checking whether -fno-asynchronous-unwind-tables works... no checking whether our target compiler is apple cc... no checking for command to convert module to ELF format... checking whether `cc' generates calls to `__enable_execute_stack()'... configure: error: cc failed to produce assembly code *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/grub2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/grub2