[MacPorts] #47277: eigen3: The source directory does not appear to contain CMakeLists.txt
#47277: eigen3: The source directory does not appear to contain CMakeLists.txt -------------------------+-------------------------------- Reporter: sk-public@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: eigen3 -------------------------+-------------------------------- eigen3 doesn't build, apparently because a bunch of options and the configuration directory are appended after the source directory (../eigen_src). It builds again if {{{ configure.args-append ../eigen_src }}} is changed to {{{ configure.post_args ../eigen_src }}} But I'm not familiar enough with the macports build process (including this cmake out-of-source transition, which looks related) to tell if this is a coincidence or a solution. The error is:[[BR]] CMake Error: The source directory "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. Command failed: cd "/opt/macports/var/macports/build/macports_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4" && /opt/macports/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/macports -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/macports/lib -DCMAKE_INSTALL_NAME_DIR=/opt/macports/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/macports;/usr" -DCMAKE_MODULE_PATH=/opt/macports/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev ../eigen_src -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.10" -DCMAKE_OSX_SYSROOT="/" /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4 -- Ticket URL: <https://trac.macports.org/ticket/47277> MacPorts <https://www.macports.org/> Ports system for OS X
#47277: eigen3: The source directory does not appear to contain CMakeLists.txt --------------------------+------------------------ Reporter: sk-public@… | Owner: eborisch@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: eigen3 | --------------------------+------------------------ Changes (by larryv@…): * cc: eborisch@… (removed) * owner: macports-tickets@… => eborisch@… Comment: Replying to [ticket:47277 sk-public@…]:
(including this cmake out-of-source transition, which looks related)
It is related. The `opencv` port had a similar problem in #47256, which was solved with r134472. `eigen3` needs a similar fix. -- Ticket URL: <https://trac.macports.org/ticket/47277#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47277: eigen3: The source directory does not appear to contain CMakeLists.txt --------------------------+------------------------ Reporter: sk-public@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: eigen3 | --------------------------+------------------------ Changes (by eborisch@…): * status: new => closed * resolution: => fixed Comment: Fixed in r134500. -- Ticket URL: <https://trac.macports.org/ticket/47277#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47277: eigen3: The source directory does not appear to contain CMakeLists.txt --------------------------+------------------------ Reporter: sk-public@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: eigen3 | --------------------------+------------------------ Comment (by larryv@…): Uh, okay, but why not use the portgroup's support? -- Ticket URL: <https://trac.macports.org/ticket/47277#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47277: eigen3: The source directory does not appear to contain CMakeLists.txt --------------------------+------------------------ Reporter: sk-public@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: eigen3 | --------------------------+------------------------ Comment (by eborisch@…): To minimize changes to the Portfile at this point. Perhaps I will at the next version bump... -- Ticket URL: <https://trac.macports.org/ticket/47277#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts