Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2017 13:32:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222554] devel/libbobcat: fails to build with lang/gcc7 or later
Message-ID:  <bug-222554-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: bofh@freebsd.org, gerald@FreeBSD.org
            Blocks: 222542
                CC: bofh@freebsd.org, gerald@FreeBSD.org

$ echo "DEFAULT_VERSIONS +=3D gcc=3D7" >>${__MAKE_CONF:-/etc/make.conf}
$ make
[...]
g++7 --std=3Dc++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 =3D char; _Traits =3D std::char_traits<char>]' is protected within t=
his
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&) =3D 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 =3D char; _Traits =3D
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&) =3D 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=3D222542
[Bug 222542] [exp-run] Update GCC_DEFAULT from 6 to 7
--=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-222554-13>