#25647 closed defect (fixed)
ruby186 does not build against openssl 1.0.0a
Reported by: | polek@… | Owned by: | kimuraw (kimura wataru) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | ruby186 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Attempting to upgrade/build ruby186 results in following error:
:info:build ossl.c:118: error: syntax error before '*' token
This is important because plenty of Rails apps still run on ruby 1.8.6 an servers, and it is good to have same version of ruby on developers machine.
Attachments (1)
Change History (8)
Changed 14 years ago by polek@…
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to kimuraw@… |
---|---|
Port: | ruby186 added |
comment:2 Changed 14 years ago by kimuraw (kimura wataru)
Status: | new → assigned |
---|
comment:3 Changed 14 years ago by kimuraw (kimura wataru)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
this problem was fixed at r69720, port:ruby186-p399_0.
thanks for your report.
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:5 Changed 14 years ago by polek@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
ruby186-p399 still does not build, although this time error is different (look like patch does not apply cleanly)
Console output:
$ sudo port install ruby186 ---> Computing dependencies for ruby186 ---> Fetching ruby186 ---> Attempting to fetch ruby-1.8.6-p399.tar.bz2 from ftp://xyz.lcs.mit.edu/pub/ruby/1.8 ---> Verifying checksum(s) for ruby186 ---> Extracting ruby186 ---> Applying patches to ruby186 Error: Target org.macports.patch returned: shell command failed Log for ruby186 is at: /mp/var/macports/logs/_mp_var_macports_sources_rsync.macports.org_release_ports_lang_ruby186/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Related log file chunk:
:debug:patch Environment: CPATH='/mp/include' CC_PRINT_OPTIONS_FILE='/mp/var/macports/build/_mp_var_macports_sources_rsync.macports.org_release_ports_lang_ruby186/work/.CC_PRINT _OPTIONS' LIBRARY_PATH='/mp/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' :debug:patch Assembled command: 'cd "/mp/var/macports/build/_mp_var_macports_sources_rsync.macports.org_release_ports_lang_ruby186/work/ruby-1.8.6-p399" && /usr/bin/patch -p0' :info:patch patching file dln.c :info:patch Hunk #1 FAILED at 87. :info:patch Hunk #2 FAILED at 1411. :info:patch 2 out of 2 hunks FAILED -- saving rejects to file dln.c.rej :info:patch shell command " cd "/mp/var/macports/build/_mp_var_macports_sources_rsync.macports.org_release_ports_lang_ruby186/work/ruby-1.8.6-p399" && /usr/bin/patch -p0 < '/mp/ var/macports/sources/rsync.macports.org/release/ports/lang/ruby186/files/use-dyld.diff'" returned error 1 :error:patch Target org.macports.patch returned: shell command failed :debug:patch Backtrace: shell command failed while executing "command_exec patch "" "< '$patch'"" ("default" arm line 1) invoked from within "switch -- [file extension $patch] { .Z - .gz {command_exec patch "$gzcat \"$patch\" | (" ")"} .bz2 {command_exec p..." (procedure "portpatch::patch_main" line 29) invoked from within "$procedure $targetname" :info:patch Warning: the following items did not execute (for ruby186): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:patch Log for ruby186 is at: /mp/var/macports/logs/_mp_var_macports_sources_rsync.macports.org_release_ports_lang_ruby186/main.log
comment:6 Changed 14 years ago by kimuraw (kimura wataru)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Sorry! I've missed to test on Leopard.
I solved this problem at r70033. Please try the latest Portfile.
Note: See
TracTickets for help on using
tickets.
Please remember to fill in the Port field and cc the maintainer.