From owner-freebsd-ports@FreeBSD.ORG Wed Jul 31 14:40:05 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8A1C0852 for ; Wed, 31 Jul 2013 14:40:05 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id C531025CA for ; Wed, 31 Jul 2013 14:40:04 +0000 (UTC) Received: (qmail 92347 invoked by uid 89); 31 Jul 2013 14:33:22 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.66) by mail.grem.de with ESMTPA; 31 Jul 2013 14:33:22 -0000 Date: Wed, 31 Jul 2013 16:33:22 +0200 From: Michael Gmelin To: "O. Hartmann" Subject: Re: editors/vim: does not compile on CURRENT Message-ID: <20130731163322.4d645a68@bsd64.grem.de> In-Reply-To: <20130731162837.568570b3@thor.walstatt.dyndns.org> References: <20130731162837.568570b3@thor.walstatt.dyndns.org> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jul 2013 14:40:05 -0000 On Wed, 31 Jul 2013 16:28:37 +0200 "O. Hartmann" wrote: > I have one box that is reluctantly not compiling port editors/vim with > the following error. > > On several other boxes with very similar hardware AND compilation > options of the very same OS (CUURENT) the compilation is perfect. > > I also tried to recompile gettext and everything that is requisite for > vim, but without succes. > > Any suggestions on that? > > Thanks in advance, > > Oliver > > > [...] > link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly. > cc -L. -Wl,-rpath=/usr/lib:/usr/local/lib -pthread > -L/usr/local/lib -rdynamic -Wl,-R/usr/local/lib/perl5/5.16/mach/CORE > -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/if_lua.o objects/if_perl.o objects/if_perlsfio.o > objects/if_python.o objects/if_tcl.o objects/if_ruby.o > objects/netbeans.o objects/main.o objects/memfile.o > -lm -lelf -pthread -ltermlib -liconv > -Wl,-R/usr/local/lib/perl5/5.16/mach/CORE -pthread -Wl,-E > -fstack-protector -L/usr/local/lib > -L/usr/local/lib/perl5/5.16/mach/CORE -lperl -lm -lcrypt -lutil > -L/usr/local/lib/python2.7/config -lpython2.7 -lutil -lm > -Wl,--export-dynamic -L/usr/local/lib -ltcl86 -lz -lpthread -lm > -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lexecinfo > -lpthread -lcrypt -lm -L/usr/local/lib > -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib > objects/buffer.o: In function `open_buffer': buffer.c:(.text+0x1df): > undefined reference to `libintl_gettext' buffer.c:(.text+0x1fb): > undefined reference to `libintl_gettext' objects/buffer.o: In function > `close_buffer': buffer.c:(.text+0x5d3): undefined reference to > `libintl_gettext' objects/buffer.o: In function `do_buffer': > buffer.c:(.text+0x1589): undefined reference to `libintl_gettext' > buffer.c:(.text+0x15bc): undefined reference to `libintl_gettext' > objects/buffer.o:buffer.c:(.text+0x163f): more undefined references to > `libintl_gettext' follow objects/ex_cmds2.o: In function > `ex_language': ex_cmds2.c:(.text+0x426f): undefined reference to > `_nl_msg_cat_cntr' ex_cmds2.c:(.text+0x4353): undefined reference to > `libintl_gettext' ex_cmds2.c:(.text+0x437b): undefined reference to > `libintl_gettext' objects/ex_docmd.o: In function `do_exmode': > ex_docmd.c:(.text+0x55): undefined reference to `libintl_gettext' > ex_docmd.c:(.text+0x64): undefined reference to `libintl_gettext' > objects/ex_docmd.o: In function `do_cmdline': > ex_docmd.c:(.text+0x299): undefined reference to `libintl_gettext' > objects/ex_docmd.o:ex_docmd.c:(.text+0xbbf): more undefined > references to `libintl_gettext' follow objects/misc1.o: In function > `vim_setenv': misc1.c:(.text+0x6761): undefined reference to > `libintl_bindtextdomain' objects/misc1.o: In function > `preserve_exit': misc1.c:(.text+0x137ce): undefined reference to > `libintl_gettext' misc1.c:(.text+0x137fa): undefined reference to > `libintl_gettext' objects/misc1.o: In function `get_cmd_output': > misc1.c:(.text+0x15372): undefined reference to `libintl_gettext' > misc1.c:(.text+0x15386): undefined reference to `libintl_gettext' > misc1.c:(.text+0x1539d): undefined reference to `libintl_gettext' > objects/misc2.o:misc2.c:(.text+0x1024): more undefined references to > `libintl_gettext' follow objects/mbyte.o: In function `mb_init': > mbyte.c:(.text+0x4eb): undefined reference to > `libintl_bind_textdomain_codeset' objects/normal.o: In function > `do_pending_operator': normal.c:(.text+0x2c44): undefined reference > to `libintl_gettext' objects/normal.o: In function `do_mouse': > normal.c:(.text+0x418b): undefined reference to `libintl_gettext' > objects/normal.o: In function `check_visual_highlight': > normal.c:(.text+0x4808): undefined reference to `libintl_gettext' > objects/normal.o: In function `find_ident_at_pos': > normal.c:(.text+0x4fa4): undefined reference to `libintl_gettext' > objects/normal.o: In function `nv_ident': normal.c:(.text+0x5cc7): > undefined reference to `libintl_gettext' > objects/normal.o:normal.c:(.text+0x6089): more undefined references > to `libintl_gettext' follow objects/main.o: In function `main': > main.c:(.text+0x1f2): undefined reference to `libintl_bindtextdomain' > main.c:(.text+0x20e): undefined reference to `libintl_textdomain' > main.c:(.text+0x34a): undefined reference to `libintl_gettext' > main.c:(.text+0x6d1): undefined reference to `libintl_gettext' > main.c:(.text+0xb9b): undefined reference to `libintl_gettext' > main.c:(.text+0xbb7): undefined reference to `libintl_gettext' > main.c:(.text+0xc93): undefined reference to `libintl_gettext' > objects/main.o:main.c:(.text+0xcaf): more undefined references to > `libintl_gettext' follow cc: error: linker command failed with exit > code 1 (use -v to see invocation) link.sh: Linking failed *** Error > code 1 Did you follow UPDATING 20130316? 20130316: AFFECTS: users of converters/libiconv and devel/gettext AUTHOR: bapt@FreeBSD.org libiconv now handles the lib/charset.alias file instead of devel/gettext. If you are using pkgng 'and' upgrading from source with portupgrade or portmaster, first delete gettext, upgrade libiconv, then reinstall gettext. This will break sudo, so you *must* do this in a root shell (sudo -i) if you use sudo. # pkg delete -f devel/gettext # portmaster converters/libiconv devel/gettext or # pkg delete -f devel/gettext # portupgrade converters/libiconv devel/gettext -- Michael Gmelin