pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46024: gobject-introspection fails to build on NetBSD/amd64 5.1
>Number: 46024
>Category: pkg
>Synopsis: gobject-introspection fails to build on NetBSD/amd64 5.1
>Confidential: yes
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 15 13:40:06 +0000 2012
>Originator: Havard Eidnes
>Release: NetBSD 5.1
>Organization:
None
>Environment:
System: NetBSD vipe.uninett.no 5.1 NetBSD 5.1 (VIPE) #1: Mon Jan 16 10:01:42
CET 2012 he%vipe.uninett.no@localhost:/usr/obj/sys/arch/amd64/compile/VIPE amd64
Architecture: x86_64
Machine: amd64
>Description:
An attempt to upgrade pkgsrc to -current on a host running
NetBSD/amd64 5.1 fails, due to gobject-introspection failing
to build.
The dependency chain which caused gobject-introspection to be
pulled in was:
emacs -> pango -> gobject-introspection
The build failed with:
gmake[2]: Entering directory
`/usr/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.30.0'
GISCAN GLib-2.0.gir
/usr/include/amd64/byte_swap.h:50: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile ( "bswap %1" : "=r" (x) : "0" (x));'
at 'o'
/usr/include/amd64/byte_swap.h:59: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile ( "bswap %1" : "=r" (x) : "0" (x));'
at 'o'
/usr/include/amd64/byte_swap.h:68: syntax error, unexpected identifier,
expecting ',' or ';' in ' __asm volatile ("rorw $8, %w1" : "=r" (x) : "0"
(x));' at 'o'
[1] Segmentation fault (core dumped) env PATH=.libs:/...
gmake[2]: *** [GLib-2.0.gir] Error 139
It turns out that it's python2.6 which dumps core. Trying to
get a stack backtrace from the core file doesn't give a lot of
information:
(gdb) where
#0 0x00007f7ffd906946 in pollts () from /usr/lib/libpthread.so.0
#1 0x00007f7ff950df18 in ?? ()
#2 0x0000000000000180 in ?? ()
#3 0x0000000000000015 in ?? ()
#4 0x0101010101010101 in ?? ()
#5 0x8080808080808080 in ?? ()
#6 0x00007f7ffdd56fb0 in _Py_SwappedOp ()
from /usr/pkg/lib/libpython2.6.so.1.0
#7 0x00007f7fffffa5bd in ?? ()
#8 0x696e752e65706976 in ?? ()
#9 0x0000000000000021 in ?? ()
#10 0x00007f7ff7f16bf0 in ?? ()
#11 0x00007f7ff8d4ecbc in g_malloc () from /usr/pkg/lib/libglib-2.0.so.0
#12 0x00007f7ff8d659f5 in g_strconcat () from /usr/pkg/lib/libglib-2.0.so.0
#13 0x00007f7ff8d36151 in g_file_read_link ()
from /usr/pkg/lib/libglib-2.0.so.0
#14 0x00007f7ff8d3631b in g_file_open_tmp () from /usr/pkg/lib/libglib-2.0.so.0
#15 0x00007f7ff950b30e in ?? ()
#16 0x00007f7ffabf3028 in ?? ()
#17 0x00007f7ffd0ae400 in ?? ()
#18 0x0000000000000020 in ?? ()
#19 0x00007f7ffb1a24d4 in ?? ()
#20 0x00007f7ffb1b6368 in ?? ()
---Type <return> to continue, or q <return> to quit---
#21 0x0000000000000000 in ?? ()
(gdb)
Trying to build a small C program which only includes
<amd64/byte_swap.h> succeeds without any of the syntax error
messages displayed in the make log above.
Also, inspecting a "ktrace -i make" output also doesn't
reveal all that much.
Sinc I don't "do" python, I have no idea where to collect
more information, so I throw my hands up and submit this PR.
>How-To-Repeat:
Try to build e.g. emacs with pkgsrc-current on NetBSD/amd64 5.1.
Watch it fail when gobject-introspection is built.
>Fix:
Sorry, don't know.
Home |
Main Index |
Thread Index |
Old Index