Bug 114493

Summary: Broken build of devel/adacurses
Product: Ports & Packages Reporter: Petr Holub <hopet>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Petr Holub 2007-07-11 12:10:03 UTC
	portinstall devel/adacurses results in

	[... output abbreviated here...]

gmake[1]: Entering directory `/usr/ports/devel/adacurses/work/ncurses-5.6/Ada95'

for d in gen src; do \
                (cd $d ; gmake  all) ;\
        done
gmake[2]: Entering directory `/usr/ports/devel/adacurses/work/ncurses-5.6/Ada95/
gen'
cc -I. -I../../include  -I -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -g
  -c -o gen.o ./gen.c
cc -I. -I../../include  -I -DHAVE_CONFIG_H -I. -O2 -fno-strict-aliasing -pipe -g
  gen.o      -L../../lib ../lib/libtinfo.la -o gen
cc: ../lib/libtinfo.la: No such file or directory
gmake[2]: *** [gen] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/adacurses/work/ncurses-5.6/Ada95/g
en'
gmake[2]: Entering directory `/usr/ports/devel/adacurses/work/ncurses-5.6/Ada95/
src'
gnatmake -O3 -gnatpn  -I. -I. -c -o terminal_interface.o ./terminal_interface.ad
s
gcc -c -I./ -O3 -gnatpn -I. -I. -I- ./terminal_interface.ads
gmake[2]: *** No rule to make target `terminal_interface-curses.ads', needed by
`terminal_interface-curses-aux.o'.  Stop.
gmake[2]: Leaving directory `/usr/ports/devel/adacurses/work/ncurses-5.6/Ada95/s
rc'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/devel/adacurses/work/ncurses-5.6/Ada95'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/adacurses.


	For compilation, gnat-gcc-4.1.2_2 has been used.

Fix: 

None yet.
How-To-Repeat: 
	portinstall devel/adacurses
	with gnat-gcc-4.1.2_2 (PATH=/usr/local/bin/gcc41:$PATH)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-11 12:10:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

Over to maintainer
Comment 2 Thomas E. Dickey 2007-07-13 21:02:21 UTC
The build is combining libtool and Ada95.
I documented some time ago that GNAT (Ada95) did not work with libtool.

A quick check here with

ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18 22:14:06)

seems to confirm that (gnatlink cannot handle the libtool files).

If you happen to know of a program which does use that combination,
I'll look into it and make changes as needed in ncurses.
However, I've seen no indication that libtool is capable of this.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Comment 3 Marcelo Araujo freebsd_committer freebsd_triage 2007-07-15 17:40:14 UTC
State Changed
From-To: open->analyzed

Well, is not necessary more explaining about this. 

Thanks Thomas.
Comment 4 Petr Holub 2007-07-15 18:27:09 UTC
OK - maybe just adding a note on this into pkg-descr would help
avoiding questions like this :)

Thanks!
Petr
Comment 5 Marcelo Araujo freebsd_committer freebsd_triage 2007-07-22 21:10:07 UTC
State Changed
From-To: analyzed->closed

This situation depend of direct modification in ncurses.