Opened 14 years ago

Closed 14 years ago

#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 (1)

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

Download all attachments as: .zip

Change History (4)

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

Cc: just.1.jake@… added

Cc Me!

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

Attachment: main.log added

log file

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

This build fine without +universal

comment:3 Changed 14 years ago by cssdev

Cc: css@… removed
Resolution: duplicate
Status: newclosed

Duplicate of comment:ticket:25614:9

Note: See TracTickets for help on using tickets.