rb-ncurses-ruby install failed
joerg van den hoff
j.van_den_hoff at fzd.de
Wed Apr 28 14:24:54 PDT 2010
hello everybody,
I tried to insall `sup' today on two machines. the first instance (ppc and
10.5) went through the second (10.6 and x86)
failed during install of the dependency `rb-ncurses-ruby'. on the second
try I get this messages:
====CUT=====
---> Computing dependencies for 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.
======CUT======
with `port -d install...' I see these messages (excerpt):
=====CUT======
---> Computing dependencies for rb-ncurses-ruby
DEBUG: Searching for dependency: ruby
DEBUG: Found Dependency: receipt exists for ruby
DEBUG: Searching for dependency: ncurses
DEBUG: Found Dependency: receipt exists for ncurses
DEBUG: Searching for dependency: rb-rubygems
DEBUG: Found Dependency: receipt exists for rb-rubygems
DEBUG: Executing org.macports.main (rb-ncurses-ruby)
DEBUG: Skipping completed org.macports.fetch (rb-ncurses-ruby)
DEBUG: Skipping completed org.macports.checksum (rb-ncurses-ruby)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (rb-ncurses-ruby)
DEBUG: Skipping completed org.macports.patch (rb-ncurses-ruby)
DEBUG: Skipping completed org.macports.configure (rb-ncurses-ruby)
DEBUG: Skipping completed org.macports.build (rb-ncurses-ruby)
---> Staging rb-ncurses-ruby into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
DEBUG: Executing org.macports.destroot (rb-ncurses-ruby)
ERROR: Error installing
/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:
ERROR: Failed to build gem native extension.
====CUT=====
which chronologically appear before the complaints regarding
`ncurses_wrap.c'.
I do not really understand what's causing the problem so
I cleaned/uninstalled and retried but without success.
what's next?
thanks in advance,
joerg
More information about the macports-users
mailing list