[MacPorts] #33104: libkml @1.2.0 (gis) Build fails on OS X 10.7.2
#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
#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 ---------------------------------------+------------------------------------ Comment(by ryandesign@…): That is not a complete log. (It contains lines that say "Skipping completed".) Please "sudo port clean libkml" and try again. -- Ticket URL: <https://trac.macports.org/ticket/33104#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33104: libkml @1.2.0 (gis) Build fails with clang ---------------------------------------+------------------------------------ Reporter: philip.dutoit@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: libkml ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * keywords: lion kml kmz google maps => clang * owner: macports-tickets@… => ryandesign@… Comment: I see there is an [http://code.google.com/p/libkml/issues/detail?id=175 upstream bug report] already filed. -- Ticket URL: <https://trac.macports.org/ticket/33104#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33104: libkml @1.2.0 (gis) Build fails with clang due to -Werror ---------------------------------------+------------------------------------ Reporter: philip.dutoit@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: libkml ---------------------------------------+------------------------------------ Changes (by jmr@…): * keywords: clang => Comment: Just needs to not use -Werror. Unfortunately it looks like it's hardcoded into all the Makefiles. -- Ticket URL: <https://trac.macports.org/ticket/33104#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33104: libkml @1.2.0 (gis) Build fails with clang due to -Werror ----------------------------------------+----------------------------------- Reporter: philip.dutoit@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: libkml | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r95685 -- Ticket URL: <https://trac.macports.org/ticket/33104#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts