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: sunp...@freebsd.org
          Reporter: jbe...@freebsd.org
            Blocks: 230355
          Assignee: sunp...@freebsd.org
             Flags: maintainer-feedback?(sunp...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to