Ticket #26024 (closed defect: duplicate)
cmake-2.8.2-devel-r2 Post-configure build error
| Reported by: | just.1.jake@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | +universal, variant, post-patch, configure, cmake, reinplace | Cc: | just.1.jake@… |
| Port: | cmake |
Description
Using +universal (built as a dependency) After configure, port throws this: {{{Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.2/CMakeCache.txt": no such file or directory Error: Target org.macports.configure returned: reinplace sed(1) failed}}}
I inspected /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.2/ and found that there was no file (as Port said). However, the correct files were created in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.2-i386/ and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.8.2-x86-64/
Log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/main.log attached.
This line from the portfile seems to blame: reinplace "s|/usr/lib/libcurses|${prefix}/lib/libncurses|g" ${worksrcpath}/CMakeCache.txt
ISSUE: cmake port doesn't create correct CMakeCache.txt files in correct location with +universal
Attachments
Change History
comment:3 Changed 3 years ago by css@…
- Status changed from new to closed
- Cc css@… removed
- Resolution set to duplicate
Duplicate of comment:ticket:25614:9


Cc Me!