Bug 153472 - databases/mysql55-client fails to build if fast mutexes enabled
Summary: databases/mysql55-client fails to build if fast mutexes enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 19:20 UTC by Oleg Sidorkin
Modified: 2010-12-28 06:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Sidorkin 2010-12-27 19:20:09 UTC
mysql55-* ports fails to build after update to 5.5.8 if FASTMTX option selected.

It seems to be Makefile typo

Fix: 

Replace 
CMAKE_ARGS+=  -DWITH_FAST_MUTEXES
with
CMAKE_ARGS+=  -DWITH_FAST_MUTEXES="ON"
How-To-Repeat: cd /usr/ports/databases/mysql55-client,
type "make"
select FASTMTS option


Actual result:
make
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for mysql-server-5.5.8
===>  Extracting for mysql-server-5.5.8
=> SHA256 Checksum OK for mysql-5.5.8.tar.gz.
===>  Patching for mysql-server-5.5.8
===>  Applying FreeBSD patches for mysql-server-5.5.8
===>   mysql-server-5.5.8 depends on executable: gcc46 - found
===>   mysql-server-5.5.8 depends on file: /usr/local/bin/cmake - found
===>   mysql-server-5.5.8 depends on shared library: mysqlclient.16 - found
===>  Configuring for mysql-server-5.5.8
/bin/mkdir -p /data/build/usr/ports/databases/mysql55-server/work/mysql-5.5.8
Parse error in command line argument: -DWITH_FAST_MUTEXES
Should be: VAR:type=value
CMake Error: No cmake script provided.
CMake Error: Problem processing arguments. Aborting.

*** Error code 1

Stop in /usr/ports/databases/mysql55-server.
*** Error code 1

Stop in /usr/ports/databases/mysql55-server.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-12-28 00:26:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-12-28 06:49:43 UTC
ale         2010-12-28 06:49:39 UTC

  FreeBSD ports repository

  Modified files:
    databases/mysql55-client Makefile 
    databases/mysql55-server Makefile 
  Log:
  Normalize cmake parameters and fix WITH_FAST_MUTEXES.
  
  PR:             ports/153472
  Submitted by:   Oleg Sidorkin <OSidorkin@gmail.com>
  
  Revision  Changes    Path
  1.104     +1 -1      ports/databases/mysql55-client/Makefile
  1.269     +4 -4      ports/databases/mysql55-server/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2010-12-28 06:49:48 UTC
State Changed
From-To: open->closed

Fixed, thanks!