[kde-freebsd] [ports-i386 at FreeBSD.org: xdg-user-dirs-0.10_1 failed on i386 8]

Erwin Lansing erwin at FreeBSD.org
Mon Dec 22 23:33:54 CET 2008


Hi,

This error seems related to the import the strndup(3) function, while
the port (re)defines its own version.  Can you have a look at this?
http://svn.freebsd.org/viewvc/base?view=revision&revision=185690

Cheers,
-erwin

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

Date: Mon, 22 Dec 2008 15:14:33 GMT
From: User Ports-i386 <ports-i386 at FreeBSD.org>
To: erwin at FreeBSD.org, linimon at FreeBSD.org
Subject: xdg-user-dirs-0.10_1 failed on i386 8

You can also find this build log at

  http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20081218140000/xdg-user-dirs-0.10_1.log

building xdg-user-dirs-0.10_1 on gohan31.freebsd.org
in directory /x/tmp/8/20081218140000/chroot/17
building for: 8.0-CURRENT i386
maintained by: kde at freebsd.org
port directory: /usr/ports/devel/xdg-user-dirs
Makefile ident: $FreeBSD: ports/devel/xdg-user-dirs/Makefile,v 1.2 2008/07/19 20:51:41 miwi Exp $
build started at Mon Dec 22 15:13:43 UTC 2008
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=gettext-0.17_1.tbz gmake-3.81_3.tbz libiconv-1.11_1.tbz
RUN_DEPENDS=gettext-0.17_1.tbz libiconv-1.11_1.tbz
prefixes: LOCALBASE=usr/local X11BASE=usr/local
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> xdg-user-dirs-0.10.tar.gz doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch from ftp://ftp-master.freebsd.org/pub/FreeBSD/ports/distfiles/.
xdg-user-dirs-0.10.tar.gz                              237 kB 5182 kBps
=> MD5 Checksum OK for xdg-user-dirs-0.10.tar.gz.
=> SHA256 Checksum OK for xdg-user-dirs-0.10.tar.gz.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for xdg-user-dirs-0.10_1
=> MD5 Checksum OK for xdg-user-dirs-0.10.tar.gz.
=> SHA256 Checksum OK for xdg-user-dirs-0.10.tar.gz.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for xdg-user-dirs-0.10_1
===>  Applying FreeBSD patches for xdg-user-dirs-0.10_1
================================================================
====================<phase 4: make build>====================
add_pkg gettext-0.17_1.tbz gmake-3.81_3.tbz libiconv-1.11_1.tbz
adding dependencies
pkg_add gettext-0.17_1.tbz
pkg_add gmake-3.81_3.tbz
pkg_add libiconv-1.11_1.tbz
skipping libiconv-1.11_1, already added
===>   xdg-user-dirs-0.10_1 depends on executable: gmake - found
===>   xdg-user-dirs-0.10_1 depends on shared library: iconv.3 - found
===>   xdg-user-dirs-0.10_1 depends on shared library: intl - found
===>  Configuring for xdg-user-dirs-0.10_1
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... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by gmake... GNU
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 ISO C89... none needed
checking dependency style of cc... gcc3
checking for an ANSI C-conforming const... yes
checking for library containing strerror... none required
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cc -E
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking whether gmake sets $(MAKE)... (cached) yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for more warnings... no
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: WARNING:  po/Makefile.in.in seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
===>  Building for xdg-user-dirs-0.10_1
gmake  all-recursive
gmake[1]: Entering directory `/work/a/ports/devel/xdg-user-dirs/work/xdg-user-dirs-0.10'
Making all in po
gmake[2]: Entering directory `/work/a/ports/devel/xdg-user-dirs/work/xdg-user-dirs-0.10/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/work/a/ports/devel/xdg-user-dirs/work/xdg-user-dirs-0.10/po'
gmake[2]: Entering directory `/work/a/ports/devel/xdg-user-dirs/work/xdg-user-dirs-0.10'
cc -DHAVE_CONFIG_H -I. -I. -I. -DXDGCONFDIR=\"/usr/local/etc/xdg\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSTANDALONE_XDG_USER_DIR_LOOKUP   -I/usr/local/include  -I/usr/local/include -MT xdg-user-dirs-update.o -MD -MP -MF .deps/xdg-user-dirs-update.Tpo -c -o xdg-user-dirs-update.o xdg-user-dirs-update.c
xdg-user-dirs-update.c:20: error: static declaration of 'strndup' follows non-static declaration
gmake[2]: *** [xdg-user-dirs-update.o] Error 1
gmake[2]: Leaving directory `/work/a/ports/devel/xdg-user-dirs/work/xdg-user-dirs-0.10'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/work/a/ports/devel/xdg-user-dirs/work/xdg-user-dirs-0.10'
gmake: *** [all] Error 2
*** Error code 2

Stop in /a/ports/devel/xdg-user-dirs.
================================================================
build of /usr/ports/devel/xdg-user-dirs ended at Mon Dec 22 15:14:32 UTC 2008

----- End forwarded message -----
-- 
Erwin Lansing                                   http://droso.org
                                               erwin at FreeBSD.org
You are now free to move around the cabin         erwin at aauug.dk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20081222/4784e9d5/attachment.sig 


More information about the kde-freebsd mailing list