[MacPorts] #33104: libkml @1.2.0 (gis) Build fails on OS X 10.7.2

MacPorts noreply at macports.org
Wed Feb 1 11:21:32 PST 2012


#33104: libkml @1.2.0 (gis)  Build fails on OS X 10.7.2
---------------------------------------+------------------------------------
 Reporter:  philip.dutoit@…            |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  2.0.3                                
 Keywords:  lion kml kmz google maps   |        Port:  libkml                               
---------------------------------------+------------------------------------
 Mac OS X 10.7.2[[BR]]
 Xcode 4.2.1[[BR]]
 Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM
 3.0svn)[[BR]]
 Target: x86_64-apple-darwin11.2.0[[BR]]

 Attempting to do a simple install of libkml 1.2.0. [[BR]]
 The build fails with an error.  [[BR]]
 The complete log file is attached. [[BR]]


 {{{
 joshua:~ pdutoit$ sudo port install libkml
 --->  Computing dependencies for libkml
 --->  Building libkml
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for libkml is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_libkml/libkml/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 Relevant line in the log file is:[[BR]]
 {{{
 :info:build google_maps_data.cc:183:22: error: using the result of an
 assignment as a condition without parentheses [-Werror,-Wparentheses]
 }}}

 Appears that an extra pair of parentheses is needed to avoid the
 assignment-vs-equality mistake.

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


More information about the macports-tickets mailing list