Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 19:50:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230626] devel/libzim: fails to build with Clang 7
Message-ID:  <bug-230626-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230626
           Summary: devel/libzim: fails to build with Clang 7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 230355
          Assignee: swills@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)

$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+htt=
ps
$ poudriere testport -j clang7 devel/libzim
[...]
c++ -Isrc/src@@zim@sha -Isrc -I../src -Iinclude -I../include -Istatic
-I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=
=3D64
-Wall -Winvalid-pch -Wnon-virtual-dtor -Werror -std=3Dc++11 -O3 -O2
-fstack-protector -fno-strict-aliasing -fPIC -pthread  -MD -MQ
'src/src@@zim@sha/fileimpl.cpp.o' -MF 'src/src@@zim@sha/fileimpl.cpp.o.d' -o
'src/src@@zim@sha/fileimpl.cpp.o' -c ../src/fileimpl.cpp
../src/fileimpl.cpp:75:13: error: local variable 'e' will be copied despite
being thrown by name [-Werror,-Wreturn-std-move]
      throw e;
            ^
../src/fileimpl.cpp:75:13: note: call 'std::move' explicitly to avoid copyi=
ng
      throw e;
            ^
            std::move(e)

http://package18.nyi.freebsd.org/data/headamd64PR230355-default/2018-08-11_=
19h01m06s/logs/errors/libzim-4.0.0_1.log


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-230626-7788>