Opened 14 years ago

Closed 14 years ago

#23599 closed defect (invalid)

sup cannot be installed due to rb-ncurses-ruby build failure

Reported by: gduley@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: rb-ncurses-ruby

Description

sup will not build due to a dependency (rb-ncurses-ruby) failing to build:

--->  Computing dependencies for sup
DEBUG: Searching for dependency: ruby
DEBUG: Found Dependency: receipt exists for ruby
DEBUG: Searching for dependency: rb-rubygems
DEBUG: Found Dependency: receipt exists for rb-rubygems
DEBUG: Searching for dependency: rb-ferret
DEBUG: Found Dependency: receipt exists for rb-ferret
DEBUG: Searching for dependency: rb-ncurses-ruby
DEBUG: Didn't find receipt, going to depspec regex for: rb-ncurses-ruby
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/ruby/rb-ncurses-ruby
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/ruby/rb-ncurses-ruby
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/ruby-1.0.tcl
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port rb-ncurses-ruby.
DEBUG: Requested variant i386 is not provided by port rb-ncurses-ruby.
DEBUG: Requested variant macosx is not provided by port rb-ncurses-ruby.
DEBUG: Searching for dependency: rb-rmail
DEBUG: Found Dependency: receipt exists for rb-rmail
DEBUG: Searching for dependency: rb-highline
DEBUG: Found Dependency: receipt exists for rb-highline
DEBUG: Searching for dependency: rb-net-ssh
DEBUG: Found Dependency: receipt exists for rb-net-ssh
DEBUG: Searching for dependency: rb-trollop
DEBUG: Found Dependency: receipt exists for rb-trollop
DEBUG: Searching for dependency: rb-lockfile
DEBUG: Found Dependency: receipt exists for rb-lockfile
DEBUG: Searching for dependency: rb-mime-types
DEBUG: Found Dependency: receipt exists for rb-mime-types
DEBUG: Searching for dependency: rb-gettext
DEBUG: Found Dependency: receipt exists for rb-gettext
DEBUG: Searching for dependency: rb-fastthread
DEBUG: Found Dependency: receipt exists for rb-fastthread
DEBUG: Searching for dependency: rb-rake
DEBUG: Found Dependency: receipt exists for rb-rake
DEBUG: Searching for dependency: rb-locale
DEBUG: Found Dependency: receipt exists for rb-locale
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.

/opt/local/bin/ruby extconf.rb
checking for unistd.h... yes
checking for locale.h... yes
checking for ncurses.h... yes
checking for wmove() in -lncurses... yes
checking for newscr()... yes
checking for TABSIZE()... yes
checking for ESCDELAY()... yes
checking for keybound()... yes
checking for curses_version()... yes
checking for tigetstr()... yes
checking for getwin()... yes
checking for putwin()... yes
checking for ungetmouse()... yes
checking for mousemask()... yes
checking for wenclose()... yes
checking for mouseinterval()... yes
checking for wmouse_trafo()... yes
checking for mcprint()... yes
checking for has_key()... yes
checking for delscreen()... yes
checking for define_key()... yes
checking for keyok()... yes
checking for resizeterm()... yes
checking for use_default_colors()... yes
checking for use_extended_names()... yes
checking for wresize()... yes
checking for attr_on()... yes
checking for attr_off()... yes
checking for attr_set()... yes
checking for chgat()... yes
checking for color_set()... yes
checking for filter()... yes
checking for intrflush()... yes
checking for mvchgat()... yes
checking for mvhline()... yes
checking for mvvline()... yes
checking for mvwchgat()... yes
checking for mvwhline()... yes
checking for mvwvline()... yes
checking for noqiflush()... yes
checking for putp()... yes
checking for qiflush()... yes
checking for scr_dump()... yes
checking for scr_init()... yes
checking for scr_restore()... yes
checking for scr_set()... yes
checking for slk_attr_off()... no
checking for slk_attr_on()... no
checking for slk_attr()... yes
checking for slk_attr_set()... yes
checking for slk_color()... yes
checking for tigetflag()... yes
checking for tigetnum()... yes
checking for use_env()... yes
checking for vidattr()... yes
checking for vid_attr()... no
checking for wattr_on()... yes
checking for wattr_off()... yes
checking for wattr_set()... yes
checking for wchgat()... yes
checking for wcolor_set()... yes
checking for getattrs()... yes
checking which debugging functions to wrap...
checking for _tracef()... no
checking for _tracedump()... no
checking for _nc_tracebits()... no
checking for _traceattr()... no
checking for _traceattr2()... no
checking for _tracechar()... no
checking for _tracechtype()... no
checking for _tracechtype2()... no
checking for _tracemouse()... no
checking for other functions that appeared after ncurses version 5.0...
checking for assume_default_colors()... yes
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 i386  -fno-common -pipe -fno-common  -g -arch i386 -c form_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 i386  -fno-common -pipe -fno-common  -g -arch i386 -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 i386  -fno-common -pipe -fno-common  -g -arch i386 -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: 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
DEBUG: Backtrace: 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
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for rb-ncurses-ruby): org.macports.activate org.macports.destroot org.macports.install
Error: The following dependencies failed to build: rb-ncurses-ruby
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Interestingly, if I follow the instructions in ticket #21672, I can install rb-ncurses-ruby manually, and it seems to install correctly. However, running port install sup still attempts to install rb-ncurses-ruby and this still fails.

Change History (3)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: sup rb-ncurses-ruby removed
Milestone: MacPorts 1.8.3

If you are really running MacPorts 1.8.0 then you need to update to the latest version.

sudo port selfupdate
sudo port upgrade outdated
sudo port clean rb-ncurses-ruby
sudo port install rb-ncurses-ruby

Also, what is the output of the following:

port installed rb-ncurses-ruby

Actually, did you update your computer from an older Mac OS X version to 10.6 with Macports installed? If so, did you follow the migration instructions?

comment:2 in reply to:  1 Changed 14 years ago by gduley@…

Replying to macsforever2000@…:

If you are really running MacPorts 1.8.0 then you need to update to the latest version.

My mistake. I was running 1.8.0 when I started trying to install sup, but updated to a 1.8.2 in case this solved the problem. I forgot to update this to reflect that.

sudo port selfupdate
sudo port upgrade outdated
sudo port clean rb-ncurses-ruby
sudo port install rb-ncurses-ruby

Also, what is the output of the following:

port installed rb-ncurses-ruby

None of the specified ports are installed.

Actually, did you update your computer from an older Mac OS X version to 10.6 with Macports installed?

Yes.

If so, did you follow the migration instructions?

No, I'd just crossed my fingers and hoped it would work. Since it (mostly) did, I didn't bother to check and see if there was anything else I should do. I'll give this a try.

Thanks!

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

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