Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#46919 closed defect (duplicate)

cmake-3.1.3_0+gui.darwin fails

Reported by: schmieder.matthias@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: michaelld (Michael Dickens), cssdev
Port:

Description

Hi there, just tried to install the newest cmake package with cmake-gui but got stuck with an error. It seems that the process it stopped by some inconsistencies of the patch files. I added the log file maybe it's of some use to you.

sudo port -v install cmake +gui
--->  Computing dependencies for cmake.
--->  Fetching archive for cmake
--->  cmake-3.1.3_0+gui.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch cmake-3.1.3_0+gui.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/cmake
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0--->  Attempting to fetch cmake-3.1.3_0+gui.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/cmake
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0--->  Attempting to fetch cmake-3.1.3_0+gui.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cmake
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   286  100   286    0     0   1431      0 --:--:-- --:--:-- --:--:--  1437
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0--->  Fetching distfiles for cmake
--->  Verifying checksums for cmake
--->  Checksumming cmake-3.1.3.tar.gz
--->  Extracting cmake
--->  Extracting cmake-3.1.3.tar.gz
--->  Applying patches to cmake
--->  Applying patch-CMakeFindFrameworks.cmake.diff
patching file Modules/CMakeFindFrameworks.cmake
--->  Applying patch-Modules-FindFreetype.cmake.diff
patching file Modules/FindFreetype.cmake
--->  Applying patch-Modules-FindQt4.cmake.diff
patching file Modules/FindQt4.cmake
--->  Applying patch-Modules-Platform-Darwin.cmake.diff
patching file Modules/Platform/Darwin.cmake
--->  Applying patch-Modules-Platform-Darwin-Initialize.cmake.diff
patching file Modules/Platform/Darwin-Initialize.cmake
--->  Applying patch-Modules-noArchCheck.diff
patching file Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
patching file Modules/BasicConfigVersion-ExactVersion.cmake.in
patching file Modules/BasicConfigVersion-SameMajorVersion.cmake.in
--->  Applying patch-CMakeLists.txt.diff
patching file CMakeLists.txt
Hunk #1 FAILED at 476.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
patching file Source/QtDialog/CMakeLists.txt
Hunk #1 succeeded at 125 (offset 26 lines).
Hunk #2 succeeded at 141 (offset 26 lines).
Hunk #3 FAILED at 179.
Hunk #4 succeeded at 184 (offset 18 lines).
1 out of 4 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-3.1.3" && /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.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
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
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port make failed

Attachments (1)

main.log (41.7 KB) - added by schmieder.matthias@… 10 years ago.
cmake install process log file

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by schmieder.matthias@…

Attachment: main.log added

cmake install process log file

comment:1 Changed 10 years ago by michaelld (Michael Dickens)

Resolution: duplicate
Status: newclosed

Duplicate of #46902.

If you didn't try a quick search before creating this ticket, please do so in the future; searching for "cmake gui", I found the other ticket within the first 5 returns.

comment:2 Changed 10 years ago by michaelld (Michael Dickens)

I've added you as "cc:" on the other ticket.

Note: See TracTickets for help on using tickets.