Bug 233152 - databases/mysql80-server cannot compile
Summary: databases/mysql80-server cannot compile
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Mahdi Mokhtari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 08:33 UTC by Borja Marcos
Modified: 2018-11-26 14:53 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (mmokhi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borja Marcos 2018-11-12 08:33:10 UTC
Compilation aborted. No success with MAKE_JOBS_UNSAFE either.


--- sql/CMakeFiles/sql_gis.dir/all ---
In file included from /usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.cc:23:
/usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.h:43:36: error: too few template arguments for class template 'geographic'
  boost::geometry::strategy::area::geographic<> m_geographic_strategy;
                                   ^
/usr/local/include/boost/geometry/strategies/geographic/area.hpp:57:7: note: template is declared here
class geographic
      ^
In file included from /usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.cc:23:
/usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.h:40:7: warning: 'gis::Ring_flip_visitor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class Ring_flip_visitor : public Nop_visitor {
      ^
1 warning and 1 error generated.
*** [sql/CMakeFiles/sql_gis.dir/gis/ring_flip_visitor.cc.o] Error code 1

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
--- storage/perfschema/unittest/CMakeFiles/pfs_host-oom-t.dir/all ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [storage/perfschema/unittest/CMakeFiles/pfs_host-oom-t.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
--- sql/CMakeFiles/sql_dd.dir/all ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [sql/CMakeFiles/sql_dd.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
--- sql/CMakeFiles/sql_gis.dir/all ---
1 error

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [sql/CMakeFiles/sql_gis.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
3 errors

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [all] Error code 2

make[2]: stopped in /usr/ports/databases/mysql80-server/work/.build
1 error

make[2]: stopped in /usr/ports/databases/mysql80-server/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql80-server
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql80-server
root@splunk:/usr/ports/databases/mysql80-server #
Comment 1 Borja Marcos 2018-11-12 08:34:28 UTC
Cannot compile on FreeBSD 11.2-STABLE. MAKE_JOBS_UNSAFE doesn't work either.





--- sql/CMakeFiles/sql_gis.dir/all ---
In file included from /usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.cc:23:
/usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.h:43:36: error: too few template arguments for class template 'geographic'
  boost::geometry::strategy::area::geographic<> m_geographic_strategy;
                                   ^
/usr/local/include/boost/geometry/strategies/geographic/area.hpp:57:7: note: template is declared here
class geographic
      ^
In file included from /usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.cc:23:
/usr/ports/databases/mysql80-server/work/mysql-8.0.12/sql/gis/ring_flip_visitor.h:40:7: warning: 'gis::Ring_flip_visitor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class Ring_flip_visitor : public Nop_visitor {
      ^
1 warning and 1 error generated.
*** [sql/CMakeFiles/sql_gis.dir/gis/ring_flip_visitor.cc.o] Error code 1

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
--- storage/perfschema/unittest/CMakeFiles/pfs_host-oom-t.dir/all ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [storage/perfschema/unittest/CMakeFiles/pfs_host-oom-t.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
--- sql/CMakeFiles/sql_dd.dir/all ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [sql/CMakeFiles/sql_dd.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
--- sql/CMakeFiles/sql_gis.dir/all ---
1 error

make[4]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [sql/CMakeFiles/sql_gis.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
3 errors

make[3]: stopped in /usr/ports/databases/mysql80-server/work/.build
*** [all] Error code 2

make[2]: stopped in /usr/ports/databases/mysql80-server/work/.build
1 error

make[2]: stopped in /usr/ports/databases/mysql80-server/work/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mysql80-server
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mysql80-server
root@splunk:/usr/ports/databases/mysql80-server #
Comment 2 Oleg Sidorkin 2018-11-26 11:14:03 UTC
What port options are you using? I cannot reproduce this with default options.
Comment 3 Borja Marcos 2018-11-26 11:22:14 UTC
Sorry, I think it was because some devel/boost ports were installed.

I will try to reproduce it and report back.
Comment 4 Borja Marcos 2018-11-26 14:53:23 UTC
Please disregard it. 

I guess I made some stupid mistake, now I am unable to reproduce it.

My apologies!