Hi all,
 
I have just try to build net/glib-networking with gcc 4.7 and it to link 
libproxy on my freebsd 9-1-STABLE amd64 r248610. I have also tried with gcc 
4.6, gcc 4.2 and clang 3.2 with the same issue.
Here is the build log:
===>   glib-networking-2.34.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by glib-networking-2.34.2 for building
===>  Extracting for glib-networking-2.34.2
=> SHA256 Checksum OK for gnome2/glib-networking-2.34.2.tar.xz.
===>  Patching for glib-networking-2.34.2
===>  Applying FreeBSD patches for glib-networking-2.34.2
===>   glib-networking-2.34.2 depends on file: 
/usr/local/share/certs/ca-root-nss.crt - found
===>   glib-networking-2.34.2 depends on package: gsettings-desktop-schemas>=0 
- found
===>   glib-networking-2.34.2 depends on executable: gmake - found
===>   glib-networking-2.34.2 depends on file: /usr/local/bin/intltool-extract 
- found
===>   glib-networking-2.34.2 depends on shared library: gnutls - found
===>   glib-networking-2.34.2 depends on shared library: gcrypt - found
===>   glib-networking-2.34.2 depends on shared library: dbus-1 - found
===>   glib-networking-2.34.2 depends on shared library: proxy - found
===>   glib-networking-2.34.2 depends on shared library: intl - found
===>   glib-networking-2.34.2 depends on shared library: glib-2.0 - found
===>   glib-networking-2.34.2 depends on shared library: pcre - found
===>  Configuring for glib-networking-2.34.2
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... ./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... 
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 "+="... no
checking how to convert amd64-portbld-freebsd9.1 file names to 
amd64-portbld-freebsd9.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.1 file names to toolchain 
format... 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 
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... /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) supports 
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 >= 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 >= 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 >= 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
 
  Proxy support:     gnome libproxy
  TLS support:       gnutls gnutls-pkcs11 
  PKCS#11 Support:   p11-kit
  TLS CA file:       /usr/local/share/certs/ca-root-nss.crt
===>  Building for glib-networking-2.34.2
gmake  all-recursive
gmake[1]: Entering directory 
`/usr/ports/net/glib-networking/work/glib-networking-2.34.2'
Making all in po
gmake[2]: Entering directory 
`/usr/ports/net/glib-networking/work/glib-networking-2.34.2/po'
  MSGFMT ar.gmo
  MSGFMT as.gmo
  MSGFMT bg.gmo
  MSGFMT be.gmo
  MSGFMT bn_IN.gmo
  MSGFMT ca.gmo
  MSGFMT c...@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 s...@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-networking-2.34.2/po'
Making all in proxy/libproxy
gmake[2]: Entering directory 
`/usr/ports/net/glib-networking/work/glib-networking-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_widen_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-networking-2.34.2/proxy/libproxy'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/net/glib-networking/work/glib-networking-2.34.2'
gmake: *** [all] Error 2
*** [do-build] Error code 1
 
Stop in /usr/ports/net/glib-networking.
 
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=clang
CXX=clang++
CPP=clang-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/ports/net-im/libmsn*) && \
        empty(.CURDIR:M/usr/ports/audio/libsidplay*) && 
empty(.CURDIR:M/usr/ports/net/openldap*)
CC=/usr/local/bin/gcc47
CXX=/usr/local/bin/g++47
CPP=/usr/local/bin/cpp47
.elif empty(.CURDIR:M/usr/ports/devel/boost-jam*) && 
empty(.CURDIR:M/usr/ports/net/openafs*) && \
        empty(.CURDIR:M/usr/ports/audio/libsidplay*) && 
empty(.CURDIR:M/usr/ports/net/openldap*)
CC=/usr/local/bin/gcc46
CXX=/usr/local/bin/g++46
CPP=/usr/local/bin/cpp46
.endif
 
 
DISABLE_VULNERABILITIES=
 
#WITH_NEW_XORG=yes
 
WITH_PKGNG=yes
KDE4_PREFIX=/usr/local
 
WITH_ALSA=yes
WITH_CAIRO=yes
WITHOUT_CUPS=yes
WITH_DBUS=yes
WITHOUT_DEBUG=yes
WITH_EMACS=yes
WITH_FFMPEG=yes
WITHOUT_FIREBIRD=
WITHOUT_GDBM=yes
WITH_GETTEXT=yes
WITH_GPGME=yes
WITH_GSSAPI=yes
WITH_GSTREAMER=yes
WITH_GTK=yes
WITH_GTK2=yes
WITH_HAL=yes
WITH_IMAGEMAGICK=yes
WITH_KDE4=yes
WITH_KERBEROS=yes
WITH_LAME=yes
WITH_LINUX=yes
WITH_LINUXTHREADS=yes
WITH_MANPAGES=yes
WITH_MMAP=yes
WITH_MMX=yes
WITH_MOZILLA=yes
WITHOUT_NLS=yes
WITH_NOTIFY=yes
WITH_NVIDIA=yes
WITH_NVIDIA_GL=yes
WITH_OPTIMIZATION=yes
WITH_OPTIMIZED_CFLAGS=yes
WITH_OPTIMIZED_FLAGS=yes
WITH_PCRE=yes
WITH_PNG=yes
WITH_PTHREADS=yes
WITH_QT4=yes
WITH_READLINE=yes
WITH_SQLITE=yes
WITH_SSE=yes
WITH_SSE2=yes
WITH_X86_ASM=yes
 
# added by use.perl 2013-03-22 22:57:48
PERL_VERSION=5.16.2
 
Cordially.
Q. Schwerkolt                                     
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to