Opened 7 years ago
Last modified 6 years ago
#56228 assigned defect
mysql57 @5.7.17: error: no type named 'self_ip_exception' in namespace 'boost::geometry::detail::self_get_turn_points'
Reported by: | BjarneDMat | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | phriedrich, emiel (Emiel van de Laar), mojca (Mojca Miklavec), Schamschula (Marius Schamschula), papachoco (Carlos Sanchez) | |
Port: | mysql57 |
Description
I'm having issues with mysql57 not building under macOS 10.13
I'm seeing this on three different computers
I had no issues with this exact same setup under MacOS 10.12
A completely new install under macOS 10.11 had no issues either
Attachments (1)
Change History (13)
Changed 7 years ago by BjarneDMat
Attachment: | mysql57_main.log added |
---|
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Cc: | pixilla removed |
---|---|
Owner: | set to pixilla |
Status: | new → assigned |
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | mysql57 @ 5.7.17 : Failed to build mysql57: command execution failed → mysql57 @5.7.17: error: no type named 'self_ip_exception' in namespace 'boost::geometry::detail::self_get_turn_points' |
---|
.../sql/item_geofunc_internal.cc:37:63: error: no type named 'self_ip_exception' in namespace 'boost::geometry::detail::self_get_turn_points' catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
comment:3 Changed 7 years ago by pmetzger (Perry E. Metzger)
Pixilla, this is your port, any ideas on fixing this?
comment:4 Changed 6 years ago by phriedrich
Cc: | phriedrich added |
---|
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | emiel added |
---|
Has duplicate #57264.
comment:6 Changed 6 years ago by emiel (Emiel van de Laar)
I spend some time on troubleshooting this issue today. Turns out I had boost installed (via ports) and the build was picking it up instead of the bundled one (distfiles). The boost headers are picked up by the compiler through '-I/opt/local/include'. I'm unsure if there is a way to influence this through the build, i.e. place the bundled boost first...
Anyway I had boost @1.66.0_3 installed and removing it from the system resolved this issue. Perhaps @BjarneDMat can have another look to see if there is another version of boost on his systems (either through ports or manual install).
Not sure what a nice solution would be here is besides warning that a system installed boost was found...
MySQL 5.7 requires a very specific version of boost (1.59.0) [1] though it looks like this restriction has been lifted [2] for 8.0 (though unsure which versions are really supported).
- https://dev.mysql.com/doc/refman/5.7/en/source-installation.html
- https://dev.mysql.com/doc/refman/8.0/en/source-installation.html
All for now.
comment:8 Changed 6 years ago by mojca (Mojca Miklavec)
The only option is to temporarily disable boost, or use the trace mode. But see also #55487 for my failed attempt to upgrade mysql57
.
comment:9 Changed 6 years ago by mojca (Mojca Miklavec)
Cc: | mojca added |
---|
comment:10 Changed 6 years ago by Schamschula (Marius Schamschula)
Cc: | Schamschula added |
---|
comment:12 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | papachoco added |
---|
Has duplicate #58086.
mysql57 main.log