pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46725: gobject-introspection fails to build on Linux
>Number: 46725
>Category: pkg
>Synopsis: gobject-introspection fails to build on Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 19 20:05:00 +0000 2012
>Originator: Dave Vollenweider
>Release: None (Linux 2.6.37.6)
>Organization:
>Environment:
Linux shinji 2.6.37.6 #2 Sun Apr 10 01:09:12 CDT 2011 i686 Intel(R) Atom(TM)
CPU N450 @ 1.66GHz GenuineIntel GNU/Linux
>Description:
I get the following when I try to build gobject-introspection on Linux:
=> Bootstrap dependency curl-[0-9]*: found curl-7.26.0
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> 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 gobject-introspection-1.32.1.tar.xz
=> Checksum RMD160 OK for gobject-introspection-1.32.1.tar.xz
===> Installing dependencies for gobject-introspection-1.32.1
==========================================================================
The following variables will affect the build process of this package,
gobject-introspection-1.32.1. Their current value is shown below:
* PYTHON_VERSION_DEFAULT = 27
Based on these variables, the following variables have been set:
* PYPACKAGE = python27
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.6bnb6
=> Build dependency flex>=2.5.4a: found flex-2.5.35nb2
=> Build dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency xz>=4.999.9betanb1: found xz-5.0.3
=> Build dependency ccache-[0-9]*: found ccache-3.1.7
=> Full dependency py27-cElementTree-[0-9]*: found py27-cElementTree-0nb1
=> Full dependency glib2>=2.30.2nb3: found glib2-2.32.3nb1
=> Full dependency libffi>=2.0betanb1: found libffi-3.0.9nb1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.3
===> Overriding tools for gobject-introspection-1.32.1
===> Extracting for gobject-introspection-1.32.1
===> Patching for gobject-introspection-1.32.1
=> Applying pkgsrc patches for gobject-introspection-1.32.1
===> Creating toolchain wrappers for gobject-introspection-1.32.1
===> Configuring for gobject-introspection-1.32.1
=> Substituting "timet" in giscanner/ast.py tests/scanner/Foo-1.0-expected.gir
tests/scanner/Regress-1.0-expected.gir
=> 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.
configure: WARNING: unrecognized options: --with-libiconv-prefix,
--with-libintl-prefix
checking for a BSD-compatible install... /bin/install -c -o root -g root
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p...
/usr/pkgsrc/devel/gobject-introspection/work.shinji/.tools/bin/mkdir -p
checking for gawk... /bin/awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i386-slackware-linux-gnu
checking host system type... i386-slackware-linux-gnu
checking for i386-slackware-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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/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 how to convert i386-slackware-linux-gnu file names to
i386-slackware-linux-gnu format... func_convert_file_noop
checking how to convert i386-slackware-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/i486-slackware-linux/bin/ld option to reload object files...
-r
checking for i386-slackware-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i386-slackware-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i386-slackware-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i386-slackware-linux-strip... no
checking for strip... strip
checking for i386-slackware-linux-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 i386-slackware-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 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/i486-slackware-linux/bin/ld) 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 flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... /usr/bin/bison -y
checking for dlopen in -ldl... yes
checking for the suffix of shared libraries... .so
checking for GLIB... yes
checking for GOBJECT... yes
checking for GMODULE... yes
checking for GIO... yes
checking for GIO_UNIX... yes
checking for CAIRO... no
checking for SCANNER... yes
checking for FFI... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for GIREPO... yes
checking for gtkdoc-check... /usr/pkg/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/pkg/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/pkg/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
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 an ANSI C-conforming const... yes
checking for working strtod... yes
checking for memchr... yes
checking for strchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoull... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking whether /usr/pkg/bin/python2.7 version >= 2.5... yes
checking for /usr/pkg/bin/python2.7 version... 2.7
checking for /usr/pkg/bin/python2.7 platform... linux2
checking for /usr/pkg/bin/python2.7 script directory...
${prefix}/lib/python2.7/site-packages
checking for /usr/pkg/bin/python2.7 extension module directory...
${exec_prefix}/lib/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for glib source directory to use for documentation...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating tests/Makefile
config.status: creating tests/offsets/Makefile
config.status: creating tests/scanner/Makefile
config.status: creating tests/repository/Makefile
config.status: creating tests/warn/Makefile
config.status: creating tests/doctool/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating gobject-introspection-1.0.pc
config.status: creating gobject-introspection-no-export-1.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT': No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix,
--with-libintl-prefix
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for gobject-introspection-1.32.1
LEX scannerlexer.c
[ -d gir ] ||
/usr/pkgsrc/devel/gobject-introspection/work.shinji/.tools/bin/mkdir -p gir ; \
sed \
-e s,%CAIRO_SHARED_LIBRARY%,, \
-e s,%CAIRO_GIR_PACKAGE%,, \
< gir/cairo-1.0.gir.in > gir/cairo-1.0.gir.tmp && mv gir/cairo-1.0.gir.tmp
gir/cairo-1.0.gir
/usr/bin/make all-recursive
make[1]: Entering directory
`/usr/pkgsrc/devel/gobject-introspection/work.shinji/gobject-introspection-1.32.1'
Making all in .
make[2]: Entering directory
`/usr/pkgsrc/devel/gobject-introspection/work.shinji/gobject-introspection-1.32.1'
CC libgirepository_1_0_la-gdump.lo
CC libgirepository_1_0_la-giarginfo.lo
CC libgirepository_1_0_la-gibaseinfo.lo
CC libgirepository_1_0_la-gicallableinfo.lo
CC libgirepository_1_0_la-giconstantinfo.lo
CC libgirepository_1_0_la-gienuminfo.lo
CC libgirepository_1_0_la-gifieldinfo.lo
CC libgirepository_1_0_la-gifunctioninfo.lo
CC libgirepository_1_0_la-ginvoke.lo
CC libgirepository_1_0_la-giinterfaceinfo.lo
CC libgirepository_1_0_la-giobjectinfo.lo
CC libgirepository_1_0_la-gipropertyinfo.lo
CC libgirepository_1_0_la-giregisteredtypeinfo.lo
CC libgirepository_1_0_la-girepository.lo
CC libgirepository_1_0_la-girffi.lo
CC libgirepository_1_0_la-gisignalinfo.lo
CC libgirepository_1_0_la-gistructinfo.lo
CC libgirepository_1_0_la-gitypeinfo.lo
CC libgirepository_1_0_la-gitypelib.lo
CC libgirepository_1_0_la-giunioninfo.lo
CC libgirepository_1_0_la-givfuncinfo.lo
CC libgirepository_gthash_la-gthash.lo
CC libcmph_la-bdz.lo
CC libcmph_la-bdz_ph.lo
CC libcmph_la-bmz8.lo
CC libcmph_la-bmz.lo
CC libcmph_la-brz.lo
CC libcmph_la-buffer_entry.lo
CC libcmph_la-buffer_manager.lo
CC libcmph_la-chd.lo
CC libcmph_la-chd_ph.lo
CC libcmph_la-chm.lo
CC libcmph_la-cmph.lo
CC libcmph_la-cmph_structs.lo
CC libcmph_la-compressed_rank.lo
CC libcmph_la-compressed_seq.lo
CC libcmph_la-fch_buckets.lo
CC libcmph_la-fch.lo
CC libcmph_la-graph.lo
CC libcmph_la-hash.lo
CC libcmph_la-jenkins_hash.lo
CC libcmph_la-miller_rabin.lo
CC libcmph_la-select.lo
CC libcmph_la-vqueue.lo
CC libcmph_la-vstack.lo
CCLD libcmph.la
CCLD libgirepository-gthash.la
CCLD libgirepository-1.0.la
CC libgirepository_internals_la-girmodule.lo
CC libgirepository_internals_la-girnode.lo
CC libgirepository_internals_la-giroffsets.lo
CC libgirepository_internals_la-girparser.lo
CC libgirepository_internals_la-girwriter.lo
CCLD libgirepository-internals.la
CC libgiscanner_la-sourcescanner.lo
CC libgiscanner_la-scannerlexer.lo
scannerlexer.c: In function 'yy_get_next_buffer':
scannerlexer.c:1972:107: warning: comparison between signed and unsigned
integer expressions
CC libgiscanner_la-scannerparser.lo
CCLD libgiscanner.la
CC _giscanner_la-giscannermodule.lo
CCLD _giscanner.la
CC g_ir_compiler-compiler.o
CCLD g-ir-compiler
CC g_ir_generate-generate.o
CCLD g-ir-generate
CC cmph_bdz_test-cmph-bdz-test.o
CCLD cmph-bdz-test
CC gthash_test-gthash.o
CC gthash_test-gthash-test.o
CCLD gthash-test
CC gi_dump_types-gdump.o
CC gi_dump_types-gi-dump-types.o
CCLD gi-dump-types
CC glib_print-glib-print.o
CCLD glib-print
GEN g-ir-scanner
GEN g-ir-annotation-tool
GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 683 warnings suppressed (use --warn-all to see
them)
GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 24 warnings suppressed (use --warn-all to see
them)
GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 2 warnings suppressed (use --warn-all to see
them)
GISCAN Gio-2.0.gir
gir/gio-2.0.c:33354: Warning: Gio: invalid annotation option: allow
/usr/pkg/include/glib/glib-2.0/gio/gpollableinputstream.h:95: Warning: Gio:
Can't find matching type for constructor; symbol='g_pollable_source_new'
gir/gio-2.0.c:30594: Warning: Gio: g_menu_attribute_iter_get_next: unknown
parameter 'out_name' in documentation comment, should be 'out_type'
gir/gio-2.0.c:31098: Warning: Gio: g_menu_link_iter_get_next: unknown parameter
'out_link' in documentation comment, should be 'out_name'
gir/gio-2.0.c:32988: Warning: Gio: g_pollable_input_stream_read_nonblocking:
unknown parameter 'cancellable' in documentation comment
gir/gio-2.0.c:33073: Warning: Gio: g_pollable_output_stream_write_nonblocking:
unknown parameter 'cancellable' in documentation comment
<unknown>:: Warning: Gio: (ErrorQuarkFunction)dbus_error_quark:
context=ErrorQuarkFunction('dbus_error_quark') g_dbus_error_quark: Couldn't
find corresponding enumeration
gir/gio-2.0.c:18502: Warning: Gio: g_bus_own_name: argument
bus_acquired_handler: Missing (scope) annotation for callback without
GDestroyNotify (valid: call, async)
gir/gio-2.0.c:18502: Warning: Gio: g_bus_own_name: argument
name_acquired_handler: Missing (scope) annotation for callback without
GDestroyNotify (valid: call, async)
gir/gio-2.0.c:18571: Warning: Gio: g_bus_own_name_on_connection: argument
name_acquired_handler: Missing (scope) annotation for callback without
GDestroyNotify (valid: call, async)
gir/gio-2.0.c:18650: Warning: Gio: g_bus_watch_name: argument
name_appeared_handler: Missing (scope) annotation for callback without
GDestroyNotify (valid: call, async)
gir/gio-2.0.c:18697: Warning: Gio: g_bus_watch_name_on_connection: argument
name_appeared_handler: Missing (scope) annotation for callback without
GDestroyNotify (valid: call, async)
gir/gio-2.0.c:29840: Warning: Gio: g_io_module_scope_new: return value: Invalid
non-constant return of bare structure or union; register as boxed type or (skip)
gir/gio-2.0.c:29745: Warning: Gio: g_io_extension_ref_class: return value:
Invalid non-constant return of bare structure or union; register as boxed type
or (skip)
gir/gio-2.0.c:29840: Warning: Gio: g_io_module_scope_new: return value: Invalid
non-constant return of bare structure or union; register as boxed type or (skip)
gir/gio-2.0.c:39290: Warning: Gio:
g_tls_database_lookup_certificates_issued_by_finish: return value: Missing
(element-type) annotation
GISCAN GIRepository-2.0.gir
girepository/girepository.c:812: Warning: GIRepository: invalid annotation
option: utf8
girepository/girepository.h:167: Warning: GIRepository:
symbol='gi_cclosure_marshal_generic': Unknown namespace for symbol
'gi_cclosure_marshal_generic'
girepository/gitypes.h:362: Warning: GIRepository:
symbol='GI_TYPE_TAG_N_TYPES': Unknown namespace for symbol 'GI_TYPE_TAG_N_TYPES'
girepository/gibaseinfo.h:81: Warning: GIRepository: Can't find matching type
for constructor; symbol='g_info_new'
girepository/gitypelib.h:36: Warning: GIRepository: g_typelib_new_from_memory:
return value: Invalid non-constant return of bare structure or union; register
as boxed type or (skip)
girepository/gitypelib.h:39: Warning: GIRepository:
g_typelib_new_from_const_memory: return value: Invalid non-constant return of
bare structure or union; register as boxed type or (skip)
girepository/gitypelib.h:42: Warning: GIRepository:
g_typelib_new_from_mapped_file: return value: Invalid non-constant return of
bare structure or union; register as boxed type or (skip)
girepository/gicallableinfo.h:58: Warning: GIRepository:
g_callable_info_invoke: argument in_args: Unresolved type: 'GIArgument*'
girepository/gicallableinfo.h:58: Warning: GIRepository:
g_callable_info_invoke: argument out_args: Unresolved type: 'GIArgument*'
girepository/gicallableinfo.h:58: Warning: GIRepository:
g_callable_info_invoke: argument return_value: Unresolved type: 'GIArgument*'
girepository/giobjectinfo.c:537: Warning: GIRepository:
g_object_info_find_signal: return value: Missing (transfer) annotation
girepository/givfuncinfo.c:212: Warning: GIRepository:
g_vfunc_info_get_address: return value: Missing (transfer) annotation
girepository/gitypelib.h:36: Warning: GIRepository: g_typelib_new_from_memory:
return value: Invalid non-constant return of bare structure or union; register
as boxed type or (skip)
girepository/gitypelib.h:39: Warning: GIRepository:
g_typelib_new_from_const_memory: return value: Invalid non-constant return of
bare structure or union; register as boxed type or (skip)
girepository/gitypelib.h:42: Warning: GIRepository:
g_typelib_new_from_mapped_file: return value: Invalid non-constant return of
bare structure or union; register as boxed type or (skip)
GICOMP gir/DBus-1.0.gir
GICOMP gir/DBusGLib-1.0.gir
GICOMP gir/fontconfig-2.0.gir
GICOMP gir/freetype2-2.0.gir
GICOMP gir/GL-1.0.gir
GICOMP gir/libxml2-2.0.gir
GICOMP gir/xft-2.0.gir
GICOMP gir/xlib-2.0.gir
GICOMP gir/xfixes-4.0.gir
GICOMP gir/xrandr-1.3.gir
GICOMP gir/cairo-1.0.gir
GICOMP GLib-2.0.gir
** (lt-g-ir-compiler:18813): ERROR **: Invalid typelib for module 'GLib': In
directory (Context: Cond)): Pointer type exected for tag 15
/bin/sh: line 1: 18813 Trace/breakpoint trap env
PATH=.libs:/usr/pkgsrc/devel/gobject-introspection/work.shinji/.wrapper/bin:/usr/pkgsrc/devel/gobject-introspection/work.shinji/.buildlink/bin:/usr/pkgsrc/devel/gobject-introspection/work.shinji/.ccache/bin:/usr/pkgsrc/devel/gobject-introspection/work.shinji/.gcc/bin:/usr/pkgsrc/devel/gobject-introspection/work.shinji/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:/usr/games:/usr/pkg/bin:/usr/pkg/bin
./g-ir-compiler --includedir=. --includedir=./gir --includedir=.
--includedir=. --includedir=. GLib-2.0.gir -o GLib-2.0.typelib
make[2]: *** [GLib-2.0.typelib] Error 133
make[2]: Leaving directory
`/usr/pkgsrc/devel/gobject-introspection/work.shinji/gobject-introspection-1.32.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/pkgsrc/devel/gobject-introspection/work.shinji/gobject-introspection-1.32.1'
make: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/devel/gobject-introspection
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/gobject-introspection
>How-To-Repeat:
Try building gobject-introspection again.
>Fix:
Unknown. Problem has existed ever since gobject-introspection >= 1.0
Home |
Main Index |
Thread Index |
Old Index