Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 18:43:06 GMT
From:      Rusty Nejdl <rnejdl@ringofsaturn.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174021: Port sysutils/coreutils won't build when NLS is disabled
Message-ID:  <201211301843.qAUIh6xk074519@red.freebsd.org>
Resent-Message-ID: <201211301850.qAUIo0qX007024@freefall.freebsd.org>

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

>Number:         174021
>Category:       ports
>Synopsis:       Port sysutils/coreutils won't build when NLS is disabled
>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:   Fri Nov 30 18:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Rusty Nejdl
>Release:        FreeBSD 9.1-PRERELEASE
>Organization:
>Environment:
FreeBSD tethys.ringofsaturn.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r243321: Mon Nov 19 21:59:36 CST 2012     root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
If you disabled NLS support, then this port failed to build:

...

  CCLD   src/env
  CC     src/expand.o
  CCLD   src/expand
  CC     src/expr.o
  CCLD   src/expr
  CC     src/factor.o
  CCLD   src/factor
lib/libcoreutils.a(striconv.o): In function `str_cd_iconv':
striconv.c:(.text+0x63): undefined reference to `libiconv'
striconv.c:(.text+0xfa): undefined reference to `libiconv'
striconv.c:(.text+0x17a): undefined reference to `libiconv'
lib/libcoreutils.a(striconv.o): In function `str_iconv':
striconv.c:(.text+0x258): undefined reference to `libiconv_open'
striconv.c:(.text+0x27c): undefined reference to `libiconv_close'
striconv.c:(.text+0x2b5): undefined reference to `libiconv_close'
lib/libcoreutils.a(striconv.o): In function `mem_cd_iconv':
striconv.c:(.text+0x2fb): undefined reference to `libiconv'
striconv.c:(.text+0x382): undefined reference to `libiconv'
striconv.c:(.text+0x3cd): undefined reference to `libiconv'
striconv.c:(.text+0x432): undefined reference to `libiconv'
striconv.c:(.text+0x490): undefined reference to `libiconv'
lib/libcoreutils.a(striconv.o):striconv.c:(.text+0x4db): more undefined references to `libiconv' follow
gmake[2]: *** [src/factor] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/coreutils/work/coreutils-8.20'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/coreutils/work/coreutils-8.20'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/sysutils/coreutils.
*** [build] Error code 1

Stop in /usr/ports/sysutils/coreutils.
Exit 1

>How-To-Repeat:
Disable NLS port and attempt to build the port.
>Fix:


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



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