[ports-i386@FreeBSD.org: gmdns-0.1_4 failed on i386 7]

Kris Kennaway kris at obsecurity.org
Thu Dec 14 14:05:06 PST 2006


Dear Maintainer,

As you may know, in the near future FreeBSD 7.x will be switching from
the gcc 3.4 compiler to gcc 4.x.  Unfortunately your port fails to
build with the new compiler; see the log below or the following url:

  http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/

To ease the disruption to users and to avoid further work later on,
can you please work (with the upstream developers if necessary) on
fixing this error?

In many cases it requires only simple code changes, and these may
already have been submitted to the developers by other projects
(thesedays many Linux distributions use gcc 4.1, so chances are they
have fixed the error already), or the patches may be found in their
package repositories.

You should be able to reproduce it yourself simply by installing the
lang/gcc41 port and then setting the variables

  CC=/usr/local/bin/gcc41
  CXX=/usr/local/bin/g++41

in your environment (Note: some ports do not respect these variables
currently, but this is another bug that should be fixed).

Thanks,
Kris

----- Forwarded message from User Ports-i386 <ports-i386 at FreeBSD.org> -----

X-Original-To: kkenn at localhost
Delivered-To: kkenn at localhost.obsecurity.org
X-Original-To: kris at FreeBSD.org
Delivered-To: kris at FreeBSD.org
Date: Thu, 14 Dec 2006 20:06:35 GMT
From: User Ports-i386 <ports-i386 at FreeBSD.org>
To: kris at FreeBSD.org
Subject: gmdns-0.1_4 failed on i386 7
X-UIDL: oNN"!!i3"!#JE!!lX=!!
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.3

building gmdns-0.1_4 on gohan20.freebsd.org
in directory /x/tmp/7/chroot/7623
building for: 7.0-CURRENT i386
maintained by: gnome at FreeBSD.org
port directory: /usr/ports/net/gmdns
build started at Thu Dec 14 20:02:40 UTC 2006
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=gettext-0.14.5_2.tbz glib-2.12.4.tbz gmake-3.81_1.tbz libiconv-1.9.2_2.tbz perl-5.8.8.tbz pkg-config-0.21.tbz
RUN_DEPENDS=gettext-0.14.5_2.tbz glib-2.12.4.tbz libiconv-1.9.2_2.tbz perl-5.8.8.tbz pkg-config-0.21.tbz
prefixes: LOCALBASE=usr/local X11BASE=usr/X11R6
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> gmdns-0.1.tar.bz2 doesn't seem to exist in /tmp/distfiles/gnome2.
=> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/gnome2/.
fetch: ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/gnome2/gmdns-0.1.tar.bz2: Operation timed out
=> Attempting to fetch from ftp://pointyhat.freebsd.org/pub/FreeBSD/distfiles/gnome2/.
gmdns-0.1.tar.bz2                                      219 kB 1937 kBps
=> MD5 Checksum OK for gnome2/gmdns-0.1.tar.bz2.
=> SHA256 Checksum OK for gnome2/gmdns-0.1.tar.bz2.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for gmdns-0.1_4
=> MD5 Checksum OK for gnome2/gmdns-0.1.tar.bz2.
=> SHA256 Checksum OK for gnome2/gmdns-0.1.tar.bz2.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for gmdns-0.1_4
===>  Applying FreeBSD patches for gmdns-0.1_4
================================================================
====================<phase 4: make build>====================
add_pkg gettext-0.14.5_2.tbz glib-2.12.4.tbz gmake-3.81_1.tbz libiconv-1.9.2_2.tbz perl-5.8.8.tbz pkg-config-0.21.tbz
adding dependencies
pkg_add gettext-0.14.5_2.tbz
pkg_add glib-2.12.4.tbz
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.8.8 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.8.8 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config... Done.
Spamming /etc/manpath.config... Done.
pkg_add gmake-3.81_1.tbz
pkg_add libiconv-1.9.2_2.tbz
skipping libiconv-1.9.2_2, already added
pkg_add perl-5.8.8.tbz
skipping perl-5.8.8, already added
pkg_add pkg-config-0.21.tbz
skipping pkg-config-0.21, already added
===>   gmdns-0.1_4 depends on executable in : gmake - found
===>   gmdns-0.1_4 depends on executable in : pkg-config - found
===>   gmdns-0.1_4 depends on shared library: glib-2.0.0 - found
===>  Configuring for gmdns-0.1_4
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for db2html... false
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for strerror in -lcposix... no
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i386-portbld-freebsd7.0
checking host system type... i386-portbld-freebsd7.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... 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... freebsd7.0 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd7.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
GNOME_COMPILE_WARNINGS: not found
checking for pkg-config... /usr/local/bin/pkg-config
checking for gobject-2.0... yes
checking GOBJECT_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
checking GOBJECT_LIBS... -L/usr/local/lib -lgobject-2.0 -lglib-2.0 -liconv  
configure: creating ./config.status
config.status: creating gmdns.pc
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing default-1 commands
===>  Building for gmdns-0.1_4
gmake  all-recursive
gmake[1]: Entering directory `/work/a/ports/net/gmdns/work/gmdns-0.1'
Making all in src
gmake[2]: Entering directory `/work/a/ports/net/gmdns/work/gmdns-0.1/src'
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -O2 -fno-strict-aliasing -pipe  -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -Wall -Werror -g -c 1035.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall -Werror -g -c 1035.c  -fPIC -DPIC -o .libs/1035.o
cc1: warnings being treated as errors
1035.c: In function '_label':
1035.c:89: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
1035.c:89: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness
1035.c: In function '_rrparse':
1035.c:208: warning: pointer targets in assignment differ in signedness
gmake[2]: *** [1035.lo] Error 1
gmake[2]: Leaving directory `/work/a/ports/net/gmdns/work/gmdns-0.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/work/a/ports/net/gmdns/work/gmdns-0.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /a/ports/net/gmdns.
================================================================
build of /usr/ports/net/gmdns ended at Thu Dec 14 20:08:09 UTC 2006


----- End forwarded message -----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061214/5c622178/attachment.pgp


More information about the freebsd-gnome mailing list