[Bug 222554] devel/libbobcat: fails to build with lang/gcc7 or later

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 24 13:32:53 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222554

            Bug ID: 222554
           Summary: devel/libbobcat: fails to build with lang/gcc7 or
                    later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: bofh at freebsd.org, gerald at FreeBSD.org
            Blocks: 222542
                CC: bofh at freebsd.org, gerald at FreeBSD.org

$ echo "DEFAULT_VERSIONS += gcc=7" >>${__MAKE_CONF:-/etc/make.conf}
$ make
[...]
g++7 --std=c++14 -O2 -Wall -D_GLIBCXX_USE_C99 -I/usr/include -isystem tmp -c -o
errno/oa/16open3.o errno/open3.cc
errno/open3.cc: In static member function 'static void
FBB::Errno::open(std::fstream&, const string&, std::ios_base::openmode)':
errno/open3.cc:12:53: error: 'std::basic_ostream<_CharT,
_Traits>::basic_ostream(const std::basic_ostream<_CharT, _Traits>&) [with
_CharT = char; _Traits = std::char_traits<char>]' is protected within this
context
         throw Errno(1) << "Can't open `" << name << '\'';
                                                     ^~~~
In file included from /usr/local/lib/gcc7/include/c++/istream:39:0,
                 from /usr/local/lib/gcc7/include/c++/sstream:38,
                 from errno/errno:7,
                 from errno/errno.ih:3,
                 from errno/open3.cc:1:
/usr/local/lib/gcc7/include/c++/ostream:391:7: note: declared protected here
       basic_ostream(const basic_ostream&) = delete;
       ^~~~~~~~~~~~~
errno/open3.cc:12:53: error: use of deleted function
'std::basic_ostream<_CharT, _Traits>::basic_ostream(const
std::basic_ostream<_CharT, _Traits>&) [with _CharT = char; _Traits =
std::char_traits<char>]'
         throw Errno(1) << "Can't open `" << name << '\'';
                                                     ^~~~
In file included from /usr/local/lib/gcc7/include/c++/istream:39:0,
                 from /usr/local/lib/gcc7/include/c++/sstream:38,
                 from errno/errno:7,
                 from errno/errno.ih:3,
                 from errno/open3.cc:1:
/usr/local/lib/gcc7/include/c++/ostream:391:7: note: declared here
       basic_ostream(const basic_ostream&) = delete;
       ^~~~~~~~~~~~~
system - failure of system call (status 256)
system - failure of system call (status 256)
*** Error code 1

build log: http://sprunge.us/UXhc


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222542
[Bug 222542] [exp-run] Update GCC_DEFAULT from 6 to 7
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list