[MacPorts] #61726: CMake fails to build with +gui +qt5
MacPorts
noreply at macports.org
Wed Dec 2 14:26:07 UTC 2020
#61726: CMake fails to build with +gui +qt5
------------------------+--------------------
Reporter: mouse07410 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: cmake
------------------------+--------------------
{{{
$ port installed cmake
The following ports are currently installed:
cmake @3.18.5_0+docs+gui+python38+qt5 (active)
$ sudo port upgrade cmake
---> Computing dependencies for cmake
---> Fetching archive for cmake
---> Attempting to fetch
cmake-3.19.1_0+docs+gui+python38+qt5.darwin_19.x86_64.tbz2 from
http://atl.us.packages.macports.org/cmake
---> Attempting to fetch
cmake-3.19.1_0+docs+gui+python38+qt5.darwin_19.x86_64.tbz2 from
https://cph.dk.packages.macports.org/cmake
---> Attempting to fetch
cmake-3.19.1_0+docs+gui+python38+qt5.darwin_19.x86_64.tbz2 from
http://fco.it.packages.macports.org/cmake
---> Fetching distfiles for cmake
---> Attempting to fetch cmake-3.19.1.tar.bz2 from
https://gitlab.kitware.com/cmake/cmake/-/archive/v3.19.1
---> Verifying checksums for cmake
---> Extracting cmake
---> Applying patches to cmake
Error: Failed to patch cmake: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: No ports matched the given expression
$ cp
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log
~/cmake-main.log.txt
}}}
It fails to apply QtDialog patch:
{{{
:debug:patch system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_r
elease_tarballs_ports_devel_cmake/cmake/work/cmake-3.19.1" &&
/usr/bin/patch -p0 < '/opt/local/var/macports/sources/r
sync.macports.org/macports/release/tarballs/ports/devel/cmake/files/patch-
qt5gui.diff'
:info:patch patching file Source/QtDialog/CMakeLists.txt
:info:patch Hunk #1 FAILED at 4.
:info:patch Hunk #2 FAILED at 98.
:info:patch Hunk #3 FAILED at 143.
:info:patch Hunk #4 FAILED at 160.
:info:patch Hunk #5 succeeded at 183 (offset -7 lines).
:info:patch Hunk #6 succeeded at 229 (offset -7 lines).
:info:patch Hunk #7 succeeded at 240 (offset -7 lines).
:info:patch 4 out of 7 hunks FAILED -- saving rejects to file
Source/QtDialog/CMakeLists.txt.rej
:info:patch patching file CMakeLists.txt
}}}
MacOS Catalina 10.15.7, Xcode-12.2.
Full log attached.
--
Ticket URL: <https://trac.macports.org/ticket/61726>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list