Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#12076 closed defect (worksforme)

BUG: ncursesw-5.6 won't build

Reported by: Hugh.LaMaster@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: ncurses, ncursesw Cc: hober0@…
Port: ncursesw

Description (last modified by blb@…)

ports depending on ncurses/cursesw won't build. ncurses depends on ncursesw. ncursesw won't build/install. See errors below. (Software environment at bottom).

--->  Building ncursesw with target all
cd man && make DESTDIR="" all
make[1]: Nothing to be done for `all'.
cd include && make DESTDIR="" all
make[1]: Nothing to be done for `all'.
cd ncurses && make DESTDIR="" all
/usr/bin/gcc-4.0 -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -I./../include -I../include -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -I/opt/local/include -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2  -no-cpp-precomp -DMAIN_PROGRAM ./tinfo/comp_hash.c -L/opt/local/lib -Wl,-search_paths_first   
In file included from ./../include/ncurses_cfg.h:173,
                 from ../ncurses/curses.priv.h:55,
                 from ./tinfo/comp_hash.c:42:
./../include/ncurses_def.h:5:1: error: unterminated #ifndef
In file included from ../ncurses/curses.priv.h:253,
                 from ./tinfo/comp_hash.c:42:
./../include/term_entry.h:54: error: parse error before 'TERMTYPE'
./../include/term_entry.h:54: warning: no semicolon at end of struct or union
./../include/term_entry.h:69: error: parse error before '}' token
./../include/term_entry.h:70: warning: data definition has no type or storage class
./../include/term_entry.h:94: error: parse error before '*' token
./../include/term_entry.h:94: warning: data definition has no type or storage class
./../include/term_entry.h:95: error: parse error before '*' token
./../include/term_entry.h:95: warning: data definition has no type or storage class
./../include/term_entry.h:121: error: parse error before '*' token
./../include/term_entry.h:121: error: parse error before '*' token
./../include/term_entry.h:121: warning: data definition has no type or storage class
./../include/term_entry.h:123: error: parse error before '*' token
./../include/term_entry.h:124: error: parse error before '*' token
./../include/term_entry.h:125: error: parse error before '*' token
./../include/term_entry.h:128: error: parse error before '*' token
./../include/term_entry.h:129: error: parse error before '*' token
./../include/term_entry.h:132: error: parse error before '*' token
./../include/term_entry.h:138: error: parse error before '*' token
./../include/term_entry.h:145: error: parse error before '*' token
./../include/term_entry.h:150: error: parse error before '*' token
./../include/term_entry.h:153: error: parse error before 'ENTRY'
./../include/term_entry.h:157: error: parse error before '*' token
./../include/term_entry.h:158: error: parse error before '*' token
./../include/term_entry.h:159: error: parse error before '*' token
./../include/term_entry.h:162: error: parse error before '*' token
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:407: error: parse error before 'TERMINAL'
../ncurses/curses.priv.h:407: warning: no semicolon at end of struct or union
../ncurses/curses.priv.h:615: error: parse error before '}' token
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:1186: error: parse error before '*' token
../ncurses/curses.priv.h:1186: error: parse error before '*' token
../ncurses/curses.priv.h:1186: warning: data definition has no type or storage class
../ncurses/curses.priv.h:1197: error: parse error before 'TERMTYPE'
../ncurses/curses.priv.h:1202: error: parse error before '*' token
make[1]: *** [make_hash] Error 1
make: *** [all] Error 2
Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_ncursesw/work/ncurses-5.6" && make all " returned error 2
Command output: ./../include/term_entry.h:95: warning: data definition has no type or storage class
./../include/term_entry.h:121: error: parse error before '*' token
./../include/term_entry.h:121: error: parse error before '*' token
./../include/term_entry.h:121: warning: data definition has no type or storage class
./../include/term_entry.h:123: error: parse error before '*' token
./../include/term_entry.h:124: error: parse error before '*' token
./../include/term_entry.h:125: error: parse error before '*' token
./../include/term_entry.h:128: error: parse error before '*' token
./../include/term_entry.h:129: error: parse error before '*' token
./../include/term_entry.h:132: error: parse error before '*' token
./../include/term_entry.h:138: error: parse error before '*' token
./../include/term_entry.h:145: error: parse error before '*' token
./../include/term_entry.h:150: error: parse error before '*' token
./../include/term_entry.h:153: error: parse error before 'ENTRY'
./../include/term_entry.h:157: error: parse error before '*' token
./../include/term_entry.h:158: error: parse error before '*' token
./../include/term_entry.h:159: error: parse error before '*' token
./../include/term_entry.h:162: error: parse error before '*' token
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:407: error: parse error before 'TERMINAL'
../ncurses/curses.priv.h:407: warning: no semicolon at end of struct or union
../ncurses/curses.priv.h:615: error: parse error before '}' token
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:1186: error: parse error before '*' token
../ncurses/curses.priv.h:1186: error: parse error before '*' token
../ncurses/curses.priv.h:1186: warning: data definition has no type or storage class
../ncurses/curses.priv.h:1197: error: parse error before 'TERMTYPE'
../ncurses/curses.priv.h:1202: error: parse error before '*' token
make[1]: *** [make_hash] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for ncursesw): com.apple.activate com.apple.build com.apple.dest com.apple.archive com.apple.install
Environment
===========
Hardware: PowerBook G4 1.5 GHz
OS: MacOS X 10.4.9
Relevant software: XCode 2.4

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

# cc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)

# port --version
MacPorts 1.442

# make --version
GNU Make 3.80

# gmake --version
GNU Make 3.81

This program built for powerpc-apple-darwin8.6.0

# glibtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

# gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)

Attachments (1)

ncursesw.log (3.1 KB) - added by amirandamx@… 16 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 17 years ago by markd@…

Cc: imajes@… added
Owner: changed from macports-dev@… to imajes@…
Summary: ncursesw, ncurses won't buildBUG: ncursesw-5.6 won't build

Please follow correct form for summary line. See "Short Summary" or note how I changed it. Assigning to maintainer.

comment:2 Changed 17 years ago by Hugh.LaMaster@…


I previously was unsuccessful attempting to

port -f install ncursesw

but, for some reason, this works now. After forcing the re-install, all problems associated with ncurses seem to be solved for now.

So, the problem is (mysteriously) solved.

Ticket should probably be Closed.

comment:3 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

I just installed it on a clean system with no problems either. Thanks for the feedback.

comment:4 Changed 17 years ago by hober0@…

Resolution: worksforme
Status: closedreopened

I'm seeing this very same ncurses build problem. How might I be of help for fixing this?

comment:5 Changed 17 years ago by nox@…

Priority: ExpectedNormal
Version: 1.4.42

comment:6 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

hober0, if you are still experiencing this error, please provide your version of Mac OS X, your processor architecture, your version of Xcode and your version of MacPorts. Thanks.

comment:7 Changed 17 years ago by jmroot (Joshua Root)

Cc: hober0@… added; imajes@… removed

I guess hober0 probably didn't see the request in the previous comment. Adding to cc now.

comment:8 Changed 16 years ago by blb@…

Description: modified (diff)
Port: ncursesw added

comment:9 Changed 16 years ago by blb@…

Resolution: worksforme
Status: reopenedclosed

comment:10 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Changed 16 years ago by amirandamx@…

Attachment: ncursesw.log added
Note: See TracTickets for help on using tickets.