[Bug 224946] graphics/GraphicsMagick: fails to build with libc++ 6.0 (blocks 6 ports)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 6 06:22:25 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224946
Bug ID: 224946
Summary: graphics/GraphicsMagick: fails to build with libc++
6.0 (blocks 6 ports)
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
CC: dim at FreeBSD.org
Blocks: 224669
Assignee: sunpoet at FreeBSD.org
Flags: maintainer-feedback?(sunpoet at FreeBSD.org),
maintainer-feedback?(dim at FreeBSD.org)
CC: dim at FreeBSD.org
FreeBSD -CURRENT plans to update base Clang to 6.0.0 soon. While testing this
port failed to build. The underlying issue appears to be broken pre-C++11
support in libc++ when used by GCC.
$ cat a.cc
#include <memory>
int main() { return 0; }
$ g++7 -nostdinc++ -isystem/usr/include/c++/v1 -std=c++03 a.cc
In file included from /usr/include/c++/v1/memory:648:0,
from a.cc:1:
/usr/include/c++/v1/memory: In static member function 'static
std::__1::shared_ptr<_Tp> std::__1::shared_ptr<_Tp>::make_shared(_A0&, _A1&,
_A2&)':
/usr/include/c++/v1/memory:4365:5: error: wrong number of template arguments
(4, should be at least 1)
static_assert((is_constructible<_Tp, _A0, _A1, _A2>::value), "Can't
construct object in make_shared" );
^
In file included from /usr/include/c++/v1/memory:649:0,
from a.cc:1:
/usr/include/c++/v1/type_traits:3198:29: note: provided for 'template<class
_Tp, class _A0, class _A1> struct std::__1::is_constructible'
struct _LIBCPP_TEMPLATE_VIS is_constructible
^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/v1/memory:648:0,
from a.cc:1:
/usr/include/c++/v1/memory:4365:5: error: template argument 1 is invalid
static_assert((is_constructible<_Tp, _A0, _A1, _A2>::value), "Can't
construct object in make_shared" );
^
/usr/include/c++/v1/memory: In static member function 'static
std::__1::shared_ptr<_Tp> std::__1::shared_ptr<_Tp>::allocate_shared(const
_Alloc&, _A0&, _A1&, _A2&)':
/usr/include/c++/v1/memory:4444:5: error: wrong number of template arguments
(4, should be at least 1)
static_assert((is_constructible<_Tp, _A0, _A1, _A2>::value), "Can't
construct object in allocate_shared" );
^
In file included from /usr/include/c++/v1/memory:649:0,
from a.cc:1:
/usr/include/c++/v1/type_traits:3198:29: note: provided for 'template<class
_Tp, class _A0, class _A1> struct std::__1::is_constructible'
struct _LIBCPP_TEMPLATE_VIS is_constructible
^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/v1/memory:648:0,
from a.cc:1:
/usr/include/c++/v1/memory:4444:5: error: template argument 1 is invalid
static_assert((is_constructible<_Tp, _A0, _A1, _A2>::value), "Can't
construct object in allocate_shared" );
^
=======================<phase: configure >============================
===> Configuring for GraphicsMagick-1.3.27,1
[...]
checking whether the compiler supports ISO C++ standard library... no
checking whether the compiler supports Standard Template Library... no
checking whether the compiler supports ios::binary... no
[...]
checking whether C++ compiler is sufficient for Magick++... no (failed tests)
[...]
=======================<phase: package >============================
===> Building package for GraphicsMagick-1.3.27,1
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
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/include/GraphicsMagick/Magick++/Blob.h:No
such file or directory
[...]
To reproduce:
$ poudriere jail -cj clang6-amd64 -a amd64 -v projects/clang600-import -m
svn+https
$ poudriere bulk -Ctj clang6-amd64 textproc/jade
http://package18.nyi.freebsd.org/data/headamd64PR224669-default/2018-01-02_08h32m49s/logs/errors/GraphicsMagick-1.3.27,1.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224669
[Bug 224669] [exp-run] Against projects/clang600-import branch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list