Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2018 10:35:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225788] science/libkml: clang 6.0 breaks build on HEAD
Message-ID:  <bug-225788-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 225788
           Summary: science/libkml: clang 6.0 breaks build on HEAD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: rhurlin@gwdg.de
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Since the update to clang 6.x on HEAD the build of science/libkml breaks li=
ke
this:

[..snip..]
[194/247] /usr/bin/c++   -I/usr/local/include -Isrc -O2 -pipe -fstack-prote=
ctor
-fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -=
MT
examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o -MF
examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o.d -o
examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o -c
examples/engine/splitstyles.cc
FAILED: examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o=
=20
/usr/bin/c++   -I/usr/local/include -Isrc -O2 -pipe -fstack-protector
-fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -=
MT
examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o -MF
examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o.d -o
examples/engine/CMakeFiles/example_splitstyles.dir/splitstyles.cc.o -c
examples/engine/splitstyles.cc
examples/engine/splitstyles.cc:38:52: error: invalid operands to binary
expression ('basic_ostream<char, std::__1::char_traits<char> >' and
'std::__1::ostream' (aka 'basic_ostream<char>'))
    std::cerr << "read failed: " << input_filename << std::cerr;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~
/usr/include/c++/v1/ostream:218:20: note: candidate function not viable: no
known conversion from 'std::__1::ostream' (aka 'basic_ostream<char>') to 'c=
onst
void *' for 1st argument; take the address of the argument with &
    basic_ostream& operator<<(const void* __p);
                   ^
/usr/include/c++/v1/ostream:194:20: note: candidate function not viable: no
known conversion from 'std::__1::ostream' (aka 'basic_ostream<char>') to
'std::__1::basic_ostream<char> &(*)(std::__1::basic_ostream<char> &)' for 1=
st
argument
    basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&))
[..snip..]

Many more errors like this follow.

--=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-225788-13>