Bug 168287

Summary: Can't compile editors/vim; missing -lintl
Product: Ports & Packages Reporter: Kevin Thompson <antiduh>
Component: Individual Port(s)Assignee: David E. O'Brien <obrien>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description Kevin Thompson 2012-05-23 23:20:01 UTC
When I attempt to compile the editors/vim port, it fails during the linking stage, complaining about unresolved references to libintl_gettext. Attached is a script log of the build showing the error.

If I enter the editors/vim/work/vim73/src directory and re-submit the link link with -lintl added, it works.

I don't think there's anything special about my system that would cause this. Gettext is installed and up-to-date, and other programs that depend on gettext seem to be compiled and running just fine. I cvsup'd my ports no more than a few hours ago, after the vim build first failed, and nothing changed.

The port is correctly reporting that USE_GETTEXT is set correctly:

  angst(/usr/ports/editors/vim) # make -V USE_GETTEXT
  yes


And I don't think there's anything strange in my make.conf:

  angst(/usr/ports/editors/vim) # cat /etc/make.conf
  WITHOUT_X11=true
  
  MASTER_SITE_SOURCEFORGE= http://kent.dl.sourceforge.net/sourceforge/%SUBDIR%/ \
  http://nchc.dl.sourceforge.net/sourceforge/%SUBDIR%/ \
  http://umn.dl.sourceforge.net/sourceforge/%SUBDIR%/ \
  
  # KRB5_HOME=/usr/local
  # used by the pam_krb5 port
  KRB5_IMPL=mit
  KRB5_DOC=NO
  
  # added by use.perl 2012-04-13 23:06:05
  PERL_VERSION=5.14.2
  angst(/usr/ports/editors/vim) #

Fix: Patch attached with submission follows:
How-To-Repeat: Attempt to recompile editors/vim from ports.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-23 23:20:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->obrien

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2012-05-31 23:40:16 UTC
State Changed
From-To: open->feedback

Please resend the patch -- the attached "patch" is just the build log. 
I have not been able to reproduce this.
Comment 3 Chris Rees 2012-07-01 19:34:44 UTC
Kevin, is this fixed with the latest version of vim?

David, send-pr labels any attached file as a patch, so this is not the
fault of the submitter.  His suggestion is at the top of Description
section.

Chris
Comment 4 David E. O'Brien freebsd_committer freebsd_triage 2012-09-29 00:32:07 UTC
State Changed
From-To: feedback->closed

Unable to reproduce.  I'm sorry this is causing you problems. :-(