Bug 44374 - lang/gcc32 can't find iconv on -STABLE
Summary: lang/gcc32 can't find iconv on -STABLE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: David E. O'Brien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 09:20 UTC by Volker Stolz
Modified: 2003-01-22 12:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Stolz 2002-10-22 09:20:01 UTC
lang/gcc32 tries to link in libiconv, but /usr/local/lib is not in the
library search path (nor is there a dependency for this in the Makefile):

stage1/xgcc -Bstage1/ -B/usr/local/i386-portbld-freebsd4.6/bin/ -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o jc1 \
        java/parse.o java/class.o java/decl.o java/expr.o java/constants.o java/lang.o java/typeck.o java/except.o java/verify.o java/zextract.o java/jcf-io.o java/jcf-parse.o java/mangle.o java/mangle_name.o java/builtins.o java/jcf-write.o java/buffer.o java/check-init.o java/jcf-depend.o java/jcf-path.o java/xref.o java/boehm.o mkdeps.o main.o libbackend.a -lz -liconv   ../libiberty/libiberty.a
/usr/libexec/elf/ld: cannot find -liconv
collect2: ld returned 1 exit status
gmake[2]: *** [jc1] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc32/work/build/gcc'

Fix: 

Sneaking in a -L${LOCALBASE}/lib might help.
[BTW: pkg-comment says that's gcc 3.1]
How-To-Repeat: cd /usr/ports/lang/gcc32 && make
Comment 1 Oliver Braun freebsd_committer freebsd_triage 2002-10-22 09:24:03 UTC
Responsible Changed
From-To: freebsd-ports->obrien

Over to maintainer(s)
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-22 10:09:17 UTC
State Changed
From-To: open->feedback

I have adjusted the pkg-comment, but I can't reproduce the build error, and bento is building the package fine, does it still occur?
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-22 11:47:25 UTC
State Changed
From-To: feedback->closed

pkg-comment adjusted,  
Build Problem not reproducable anymore.