Opened 12 years ago

Closed 12 years ago

#37523 closed defect (fixed)

cmake @2.8.10 +gui patch fails

Reported by: barrettsa@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: cmake

Description

It's baaack! The patch-CMakeLists.txt.diff patch for the GUI variant fails. This problem seems to arise each time the upstream version changes. Running 10.8.2 with Xcode 4.5.2.

Log snippet (full log is attached):

:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cmake/files/patch-CMakeLists.txt.diff'
:info:patch patching file CMakeLists.txt
:info:patch Hunk #1 FAILED at 528.
:info:patch Hunk #2 FAILED at 541.
:info:patch 2 out of 2 hunks FAILED -- saving rejects to file CMakeLists.txt.rej
:info:patch patching file Source/QtDialog/CMakeLists.txt
:info:patch Hunk #1 FAILED at 59.
:info:patch Hunk #2 FAILED at 90.
:info:patch Hunk #3 FAILED at 101.
:info:patch Hunk #4 FAILED at 115.
:info:patch 4 out of 4 hunks FAILED -- saving rejects to file Source/QtDialog/CMakeLists.txt.rej

Attachments (2)

main.log (28.3 KB) - added by barrettsa@… 12 years ago.
Log of port install cmake +gui
patch-CMakeLists.txt.diff (1.7 KB) - added by barrettsa@… 12 years ago.
Fixed version of patch file.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by barrettsa@…

Attachment: main.log added

Log of port install cmake +gui

Changed 12 years ago by barrettsa@…

Attachment: patch-CMakeLists.txt.diff added

Fixed version of patch file.

comment:1 Changed 12 years ago by barrettsa@…

I've attached a fixed version of patch-CMakeLists.txt.diff.

To fix an existing failed install of cmake @2.8.10 +gui:

  1. Replace the copy of patch-CMakeLists.txt.diff in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cmake/files with the attached version.
  2. Run 'port clean cmake'.
  3. Run 'port install cmake +gui'.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to css@…

Please remember to Cc the maintainer.

comment:3 Changed 12 years ago by cssdev

Status: newassigned

GUI? What GUI? ;)

I usually omit the GUI.Thanks for the patch, I'll give it a test!

comment:4 Changed 12 years ago by cssdev

Resolution: fixed
Status: assignedclosed

seems to work for me. Committed in r101261. Thanks for providing the patch!

Note: See TracTickets for help on using tickets.