Opened 13 years ago

Closed 13 years ago

#29740 closed defect (fixed)

rb19-mysql@2.8.1: ruby1.9: No such file or directory

Reported by: sauramud@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: rb19-mysql

Description

Hello everyone, I've been watching to installa a libmysql client with macports, I've found the port reported in the summary. After giving the command

sudo port install rd19-mysql

it start installing all dependence then when it try to configure the port I get this error (I report the log of installation):

:msg:main --->  Computing dependencies for rb19-mysql:info:main .:debug:main Searching for dependency: mysql5
:debug:main Found Dependency: receipt exists for mysql5
:msg:main 
:debug:main Executing org.macports.main (rb19-mysql)
:msg:main --->  Fetching rb19-mysql
:debug:fetch fetch phase started at Wed Jun  8 08:18:58 CEST 2011
:debug:fetch Executing org.macports.fetch (rb19-mysql)
:info:fetch --->  mysql-ruby-2.8.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/ruby
:debug:fetch Pinging tmtm.org...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch tmtm.org ping time is 186.384
:debug:fetch distfiles.macports.org ping time is 168.379
:debug:fetch aarnet.au.distfiles.macports.org ping time is 365.071
:debug:fetch lil.fr.distfiles.macports.org ping time is 24.195
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 119.282
:msg:fetch --->  Attempting to fetch mysql-ruby-2.8.1.tar.gz from http://lil.fr.distfiles.macports.org/ruby
:msg:fetch --->  Verifying checksum(s) for rb19-mysql
:debug:checksum checksum phase started at Wed Jun  8 08:19:01 CEST 2011
:debug:checksum Executing org.macports.checksum (rb19-mysql)
:info:checksum --->  Checksumming mysql-ruby-2.8.1.tar.gz
:debug:checksum Correct (sha1) checksum for mysql-ruby-2.8.1.tar.gz
:msg:checksum --->  Extracting rb19-mysql
:debug:extract extract phase started at Wed Jun  8 08:19:01 CEST 2011
:debug:extract Executing org.macports.extract (rb19-mysql)
:info:extract --->  Extracting mysql-ruby-2.8.1.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/ruby/mysql-ruby-2.8.1.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb19-mysql/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb19-mysql/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/ruby/mysql-ruby-2.8.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:patch patch phase started at Wed Jun  8 08:19:02 CEST 2011
:debug:patch Executing org.macports.patch (rb19-mysql)
:msg:patch --->  Configuring rb19-mysql
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Wed Jun  8 08:19:02 CEST 2011
:debug:configure Executing org.macports.configure (rb19-mysql)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb19-mysql/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64 -arch i386' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb19-mysql/work/mysql-ruby-2.8.1" && /opt/local/bin/ruby1.9 -rvendor-specific extconf.rb --with-mysql-config=/opt/local/bin/mysql_config5'
:info:configure sh: /opt/local/bin/ruby1.9: No such file or directory
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb19-mysql/work/mysql-ruby-2.8.1" && /opt/local/bin/ruby1.9 -rvendor-specific extconf.rb --with-mysql-config=/opt/local/bin/mysql_config5 " returned error 127
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for rb19-mysql): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for rb19-mysql is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb19-mysql/main.log

I've tried the installation in two machine but the error was always the same. Best regards

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts 2.0.0
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Summary: rb19-mysql@2.8.1 - Configuration Errorrb19-mysql@2.8.1: ruby1.9: No such file or directory

The port erroneously overwrites the portgroup's depends_lib.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Fixed in r79282.

Note: See TracTickets for help on using tickets.