Bug 106639

Summary: installing devel/git from ports fails with compile error
Product: Ports & Packages Reporter: Florian Franzmann <siflfran>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Florian Franzmann 2006-12-12 10:50:06 UTC
compiling devel/git from ports fails with the following error:
gcc -o xdiff/xprepare.o -c -g -O2 -Wall  -I/usr/local/include -I/usr/pkg/include -DSHA1_HEADER='<openssl/sha.h>'  xdiff/xprepare.c
gcc -o xdiff/xutils.o -c -g -O2 -Wall  -I/usr/local/include -I/usr/pkg/include -DSHA1_HEADER='<openssl/sha.h>'  xdiff/xutils.c
gcc -o xdiff/xemit.o -c -g -O2 -Wall  -I/usr/local/include -I/usr/pkg/include -DSHA1_HEADER='<openssl/sha.h>'  xdiff/xemit.c
rm -f xdiff/lib.a && ar rcs xdiff/lib.a xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o
gcc -g -O2 -Wall  -I/usr/local/include -I/usr/pkg/include -DSHA1_HEADER='<openssl/sha.h>'  -o git-convert-objects   -L/usr/local/lib convert-objects.o libgit.a xdiff/lib.a -lz  -liconv  -lcrypto
/usr/bin/ld: cannot find -liconv
gmake: *** [git-convert-objects] Error 1
*** Error code 2

Stop in /usr/ports/devel/git.

ports tree is up to date.

Fix: 

unknown
How-To-Repeat: cd /usr/ports/devel/git && make && make install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-12 10:52:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anholt

Over to maintainer
Comment 2 Eric Anholt 2007-05-25 19:17:25 UTC
The port looks like it should be correctly depending on iconv, and the
build has worked fine for me.  Is your libiconv in an unusual location?

-- 
Eric Anholt                             anholt@FreeBSD.org
eric@anholt.net                         eric.anholt@intel.com
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-03 13:29:04 UTC
State Changed
From-To: open->closed

Feedback timeout.