Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2016 20:06:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213346] databases/mysql-connector-c++: Build issue connector with MySQL 5.7 client
Message-ID:  <bug-213346-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 213346
           Summary: databases/mysql-connector-c++: Build issue connector
                    with MySQL 5.7 client
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: supportme@ukr.net
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

When building databases/mysql-connector-c++ with installed
mysql57-client-5.7.15 got more than 20 errors like=20

In file included from /usr/local/include/boost/config/no_tr1/memory.hpp:21:
/usr/include/c++/v1/memory:2595:13: error: expected ')'
            static_assert(!is_pointer<deleter_type>::value,=20=20
            ^
...
In file included from /usr/include/c++/v1/__locale:15:
/usr/include/c++/v1/string:1263:5: error: expected ')'
    static_assert((is_same<typename allocator_type::value_type,
value_type>::value),
    ^
...
/usr/include/c++/v1/string:1261:5: error: expected ')'
    static_assert((is_same<_CharT, value_type>::value),
    ^

Workaround for me is to add CMAKE_ENABLE_C++11=3DON to CMAKE_ARGS option in=
 port
Makefile like:

- CMAKE_ARGS=3D     -DDOC_DESTINATION=3D"${DOCSDIR}"
+ CMAKE_ARGS=3D     -DDOC_DESTINATION=3D"${DOCSDIR}" -DCMAKE_ENABLE_C++11=
=3DON

after that builds and seems to works fine.

Found on fresh ports tree and:
FreeBSD 11.0 latest on STABLE
FreeBSD 12.0-CURRENT #0 r306907

With mysql56-client this port build and works fine without any intrusion.

--=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-213346-13>