[MacPorts] #23579: ncursesw 5.7 build failure

MacPorts noreply at macports.org
Sat Feb 6 12:36:49 PST 2010


#23579: ncursesw 5.7 build failure
--------------------------------+-------------------------------------------
 Reporter:  me@…                |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.2                                
 Keywords:  ncursesw            |        Port:  ncursesw                             
--------------------------------+-------------------------------------------
 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 of`sudo 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/23579>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list