Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 22:42:39 GMT
From:      Z Beeblebrox <zaphod@berentweb.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175745: sysutils/coreutils build fails
Message-ID:  <201301312242.r0VMgdlC071630@red.freebsd.org>
Resent-Message-ID: <201301312250.r0VMo01v035015@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175745
>Category:       ports
>Synopsis:       sysutils/coreutils build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Z Beeblebrox
>Release:        10-current
>Organization:
>Environment:
10.0-CURRENT #0 r246145 amd64
>Description:
Trying to build sysutils/coreutils breaks.

Output for gcc46 as compiler at break:
src/chroot.c: In function 'set_additional_groups':
src/chroot.c:103:16: error: expected specifier-qualifier-list before 'typedef'
gmake[2]: *** [src/chroot.o] Error 1
gmake[2]: Leaving directory `/usr/obj/asp/ports/sysutils/coreutils/work/coreutils-8.20'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/asp/ports/sysutils/coreutils/work/coreutils-8.20'
gmake: *** [all] Error 2
*** [do-build] Error code 1
Stop in /asp/ports/sysutils/coreutils.

Output for clang as compiler at break:
lib/libcoreutils.a(striconv.o): In function `mem_cd_iconv':
lib/striconv.c:(.text+0x49): undefined reference to `libiconv'
lib/striconv.c:(.text+0xaa): undefined reference to `libiconv'
lib/striconv.c:(.text+0x117): undefined reference to `libiconv'
lib/striconv.c:(.text+0x181): undefined reference to `libiconv'
lib/striconv.c:(.text+0x1f0): undefined reference to `libiconv'
lib/libcoreutils.a(striconv.o):lib/striconv.c:(.text+0x24c): more undefined references to `libiconv' follow
lib/libcoreutils.a(striconv.o): In function `str_iconv':
lib/striconv.c:(.text+0x54f): undefined reference to `libiconv_open'
lib/striconv.c:(.text+0x576): undefined reference to `libiconv_close'
lib/striconv.c:(.text+0x5af): undefined reference to `libiconv_close'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [src/factor] Error 1
gmake[2]: Leaving directory `/usr/obj/asp/ports/sysutils/coreutils/work/coreutils-8.20'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/asp/ports/sysutils/coreutils/work/coreutils-8.20'
gmake: *** [all] Error 2
*** [do-build] Error code 1

>How-To-Repeat:
build sysutils/coreutils on 10
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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