Bug 229059 - databases/mysql80-server - compile fails on AWS EC2
Summary: databases/mysql80-server - compile fails on AWS EC2
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mahdi Mokhtari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-16 00:37 UTC by Peter Duh
Modified: 2018-06-16 01:08 UTC (History)
0 users

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 Peter Duh 2018-06-16 00:37:48 UTC
# uname -a
FreeBSD ap4.peterduh.com 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

...

[ 75%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/covered_by.cc.o
cd /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/sql && /usr/bin/c++  -DHAVE_CONFIG_H -DHAVE_LIBEVENT2 -DHAVE_OPENSSL -DMYSQL_SERVER -DRAPIDJSON_NO_SIZETYPEDEFINE -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit -D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/rapid -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11 -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/rapid -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/libbinlogevents/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/libbinlogevents/export -isystem /usr/local/include/editline -isystem /usr/local/include -isystem /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/extra/rapidjson/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/libbinlogevents/include -isystem /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/include/boost_1_66_0/patches -isystem /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/boost/boost_1_66_0 -O2 -pipe -fPIC -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-virtual -Wno-null-conversion -Wno-unused-private-field -Wconditional-uninitialized -Wheader-hygiene -Wnon-virtual-dtor -Wundefined-reinterpret-cast -O2 -pipe -fPIC -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11  -DDBUG_OFF -o CMakeFiles/sql_gis.dir/gis/covered_by.cc.o -c /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/sql/gis/covered_by.cc
[ 75%] Building CXX object sql/CMakeFiles/sql_gis.dir/gis/crosses.cc.o
cd /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/sql && /usr/bin/c++  -DHAVE_CONFIG_H -DHAVE_LIBEVENT2 -DHAVE_OPENSSL -DMYSQL_SERVER -DRAPIDJSON_NO_SIZETYPEDEFINE -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit -D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/rapid -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11 -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/rapid -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build/libbinlogevents/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/libbinlogevents/export -isystem /usr/local/include/editline -isystem /usr/local/include -isystem /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/extra/rapidjson/include -I/tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/libbinlogevents/include -isystem /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/include/boost_1_66_0/patches -isystem /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/boost/boost_1_66_0 -O2 -pipe -fPIC -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-virtual -Wno-null-conversion -Wno-unused-private-field -Wconditional-uninitialized -Wheader-hygiene -Wnon-virtual-dtor -Wundefined-reinterpret-cast -O2 -pipe -fPIC -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -std=c++11  -DDBUG_OFF -o CMakeFiles/sql_gis.dir/gis/crosses.cc.o -c /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/mysql-8.0.11/sql/gis/crosses.cc
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/crosses-575299.cpp
c++: note: diagnostic msg: /tmp/crosses-575299.sh
c++: note: diagnostic msg: 

********************
*** [sql/CMakeFiles/sql_gis.dir/gis/crosses.cc.o] Error code 254

make[4]: stopped in /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build
1 error

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

make[3]: stopped in /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build
1 error

make[3]: stopped in /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build
*** [all] Error code 2

make[2]: stopped in /tmp/mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server/work/.build
1 error

make[2]: stopped in /tmp/mnt/aws-efs-fs-aebc0c07/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 /mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server
*** Error code 1

Stop.
make: stopped in /mnt/aws-efs-fs-aebc0c07/usr/ports/databases/mysql80-server

===>>> make build failed for databases/mysql80-server
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> databases/mysql80-server 

This command has been saved to /tmp/portmasterfail.txt

=========================
/tmp/crosses-575299.cpp
/tmp/crosses-575299.sh
Attached.
=========================
Comment 1 Peter Duh 2018-06-16 00:51:02 UTC
/tmp/crosses-575299.cpp (26,940,250):
http://peterduh.com/tmp/crosses-575299.cpp

/tmp/crosses-575299.sh (6,957):
http://peterduh.com/tmp/crosses-575299.sh
Comment 2 Peter Duh 2018-06-16 00:57:00 UTC
# cat /etc/make.conf 
WRKDIRPREFIX?=/tmp
ALLOW_UNSUPPORTED_SYSTEM=yes
SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf

# cat /var/db/ports/databases_mysql80-server/options 
# This file is auto-generated by 'make config'.
# Options for mysql80-server-8.0.11
_OPTIONS_READ=mysql80-server-8.0.11
_FILE_COMPLETE_OPTIONS_LIST= ARCHIVE BLACKHOLE EXAMPLE FEDERATED INNOBASE PARTITION PERFSCHEMA PERFSCHM
OPTIONS_FILE_UNSET+=ARCHIVE
OPTIONS_FILE_UNSET+=BLACKHOLE
OPTIONS_FILE_UNSET+=EXAMPLE
OPTIONS_FILE_UNSET+=FEDERATED
OPTIONS_FILE_UNSET+=INNOBASE
OPTIONS_FILE_UNSET+=PARTITION
OPTIONS_FILE_UNSET+=PERFSCHEMA
OPTIONS_FILE_SET+=PERFSCHM
Comment 3 Peter Duh 2018-06-16 01:08:09 UTC
I have another server running FreeBSD 11.0 which complied it fine. Other than the OS version is different, the 11.0 one has installed MySQL 5.6 before installing 8.0.11.