{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/4472","repository_url":"https://api.github.com/repos/Homebrew/homebrew-science","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/4472/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/4472/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/4472/events","html_url":"https://github.com/Homebrew/homebrew-science/issues/4472","id":183257187,"number":4472,"title":"octave doesn't open GUI (10.11, compiled with --with-qt5)","user":{"login":"hfoffani","id":2299021,"avatar_url":"https://avatars.githubusercontent.com/u/2299021?v=3","gravatar_id":"","url":"https://api.github.com/users/hfoffani","html_url":"https://github.com/hfoffani","followers_url":"https://api.github.com/users/hfoffani/followers","following_url":"https://api.github.com/users/hfoffani/following{/other_user}","gists_url":"https://api.github.com/users/hfoffani/gists{/gist_id}","starred_url":"https://api.github.com/users/hfoffani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hfoffani/subscriptions","organizations_url":"https://api.github.com/users/hfoffani/orgs","repos_url":"https://api.github.com/users/hfoffani/repos","events_url":"https://api.github.com/users/hfoffani/events{/privacy}","received_events_url":"https://api.github.com/users/hfoffani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-16T09:16:31Z","updated_at":"2016-10-16T09:20:35Z","closed_at":"2016-10-16T09:17:41Z","body":"### Indicate troubleshooting steps taken\r\n\r\n- [x] Ran `brew update` and retried your prior step?\r\n- [x] Ran `brew doctor`, fixed as many issues as possible and retried your prior step?\r\n- [x] Checked that a similar issue hasn't already been filed?\r\n- [x] Looked up the software bug tracker if reporting a build error?\r\n- [x] If you're seeing permission errors tried running `sudo chown -R $(whoami) $(brew --prefix)`?\r\n\r\n### Bug reports / build errors:\r\n\r\nNo errors were seen when installing octave with `--with-qt5`\r\n\r\n#### Brief summary of issue:\r\n\r\nCalling `octave` in OSX 10.11.6 doesn't open in GUI mode. I have uninstalled and installed again with the `--with-qt5` option. `--force-gui` does nothing.\r\n\r\nAFAIK #4418 refers to Sierra not El Capitan\r\n\r\n#### The complete command that you issued:\r\n\r\n```\r\n~ $ brew uninstall octave\r\nUninstalling /usr/local/Cellar/octave/4.2.0-rc2... (2,182 files, 46.3M)\r\noctave 4.0.3, 4.0.3_3, 4.0.3_4 are still installed.\r\nRemove all versions with `brew uninstall --force octave`.\r\n```\r\n\r\n```\r\n~ $ brew install octave --with-qt5\r\n==> Installing octave from homebrew/science\r\n==> Installing dependencies for homebrew/science/octave: bison, gawk\r\n==> Installing homebrew/science/octave dependency: bison\r\n==> Downloading https://homebrew.bintray.com/bottles/bison-3.0.4.el_capitan.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==> Pouring bison-3.0.4.el_capitan.bottle.tar.gz\r\n==> Caveats\r\nThis formula is keg-only, which means it was not symlinked into /usr/local.\r\n\r\nSome formulae require a newer version of bison.\r\n\r\nGenerally there are no consequences of this for you. If you build your\r\nown software and it requires this formula, you'll need to add to your\r\nbuild variables:\r\n\r\n    LDFLAGS:  -L/usr/local/opt/bison/lib\r\n\r\n==> Summary\r\n🍺  /usr/local/Cellar/bison/3.0.4: 51 files, 2.1M\r\n==> Installing homebrew/science/octave dependency: gawk\r\n==> Downloading https://homebrew.bintray.com/bottles/gawk-4.1.4_1.el_capitan.bottle.tar.gz\r\n######################################################################## 100.0%\r\n==> Pouring gawk-4.1.4_1.el_capitan.bottle.tar.gz\r\n🍺  /usr/local/Cellar/gawk/4.1.4_1: 64 files, 2.8M\r\n==> Installing homebrew/science/octave\r\n==> Using Homebrew-provided fortran compiler.\r\nThis may be changed by setting the FC environment variable.\r\n==> Downloading ftp://alpha.gnu.org/gnu/octave/octave-4.2.0-rc2.tar.xz\r\n######################################################################## 100.0%\r\n==> Downloading https://savannah.gnu.org/bugs/download.php?file_id=38206\r\n==> Downloading from https://savannah.gnu.org/file/macosx_iconsize_qt5.patch?file_id=38206\r\n######################################################################## 100.0%\r\n==> Patching\r\n==> Applying download.php\r\npatching file libgui/src/octave-dock-widget.cc\r\nHunk #1 succeeded at 55 with fuzz 2 (offset 2 lines).\r\n==> ./configure --prefix=/usr/local/Cellar/octave/4.2.0-rc2 --enable-dependency-tracking --enable-link-all-dependencies --enable-shared --disable-static\r\n==> make all\r\n==> make check\r\n==> make install\r\nWarning: homebrew/science/octave dependency gcc was built with a different C++ standard\r\nlibrary (libstdc++ from clang). This may cause problems at runtime.\r\n==> Caveats\r\n\r\nOctave is compiled with a graphical user interface. The start-up option --no-gui\r\nwill run the familiar command line interface. The option --no-gui-libs runs a\r\nminimalistic command line interface that does not link with the Qt libraries and\r\nuses the fltk toolkit for plotting if available.\r\n\r\n\r\nSeveral graphics toolkit are available. You can select them by using the command\r\n'graphics_toolkit' in Octave.  Individual Gnuplot terminals can be chosen by setting\r\nthe environment variable GNUTERM and building gnuplot with the following options:\r\n\r\n  setenv('GNUTERM','qt')    # Requires QT; install gnuplot --with-qt5\r\n  setenv('GNUTERM','x11')   # Requires XQuartz; install gnuplot --with-x11\r\n  setenv('GNUTERM','wxt')   # Requires wxmac; install gnuplot --with-wxmac\r\n  setenv('GNUTERM','aqua')  # Requires AquaTerm; install gnuplot --with-aquaterm\r\n\r\nYou may also set this variable from within Octave. For printing the cairo backend\r\nis recommended, i.e., install gnuplot with --with-cairo, and use\r\n\r\n  print -dpdfcairo figure.pdf\r\n\r\n\r\nWhen using the native Qt or fltk toolkits then invisible figures do not work because\r\nosmesa is incompatible with Mac's OpenGL. The usage of gnuplot is recommended.\r\n\r\n\r\n==> Summary\r\n🍺  /usr/local/Cellar/octave/4.2.0-rc2: 2,182 files, 46.3M, built in 53 minutes 3 seconds\r\n~ $ \r\n```\r\n\r\nI did a `brew cleanup octave` afterwards.\r\n\r\nRunning octave:\r\n\r\n```\r\n~ $ octave\r\nGNU Octave, version 4.2.0-rc2\r\nCopyright (C) 2016 John W. Eaton and others.\r\nThis is free software; see the source code for copying conditions.\r\nThere is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or\r\nFITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.\r\n\r\nOctave was configured for \"x86_64-apple-darwin15.6.0\".\r\n\r\nAdditional information about Octave is available at http://www.octave.org.\r\n\r\nPlease contribute if you find this software useful.\r\nFor more information, visit http://www.octave.org/get-involved.html\r\n\r\nRead http://www.octave.org/bugs.html to learn how to submit bug reports.\r\nFor information about changes from previous versions, type 'news'.\r\n\r\noctave:1> \r\n\r\n```\r\n\r\ninfo:\r\n\r\n```\r\n~ $ brew info octave\r\nhomebrew/science/octave: stable 4.2.0-rc2 (bottled), HEAD\r\nHigh-level interpreted language for numerical computing\r\nhttps://www.gnu.org/software/octave/index.html\r\n/usr/local/Cellar/octave/4.2.0-rc2 (2,182 files, 46.3M) *\r\n  Built from source on 2016-10-15 at 21:29:49 with: --with-qt5\r\nFrom: https://github.com/Homebrew/homebrew-science/blob/master/octave.rb\r\n==> Dependencies\r\nBuild: xz ✔, gnu-sed ✔, pkg-config ✔, bison ✔, gawk ✔, texinfo ✔\r\nRequired: fontconfig ✔, freetype ✔, pcre ✔, fftw ✔, fltk ✔, glpk ✔, gnuplot ✔, hdf5 ✔, pstoedit ✔, qhull ✔, qrupdate ✔, suite-sparse ✔, veclibfort ✔\r\nRecommended: readline ✔, arpack ✔, epstool ✔, ghostscript ✔, gl2ps ✔, graphicsmagick ✔, transfig ✔\r\nOptional: openblas ✘\r\n==> Requirements\r\nRequired: fortran ✔, x11 ✔\r\n==> Options\r\n--with-audio\r\n\tUse the sndfile and portaudio libraries for audio operations\r\n--with-docs\r\n\tCompile and install documentation\r\n--with-java\r\n\tUse Java, requires Java 6 from https://support.apple.com/kb/DL1572\r\n--with-jit\r\n\tUse the experimental just-in-time compiler (not recommended)\r\n--with-openblas\r\n\tUse OpenBLAS instead of native LAPACK/BLAS\r\n--with-osmesa\r\n\tUse the OSmesa library (incompatible with opengl)\r\n--with-qt5\r\n\tCompile with graphical user interface\r\n--without-arpack\r\n\tBuild without arpack support\r\n--without-curl\r\n\tDo not use cURL (urlread/urlwrite/@ftp)\r\n--without-epstool\r\n\tBuild without epstool support\r\n--without-fftw\r\n\tDo not use FFTW (fft,ifft,fft2,etc.)\r\n--without-fltk\r\n\tDo not use FLTK graphics backend\r\n--without-ghostscript\r\n\tBuild without ghostscript support\r\n--without-gl2ps\r\n\tBuild without gl2ps support\r\n--without-glpk\r\n\tDo not use GLPK\r\n--without-gnuplot\r\n\tDo not use gnuplot graphics\r\n--without-graphicsmagick\r\n\tBuild without graphicsmagick support\r\n--without-hdf5\r\n\tDo not use HDF5 (hdf5 data file support)\r\n--without-opengl\r\n\tDo not use opengl\r\n--without-qhull\r\n\tDo not use the Qhull library (delaunay,voronoi,etc.)\r\n--without-qrupdate\r\n\tDo not use the QRupdate package (qrdelete,qrinsert,qrshift,qrupdate)\r\n--without-readline\r\n\tBuild without readline support\r\n--without-suite-sparse\r\n\tDo not use SuiteSparse (sparse matrix operations)\r\n--without-test\r\n\tDo not perform build-time tests (not recommended)\r\n--without-transfig\r\n\tBuild without transfig support\r\n--without-zlib\r\n\tDo not use zlib (compressed MATLAB file formats)\r\n--HEAD\r\n\tInstall HEAD version\r\n==> Caveats\r\n\r\nOctave is compiled with a graphical user interface. The start-up option --no-gui\r\nwill run the familiar command line interface. The option --no-gui-libs runs a\r\nminimalistic command line interface that does not link with the Qt libraries and\r\nuses the fltk toolkit for plotting if available.\r\n\r\n\r\nSeveral graphics toolkit are available. You can select them by using the command\r\n'graphics_toolkit' in Octave.  Individual Gnuplot terminals can be chosen by setting\r\nthe environment variable GNUTERM and building gnuplot with the following options:\r\n\r\n  setenv('GNUTERM','qt')    # Requires QT; install gnuplot --with-qt5\r\n  setenv('GNUTERM','x11')   # Requires XQuartz; install gnuplot --with-x11\r\n  setenv('GNUTERM','wxt')   # Requires wxmac; install gnuplot --with-wxmac\r\n  setenv('GNUTERM','aqua')  # Requires AquaTerm; install gnuplot --with-aquaterm\r\n\r\nYou may also set this variable from within Octave. For printing the cairo backend\r\nis recommended, i.e., install gnuplot with --with-cairo, and use\r\n\r\n  print -dpdfcairo figure.pdf\r\n\r\n\r\nWhen using the native Qt or fltk toolkits then invisible figures do not work because\r\nosmesa is incompatible with Mac's OpenGL. The usage of gnuplot is recommended.\r\n\r\n~ $ \r\n```\r\n\r\n#### Gist with output of `brew doctor`:\r\n\r\nhttps://github.com/hfoffani/gist:e2e9ebfda037e5223070b711644a6664\r\n\r\n#### Link output by `brew gist-logs <formula>`:\r\n\r\nhttps://gist.github.com/1f63a1c89dc1f7f6faee335f6f74ee81\r\n\r\n#### Output of `brew config`:\r\n\r\n```\r\n~ $ brew config\r\nHOMEBREW_VERSION: 1.0.7\r\nORIGIN: https://github.com/Homebrew/brew.git\r\nHEAD: 0546d90e3dbdae30407e5256d680be5ed5f5f000\r\nLast commit: 7 days ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: 2dc00898ecd236b6b641dc5d27f5d2beb98babab\r\nCore tap last commit: 16 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local/Homebrew\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: dual-core 64-bit penryn\r\nHomebrew Ruby: 2.0.0-p648\r\nClang: 8.0 build 800\r\nGit: 2.8.4 => /Applications/Xcode.app/Contents/Developer/usr/bin/git\r\nPerl: /usr/bin/perl\r\nPython: /Users/hernan/.pyenv/shims/python => /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7\r\nRuby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.1_2/bin/ruby\r\nJava: 1.8.0_20\r\nmacOS: 10.11.6-x86_64\r\nXcode: 8.0\r\nCLT: 7.3.1.0.1.1461711523\r\nX11: 2.7.9 => /opt/X11\r\n~ $ \r\n```\r\n\r\n### Formula Requests:\r\n\r\n**The quickest way to get a new formula into Homebrew is to file a [Pull Request](https://github.com/Homebrew/homebrew-science/pulls)**.\r\n\r\nWe will consider your request but it may be closed if it's something we're not actively planning to work on."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/comments/254036349","html_url":"https://github.com/Homebrew/homebrew-science/issues/4472#issuecomment-254036349","issue_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/4472","id":254036349,"user":{"login":"ilovezfs","id":5268928,"avatar_url":"https://avatars.githubusercontent.com/u/5268928?v=3","gravatar_id":"","url":"https://api.github.com/users/ilovezfs","html_url":"https://github.com/ilovezfs","followers_url":"https://api.github.com/users/ilovezfs/followers","following_url":"https://api.github.com/users/ilovezfs/following{/other_user}","gists_url":"https://api.github.com/users/ilovezfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovezfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovezfs/subscriptions","organizations_url":"https://api.github.com/users/ilovezfs/orgs","repos_url":"https://api.github.com/users/ilovezfs/repos","events_url":"https://api.github.com/users/ilovezfs/events{/privacy}","received_events_url":"https://api.github.com/users/ilovezfs/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T09:20:35Z","updated_at":"2016-10-16T09:20:35Z","body":"No problem. Thanks for reporting it."}}
{"actor":{"display_login":"ilovezfs"}}