Opened 11 years ago

Closed 11 years ago

#37690 closed defect (fixed)

ruby19: configure error with variant +universal (1.9.3-p374)

Reported by: chmitchell@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ruby19

Description (last modified by larryv (Lawrence Velázquez))

Upgrade Fails (main.log) even though I do have autoconf installed (version 2.68b)

:info:configure checking build system type... x86_64-apple-darwin11
:info:configure checking host system type... x86_64-apple-darwin11
:info:configure checking target system type... x86_64-apple-darwin11
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ accepts -g... yes
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for grep that handles long lines and -e... /usr/bin/grep
:info:configure checking for egrep... /usr/bin/grep -E
:info:configure checking whether /usr/bin/clang needs -traditional... no
:info:configure checking whether the linker is GNU ld... no
:info:configure checking whether /usr/bin/clang -E accepts -o... yes
:info:configure checking target architectures... x86_64,i386
:info:configure configure: error: Autoconf version 2.63 or higher is required to compile universal binary
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby19/ruby19/work/ruby-1.9.3-p374" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-shared --mandir="/opt/local/share/man" --enable-pthread --without-tk --with-opt-dir="/opt/local" --program-suffix=1.9 --with-rubylibprefix=/opt/local/lib/ruby1.9 --with-arch=x86_64 --with-arch=x86_64,i386 
:info:configure Exit code: 1
:error:configure org.macports.configure for port ruby19 returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for ruby19: org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure Please see the log file for port ruby19 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ruby19/ruby19/main.log

Change History (2)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to kimuraw@…
Summary: unable to upgrade ruby19 portruby19: unable to upgrade
Type: updatedefect
Version: 2.1.2

Thanks for the ticket. In the future, please try to CC any port maintainers.

Could you try running sudo port clean ruby19 && sudo port install ruby19? If that still fails, please attach main.log and config.log.

(config.log will be located in the extracted directory under the one given by port work ruby19.)

comment:2 Changed 11 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed
Summary: ruby19: unable to upgraderuby19: configure error with variant +universal (1.9.3-p374)

fixed at r101775. let to run autoconf before configure +universal.

try sudo port sync && sudo port upgrade ruby19.

configure script requires to generated by autoconf 2.63 or older for +universal. but configure of p374 was generated autoconf-2.61. this version was older than past releases of ruby-1.9.3.

  • p0-p327: 2.68
  • p363, p374: 2.61

I've reported this problem to the ruby-list and requested to use newer autoconf.

Note: See TracTickets for help on using tickets.