Opened 11 years ago
Closed 11 years ago
#40746 closed defect (fixed)
cmake @ 2.8.12: +gui variant patch fails
Reported by: | maehne (Torsten Maehne) | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | haspatch | Cc: | |
Port: | cmake |
Description
The CMake port at version 2.8.12 fails to compile, as a hunk cannot be applied during the patch phase:
$ sudo port -v upgrade cmake ---> Computing dependencies for cmake. ---> Fetching archive for cmake ... ---> Fetching distfiles for cmake ---> Verifying checksums for cmake ---> Checksumming cmake-2.8.12.tar.gz ---> Extracting cmake ---> Extracting cmake-2.8.12.tar.gz ---> Applying patches to cmake ---> Applying patch-CMakeFindFrameworks.cmake.diff patching file Modules/CMakeFindFrameworks.cmake ---> Applying patch-Modules-FindQt4.cmake.diff patching file Modules/FindQt4.cmake ---> Applying patch-CMakeLists.txt.diff patching file CMakeLists.txt Hunk #1 succeeded at 528 (offset 1 line). patching file Source/QtDialog/CMakeLists.txt Hunk #1 FAILED at 78. Hunk #2 succeeded at 127 (offset 20 lines). Hunk #3 succeeded at 140 (offset 20 lines). 1 out of 3 hunks FAILED -- saving rejects to file Source/QtDialog/CMakeLists.txt.rej Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.12" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cmake/files/patch-CMakeLists.txt.diff' Exit code: 1 Error: org.macports.patch for port cmake returned: command execution failed Warning: targets not executed for cmake: org.macports.install org.macports.patch org.macports.configure org.macports.build org.macports.destroot Please see the log file for port cmake for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets
The attached patch for the port fixes this problem.
Attachments (1)
Change History (4)
Changed 11 years ago by maehne (Torsten Maehne)
Attachment: | fix-cmake-port.diff added |
---|
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | css@… removed |
---|---|
Owner: | changed from macports-tickets@… to css@… |
Summary: | cmake @ 2.8.12: fails in the patch phase → cmake @ 2.8.12: +gui variant patch fails |
comment:2 Changed 11 years ago by cssdev
Status: | new → assigned |
---|
arg, forgot to check the gui variant again ...
comment:3 Changed 11 years ago by cssdev
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
committed to r112193. Thanks for the patch!
Note: See
TracTickets for help on using
tickets.
Patch for cmake port