Opened 10 years ago

Closed 10 years ago

#43296 closed defect (fixed)

ruby21 @2.1.1: build fails with readline @6.3.003_0

Reported by: mndavidoff (Monte Davidoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: kimuraw (kimura wataru)
Port: ruby21

Description

Building ruby21 @2.1.1 fails after I upgraded to readline @6.3.003_0:

$ sudo port -vs install ruby21
...
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby21/ruby21/work/ruby-2.1.1/ext/readline'
compiling readline.c
readline.c: In function ‘Init_readline’:
readline.c:1977: error: ‘Function’ undeclared (first use in this function)
readline.c:1977: error: (Each undeclared identifier is reported only once
readline.c:1977: error: for each function it appears in.)
readline.c:1977: error: expected expression before ‘)’ token
make[2]: *** [readline.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby21/ruby21/work/ruby-2.1.1/ext/readline'
make[1]: *** [ext/readline/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby21/ruby21/work/ruby-2.1.1'
make: *** [build-ext] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby21/ruby21/work/ruby-2.1.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby21/ruby21/work/ruby-2.1.1" && /usr/bin/make -w all 
Exit code: 2
Error: org.macports.build for port ruby21 returned: command execution failed
Warning: targets not executed for ruby21: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port ruby21 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby21/ruby21/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ruby21 failed

Attachments (1)

main.log.gz (11.1 KB) - added by mndavidoff (Monte Davidoff) 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 10 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

thanks!

I've fixed this problem for port:ruby21 and port:ruby20.

Note: See TracTickets for help on using tickets.