Opened 11 years ago

Closed 10 years ago

#41066 closed defect (worksforme)

postgresql84: patch fails

Reported by: marcelo.berwanger@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: jyrkiwahlstedt
Port: postgresql84

Description

I can run upgrade postgres84 in Maverick, apply de patch #40483 but the error continue.

ADMT-Mac-mini-01:/ admt$ sudo port -v upgrade outdated
--->  Computing dependencies for postgresql84.
--->  Applying patches to postgresql84
--->  Applying src_pl_plpython_Makefile.patch
patching file src/pl/plpython/Makefile
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/pl/plpython/Makefile.rej
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql84/postgresql84/work/postgresql-8.4.18" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/postgresql84/files/src_pl_plpython_Makefile.patch'
Exit code: 1
Error: org.macports.patch for port postgresql84 returned: command execution failed
Warning: targets not executed for postgresql84: org.macports.destroot org.macports.patch org.macports.configure org.macports.build
Please see the log file for port postgresql84 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql84/postgresql84/main.log
Error: Unable to upgrade port: 1

Attachments (1)

main.log (4.1 KB) - added by marcelo.berwanger@… 11 years ago.
log file for port postgresql84 for details

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by marcelo.berwanger@…

Attachment: main.log added

log file for port postgresql84 for details

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

Cc: mww@… removed
Keywords: postgres84 removed
Owner: changed from macports-tickets@… to mww@…

Not a clean attempt. Clean and try again.

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

Cc: jwa@… added
Port: postgresql84 added; postgres84 removed
Summary: Problem upgrade postgres84 in Maverickspostgresql84: patch fails

comment:3 Changed 11 years ago by marcelo.berwanger@…

Clean and try again.

ADMT-Mac-mini-01:postgresql84/ pwd
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/postgresql84
ADMT-Mac-mini-01:postgresql84/ admt$ sudo port clean
--->  Cleaning postgresql84

Patch fails

ADMT-Mac-mini-01:/ sudo port upgrade outdated
--->  Computing dependencies for postgresql84
--->  Fetching archive for postgresql84
--->  Attempting to fetch postgresql84-8.4.18_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/postgresql84
--->  Attempting to fetch postgresql84-8.4.18_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/postgresql84
--->  Attempting to fetch postgresql84-8.4.18_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/postgresql84
--->  Fetching distfiles for postgresql84
--->  Verifying checksums for postgresql84
--->  Extracting postgresql84
--->  Applying patches to postgresql84
Error: org.macports.patch for port postgresql84 returned: command execution failed
Please see the log file for port postgresql84 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql84/postgresql84/main.log
Error: Unable to upgrade port: 1

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

You did not attach the new main.log file after cleaning and trying again, so it is not possible for us to know why patching failed for you. It works for me today. If you haven't already, please try moving to a newer version of postgresql.

Note: See TracTickets for help on using tickets.