pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Problem building libnotify
Still trying to build some packages for a system running NetBSD 7.99.66 and keep running into a problem with lib notify-0.7.6. I’ve tried the suggestion of building all packages with the option PKG_DEFAULT_OPTIONS=“-introspection” and I get exactly the same results. The building of libnotify-0.7.6 always errors out in the same way. There are two .core files left, one for python2.7 and one for Notify-0.7 but neither appear to have any useful information.
I first suspected some sort of hardware issue or maybe a problem in the -current kernel, but I’ve tried multiple NetBSD installations going back to 7.99.59 and tracked the pkgsrc updates for a few weeks. The error is always the same and always in the same place.
Any suggestions on how to proceed from here?
Script started on Fri Mar 31 06:36:14 2017
Lenovo# make install
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for libnotify-0.7.6.tar.xz
=> Checksum RMD160 OK for libnotify-0.7.6.tar.xz
=> Checksum SHA512 OK for libnotify-0.7.6.tar.xz
===> Installing dependencies for libnotify-0.7.6nb6
==========================================================================
The supported build options for libnotify are:
doc introspection
The currently selected options are:
introspection
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.libnotify (not defined)
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1
=> Build dependency x11-links>=1.04: found x11-links-1.05
=> Build dependency gtk3+>=3.22.7nb2: found gtk3+-3.22.9
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency gobject-introspection>=1.34.0: found gobject-introspection-1.50.0
=> Full dependency glib2>=2.34.0: found glib2-2.50.3
=> Full dependency gdk-pixbuf2>=2.34.0nb1: found gdk-pixbuf2-2.36.4
===> Overriding tools for libnotify-0.7.6nb6
===> Extracting for libnotify-0.7.6nb6
===> Patching for libnotify-0.7.6nb6
===> Creating toolchain wrappers for libnotify-0.7.6nb6
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc dst=/usr/pkgsrc/sysutils/libnotify/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /usr/pkgsrc/sysutils/libnotify/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi
src=/usr/X11R7/lib/pkgconfig/compositeproto.pc dst=/usr/pkgsrc/sysutils/libnotify/work/.buildlink/lib/pkgconfig/compositeext.pc; /bin/mkdir -p /usr/pkgsrc/sysutils/libnotify/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi
===> Configuring for libnotify-0.7.6nb6
=> 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
=> Adding run-time search paths to pkg-config 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... build-aux/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 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for an ANSI C-conforming const... yes
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 size_t... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
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/pkgsrc/sysutils/libnotify/work/.cwrapper/bin/ld
checking if the linker (/usr/pkgsrc/sysutils/libnotify/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 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/pkgsrc/sysutils/libnotify/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
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 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/pkgsrc/sysutils/libnotify/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... yes
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for TESTS... yes
checking for gobject-introspection... yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for xmlto... /usr/pkg/bin/xmlto
checking whether to build DocBook documentation... yes
checking for more warnings... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating libnotify.pc
config.status: creating libnotify/Makefile
config.status: creating libnotify/notify-features.h
config.status: creating tests/Makefile
config.status: creating tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
libnotify 0.7.6
========================
prefix: /usr/pkg
exec_prefix: ${prefix}
bindir: ${exec_prefix}/bin
datadir: ${datarootdir}
source code location: .
cflags: -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm
Build docs: no
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for libnotify-0.7.6nb6
/usr/pkg/bin/gmake all-recursive
gmake[1]: Entering directory '/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6'
Making all in libnotify
gmake[2]: Entering directory '/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify'
GEN s-enum-types-h
GEN s-enum-types-c
/usr/pkg/bin/gmake all-am
gmake[3]: Entering directory '/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify'
CC notify.lo
notify.c: In function 'notify_init':
notify.c:156:9: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations]
g_type_init ();
^
In file included from /usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/gobject/gobject.h:24:0,
from /usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/gobject/gbinding.h:29,
from /usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/glib-object.h:23,
from /usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/gio/gioenums.h:28,
from /usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/gio/giotypes.h:28,
from /usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/gio/gio.h:26,
from notify.c:32:
/usr/pkgsrc/sysutils/libnotify/work/.buildlink/include/glib/glib-2.0/gobject/gtype.h:681:23: note: declared here
void g_type_init (void);
^
CC notification.lo
CC notify-enum-types.lo
CC notify-marshal.lo
CCLD libnotify.la
GISCAN Notify-0.7.gir
Command '[u'/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify/tmp-introspect9eVvcX/Notify-0.7', u'--introspect-dump=/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify/tmp-introspect9eVvcX/functions.txt,/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify/tmp-introspect9eVvcX/dump.xml']' returned non-zero exit status -11
[1] Segmentation fault (core dumped) CPPFLAGS="-I/usr...
/usr/pkg/share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'Notify-0.7.gir' failed
gmake[3]: *** [Notify-0.7.gir] Error 139
gmake[3]: Leaving directory '/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify'
Makefile:418: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6/libnotify'
Makefile:505: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/sysutils/libnotify/work/libnotify-0.7.6'
Makefile:413: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/libnotify
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/sysutils/libnotify
Home |
Main Index |
Thread Index |
Old Index