MariaDB 10.0 build fails when gcc related options are enabled Steps to reproduce 1. Make comfig 2. Enable MROONGA (gcc) and OQGRAPH (gcc) options ===> mariadb100-server-10.0.15 Unknown version of GCC specified (USE_GCC=yes yes yes). *** Error code 1 Stop. make: stopped in /usr/ports/databases/mariadb100-server cat /etc/make.conf USE_GCC=4.8 DEFAULT_VERSIONS=php=5.6 python=2.7 mysql=100m pgsql=9.4 python2=2.7 python3=3.3 ruby=2.0 perl5=5.18 berkleydb=5.3 apache=2.4 root@daemon:/usr/ports/databases/mariadb100-server # pkg info gcc gcc-4.8.4 Name : gcc Version : 4.8.4 Installed on : Fri Jan 23 16:12:08 EET 2015 Origin : lang/gcc Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : lang java Licenses : GPLv3RLE and GPLv3 Maintainer : gerald@FreeBSD.org WWW : http://gcc.gnu.org/ Comment : GNU Compiler Collection 4.8 Options :
UPD Sorry, my fault. In previous coment I've made a mistake The right error message is ===> mariadb100-server-10.0.15 Unknown version of GCC specified (USE_GCC=4.8 yes yes). *** Error code 1 but when i change USE_GCC variable to yes in /etc/make.conf I get the following error ===> mariadb100-server-10.0.15 Unknown version of GCC specified (USE_GCC=yes yes yes). *** Error code 1
Fix Summary and notify maintainer.
Hi Nick, Assuming this is related to the USE_GCC= in the Makefile whilst you already have it defined in your make.conf. This would override USE_GCC in make.conf leading to some failure. Can you please test it with USE_GCC= replaced by USE_GCC?= in the Makefile? Thanks, Bernard.
I've tried to build with USE_GCC?=4.8 in /etc/make.conf The result is ===> mariadb100-server-10.0.15 Unknown version of GCC specified (USE_GCC=4.8 yes yes). *** Error code 1 Without related /etc/make.conf modifications (USE_GCC flag was commented out) I got: ===> mariadb100-server-10.0.15 Unknown version of GCC specified (USE_GCC=yes yes). *** Error code 1 after adding USE_GCC?=4.8 to /usr/ports/databases/mariadb100-server/Makefile the result is the same as the first one ===> mariadb100-server-10.0.15 Unknown version of GCC specified (USE_GCC=4.8 yes yes). *** Error code 1
This has been fixed together with the new 10.0.16 version See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197185
Please verify with the new 10.0.16 port, the fix is available in ports now.
(In reply to Bernard Spil from comment #6) Yep, it's fixed in the new version of port. Thanks
Fixed in the new (10.0.16) version