Bug 197679 - [MAINTAINER] Fix build of databases/mariadb-server on 10.0
Summary: [MAINTAINER] Fix build of databases/mariadb-server on 10.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: Mark Felder
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-02-15 08:49 UTC by Sevan Janiyan
Modified: 2015-03-26 19:25 UTC (History)
3 users (show)

See Also:


Attachments
patch to allow builing on 10.1+ (426 bytes, patch)
2015-03-05 10:49 UTC, geoffroy desvernay
no flags Details | Diff
svn diff for mariadb-server and -client (1.65 KB, patch)
2015-03-22 19:39 UTC, Bernard Spil
koobs: maintainer-approval+
Details | Diff
Poudriere build logs for databases/mariadb-client & -server (419.31 KB, application/gzip)
2015-03-22 19:41 UTC, Bernard Spil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sevan Janiyan 2015-02-15 08:49:33 UTC
databases/mariadb-server is currently marked broken on FreeBSD 10 & newer but it appears to build on 10.1-RELEASE i386 successfully.

Problem is only specific to 10.0-RELEASE?
Should the broken mark be removed / range adjusted?
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-15 08:49:33 UTC
Maintainer CC'd
Comment 2 geoffroy desvernay 2015-03-05 10:49:13 UTC
Created attachment 153823 [details]
patch to allow builing on 10.1+

Please note that there is (will be…) a new maintainer (adding him to cc list)
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2015-03-05 13:39:51 UTC
Maintainer approved!
Comment 4 Bernard Spil freebsd_committer freebsd_triage 2015-03-22 19:39:32 UTC
Created attachment 154669 [details]
svn diff for mariadb-server and -client

Problem existed on 10.0 in the configure script where it was passing -fno-implicit-templates to clang++ which made detection of gethostbyname_r fail. This was not a problem on 10.1

Patch fixes this for server and client by simply removing -fno-implicit-templates which does not exist for clang.
Comment 5 Bernard Spil freebsd_committer freebsd_triage 2015-03-22 19:41:23 UTC
Created attachment 154670 [details]
Poudriere build logs for databases/mariadb-client & -server

Build logs for mariadb-client and mariadb-server for both 10.0 and 10.1
All were above 1M so tar-zipped
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2015-03-23 07:28:47 UTC
Is attachment 153823 [details] now obsolete?

Please also maintainer-approval -> + on attachment 154669 [details]
Comment 7 Bernard Spil freebsd_committer freebsd_triage 2015-03-23 08:38:15 UTC
Yes my patch obsoletes the earlier patch
Comment 8 commit-hook freebsd_committer freebsd_triage 2015-03-26 19:25:05 UTC
A commit references this bug:

Author: feld
Date: Thu Mar 26 19:24:17 UTC 2015
New revision: 382337
URL: https://svnweb.freebsd.org/changeset/ports/382337

Log:
  Fix building on FreeBSD 10+
  Fix conflicts between client, server, and script packages
  Shebangfix

  The plists now are closer aligned with the mysql51-* ports

  PR:		197679
  PR:		171338

Changes:
  head/databases/mariadb-client/Makefile
  head/databases/mariadb-client/pkg-plist
  head/databases/mariadb-server/Makefile
  head/databases/mariadb-server/pkg-plist