New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26024 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

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

main.log (251.9 KB) - added by just.1.jake@… 3 years ago.
log file

Change History

comment:1 Changed 3 years ago by just.1.jake@…

  • Cc just.1.jake@… added

Cc Me!

Changed 3 years ago by just.1.jake@…

log file

comment:2 Changed 3 years ago by just.1.jake@…

This build fine without +universal

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

Note: See TracTickets for help on using tickets.