Bug 204014 - databases/mariadb100-server fails to build
Summary: databases/mariadb100-server fails to build
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 13:26 UTC by 382227
Modified: 2017-01-15 20:26 UTC (History)
0 users

See Also:


Attachments
source file (159.86 KB, application/x-rar)
2015-10-25 13:26 UTC, 382227
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description 382227 2015-10-25 13:26:32 UTC
Created attachment 162442 [details]
source file

make fail for mariadb-10.0.21.tar.gz

storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/build.make:230: recipe for target 'storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/expr.c.o' failed
gmake[4]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/expr.c.o] Error 254
gmake[4]: Leaving directory '/usr/ports/databases/mariadb100-server/work/mariadb-10.0.21'
CMakeFiles/Makefile2:669: recipe for target 'storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/all' failed
gmake[3]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/all] Error 2
gmake[3]: Leaving directory '/usr/ports/databases/mariadb100-server/work/mariadb-10.0.21'
Makefile:149: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/databases/mariadb100-server/work/mariadb-10.0.21'
===> 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/mariadb100-server
*** Error code 1
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2015-10-25 13:30:43 UTC
Make this an individual port PR and assign.
Comment 2 Bernard Spil freebsd_committer 2015-10-25 14:11:51 UTC
Can you provide some more information on the system you're building on? uname -a output, hardware, ...
Comment 3 Bernard Spil freebsd_committer 2015-10-25 14:32:56 UTC
Just built this myself with MROONGA enabled and it built just fine.

$uname -a
FreeBSD build.example.org 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Thu Aug 13 12:34:18 CEST 2015     root@build.example.org:/usr/obj/usr/src/sys/BEASTIE102  amd64

$ make showconfig                                  
===> The following configuration options are available for mariadb100-server-10.0.21:
     FASTMTX=off: Replace mutexes with spinlocks
     INNODB=off: Build InnoDB engine next to XtraDB
     MAXKEY=on: Change max key length from 1000 to 4000
     MROONGA=on: Mroonga Full Text Search engine (gcc)
     OQGRAPH=off: Open Query Graph Computation engine (gcc)
====> SSL protocol support: you can only select none or one of them
     BUNDLED_SSL=off: SSL/TLS support via (bundled) CyaSSL
     OPENSSL=on: SSL/TLS support via OpenSSL
     WITHOUT_SSL=off: No SSL/TLS support
===> Use 'make config' to modify these settings

anything specific in your /etc/make.conf perhaps? Tried building with an empty make.conf?
Comment 4 Bernard Spil freebsd_committer 2016-02-21 10:23:48 UTC
The attachment shows that this is building using /usr/bin/cc whereas building with MROONGA enabled on 10.0.21 should make it build with gcc.

Can you provide more info on the build environment?

uname -a
make showconfig
content of /etc/make.conf

Thanks!

Bernard.
Comment 5 commit-hook freebsd_committer 2017-01-14 21:57:55 UTC
A commit references this bug:

Author: brnrd
Date: Sat Jan 14 21:57:34 UTC 2017
New revision: 431497
URL: https://svnweb.freebsd.org/changeset/ports/431497

Log:
  databases/mariadb100-server: Update to 10.0.29

   - Update to 10.0.29
   - Update mariadb100-client
   - Update patches
   - Regen patches with makepatch
   - Pet portlint
   - Add MROONGA liblz4 dependency
   - Fix MROONGA liblz4 linking
   - rm erroneously installed files

  PR:             197232, 204014, 215901
  MFH:            2017Q1
  Security:       22373c43-d728-11e6-a9a5-b499baebfeaf

Changes:
  head/databases/mariadb100-client/Makefile
  head/databases/mariadb100-client/files/patch-CMakeLists.txt
  head/databases/mariadb100-client/files/patch-client_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-extra_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-include_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-include_my__compare.h
  head/databases/mariadb100-client/files/patch-include_my_compare.h
  head/databases/mariadb100-client/files/patch-libmysql_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-libservices_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-man_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-mysys_my__default.c
  head/databases/mariadb100-client/files/patch-mysys_my_default.c
  head/databases/mariadb100-client/files/patch-pcre_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-scripts_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-scripts_mysql__config.sh
  head/databases/mariadb100-client/files/patch-scripts_mysql_config.sh
  head/databases/mariadb100-client/files/patch-sql_CMakeLists.txt
  head/databases/mariadb100-client/files/patch-support-files_CMakeLists.txt
  head/databases/mariadb100-server/Makefile
  head/databases/mariadb100-server/distinfo
  head/databases/mariadb100-server/files/patch-extra_CMakeLists.txt
  head/databases/mariadb100-server/files/patch-mysys_my__default.c
  head/databases/mariadb100-server/files/patch-scripts_mysqld__safe.sh
  head/databases/mariadb100-server/files/patch-storage_tokudb_PerconaFT_ft_CMakeLists.txt
  head/databases/mariadb100-server/files/patch-support-files_CMakeLists.txt
  head/databases/mariadb100-server/pkg-plist
Comment 6 commit-hook freebsd_committer 2017-01-15 20:26:29 UTC
A commit references this bug:

Author: brnrd
Date: Sun Jan 15 20:25:31 UTC 2017
New revision: 431598
URL: https://svnweb.freebsd.org/changeset/ports/431598

Log:
  MFH: r431497

  databases/mariadb100-server: Update to 10.0.29

   - Update to 10.0.29
   - Update mariadb100-client
   - Update patches
   - Regen patches with makepatch
   - Pet portlint
   - Add MROONGA liblz4 dependency
   - Fix MROONGA liblz4 linking
   - rm erroneously installed files

  PR:             197232, 204014, 215901
  Security:       22373c43-d728-11e6-a9a5-b499baebfeaf

  Approved by:	ports-secteam (junovitch)

Changes:
_U  branches/2017Q1/
  branches/2017Q1/databases/mariadb100-client/Makefile
  branches/2017Q1/databases/mariadb100-client/files/patch-CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-client_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-extra_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-include_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-include_my__compare.h
  branches/2017Q1/databases/mariadb100-client/files/patch-include_my_compare.h
  branches/2017Q1/databases/mariadb100-client/files/patch-libmysql_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-libservices_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-man_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-mysys_my__default.c
  branches/2017Q1/databases/mariadb100-client/files/patch-mysys_my_default.c
  branches/2017Q1/databases/mariadb100-client/files/patch-pcre_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-scripts_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-scripts_mysql__config.sh
  branches/2017Q1/databases/mariadb100-client/files/patch-scripts_mysql_config.sh
  branches/2017Q1/databases/mariadb100-client/files/patch-sql_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-client/files/patch-support-files_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-server/Makefile
  branches/2017Q1/databases/mariadb100-server/distinfo
  branches/2017Q1/databases/mariadb100-server/files/patch-extra_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-server/files/patch-mysys_my__default.c
  branches/2017Q1/databases/mariadb100-server/files/patch-scripts_mysqld__safe.sh
  branches/2017Q1/databases/mariadb100-server/files/patch-storage_tokudb_PerconaFT_ft_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-server/files/patch-support-files_CMakeLists.txt
  branches/2017Q1/databases/mariadb100-server/pkg-plist