Bug 197117 - databases/mariadb100-server build fails on amd64
Summary: databases/mariadb100-server build fails on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 00:31 UTC by nick.rozhkov
Modified: 2015-01-31 11:16 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nick.rozhkov 2015-01-27 00:31:50 UTC
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        :
Comment 1 nick.rozhkov 2015-01-27 00:38:41 UTC
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
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2015-01-27 01:12:06 UTC
Fix Summary and notify maintainer.
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2015-01-27 20:51:01 UTC
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.
Comment 4 nick.rozhkov 2015-01-29 13:29:57 UTC
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
Comment 5 Bernard Spil freebsd_committer freebsd_triage 2015-01-30 14:55:17 UTC
This has been fixed together with the new 10.0.16 version
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197185
Comment 6 Bernard Spil freebsd_committer freebsd_triage 2015-01-30 19:40:22 UTC
Please verify with the new 10.0.16 port, the fix is available in ports now.
Comment 7 nick.rozhkov 2015-01-31 11:14:07 UTC
(In reply to Bernard Spil from comment #6)
Yep, it's fixed in the new version of port. Thanks
Comment 8 nick.rozhkov 2015-01-31 11:16:22 UTC
Fixed in the new (10.0.16) version