libsoup

Riccardo Veraldi riccardo.veraldi at gmail.com
Tue Apr 22 16:49:38 UTC 2014


seems there is a problem with strcmp somewhere...
this happens on my Sun Blade 1000 UltraSPARC IIIcu

here I reproduced the problem.

[root at blade /usr/ports/devel/libsoup/work/libsoup-2.40.3]# !gcc
gcc test.c -o test -g -lglib-2.0 -lgobject-2.0 -lgio-2.0
-L/usr/local/lib/ -I/usr/local/include/glib-2.0
test.c: In function 'main':
test.c:4: warning: 'g_type_init' is deprecated (declared at
/usr/local/include/glib-2.0/gobject/gtype.h:669)
[root at blade /usr/ports/devel/libsoup/work/libsoup-2.40.3]# ./test
Segmentation fault: 11 (core dumped)
[root at blade /usr/ports/devel/libsoup/work/libsoup-2.40.3]# echo $?
139

[root at blade /usr/ports/devel/libsoup/work/libsoup-2.40.3]# gdb test -c
test.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc64-marcel-freebsd"...
Core was generated by `test'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libglib-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from /usr/local/lib/libgio-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libpcre.so.3...done.
Loaded symbols for /usr/local/lib/libpcre.so.3
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libffi.so.6...done.
Loaded symbols for /usr/local/lib/libffi.so.6
Reading symbols from /usr/local/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.0
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/local/lib/gio/modules/libgiognutls.so...done.
Loaded symbols for /usr/local/lib/gio/modules/libgiognutls.so
Reading symbols from /usr/local/lib/libgnutls.so.26...done.
Loaded symbols for /usr/local/lib/libgnutls.so.26
Reading symbols from /usr/local/lib/libnettle.so.4...done.
Loaded symbols for /usr/local/lib/libnettle.so.4
Reading symbols from /usr/local/lib/libgmp.so.10...done.
Loaded symbols for /usr/local/lib/libgmp.so.10
Reading symbols from /usr/local/lib/libhogweed.so.2...done.
Loaded symbols for /usr/local/lib/libhogweed.so.2
Reading symbols from /usr/local/lib/compat/pkg/libtasn1.so.5...done.
Loaded symbols for /usr/local/lib/compat/pkg/libtasn1.so.5
Reading symbols from /usr/local/lib/libp11-kit.so.0...done.
Loaded symbols for /usr/local/lib/libp11-kit.so.0
Reading symbols from /usr/local/lib/libtasn1.so.7...done.
Loaded symbols for /usr/local/lib/libtasn1.so.7
Reading symbols from /usr/local/lib/pkcs11/p11-kit-trust.so...done.
Loaded symbols for /usr/local/lib/pkcs11/p11-kit-trust.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000004096a7d8 in strcmp () from /lib/libc.so.7
[New Thread 41804400 (LWP 101071/test)]



On 4/20/14 9:19 AM, Craig Butler wrote:
>
> ----- Original Message -----
>> From: "Riccardo Veraldi" <riccardo.veraldi at gmail.com>
>> To: sparc64 at freebsd.org
>> Sent: Friday, 18 April, 2014 8:19:54 AM
>> Subject: libsoup
>>
>> hello, anyone having the same problem ?
>> thank you
>>
>> [root at blade /usr/ports/devel/libsoup]# make
>> ===>   libsoup-2.40.3_3 depends on package: glib-networking>=2.29.18
>> - found
>> ===>   libsoup-2.40.3_3 depends on file: /usr/local/bin/python2.7 -
>> found
>> ===>   libsoup-2.40.3_3 depends on executable: python2 - found
>> ===>   libsoup-2.40.3_3 depends on executable: gmake - found
>> ===>   libsoup-2.40.3_3 depends on executable: pkgconf - found
>> ===>   libsoup-2.40.3_3 depends on file:
>> /usr/local/bin/intltool-extract
>> - found
>> ===>   libsoup-2.40.3_3 depends on executable: g-ir-scanner - found
>> ===>   libsoup-2.40.3_3 depends on shared library: libgcrypt.so -
>> found
>> ===>   libsoup-2.40.3_3 depends on shared library: libintl.so - found
>> ===>   libsoup-2.40.3_3 depends on shared library: libsqlite3.so -
>> found
>> ===>   libsoup-2.40.3_3 depends on shared library: libglib-2.0.so -
>> found
>> ===>   libsoup-2.40.3_3 depends on shared library: libpcre.so - found
>> ===>   libsoup-2.40.3_3 depends on shared library: libxml2.so - found
>> ===>  Configuring for libsoup-2.40.3_3
>> configure: loading site script /usr/ports/Templates/config.site
>> 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... (cached) /bin/mkdir -p
>> checking for gawk... (cached) /usr/bin/awk
>> checking whether gmake sets $(MAKE)... yes
>> checking whether gmake supports nested variables... yes
>> checking whether gmake sets $(MAKE)... (cached) yes
>> checking for 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 for style of include used by gmake... GNU
>> checking dependency style of cc... gcc3
>> checking build system type... sparc64-portbld-freebsd9.2
>> checking host system type... sparc64-portbld-freebsd9.2
>> checking how to print strings... printf
>> checking for a sed that does not truncate output... (cached)
>> /usr/bin/sed
>> checking for grep that handles long lines and -e... (cached)
>> /usr/bin/grep
>> checking for egrep... (cached) /usr/bin/egrep
>> checking for fgrep... (cached) /usr/bin/fgrep
>> checking for ld used by cc... /usr/bin/ld
>> checking if the linker (/usr/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)
>> 262144
>> checking whether the shell understands some XSI constructs... yes
>> checking whether the shell understands "+="... no
>> checking how to convert sparc64-portbld-freebsd9.2 file names to
>> sparc64-portbld-freebsd9.2 format... func_convert_file_noop
>> checking how to convert sparc64-portbld-freebsd9.2 file names to
>> toolchain format... func_convert_file_noop
>> checking for /usr/bin/ld option to reload object files... -r
>> checking for objdump... objdump
>> checking how to recognize dependent libraries... pass_all
>> checking for dlltool... no
>> checking how to associate runtime and link libraries... printf %s\n
>> checking for ar... ar
>> checking for archiver @FILE support... no
>> checking for strip... strip
>> checking for ranlib... ranlib
>> checking command to parse /usr/bin/nm -B output from cc object... ok
>> checking for sysroot... no
>> checking for mt... mt
>> checking if mt is a manifest tool... no
>> checking how to run the C preprocessor... cpp
>> checking for ANSI C header files... (cached) yes
>> checking for sys/types.h... (cached) yes
>> checking for sys/stat.h... (cached) yes
>> checking for stdlib.h... (cached) yes
>> checking for string.h... (cached) yes
>> checking for memory.h... (cached) yes
>> checking for strings.h... (cached) yes
>> checking for inttypes.h... (cached) yes
>> checking for stdint.h... (cached) yes
>> checking for unistd.h... (cached) yes
>> checking for dlfcn.h... (cached) yes
>> checking for objdir... .libs
>> checking if cc supports -fno-rtti -fno-exceptions... no
>> checking for cc option to produce PIC... -fPIC -DPIC
>> checking if cc PIC flag -fPIC -DPIC works... yes
>> checking if cc static flag -static works... yes
>> checking if cc supports -c -o file.o... yes
>> checking if cc supports -c -o file.o... (cached) yes
>> checking whether the cc linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking whether -lc should be explicitly linked in... no
>> checking dynamic linker characteristics... freebsd9.2 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.16... yes
>> checking for GLIB - version >= 2.33.1... yes (version 2.36.3)
>> checking for XML... yes
>> checking for Win32... no
>> checking whether NLS is requested... yes
>> checking for intltool >= 0.35.0... 0.50.2 found
>> checking for intltool-update... /usr/local/bin/intltool-update
>> checking for intltool-merge... /usr/local/bin/intltool-merge
>> checking for intltool-extract... /usr/local/bin/intltool-extract
>> checking for xgettext... /usr/local/bin/xgettext
>> checking for msgmerge... /usr/local/bin/msgmerge
>> checking for msgfmt... /usr/local/bin/msgfmt
>> checking for gmsgfmt... /usr/local/bin/msgfmt
>> checking for perl... /usr/bin/perl
>> checking for perl >= 5.8.1... 5.14.4
>> checking for XML::Parser... ok
>> 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... no
>> checking for bindtextdomain in -lintl... yes
>> checking for ngettext in -lintl... yes
>> checking for dgettext in -lintl... yes
>> checking for bind_textdomain_codeset... yes
>> checking for msgfmt... (cached) /usr/local/bin/msgfmt
>> checking for dcgettext... yes
>> checking if msgfmt accepts -c... yes
>> checking for gmsgfmt... (cached) /usr/local/bin/msgfmt
>> checking for xgettext... (cached) /usr/local/bin/xgettext
>> checking for gmtime_r... yes
>> checking for mmap... (cached) yes
>> checking for socket... yes
>> checking whether to build libsoup-gnome... no
>> checking for gtkdoc-check... /usr/local/bin/gtkdoc-check
>> checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase
>> checking for gtkdoc-mkpdf... /usr/local/bin/gtkdoc-mkpdf
>> checking whether to build gtk-doc documentation... no
>> checking for gobject-introspection... yes
>> checking for glib-networking (glib TLS implementation)...
>> Segmentation
>> fault (core dumped)
>> no
>> configure: error: libsoup requires glib-networking for TLS support.
>>
>> If you are building a package, you can pass --disable-tls-check to
>> allow building libsoup anyway (since glib-networking is not actually
>> required at compile time), but you should be sure to add a runtime
>> dependency on it.
>> ===>  Script "configure" failed unexpectedly.
>> Please run the gnomelogalyzer, available from
>> "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose
>> the
>> problem and suggest a solution. If - and only if - the gnomelogalyzer
>> cannot
>> solve the problem, report the build failure to the FreeBSD GNOME team
>> at
>> gnome at FreeBSD.org, and attach (a)
>> "/usr/ports/devel/libsoup/work/libsoup-2.40.3/config.log", (b) the
>> output of
>> the failed make command, and (c) the gnomelogalyzer output. Also, it
>> might
>> be a good idea to provide an overview of all packages installed on
>> your
>> system
>> (i.e. an `ls /var/db/pkg`). Put your attachment up on any website,
>> copy-and-paste into http://freebsd-gnome.pastebin.com, or use
>> send-pr(1)
>> with
>> the attachment. Try to avoid sending any attachments to the mailing
>> list
>> (gnome at FreeBSD.org), because attachments sent to FreeBSD mailing
>> lists are
>> usually discarded by the mailing list software.
>> *** [do-configure] Error code 1
>>
>> Stop in /usr/ports/devel/libsoup.
>> _______________________________________________
>> freebsd-sparc64 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
>> To unsubscribe, send any mail to
>> "freebsd-sparc64-unsubscribe at freebsd.org"
>>
> Hello Riccardo
>
> libsoup is building fine on my 9.2-RELEASE sparc64 tinderbox;
> http://bsdtec.com/freebsd/libsoup-2.40.3_2.log
>
> Have you had a look at the config.log or run with truss to find out what is seg faulting it ?
>
> Kind Regards
>
> Craig Butler
>



More information about the freebsd-sparc64 mailing list