Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Aug 2018 16:47:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 230412] graphics/GraphicsMagick: fails to build with libc++ 7
Message-ID:  <bug-230412-29464@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 230355
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@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 test=
s)
[...]
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/bin/Graphic=
sMagick++-config:No
such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/include/Gra=
phicsMagick/Magick++.h:No
such file or directory
[...]

build log: https://ptpb.pw/KrTc

$ echo '#include <fstream>' | g++7 -xc++ - -std=3Dc++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 no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
     basic_string(const _CharT* __s) {
                                   ^
/usr/include/c++/v1/string:821:62: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
         basic_string(const _CharT* __s, const _Allocator& __a);
                                                              ^
/usr/include/c++/v1/string:832:70: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
         basic_string(size_type __n, _CharT __c, const _Allocator& __a);
                                                                      ^
/usr/include/c++/v1/string:843:75: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
                               const allocator_type& __a =3D allocator_type=
());
                                                                           ^
/usr/include/c++/v1/string:847:45: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
         explicit basic_string(const _Tp& __t);
                                             ^
/usr/include/c++/v1/string:851:72: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
         explicit basic_string(const _Tp& __t, const allocator_type& __a);
                                                                        ^
/usr/include/c++/v1/string:874:43: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
     basic_string& operator=3D(const _Tp& __t)
                                           ^


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--=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-230412-29464>