Opened 14 years ago

Closed 14 years ago

#23579 closed defect (invalid)

ncursesw 5.7 build failure

Reported by: me@… Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: ncursesw

Description

On Mac OS 10.6.2 with Xcode 3.2.1, building the ncursesw port fails. Here's the interesting bit from the end of the output ofsudo port -d install ncursesw:

/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/edit_field.c -o ../obj_s/edit_field.o
../test/edit_field.c: In function 'inactive_field':
../test/edit_field.c:298: warning: cast from pointer to integer of different size
/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/demo_keyok.c -o ../obj_s/demo_keyok.o
/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/demo_menus.c -o ../obj_s/demo_menus.o
/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/demo_panels.c -o ../obj_s/demo_panels.o
/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/demo_termcap.c -o ../obj_s/demo_termcap.o
/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/ditto.c -o ../obj_s/ditto.o
In file included from /usr/local/include/define.h:48,
                 from /usr/local/include/util.h:56,
                 from ../test/ditto.c:53:
/usr/local/include/cmdline.h:47:20: error: config.h: No such file or directory
/usr/bin/gcc-4.2 -I../test -I. -DHAVE_CONFIG_H -I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -I/opt/local/include/ncursesw -O2 -arch x86_64  --param max-inline-insns-single=1200  -no-cpp-precomp -no-cpp-precomp -dynamic -c ../test/dots.c -o ../obj_s/dots.o
make[1]: *** [../obj_s/ditto.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.7" && /usr/bin/make -j2 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/work/ncurses-5.7" && /usr/bin/make -j2 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for ncursesw): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

The complete output is attached. Please let me know if you need any additional information.

Attachments (1)

ncursesw_build_failure.log (202.3 KB) - added by me@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by me@…

Attachment: ncursesw_build_failure.log added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: me@… imajes@… removed
Keywords: ncursesw removed
Owner: changed from macports-tickets@… to imajes@…

You have headers in /usr/local interfering with the build.

comment:2 Changed 14 years ago by me@…

I temporarily moved the offending (?) file (cmdline.h) and was able to finish the build. Thanks!

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.