[Bug 217918] Can't create science/libkml

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 19 12:43:33 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217918

            Bug ID: 217918
           Summary: Can't create science/libkml
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: dwb2-bugzilla at buhlerfamily.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

When I attempt to compile libkml it aborts with a out of line definition error

Here is the relevant error code:


[  1%] Building CXX object src/kml/base/CMakeFiles/kmlbase.dir/date_time.cc.o
cd /usr/ports/science/libkml/work/libkml-1.3.0/src/kml/base && /usr/bin/c++  
-Dkmlbase_EXPORTS -I/usr/local/include
-I/usr/ports/science/libkml/work/libkml-1.3.0/src -O2 -pipe -fstack-protector
-fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -o
CMakeFiles/kmlbase.dir/date_time.cc.o -c
/usr/ports/science/libkml/work/libkml-1.3.0/src/kml/base/date_time.cc
/usr/ports/science/libkml/work/libkml-1.3.0/src/kml/base/date_time.cc:66:18:
error: out-of-line definition of 'GetTimeT' does not match any declaration in
'kmlbase::DateTime'
time_t DateTime::GetTimeT() const {
                 ^~~~~~~~
/usr/local/include/kml/base/date_time.h:52:10: note: member declaration does
not match because it is not const qualified
  time_t GetTimeT() /* const */;
         ^        ~
1 error generated.
*** [src/kml/base/CMakeFiles/kmlbase.dir/date_time.cc.o] Error code 1

make[4]: stopped in /usr/ports/science/libkml/work/libkml-1.3.0
1 error


In attempting to fix this I've tried to set the MAKE_JOBS_UNSAFE=yes flag to no
avail.

I also double checked that I was on the latest ports tree and had applied any
necessary changes from the UPDATING file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list