Skip to content

Commit b631743

Browse files
committed
Unconditionally disable dtrace for rpm, barfs on Oracle dtrace
1 parent 300dcbd commit b631743

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

support-files/mysql.spec.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
%global mysqld_group mysql
3131
%global mysqldatadir /var/lib/mysql
3232

33-
%global release 1
33+
%global release 2
3434

3535

3636
#
@@ -511,6 +511,7 @@ mkdir debug
511511
# XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM
512512
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
513513
-DCMAKE_BUILD_TYPE=Debug \
514+
-DENABLE_DTRACE=OFF \
514515
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
515516
-DFEATURE_SET="%{feature_set}" \
516517
-DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
@@ -526,6 +527,7 @@ mkdir release
526527
# XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM
527528
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
528529
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
530+
-DENABLE_DTRACE=OFF \
529531
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
530532
-DFEATURE_SET="%{feature_set}" \
531533
-DCOMPILATION_COMMENT="%{compilation_comment_release}" \
@@ -1217,6 +1219,9 @@ echo "=====" >> $STATUS_HISTORY
12171219
# merging BK trees)
12181220
##############################################################################
12191221
%changelog
1222+
* Wed Jul 02 2014 Bjorn Munch <[email protected]>
1223+
- Disable dtrace unconditionally, breaks after we install Oracle dtrace
1224+
12201225
* Wed Oct 30 2013 Balasubramanian Kandasamy <[email protected]>
12211226
- Removed non gpl file docs/mysql.info from community packages
12221227

0 commit comments

Comments
 (0)