Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2012 20:45:14 GMT
From:      Josh Carroll <josh.carroll@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173407: editors/vim port fails to build on 9-stable
Message-ID:  <201211052045.qA5KjExZ063003@red.freebsd.org>
Resent-Message-ID: <201211052050.qA5Ko1Vx044112@freefall.freebsd.org>

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

>Number:         173407
>Category:       ports
>Synopsis:       editors/vim port fails to build on 9-stable
>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:   Mon Nov 05 20:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Josh Carroll
>Release:        9.1-PRERELEASE
>Organization:
N/A
>Environment:
FreeBSD pflog.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r242585: Sun Nov  4 14:10:18 PST 2012     root@pflog.net:/usr/obj/usr/src/sys/PFLOG  amd64

>Description:
When trying to build the editors/vim or vim-lite ports, the build fails due to a missing -lintl, which appears to be the result of autoconf and friends.

I snipped the end of the output, as it's just more of the same - errors about undefined references to `libintl_gettext'. Here's the first few errors:

link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
  cc   -L/usr/local/lib -Wl,--as-needed  -o vim objects/buffer.o  objects/blowfish.o  objects/charset.o  objects/diff.o  objects/digraph.o  objects/edit.o  objects/eval.o  objects/ex_cmds.o  objects/ex_cmds2.o  objects/ex_docmd.o  objects/ex_eval.o  objects/ex_getln.o  objects/fileio.o  objects/fold.o  objects/getchar.o  objects/hardcopy.o  objects/hashtab.o    objects/if_cscope.o  objects/if_xcmdsrv.o  objects/mark.o  objects/memline.o  objects/menu.o  objects/message.o  objects/misc1.o  objects/misc2.o  objects/move.o  objects/mbyte.o  objects/normal.o  objects/ops.o  objects/option.o  objects/os_unix.o  objects/pathdef.o  objects/popupmnu.o  objects/quickfix.o  objects/regexp.o  objects/screen.o  objects/search.o  objects/sha256.o  objects/spell.o  objects/syntax.o    objects/tag.o  objects/term.o  objects/ui.o  objects/undo.o  objects/version.o  objects/window.o                      objects/netbeans.o    objects/main.o  objects/memfile.o             -lm -lelf  -ltermlib -liconv
objects/buffer.o: In function `sign_list_placed':
buffer.c:(.text+0x368): undefined reference to `libintl_gettext'
buffer.c:(.text+0x3bd): undefined reference to `libintl_gettext'
buffer.c:(.text+0x415): undefined reference to `libintl_gettext'

I noticed that in the build output for a friend's 9.0-RELEASE box, during configure it prints:

checking for NLS... gettext() works with -lintl

While mine prints:

checking for NLS... gettext() works

This is the same issue that was reported in this PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=168287

Which appears to have been closed due to lack of response from the submitter to provide details/info to reproduce.
>How-To-Repeat:
Try to build editors/vim on 9.1-PRERELEASE
>Fix:
None I'm aware of.

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



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