[MacPorts] #26024: cmake-2.8.2-devel-r2 Post-configure build error

MacPorts noreply at macports.org
Tue Aug 10 00:09:03 PDT 2010


#26024: cmake-2.8.2-devel-r2 Post-configure build error
--------------------------------------------------------------------------+-
 Reporter:  just.1.jake@…                                                 |       Owner:  macports-tickets@…                   
     Type:  defect                                                        |      Status:  new                                  
 Priority:  Normal                                                        |   Milestone:                                       
Component:  ports                                                         |     Version:  1.9.1                                
 Keywords:  +universal, variant, post-patch, configure, cmake, reinplace  |        Port:  cmake                                
--------------------------------------------------------------------------+-
 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

-- 
Ticket URL: <http://trac.macports.org/ticket/26024>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list