Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

mysql-cluster: fix 404. #37065

Closed
wants to merge 1 commit into from
Closed

Conversation

geoff-nixon
Copy link
Contributor

Split out from #37014 per "one commit per formula, one formula per commit" guideline.

Still doesn't build for me though... I think there's an undeclared Java 7+ dep?

@tdsmith
Copy link
Contributor

tdsmith commented Feb 23, 2015

Only failing on Yosemite; doesn't look Java-related:

[ 25%] [ 25%] Building CXX object storage/ndb/src/kernel/blocks/CMakeFiles/ndbblocks.dir/ndbfs/PosixAsyncFile.cpp.o
Building CXX object storage/ndb/src/kernel/blocks/CMakeFiles/ndbblocks.dir/thrman.cpp.o
[ 25%] Building CXX object storage/ndb/src/kernel/blocks/CMakeFiles/ndbblocks.dir/trpman.cpp.o
Linking CXX static library libndbblocks.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libndbblocks.a(DbtuxCmp.cpp.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libndbblocks.a(DbtuxCmp.cpp.o) has no symbols
[ 25%] Built target ndbblocks
make: *** [all] Error 2

@geoff-nixon
Copy link
Contributor Author

Well there is an undeclared Java dep... cmake fails with Apple's Java 6:

-- Found Java: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java (found suitable version "1.6.0.65", minimum required is "1.6")
-- Java_VERSION: 1.6.0.65
-- Java_VERSION_STRING: 1.6.0_65
-- JAVA_RUNTIME: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-- JAVA_COMPILE: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javac
-- JAVA_ARCHIVE: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/jar
-- Setting JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
CMake Error at /Volumes/Things/cores/homebrew/Cellar/cmake/3.1.2/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_INCLUDE_PATH
  JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):

But I agree, I don't think that's the issue that's cropping up on the buildbot.

There is a mirror of 7.3.4 at http://cdn.mysql.com/archives/mysql-cluster-gpl-7.3/mysql-cluster-gpl-7.3.4.tar.gz ...roll back to that instead?

@geoff-nixon
Copy link
Contributor Author

I just that older 7.3.4 on Yosemite and it failed with the same error. The last change to this formula was made just about at the same time 10.10 was released. Do we know if this ever built on Yosemite?

@MikeMcQuaid
Copy link
Member

Do we know if this ever built on Yosemite?

We don't. If it doesn't we might want to add a depends_on so it doesn't try and then fail.

sha1 "f70ac7955343765146c556576c8b13dbedf9c593"

# Fix me: if you can get this to build on Yosemite, send a pull request!
depends_on MaximumMacOSRequirement => :mavericks
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added. This is the correct requirement to use, yes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to suggest changing homepage to https://www.mysql.com/products/cluster/ (to avoid a redirect and to enable SSL) and url to use SSL: https://dev.mysql.com/get/Downloads/MySQL-Cluster-7.3/mysql-cluster-gpl-7.3.8.tar.gz

url 'http://mysql.llarian.net/Downloads/MySQL-Cluster-7.3/mysql-cluster-gpl-7.3.4.tar.gz'
sha1 '01003903da6802885bc98565ebe07f76714488fe'
homepage "https://www.mysql.com/products/cluster/"
url "https://dev.mysql.com/get/Downloads/MySQL-Cluster-7.3/mysql-cluster-gpl-7.3.8.tar.gz"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vszakats URIs changed per your suggestion.

@vszakats
Copy link
Contributor

Thank you.

@MikeMcQuaid
Copy link
Member

Thanks @geoff-codes!

@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants