{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/25167","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/25167/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/25167/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/25167/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/25167","id":304563376,"number":25167,"title":"Octave pkg install mkoctfile and build-from-source failures","user":{"login":"sunilshah","id":1270424,"avatar_url":"https://avatars3.githubusercontent.com/u/1270424?v=4","gravatar_id":"","url":"https://api.github.com/users/sunilshah","html_url":"https://github.com/sunilshah","followers_url":"https://api.github.com/users/sunilshah/followers","following_url":"https://api.github.com/users/sunilshah/following{/other_user}","gists_url":"https://api.github.com/users/sunilshah/gists{/gist_id}","starred_url":"https://api.github.com/users/sunilshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunilshah/subscriptions","organizations_url":"https://api.github.com/users/sunilshah/orgs","repos_url":"https://api.github.com/users/sunilshah/repos","events_url":"https://api.github.com/users/sunilshah/events{/privacy}","received_events_url":"https://api.github.com/users/sunilshah/received_events","type":"User","site_admin":false},"labels":[{"id":351931954,"url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"commitay","id":26216252,"avatar_url":"https://avatars3.githubusercontent.com/u/26216252?v=4","gravatar_id":"","url":"https://api.github.com/users/commitay","html_url":"https://github.com/commitay","followers_url":"https://api.github.com/users/commitay/followers","following_url":"https://api.github.com/users/commitay/following{/other_user}","gists_url":"https://api.github.com/users/commitay/gists{/gist_id}","starred_url":"https://api.github.com/users/commitay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commitay/subscriptions","organizations_url":"https://api.github.com/users/commitay/orgs","repos_url":"https://api.github.com/users/commitay/repos","events_url":"https://api.github.com/users/commitay/events{/privacy}","received_events_url":"https://api.github.com/users/commitay/received_events","type":"User","site_admin":false},"assignees":[{"login":"commitay","id":26216252,"avatar_url":"https://avatars3.githubusercontent.com/u/26216252?v=4","gravatar_id":"","url":"https://api.github.com/users/commitay","html_url":"https://github.com/commitay","followers_url":"https://api.github.com/users/commitay/followers","following_url":"https://api.github.com/users/commitay/following{/other_user}","gists_url":"https://api.github.com/users/commitay/gists{/gist_id}","starred_url":"https://api.github.com/users/commitay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commitay/subscriptions","organizations_url":"https://api.github.com/users/commitay/orgs","repos_url":"https://api.github.com/users/commitay/repos","events_url":"https://api.github.com/users/commitay/events{/privacy}","received_events_url":"https://api.github.com/users/commitay/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-03-12T22:27:39Z","updated_at":"2018-03-13T05:20:55Z","closed_at":"2018-03-13T05:20:55Z","author_association":"NONE","body":"**Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.**\r\n\r\n- [ x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh\r\n- [ ] have a problem with `brew install` (or `upgrade`, `reinstall`) a single, official formula (not cask)? If it's a general `brew` problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new. If it's a `brew cask` problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.\r\n- [ x] ran `brew update` and can still reproduce the problem?\r\n- [x ] ran `brew doctor`, fixed all issues and can still reproduce the problem?\r\n- [ x] ran `brew gist-logs <formula>` (where `<formula>` is the name of the formula that failed) and included the output link?\r\n- [ ] if `brew gist-logs` didn't work: ran `brew config` and `brew doctor` and included their output with your issue?\r\n\r\nTo help us debug your issue please explain:\r\n- What you were trying to do (and why)\r\n- What happened (include command output)\r\n- What you expected to happen\r\n- Step-by-step reproduction instructions (by running `brew install` commands)\r\n\r\n# Formula additions or changes\r\nTo get formulae added or changed in Homebrew please file a [Pull Request](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)\r\nWe will close issues requesting formulae changes.\r\n\r\nFirst, I encountered the same issue as was reported in \r\n\r\n[Homebrew/homebrew-science] ld: library not found -lgfortran, during pkg install -forge control in octave 4.2.0_2 (#4972)\r\n\r\nWhile installing octave pkg control using \r\n\r\npkg install -forge control\r\n \r\n...\r\n\r\nld: warning: directory not found for option '-L/usr/local/Cellar/gcc/7.3.0/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0'\r\nld: warning: directory not found for option '-L/usr/local/Cellar/gcc/7.3.0/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0/../../..'\r\nld: library not found for -lgfortran\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake: *** [__control_slicot_functions__.oct] Error 1\r\n\r\n\r\nbrew info octave\r\noctave: stable 4.2.1 (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.1_10 (2,182 files, 37.6MB)\r\n  Poured from bottle on 2018-01-20 at 08:44:01\r\n/usr/local/Cellar/octave/4.2.1_11 (2,182 files, 37.6MB) *\r\n  Poured from bottle on 2018-02-23 at 16:16:10\r\nFrom: https://github.com/Homebrew/homebrew-core/blob/master/Formula/octave.rb\r\n==> Dependencies\r\nBuild: automake ✔, autoconf ✔, gnu-sed ✔, pkg-config ✔\r\nRequired: arpack ✔, epstool ✔, fftw ✔, fig2dev ✔, fltk ✔, fontconfig ✔, freetype ✔, gcc ✔, ghostscript ✔, gl2ps ✔, glpk ✔, gnuplot ✔, graphicsmagick ✔, hdf5 ✔, libsndfile ✔, libtool ✔, pcre ✔, portaudio ✔, pstoedit ✔, qhull ✔, qrupdate ✔, readline ✔, suite-sparse ✔, veclibfort ✔\r\n==> Requirements\r\nOptional: java >= 1.6 ✘\r\n==> Options\r\n--with-java\r\n\tBuild with java support\r\n--HEAD\r\n\tInstall HEAD version\r\n\r\nSo, to fix this, I tried reinstalling octave from source as was done in #4972.\r\n\r\nbrew upgrade\r\nbrew uninstall octave\r\nUninstalling /usr/local/Cellar/octave/4.2.1_11... (2,182 files, 37.6MB)\r\noctave 4.2.1_10 1 is still installed.\r\nbrew install --build-from-source octave\r\nUpdating Homebrew...\r\n==> Auto-updated Homebrew!\r\nUpdated 1 tap (caskroom/cask).\r\nNo changes to formulae.\r\n\r\n==> Downloading https://ftp.gnu.org/gnu/octave/octave-4.2.1.tar.gz\r\n######################################################################## 100.0%\r\n==> ./configure --prefix=/usr/local/Cellar/octave/4.2.1_11 --disable-silent-rules --enable-link-all-dependencies --enable-shared --disable-static --d\r\n==> make all\r\nLast 15 lines from /Users/sunil/Library/Logs/Homebrew/octave/02.make:\r\nall\r\n\r\npreserving existing HG-ID file\r\nCDPATH=\"${ZSH_VERSION+.}:\" && cd . && /bin/sh /private/tmp/octave-20180312-37007-dten9x/octave-4.2.1/build-aux/missing aclocal-1.15 -I m4\r\n/private/tmp/octave-20180312-37007-dten9x/octave-4.2.1/build-aux/missing: line 81: aclocal-1.15: command not found\r\nWARNING: 'aclocal-1.15' is missing on your system.\r\n         You should only need it if you modified 'acinclude.m4' or\r\n         'configure.ac' or m4 files included by 'configure.ac'.\r\n         The 'aclocal' program is part of the GNU Automake package:\r\n         <http://www.gnu.org/software/automake>\r\n         It also requires GNU Autoconf, GNU m4 and Perl in order to run:\r\n         <http://www.gnu.org/software/autoconf>\r\n         <http://www.gnu.org/software/m4/>\r\n         <http://www.perl.org/>\r\nmake: *** [aclocal.m4] Error 127\r\n\r\nREAD THIS: https://docs.brew.sh/Troubleshooting\r\n\r\nbrew gist-logs octave\r\nhttps://gist.github.com/b31a8de38ca7f706269216c45f05cefe\r\n\r\n\r\n"}}
{"actor":{"display_login":"commitay"}}