Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#25611 closed defect (fixed)

ruby19 failed to build with openssl 1.0.0

Reported by: jeffcz@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: ruby19 openssl Cc: kimuraw (kimura wataru), jean-philippe.humbert@…, hkroger@…, wsiegrist@…
Port: ruby19

Description

Attempted to upgrade ruby19 tonight.

--->  Computing dependencies for ruby19
--->  Fetching ruby19
--->  Attempting to fetch ruby-1.9.1-p429.tar.bz2 from ftp://xyz.lcs.mit.edu/pub/ruby/1.9
--->  Verifying checksum(s) for ruby19
--->  Extracting ruby19
--->  Applying patches to ruby19
--->  Configuring ruby19
--->  Building ruby19
Error: Target org.macports.build returned: shell command failed
Log for ruby19 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby19/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Log attached.

Attachments (1)

main.log (92.4 KB) - added by jeffcz@… 14 years ago.
Build log

Download all attachments as: .zip

Change History (14)

Changed 14 years ago by jeffcz@…

Attachment: main.log added

Build log

comment:1 Changed 14 years ago by jean-philippe.humbert@…

Cc: jean-philippe.humbert@… added

Cc Me!

comment:2 Changed 14 years ago by hkroger@…

Cc: hkroger@… added

Cc Me!

comment:3 Changed 14 years ago by kimuraw (kimura wataru)

Owner: changed from macports-tickets@… to kimuraw@…
Status: newassigned

The error looks to failure at building extension module for openssl. Please tell me the version of your openssl with the following command.

% port installed openssl
The following ports are currently installed:
  openssl @0.9.8n_0+darwin+universal
  openssl @0.9.8o_0+universal (active)

comment:4 Changed 14 years ago by kimuraw (kimura wataru)

I reproduced this error with port:openssl @1.0.0a_0. I'll try to make a patch for this problem.

thanks!

comment:5 Changed 14 years ago by wsiegrist@…

Cc: wsiegrist@… added

Cc Me!

comment:6 Changed 14 years ago by wsiegrist@…

This patch from ruby-lang.org fixed the problem for me.

comment:7 Changed 14 years ago by kimuraw (kimura wataru)

thanks wsiegrist,

the ticket of the patch (openssl-build-fix-v2.patch) is

I tested this patch with openssl @0.9.8o_0 and @1.0.0a_0. It looks good!

comment:8 Changed 14 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: assignedclosed

this problem was fixed at r69657 (ruby19 1.9.1-p429_1).

thanks all!

comment:9 Changed 14 years ago by mohdfenris@…

Resolution: fixed
Status: closedreopened

fenris@MacBookPro:~$ sudo port install ruby19 ---> Computing dependencies for ruby19 ---> Verifying checksum(s) for ruby19 Error: Checksum (md5) mismatch for ruby-1.9.1-p430.tar.bz2 Error: Checksum (rmd160) mismatch for ruby-1.9.1-p430.tar.bz2 Error: Checksum (sha1) mismatch for ruby-1.9.1-p430.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Log for ruby19 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby19/main.log Error: Status 1 encountered during processing.

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

Summary: ruby19 failed to buildruby19 failed to build with openssl 1.0.0

mohdfenris, I guess your problem is same as #26116. Please try the following commands.

   $ sudo rm /opt/local/var/macports/distfiles/ruby19/ruby-1.9.1-p430.tar.bz2
   $ sudo port fetch ruby19 master_sites=http://ftp.ruby-lang.org/pub/ruby/1.9/
   $ sudo port upgrade ruby19

I think your problem is different from the problem on this ticket. If your problem won't be solved, please make a new ticket.

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

Resolution: fixed
Status: reopenedclosed

Indeed, a checksum mismatch has nothing to do with this ticket. Don't reopen a ticket unless you have good reason to believe that the specific problem it describes has not been fixed.

comment:12 Changed 14 years ago by mohdfenris@…

kimuraw, ive try the following command .. but it cant be solved.

comment:13 Changed 14 years ago by kimuraw (kimura wataru)

mohdfenris, I filed a new ticket #26211 about checksum mismatch.

Note: See TracTickets for help on using tickets.