Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

duck 4.8.18316 #1037

Closed
wants to merge 4 commits into from
Closed

duck 4.8.18316 #1037

wants to merge 4 commits into from

Conversation

G-Square
Copy link
Contributor

@G-Square G-Square commented Apr 3, 2016

Contributing to Linuxbrew:

To contribute a new formula or a new version of an existing formula, please submit your pull request to Homebrew rather than to Linuxbrew. Patches to fix issues that you have reproduced on both Linuxbrew and Homebrew should be sent to Homebrew. Please send your pull request to Linuxbrew if you are in doubt.

Patches to fix issues particular to Linux should not affect the behaviour of the formula on Mac. Use if OS.mac? and if OS.linux? as necessary to preserve the existing behaviour on Mac. For example, to add a new dependency that is not necessary on Mac:

depends_on "zlib" unless OS.mac?

All Submissions:

You can erase any parts of this template not applicable to your Pull Request.

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you included a log of the failed build without your patch using brew gist-logs <formula>?
  • Does your submission pass
    brew audit --strict <formula> (where <formula> is the name of the formula you're submitting)?
  • Have you built your formula locally prior to submission with brew install <formula>?

Changes to Linuxbrew's Core:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable? Here's an example if you'd like one.
  • Have you successfully ran brew tests with your changes locally?

@G-Square
Copy link
Contributor Author

G-Square commented Apr 3, 2016

@apjanke Need Java 1.8 on CI
Thanks

@rwhogg rwhogg self-assigned this Apr 3, 2016
@rwhogg
Copy link
Contributor

rwhogg commented Apr 3, 2016

Hey @G-Square, can you send this pull request upstream to Homebrew please?

Also:

  • Is XCode not required on OS X any more, or is that a Linux-specific change? If it's a Linux specific change, then use if OS.mac? if necessary rather than removing it (and submit a separate PR here rather than including that change upstream, as they won't want it). If it's not necessary for the formula to build on Linux, please don't remove that line. If XCode isn't required any more on OS X, than feel free to send that change upstream to Homebrew as well.
  • Can you explain why you changed the Java version from "1.8+" to "1.8"?

Thanks!

@G-Square
Copy link
Contributor Author

G-Square commented Apr 3, 2016

I will create a new PR with if OS.mac? and 1.8+.
I changed Java version due to Travis constant use of 1.7, line 91-92:Java version: 1.7.0_80, vendor: Oracle Corporation.
Although it seemed highly unlike, I checked to see if extra + was the cause.
Is Java 1.8.* installed but not triggered on Travis?

Thanks

@rwhogg
Copy link
Contributor

rwhogg commented Apr 3, 2016

The Java version constraint actually has no effect on Linux. We would have to modify .travis.yml to get Java 8 to install on Travis.

@G-Square
Copy link
Contributor Author

G-Square commented Apr 3, 2016

It kinda getting annoying as both homebrew-core and now renamed legacy-homebrew on Jenkins both have errors parsing XML UTF-8 on this update. And now Travis also has issues.
Honestly for a simple update, I thought this process would be more seamless.
Let me know it something changes.

Thanks!

@sjackman
Copy link
Member

sjackman commented Apr 3, 2016

Linuxbrew has transitioned through the separation of brew and core yet. It'll probably happen next week.

What are the "errors parsing XML UTF-8" that you mention? Is it related to this issue, or a more general issue?

Are you having any trouble building duck, or are you just updating the version? If you are encountering an error message, please report brew gist-logs ducks. If the latter, please send the updated version upstream to Homebrew/homebrew, as Bob mentioned.

I'm going to close this issue. Feel free to reopen if you are encountering an error building duck on Linux.

@sjackman sjackman closed this Apr 3, 2016
@apjanke
Copy link
Contributor

apjanke commented Apr 3, 2016

What are the "errors parsing XML UTF-8" that you mention? Is it related to this issue, or a more general issue?

This is more of a brew test-bot bug.

This happens on the test bot if the build or test script emits certain UTF-8 characters that aren't allowed in XML, or bytes that aren't valid UTF-8 text. The Jenkins test results are output in an XML file, and if it's invalid, the test run fails. brew test-bot tries to filter them out and ensure valid output, but it's not fully correct yet. There's no open issue for it; Homebrew/legacy-homebrew#50092 was an attempt to fix this. We'll get it soon.

@sjackman
Copy link
Member

sjackman commented Apr 3, 2016

Thanks for the update, Andrew.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants