[Bug 230412] graphics/GraphicsMagick: fails to build with libc++ 7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 6 16:47:32 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230412
Bug ID: 230412
Summary: graphics/GraphicsMagick: fails to build with libc++ 7
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-qa
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 230355
Assignee: sunpoet at FreeBSD.org
Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
$ c++ -v
FreeBSD clang version 7.0.0 (branches/release_70 338892) (based on LLVM
7.0.0svn)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
$ make
[...]
checking whether the compiler supports ISO C++ standard library... no
checking whether the compiler supports ios::binary... no
checking whether C++ compiler is sufficient for Magick++... no (failed tests)
[...]
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/bin/GraphicsMagick++-config:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/include/GraphicsMagick/Magick++.h:No
such file or directory
[...]
build log: https://ptpb.pw/KrTc
$ echo '#include <fstream>' | g++7 -xc++ - -std=c++03 -nostdinc++
-isystem/usr/include/c++/v1
In file included from /usr/include/c++/v1/__locale:15:0,
from /usr/include/c++/v1/ios:216,
from /usr/include/c++/v1/ostream:138,
from /usr/include/c++/v1/fstream:184,
from <stdin>:1:
/usr/include/c++/v1/string:811:35: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
basic_string(const _CharT* __s) {
^
/usr/include/c++/v1/string:821:62: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
basic_string(const _CharT* __s, const _Allocator& __a);
^
/usr/include/c++/v1/string:832:70: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
basic_string(size_type __n, _CharT __c, const _Allocator& __a);
^
/usr/include/c++/v1/string:843:75: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
const allocator_type& __a = allocator_type());
^
/usr/include/c++/v1/string:847:45: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
explicit basic_string(const _Tp& __t);
^
/usr/include/c++/v1/string:851:72: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
explicit basic_string(const _Tp& __t, const allocator_type& __a);
^
/usr/include/c++/v1/string:874:43: error: default template arguments may not be
used in function templates without -std=c++11 or -std=gnu++11
basic_string& operator=(const _Tp& __t)
^
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list