[MacPorts] #27453: openssl: failed to apply patch (was: Failed to install apache2)

MacPorts noreply at macports.org
Thu Nov 25 20:26:36 PST 2010


#27453: openssl: failed to apply patch
--------------------------------------+-------------------------------------
 Reporter:  benny.iskandar@…          |       Owner:  mww@…           
     Type:  defect                    |      Status:  new             
 Priority:  Normal                    |   Milestone:                  
Component:  ports                     |     Version:  1.9.2           
 Keywords:                            |        Port:  openssl         
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * keywords:  apache2 =>
  * owner:  macports-tickets@… => mww@…
  * port:  apache2 => openssl


Old description:

> I'm using snow leopard , and found failed during the apache2 installation
> , inside the console i saw :
>
> $ sudo port -d install apache2
> ...(cut)...
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.5.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> ...(cut)...
> Error: Unable to upgrade port: 1
> DEBUG: upgrade openssl failed

New description:

 I'm using snow leopard , and found failed during the apache2 installation
 , inside the console i saw :

 {{{
 $ sudo port -d install apache2
 ...(cut)...
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.5.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 ...(cut)...
 Error: Unable to upgrade port: 1
 DEBUG: upgrade openssl failed
 }}}

--

Comment:

 The relevant error in the log is:
 {{{
 --->  Applying patches to openssl
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl/files
 /patch-Makefile.org.diff
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-1.0.0b"
 && /usr/bin/patch -p0'
 patching file Makefile.org
 Reversed (or previously applied) patch detected!  Assume -R? [n]
 Apply anyway? [n]
 Skipping patch.
 1 out of 1 hunk ignored -- saving rejects to file Makefile.org.rej
 }}}
 Please clean openssl and try again:

 {{{
 sudo port clean openssl
 }}}

 If it fails again, attach the main.log file whose location it will print
 out.

-- 
Ticket URL: <https://trac.macports.org/ticket/27453#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list