Bug 218063 - databases/mariadb101-server breaks mysql_install_db
Summary: databases/mariadb101-server breaks mysql_install_db
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
: 218192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-24 15:32 UTC by Joris Dedieu
Modified: 2017-08-03 14:55 UTC (History)
4 users (show)

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


Attachments
patch the plist sothat mysql_install_db works (554 bytes, patch)
2017-03-24 15:32 UTC, Joris Dedieu
brnrd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joris Dedieu 2017-03-24 15:32:26 UTC
Created attachment 181136 [details]
patch the plist sothat mysql_install_db works

When installing mariadb101-server, mysql_install_db does not work:

/usr/local/bin/mysql_install_db --basedir=/usr/local --datadir=/var/db/mysql --user=mysql

FATAL ERROR: Could not find /usr/local/share/mysql/maria_add_gis_sp_bootstrap.sql


The relevant file has be removed from plist in revision 412011 (https://svnweb.freebsd.org/ports/head/databases/mariadb101-server/pkg-plist?r1=408822&r2=412011)

Also found in forum : https://forums.freebsd.org/threads/60243/
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-03-24 20:12:38 UTC
A commit references this bug:

Author: brnrd
Date: Fri Mar 24 20:12:01 UTC 2017
New revision: 436857
URL: https://svnweb.freebsd.org/changeset/ports/436857

Log:
  databases/mariadb101-server: Fix mysql_install_db issue

   - Install mariadb add_gis scripts

  PR:		218063
  Submitted by:	Joris Dedieu <joris.dedieu@gmail.com>

Changes:
  head/databases/mariadb101-server/pkg-plist
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2017-03-24 20:13:07 UTC
Thanks for reporting!

These issues creep in with the upstream chaanges. Difficult to keep track of them. Keep up the reporting!

Bernard.
Comment 3 eborisch+FreeBSD 2017-03-30 18:26:26 UTC
Does this need a PORTREVISION bump to catch the new list?
Comment 4 Bernard Spil freebsd_committer freebsd_triage 2017-04-05 19:21:19 UTC
*** Bug 218192 has been marked as a duplicate of this bug. ***
Comment 5 martin.larsson2 2017-05-31 08:06:24 UTC
this happens again with the new mariadb 10.2 package.
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-07-24 11:01:02 UTC
A commit references this bug:

Author: brnrd
Date: Mon Jul 24 11:00:03 UTC 2017
New revision: 446518
URL: https://svnweb.freebsd.org/changeset/ports/446518

Log:
  databases/mariadb102-server: Fix mysql_install_db

  PR:		218063
  Submitted by:	Joris Dedieu <joris.dedieu@gmail.com>
  MFH:		2017Q3

Changes:
  head/databases/mariadb102-server/Makefile
  head/databases/mariadb102-server/pkg-plist
Comment 7 commit-hook freebsd_committer freebsd_triage 2017-08-03 14:55:38 UTC
A commit references this bug:

Author: feld
Date: Thu Aug  3 14:55:32 UTC 2017
New revision: 447219
URL: https://svnweb.freebsd.org/changeset/ports/447219

Log:
  MFH: r446518

  databases/mariadb102-server: Fix mysql_install_db

  PR:		218063
  Submitted by:	Joris Dedieu <joris.dedieu@gmail.com>

  Approved by:	ports-secteam (with hat)

Changes:
_U  branches/2017Q3/
  branches/2017Q3/databases/mariadb102-server/Makefile
  branches/2017Q3/databases/mariadb102-server/pkg-plist