Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 12:43:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217918] Can't create science/libkml
Message-ID:  <bug-217918-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217918

            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@FreeBSD.org
          Reporter: dwb2-bugzilla@buhlerfamily.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

When I attempt to compile libkml it aborts with a out of line definition er=
ror

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++=
=20=20
-Dkmlbase_EXPORTS -I/usr/local/include
-I/usr/ports/science/libkml/work/libkml-1.3.0/src -O2 -pipe -fstack-protect=
or
-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=3Dyes flag=
 to no
avail.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217918-13>