[MacPorts] #21672: rb-ncurses-ruby won't finish installation

MacPorts noreply at macports.org
Mon Sep 28 08:07:57 PDT 2009


#21672: rb-ncurses-ruby won't finish installation
-----------------------------------+----------------------------------------
 Reporter:  kioarthurdane@…        |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.0                                
 Keywords:  rb-ncurses-ruby        |        Port:  rb-ncurses-ruby                      
-----------------------------------+----------------------------------------
 I am stumped.

 Raggle (http://raggle.org/) requires ncurses-ruby.  But since I can't find
 Mysql-Ruby or SQLite-Ruby packages, a fix to this may not entirely help
 me.

 {{{
 $ sudo port clean -f --all rb-ncurses-ruby
 --->  Cleaning rb-ncurses-ruby
 $ sudo port install rb-ncurses-ruby
 --->  Computing dependencies for rb-ncurses-ruby
 --->  Fetching rb-ncurses-ruby
 --->  Attempting to fetch ncurses-ruby-1.2.3.tar.bz2 from
 http://download.berlios.de/ncurses-ruby/
 --->  Verifying checksum(s) for rb-ncurses-ruby
 --->  Extracting rb-ncurses-ruby
 --->  Configuring rb-ncurses-ruby
 --->  Building rb-ncurses-ruby
 --->  Staging rb-ncurses-ruby into destroot
 Error: Target org.macports.destroot returned: shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-ruby/work/ncurses-ruby-1.2.3 &&
 /opt/local/bin/gem install --local --force --install-dir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-
 ruby/work/destroot/opt/local/lib/ruby/gems/1.8
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-ruby/work/ncurses-
 ruby-1.2.3/ncurses-1.2.3.gem" returned error 1
 Command output: checking for attr_get()... yes
 checking for the panel library...
 checking for panel.h... yes
 checking for panel_hidden() in -lpanel... yes
 checking for the form library...
 checking for form.h... yes
 checking for new_form() in -lform... yes
 checking for the menu library...
 checking for menu.h... yes
 checking for new_menu() in -lmenu... yes
 creating Makefile

 make
 Makefile:134: warning: overriding commands for target
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-
 ruby/work/destroot/opt/local/lib/ruby/gems/1.8/gems/ncurses-1.2.3/lib'
 Makefile:132: warning: ignoring old commands for target
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-
 ruby/work/destroot/opt/local/lib/ruby/gems/1.8/gems/ncurses-1.2.3/lib'
 /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I.
 -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_H -DHAVE_NEWSCR
 -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION
 -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE
 -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO
 -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY
 -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS
 -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF
 -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER
 -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE
 -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH
 -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT
 -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET
 -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV
 -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET
 -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS
 -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H
 -DHAVE_MENU_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 -I/opt/local/include -fno-common -O2 -arch x86_64  -fno-common -pipe -fno-
 common  -g -arch x86_64 -c form_wrap.c
 form_wrap.c: In function 'make_arg':
 form_wrap.c:1130: warning: format '%d' expects type 'int', but argument 6
 has type 'long int'
 /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I.
 -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_H -DHAVE_NEWSCR
 -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION
 -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE
 -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO
 -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY
 -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS
 -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF
 -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER
 -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE
 -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH
 -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT
 -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET
 -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV
 -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET
 -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS
 -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H
 -DHAVE_MENU_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 -I/opt/local/include -fno-common -O2 -arch x86_64  -fno-common -pipe -fno-
 common  -g -arch x86_64 -c menu_wrap.c
 /usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I.
 -DHAVE_UNISTD_H -DHAVE_LOCALE_H -DHAVE_NCURSES_H -DHAVE_NEWSCR
 -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION
 -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE
 -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO
 -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY
 -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS
 -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF
 -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER
 -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE
 -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH
 -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT
 -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET
 -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV
 -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET
 -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS
 -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H
 -DHAVE_MENU_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
 -I/opt/local/include -fno-common -O2 -arch x86_64  -fno-common -pipe -fno-
 common  -g -arch x86_64 -c ncurses_wrap.c
 ncurses_wrap.c: In function 'rbncurshelper_nonblocking_wgetch':
 ncurses_wrap.c:818: error: dereferencing pointer to incomplete type
 ncurses_wrap.c:835: error: dereferencing pointer to incomplete type
 ncurses_wrap.c:857: error: dereferencing pointer to incomplete type
 make: *** [ncurses_wrap.o] Error 1


 Gem files will remain installed in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-
 ruby/work/destroot/opt/local/lib/ruby/gems/1.8/gems/ncurses-1.2.3 for
 inspection.
 Results logged to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_ruby_rb-ncurses-
 ruby/work/destroot/opt/local/lib/ruby/gems/1.8/gems/ncurses-1.2.3/gem_make.out
 Building native extensions.  This could take a while...

 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list