Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis-CI times out while attempting to install qt #7

Closed
tresf opened this issue Jan 2, 2017 · 2 comments
Closed

Travis-CI times out while attempting to install qt #7

tresf opened this issue Jan 2, 2017 · 2 comments

Comments

@tresf
Copy link

tresf commented Jan 2, 2017

Attempting to leverage cartr/qt4/qt on a continuous-integration build system the below error occurs:

Direct link to build failure: https://travis-ci.org/LMMS/lmms/jobs/188301347#L630

Downstream script logic: https://github.com/LMMS/lmms/pull/3201/files

  ==> Installing qt from cartr/qt4
  ==> Downloading https://download.qt.io/official_releases/qt/4.8/4.8.7/qt-everywh
  ==> Downloading from http://qt.mirrors.tds.net/qt/official_releases/qt/4.8/4.8.7
  ==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/480b7
  ==> Downloading https://raw.githubusercontent.com/cartr/homebrew-qt4/41669527a2a
  ==> Patching
  ==> Applying el-capitan.patch
  patching file src/gui/painting/qpaintengine_mac.cpp
  ==> Applying qsetting-nulls.patch
  patching file src/corelib/io/qsettings.cpp
  patching file src/corelib/io/qsettings_mac.cpp
- patch unexpectedly ends in middle of line
- Hunk #2 succeeded at 276 with fuzz 1.
  ==> ./configure -prefix /usr/local/Cellar/qt/4.8.7_3 -release -opensource -confi
  ==> make
  No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
  Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
  The build has been terminated
@cartr
Copy link
Owner

cartr commented Jan 2, 2017

That patch warning likely isn't the root problem; it happens on any machine that builds the formula from source and doesn't seem to cause issues there.

According to their docs, Travis uses El Capitan by default. Since I don't currently provide binary builds for El Capitan, it's trying to build Qt4 from source and timing out. The easiest way to fix this on your end would be to set osx_image: xcode8.2 to switch to Sierra, for which a binary is available.

@cartr cartr changed the title Travis-CI patch failure Travis-CI times out while attempting to install qt Jan 2, 2017
@tresf
Copy link
Author

tresf commented Jan 2, 2017

@cartr Thanks for the detailed explanation. I was just reading up on stalled builds and Travis offers a 20-minute tickler as well, but your solution will ensure the build occurs quicker, which is a win-win. Thanks!

Closing as this is not an issue with cartr/qt4/qt.

@tresf tresf closed this as completed Jan 2, 2017
pstavirs added a commit to pstavirs/ostinato that referenced this issue Jan 3, 2017
pstavirs added a commit to pstavirs/ostinato that referenced this issue Jan 28, 2017
commit 33ad1ab
Author: Srivats P <[email protected]>
Date:   Wed Jan 4 18:21:07 2017 +0530

    Make osx_image global

commit d90a99f
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 22:21:02 2017 +0530

    include not exclude the osx image

commit 4038ca8
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 21:36:46 2017 +0530

    Fix osx_image location again

commit 232dfdb
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 21:16:15 2017 +0530

    Fix incorrect location of overriding osx_image

commit 00a487c
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 20:58:09 2017 +0530

    Force sierra instead of el-capitan

    See cartr/homebrew-qt4#7

commit 33c39b8
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 20:37:26 2017 +0530

    Troubleshoot osx build break changeset #4

commit 8d16809
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 19:03:56 2017 +0530

    Troubleshoot Travis OSX build break changeset #3

commit ae149d0
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 18:24:51 2017 +0530

    troubleshoot osx build break - changeset #2

commit 2626339
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 18:11:46 2017 +0530

    debug changes to troubleshoot osx build break

commit f3423b7
Author: Srivats P <[email protected]>
Date:   Sun Jan 1 12:49:57 2017 +0530

    Use latest protobuf version in HomeBrew

    We had reverted to using protobuf 2.6 when protobuf 3.0 had a regression
    issue with respect to RPCs - this has been fixed in v3.1.0
cdm-work pushed a commit to cdm-work/ostinato that referenced this issue Dec 7, 2017
commit 33ad1ab
Author: Srivats P <[email protected]>
Date:   Wed Jan 4 18:21:07 2017 +0530

    Make osx_image global

commit d90a99f
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 22:21:02 2017 +0530

    include not exclude the osx image

commit 4038ca8
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 21:36:46 2017 +0530

    Fix osx_image location again

commit 232dfdb
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 21:16:15 2017 +0530

    Fix incorrect location of overriding osx_image

commit 00a487c
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 20:58:09 2017 +0530

    Force sierra instead of el-capitan

    See cartr/homebrew-qt4#7

commit 33c39b8
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 20:37:26 2017 +0530

    Troubleshoot osx build break changeset pstavirs#4

commit 8d16809
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 19:03:56 2017 +0530

    Troubleshoot Travis OSX build break changeset pstavirs#3

commit ae149d0
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 18:24:51 2017 +0530

    troubleshoot osx build break - changeset pstavirs#2

commit 2626339
Author: Srivats P <[email protected]>
Date:   Tue Jan 3 18:11:46 2017 +0530

    debug changes to troubleshoot osx build break

commit f3423b7
Author: Srivats P <[email protected]>
Date:   Sun Jan 1 12:49:57 2017 +0530

    Use latest protobuf version in HomeBrew

    We had reverted to using protobuf 2.6 when protobuf 3.0 had a regression
    issue with respect to RPCs - this has been fixed in v3.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants