Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 14:01:53 +0100
From:      Quentin SCHWERKOLT <develloper.unix@hotmail.fr>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   net/glib-networking failed to build
Message-ID:  <DUB002-W27AB424603E50C39F46D1284D50@phx.gbl>
In-Reply-To: <DUB002-W135EF32840E135F87A4900084D50@phx.gbl>
References:  <DUB002-W135EF32840E135F87A4900084D50@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all=2C
=20
I have just try to build net/glib-networking with gcc 4.7 and it to link li=
bproxy on my freebsd 9-1-STABLE amd64 r248610. I have also tried with gcc 4=
.6=2C gcc 4.2 and clang 3.2 with the same issue.
Here is the build log:
=3D=3D=3D>   glib-networking-2.34.2 depends on file: /usr/local/sbin/pkg - =
found
=3D=3D=3D> Fetching all distfiles required by glib-networking-2.34.2 for bu=
ilding
=3D=3D=3D>  Extracting for glib-networking-2.34.2
=3D> SHA256 Checksum OK for gnome2/glib-networking-2.34.2.tar.xz.
=3D=3D=3D>  Patching for glib-networking-2.34.2
=3D=3D=3D>  Applying FreeBSD patches for glib-networking-2.34.2
=3D=3D=3D>   glib-networking-2.34.2 depends on file: /usr/local/share/certs=
/ca-root-nss.crt - found
=3D=3D=3D>   glib-networking-2.34.2 depends on package: gsettings-desktop-s=
chemas>=3D0 - found
=3D=3D=3D>   glib-networking-2.34.2 depends on executable: gmake - found
=3D=3D=3D>   glib-networking-2.34.2 depends on file: /usr/local/bin/intltoo=
l-extract - found
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: gnutls - fou=
nd
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: gcrypt - fou=
nd
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: dbus-1 - fou=
nd
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: proxy - foun=
d
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: intl - found
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: glib-2.0 - f=
ound
=3D=3D=3D>   glib-networking-2.34.2 depends on shared library: pcre - found
=3D=3D=3D>  Configuring for glib-networking-2.34.2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g whe=
el
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether gmake supports nested variables... yes
checking build system type... amd64-portbld-freebsd9.1
checking host system type... amd64-portbld-freebsd9.1
checking how to print strings... printf
checking for style of include used by gmake... GNU
checking for gcc... /usr/local/bin/gcc47
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...=20
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 /usr/local/bin/gcc47 accepts -g... yes
checking for /usr/local/bin/gcc47 option to accept ISO C89... none needed
checking dependency style of /usr/local/bin/gcc47... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/local/bin/gcc47... /usr/local/bin/ld
checking if the linker (/usr/local/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 "+=3D"... no
checking how to convert amd64-portbld-freebsd9.1 file names to amd64-portbl=
d-freebsd9.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.1 file names to toolchain fo=
rmat... func_convert_file_noop
checking for /usr/local/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 /usr/local/bin/gcc47 o=
bject... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /usr/local/bin/cpp47
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 /usr/local/bin/gcc47 supports -fno-rtti -fno-exceptions... no
checking for /usr/local/bin/gcc47 option to produce PIC... -fPIC -DPIC
checking if /usr/local/bin/gcc47 PIC flag -fPIC -DPIC works... yes
checking if /usr/local/bin/gcc47 static flag -static works... yes
checking if /usr/local/bin/gcc47 supports -c -o file.o... yes
checking if /usr/local/bin/gcc47 supports -c -o file.o... (cached) yes
checking whether the /usr/local/bin/gcc47 linker (/usr/local/bin/ld) suppor=
ts shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.1 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 for gcc... (cached) /usr/local/bin/gcc47
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/local/bin/gcc47 accepts -g... (cached) yes
checking for /usr/local/bin/gcc47 option to accept ISO C89... (cached) none=
 needed
checking dependency style of /usr/local/bin/gcc47... (cached) gcc3
checking whether /usr/local/bin/gcc47 and cc understand -c and -o together.=
.. yes
checking how to run the C preprocessor... /usr/local/bin/cpp47
checking whether NLS is requested... yes
checking for intltool >=3D 0.35.0... 0.41.1 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 >=3D 5.8.1... 5.16.2
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 pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >=3D 2.34.0... yes (version 2.34.3)
checking for gio-querymodules... /usr/local/bin/gio-querymodules
checking for LIBPROXY... yes
checking for GSETTINGS_DESKTOP_SCHEMAS... yes
checking for GNUTLS... yes
checking location of system Certificate Authority list... /usr/local/share/=
certs/ca-root-nss.crt
checking for PKCS11... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile
config.status: creating proxy/libproxy/Makefile
config.status: creating proxy/gnome/Makefile
config.status: creating proxy/tests/Makefile
config.status: creating tls/gnutls/Makefile
config.status: creating tls/pkcs11/Makefile
config.status: creating tls/tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
=20
  Proxy support:     gnome libproxy
  TLS support:       gnutls gnutls-pkcs11=20
  PKCS#11 Support:   p11-kit
  TLS CA file:       /usr/local/share/certs/ca-root-nss.crt
=3D=3D=3D>  Building for glib-networking-2.34.2
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/net/glib-networking/work/glib-netw=
orking-2.34.2'
Making all in po
gmake[2]: Entering directory `/usr/ports/net/glib-networking/work/glib-netw=
orking-2.34.2/po'
  MSGFMT ar.gmo
  MSGFMT as.gmo
  MSGFMT bg.gmo
  MSGFMT be.gmo
  MSGFMT bn_IN.gmo
  MSGFMT ca.gmo
  MSGFMT ca@valencia.gmo
  MSGFMT cs.gmo
  MSGFMT da.gmo
  MSGFMT de.gmo
  MSGFMT el.gmo
  MSGFMT en_CA.gmo
  MSGFMT en_GB.gmo
  MSGFMT eo.gmo
  MSGFMT es.gmo
  MSGFMT et.gmo
  MSGFMT eu.gmo
  MSGFMT fa.gmo
  MSGFMT fi.gmo
  MSGFMT gl.gmo
  MSGFMT fr.gmo
  MSGFMT gu.gmo
  MSGFMT hi.gmo
  MSGFMT hu.gmo
  MSGFMT he.gmo
  MSGFMT it.gmo
  MSGFMT id.gmo
  MSGFMT ja.gmo
  MSGFMT km.gmo
  MSGFMT ko.gmo
  MSGFMT lv.gmo
  MSGFMT kn.gmo
  MSGFMT lt.gmo
  MSGFMT ml.gmo
  MSGFMT mr.gmo
  MSGFMT nb.gmo
  MSGFMT nl.gmo
  MSGFMT or.gmo
  MSGFMT pa.gmo
  MSGFMT pl.gmo
  MSGFMT pt.gmo
  MSGFMT pt_BR.gmo
  MSGFMT ro.gmo
  MSGFMT ru.gmo
  MSGFMT sk.gmo
  MSGFMT sl.gmo
  MSGFMT sr.gmo
  MSGFMT sr@latin.gmo
  MSGFMT ta.gmo
  MSGFMT sv.gmo
  MSGFMT te.gmo
  MSGFMT th.gmo
  MSGFMT tr.gmo
  MSGFMT uk.gmo
  MSGFMT ug.gmo
  MSGFMT vi.gmo
  MSGFMT zh_CN.gmo
  MSGFMT zh_HK.gmo
  MSGFMT zh_TW.gmo
gmake[2]: Leaving directory `/usr/ports/net/glib-networking/work/glib-netwo=
rking-2.34.2/po'
Making all in proxy/libproxy
gmake[2]: Entering directory `/usr/ports/net/glib-networking/work/glib-netw=
orking-2.34.2/proxy/libproxy'
  CC       libgiolibproxy_la-glibproxyresolver.lo
  CC       libgiolibproxy_la-libproxy-module.lo
  CC       glib_pacrunner-glibproxyresolver.o
  CC       glib_pacrunner-glibpacrunner.o
  GEN      org.gtk.GLib.PACRunner.service
  CCLD     glib-pacrunner
/usr/local/lib/libproxy.so: undefined reference to `std::ctype<char>::_M_wi=
den_init() const@GLIBCXX_3.4.11'
collect2: error: ld returned 1 exit status
gmake[2]: *** [glib-pacrunner] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/usr/ports/net/glib-networking/work/glib-netwo=
rking-2.34.2/proxy/libproxy'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/glib-networking/work/glib-netwo=
rking-2.34.2'
gmake: *** [all] Error 2
*** [do-build] Error code 1
=20
Stop in /usr/ports/net/glib-networking.
=20
And my make.conf:
.if !empty(.CURDIR:M/usr/ports/ports-mgmt/*) || !empty(.CURDIR:M/usr/ports/=
*/*nvidia*) || \
        !empty(.CURDIR:M/usr/ports/*/*-kmod*) || !empty(.CURDIR:M/usr/ports=
/multimedia/webcamd*)
CC=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp
.elif empty(.CURDIR:M/usr/ports/net/openldap*) && empty(.CURDIR:M/usr/ports=
/devel/boost-jam*) && \
        empty(.CURDIR:M/usr/ports/net/openafs*) && empty(.CURDIR:M/usr/port=
s/net-im/libmsn*) && \
        empty(.CURDIR:M/usr/ports/audio/libsidplay*) && empty(.CURDIR:M/usr=
/ports/net/openldap*)
CC=3D/usr/local/bin/gcc47
CXX=3D/usr/local/bin/g++47
CPP=3D/usr/local/bin/cpp47
.elif empty(.CURDIR:M/usr/ports/devel/boost-jam*) && empty(.CURDIR:M/usr/po=
rts/net/openafs*) && \
        empty(.CURDIR:M/usr/ports/audio/libsidplay*) && empty(.CURDIR:M/usr=
/ports/net/openldap*)
CC=3D/usr/local/bin/gcc46
CXX=3D/usr/local/bin/g++46
CPP=3D/usr/local/bin/cpp46
.endif
=20
=20
DISABLE_VULNERABILITIES=3D
=20
#WITH_NEW_XORG=3Dyes
=20
WITH_PKGNG=3Dyes
KDE4_PREFIX=3D/usr/local
=20
WITH_ALSA=3Dyes
WITH_CAIRO=3Dyes
WITHOUT_CUPS=3Dyes
WITH_DBUS=3Dyes
WITHOUT_DEBUG=3Dyes
WITH_EMACS=3Dyes
WITH_FFMPEG=3Dyes
WITHOUT_FIREBIRD=3D
WITHOUT_GDBM=3Dyes
WITH_GETTEXT=3Dyes
WITH_GPGME=3Dyes
WITH_GSSAPI=3Dyes
WITH_GSTREAMER=3Dyes
WITH_GTK=3Dyes
WITH_GTK2=3Dyes
WITH_HAL=3Dyes
WITH_IMAGEMAGICK=3Dyes
WITH_KDE4=3Dyes
WITH_KERBEROS=3Dyes
WITH_LAME=3Dyes
WITH_LINUX=3Dyes
WITH_LINUXTHREADS=3Dyes
WITH_MANPAGES=3Dyes
WITH_MMAP=3Dyes
WITH_MMX=3Dyes
WITH_MOZILLA=3Dyes
WITHOUT_NLS=3Dyes
WITH_NOTIFY=3Dyes
WITH_NVIDIA=3Dyes
WITH_NVIDIA_GL=3Dyes
WITH_OPTIMIZATION=3Dyes
WITH_OPTIMIZED_CFLAGS=3Dyes
WITH_OPTIMIZED_FLAGS=3Dyes
WITH_PCRE=3Dyes
WITH_PNG=3Dyes
WITH_PTHREADS=3Dyes
WITH_QT4=3Dyes
WITH_READLINE=3Dyes
WITH_SQLITE=3Dyes
WITH_SSE=3Dyes
WITH_SSE2=3Dyes
WITH_X86_ASM=3Dyes
=20
# added by use.perl 2013-03-22 22:57:48
PERL_VERSION=3D5.16.2
=20
Cordially.
Q. Schwerkolt 		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DUB002-W27AB424603E50C39F46D1284D50>