Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 11:54:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216404] graphics/GraphicsMagick: fails to build with libc++ 4.0 (110 ports skipped)
Message-ID:  <bug-216404-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 216404
           Summary: graphics/GraphicsMagick: fails to build with libc++
                    4.0 (110 ports skipped)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: dim@FreeBSD.org, eric@efcs.ca
            Blocks: 216008
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

The port defines USES=3Dcompiler:gcc-c++11-lib to build with OpenMP support=
 via
GCC 4.9 (C++98 by default) since LLVM libomp is broken on most architectures
FreeBSD supports (i386, aarch64, armv6, powerpc*).

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)
[...]
Magick++          --with-magick-plus-plus=3Dyes  no (failed tests)
[...]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building package for GraphicsMagick-1.3.25_1,1
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
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/include/Gra=
phicsMagick/Magick++/Blob.h:
No such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/include/Gra=
phicsMagick/Magick++/CoderInfo.h:
No such file or directory
pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/GraphicsMagick/work/stage/usr/local/include/Gra=
phicsMagick/Magick++/Color.h:
No such file or directory
[...]

build log: http://sprunge.us/MJaP
regressed by: https://github.com/llvm-mirror/libcxx/commit/120401a4e033

$ pkg install gcc

$ cat >a.cc
#include <iostream>
using namespace std;
int main(void) { return 0; }

$ g++49 -nostdinc++ -isystem /usr/include/c++/v1 -c a.cc
In file included from /usr/include/c++/v1/__locale:15:0,
                 from /usr/include/c++/v1/ios:216,
                 from /usr/include/c++/v1/iostream:38,
                 from a.cc:1:
/usr/include/c++/v1/string:823:45: error: default template arguments may no=
t be
used in function templates without -std=3Dc++11 or -std=3Dgnu++11
     basic_string& operator=3D(__self_view __sv)  {return assign(__sv);}
                                             ^


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas=
e to
4.0.0
--=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-216404-13>