[MacPorts] #36287: cmake +gui installed in a wrong place and without bin/cmake
#36287: cmake +gui installed in a wrong place and without bin/cmake -----------------------------+-------------------------------- Reporter: robsonpeixoto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: cmake -----------------------------+-------------------------------- The cmake was installed in '/opt/local/CMake 2.8-9.app', and don't have a symlink from ${prefix}/CMake 2.8-9.app/Contents/bin to ${prefix}/bin $ port contents cmake | grep bin /opt/local/CMake 2.8-9.app/Contents/MacOS/libintl.8.dylib /opt/local/CMake 2.8-9.app/Contents/bin/ccmake /opt/local/CMake 2.8-9.app/Contents/bin/cmake /opt/local/CMake 2.8-9.app/Contents/bin/cmake-gui /opt/local/CMake 2.8-9.app/Contents/bin/cmakexbuild /opt/local/CMake 2.8-9.app/Contents/bin/cpack /opt/local/CMake 2.8-9.app/Contents/bin/ctest /opt/local/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/FindCUDA/parse_cubin.cmake -- Ticket URL: <https://trac.macports.org/ticket/36287> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36287: cmake +gui installed in a wrong place and without bin/cmake ------------------------------+------------------- Reporter: robsonpeixoto@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cmake | ------------------------------+------------------- Changes (by ryandesign@…): * cc: css@… (removed) * owner: macports-tickets@… => css@… Old description:
The cmake was installed in '/opt/local/CMake 2.8-9.app', and don't have a symlink from ${prefix}/CMake 2.8-9.app/Contents/bin to ${prefix}/bin
$ port contents cmake | grep bin /opt/local/CMake 2.8-9.app/Contents/MacOS/libintl.8.dylib /opt/local/CMake 2.8-9.app/Contents/bin/ccmake /opt/local/CMake 2.8-9.app/Contents/bin/cmake /opt/local/CMake 2.8-9.app/Contents/bin/cmake-gui /opt/local/CMake 2.8-9.app/Contents/bin/cmakexbuild /opt/local/CMake 2.8-9.app/Contents/bin/cpack /opt/local/CMake 2.8-9.app/Contents/bin/ctest /opt/local/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/FindCUDA/parse_cubin.cmake
New description: The cmake was installed in '/opt/local/CMake 2.8-9.app', and don't have a symlink from ${prefix}/CMake 2.8-9.app/Contents/bin to ${prefix}/bin {{{ $ port contents cmake | grep bin /opt/local/CMake 2.8-9.app/Contents/MacOS/libintl.8.dylib /opt/local/CMake 2.8-9.app/Contents/bin/ccmake /opt/local/CMake 2.8-9.app/Contents/bin/cmake /opt/local/CMake 2.8-9.app/Contents/bin/cmake-gui /opt/local/CMake 2.8-9.app/Contents/bin/cmakexbuild /opt/local/CMake 2.8-9.app/Contents/bin/cpack /opt/local/CMake 2.8-9.app/Contents/bin/ctest /opt/local/CMake 2.8-9.app/Contents/share/cmake-2.8/Modules/FindCUDA/parse_cubin.cmake }}} -- Comment: This might relate to #30539. -- Ticket URL: <https://trac.macports.org/ticket/36287#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36287: cmake +gui installed in a wrong place and without bin/cmake ------------------------------+------------------- Reporter: robsonpeixoto@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cmake | ------------------------------+------------------- Comment (by Torsten.Maehne@…): I agree, it relates to #30539. Not all necessary patches are applied by the CMake 2.8.9 Portfile. Especially, {{{patch-CMakeLists.txt.diff}}} has been commented out, which causes the application bundle to be created in {{{${prefix}/}}} if the {{{+gui}}} variant is selected. In consequence, the CMake command line tools are not anymore installed under the usual {{{${prefix}/bin}}} path. Additionally, warnings and errors are generated when applying the patches in {{{patch-CMakeLists.txt.diff}}} and {{{patch- Modules-FindQt4.cmake.diff}}} due to changes in the upstream source code. The attached patch {{{fix-cmake-2.8.9-port-gui-variant.patch}}} fixes the CMake 2.8.9 port. It updates the patches so that they can be applied without error. CMake is installed under {{{${prefix}/}}} in the same layout as without the {{{+gui}}} variant. The CMake app bundle is manually created as described in #30539 by configuring an appropriate Infos.plist and linking to cmake-gui from the app bundle. Thus, non of the installed files of CMake are duplicated by copying them in the app bundle, which is installed in the Applications/MacPorts folder. Once this patch is applied, also #30539 can be closed. -- Ticket URL: <https://trac.macports.org/ticket/36287#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36287: cmake +gui installed in a wrong place and without bin/cmake ------------------------------+------------------- Reporter: robsonpeixoto@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: cmake | ------------------------------+------------------- Comment (by zoleg@…): why cmake in ports not updated? -- Ticket URL: <https://trac.macports.org/ticket/36287#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36287: cmake +gui installed in a wrong place and without bin/cmake ------------------------------+-------------------- Reporter: robsonpeixoto@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: cmake | ------------------------------+-------------------- Changes (by g5pw@…): * status: new => closed * resolution: => fixed Comment: Fixed in r99977. -- Ticket URL: <https://trac.macports.org/ticket/36287#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts