Bug 87831 - textproc/hyperestraier does not compile with libiconv-1.9.2_1
Summary: textproc/hyperestraier does not compile with libiconv-1.9.2_1
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: Michael Johnson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 09:10 UTC by jau
Modified: 2005-11-05 00:20 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 jau 2005-10-22 09:10:16 UTC
              When running make for the port it ends like this...

LD_RUN_PATH=/lib:/usr/lib:/home/jau/lib:/usr/local/lib:/usr/local/lib cc -Wall -ansi -pedantic -fPIC -fsigned-char -O -pipe  -D_THREAD_SAFE -o dpmgr dpmgr.o -L. -L/home/jau/lib -L/usr/local/lib -lqdbm -lz -pthread -lc
./libqdbm.so: undefined reference to `libiconv_open'
./libqdbm.so: undefined reference to `libiconv_close'
./libqdbm.so: undefined reference to `pow'
./libqdbm.so: undefined reference to `libiconv'
*** Error code 1

Stop in /opt/ports/databases/qdbm/work/qdbm-1.8.33.
*** Error code 1

Stop in /opt/ports/databases/qdbm.
*** Error code 1

Stop in /opt/ports/textproc/hyperestraier.

Fix: 

The correct names to refer in code would be iconv_open, icon_close,
etc.
The missing pow() simply lacks -lm during the linking phase.
How-To-Repeat:               Try make with libiconv-1.9.2_1 installed on FreeBSD-4.11-STABLE.
(In fact any FreeBSD version should produce the same results.)
Comment 1 jau 2005-10-22 09:22:33 UTC
Quoting FreeBSD-gnats-submit@FreeBSD.org:
> 
> Thank you very much for your problem report.
> It has the internal identification `ports/87831'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
> 
> You can access the state of your problem report at any time
> via this link:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=87831
> 
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       hyperestraier does not compile with libiconv-1.9.2_1
> >Arrival-Date:   Sat Oct 22 08:10:16 GMT 2005


	Obviously this must be a problem in qdbm-1.8.33, not in
	hyperestraier. I just stumbled upon the problem while trying
	to test hyperestraier.
	

	Cheers,
		// jau
.---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
  /    Jukka A. Ukkonen,                            Mawit Ltd, Finland
 /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
   /   Internet: Jukka.Ukkonen(a)Mawit.Com      (Home) +358-9-6215-280
  /    Internet: ukkonen(a)nic.funet.fi
 v     Internet: jau(a)iki.fi
        .---  .-  ..-  ...-.-  ..  -.-  ..  .-.-.-  ..-.  ..
+ + + + My opinions are mine and mine alone, not my employers. + + + +
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-24 21:25:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ahze

Over to maintainer.
Comment 3 Michael Johnson freebsd_committer freebsd_triage 2005-11-05 00:19:36 UTC
State Changed
From-To: open->closed

Fixed in 1.0.3, Thanks!