=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for gnome-menus-2.30.5.tar.bz2
=> Checksum RMD160 OK for gnome-menus-2.30.5.tar.bz2
===> Installing dependencies for py31-gnome-menus-2.30.5nb1
==========================================================================
The following variables will affect the build process of this package,
py31-gnome-menus-2.30.5nb1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 26

Based on these variables, the following variables have been set:

        * PYPACKAGE = python31

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.6bnb5
=> Build dependency intltool>=0.40.0: found intltool-0.41.1
=> Build dependency {gettext-tools>=0.14.5,gettext>=0.10.36<0.14.5}: found gettext-tools-0.18.1.1nb2
=> Build dependency perl>=5.0: found perl-5.14.2nb1
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency gnome-menus>=2.30.5nb1: found gnome-menus-2.30.5nb1
=> Full dependency glib2>=2.28.6nb3: found glib2-2.28.8nb1
=> Full dependency python31>=3.1: found python31-3.1.4nb1
===> Overriding tools for py31-gnome-menus-2.30.5nb1
===> Extracting for py31-gnome-menus-2.30.5nb1
===> Patching for py31-gnome-menus-2.30.5nb1
=> Applying pkgsrc patches for py31-gnome-menus-2.30.5nb1
===> Creating toolchain wrappers for py31-gnome-menus-2.30.5nb1
===> Configuring for py31-gnome-menus-2.30.5nb1
=> 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 pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/mkdir -p
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 x86_64-unknown-linux-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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/msgfmt
checking for xgettext... /usr/pkg/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/intltool-update
checking for intltool-merge... /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/intltool-merge
checking for intltool-extract... /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/intltool-extract
checking for xgettext... (cached) /usr/pkg/bin/xgettext
checking for msgmerge... /usr/pkg/bin/msgmerge
checking for msgfmt... (cached) /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/msgfmt
checking for gmsgfmt... (cached) /tmp/pkgsrc/sysutils/py-gnome-menus/work/.tools/bin/msgfmt
checking for perl... /usr/pkg/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for library containing strerror... none required
checking for x86_64-unknown-linux-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-unknown-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-unknown-linux-gnu/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) 2097152
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-unknown-linux-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-strip... no
checking for strip... strip
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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... /bin/rm: cannot remove `conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-unknown-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove `conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.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
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
checking what language compliance flags to pass to the C compiler... 
configure: Checking to see if we can build Python bindings
checking whether /usr/pkg/bin/python3.1 version >= 2.3... yes
checking for /usr/pkg/bin/python3.1 version... 3.1
checking for /usr/pkg/bin/python3.1 platform... linux2
checking for /usr/pkg/bin/python3.1 script directory... ${prefix}/lib/python3.1/site-packages
checking for /usr/pkg/bin/python3.1 extension module directory... ${exec_prefix}/lib/python3.1/site-packages
checking for headers required to compile python extensions...   File "<string>", line 1
    import sys; print sys.prefix
                        ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import sys; print sys.exec_prefix
                        ^
SyntaxError: invalid syntax
found
checking for python libraries...   File "<string>", line 1
    from distutils.sysconfig import get_config_var; print repr(get_config_var('Py_ENABLE_SHARED'))
                                                             ^
SyntaxError: invalid syntax
./configure: line 13631: test: =: unary operator expected
  File "<string>", line 1
    from distutils import sysconfig; print sysconfig.get_config_var('CC')
                                                   ^
SyntaxError: invalid syntax
  File "<string>", line 1
    from distutils import sysconfig; print sysconfig.get_config_var('SYSLIBS'), sysconfig.get_config_var('SHLIBS')
                                                   ^
SyntaxError: invalid syntax
  File "<string>", line 1
    from distutils import sysconfig; print sysconfig.get_config_var('LIBDIR')
                                                   ^
SyntaxError: invalid syntax
  File "<string>", line 1
    from distutils import sysconfig; print sysconfig.get_config_var('LIBPL')
                                                   ^
SyntaxError: invalid syntax
not found
checking whether gcc accepts -fno-strict-aliasing... yes
checking for gobject-introspection... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmenu/Makefile
config.status: creating libmenu/libgnome-menu.pc
config.status: creating libmenu/libgnome-menu-uninstalled.pc
config.status: creating layout/Makefile
config.status: creating desktop-directories/Makefile
config.status: creating util/Makefile
config.status: creating python/Makefile
config.status: creating simple-editor/Makefile
config.status: creating simple-editor/GMenuSimpleEditor/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT': No such file or directory
config.status: executing po/stamp-it commands

              gnome-menus 2.30.5
              ==================

        prefix:                       /usr/pkg
        exec_prefix:                  ${prefix}
        libdir:                       ${exec_prefix}/lib
        bindir:                       ${exec_prefix}/bin
        sbindir:                      ${exec_prefix}/sbin
        sysconfdir:                   ${prefix}/etc
        localstatedir:                ${prefix}/var
        datadir:                      ${datarootdir}
        source code location:         .
        compiler:                     gcc
        cflags:                       -O3 -pipe -fstack-protector -Wno-format -fno-builtin -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.1
        Maintainer mode:              no
        Use *_DISABLE_DEPRECATED:     no

        Turn on debugging:            minimum
        Build python bindings:        yes
        Build introspection support:  no


=> Overriding intltool.
=> Modifying libtool scripts to use pkgsrc libtool