Re: liboctgui missing

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: liboctgui missing

Rik-4
On 11/07/2019 09:00 AM, [hidden email] wrote:
Subject:
Re: changes to qt graphics initialization
From:
Ben Abbott [hidden email]
Date:
11/06/2019 07:53 PM
To:
John Eaton [hidden email]
CC:
Ben Abbott [hidden email], Octave Maintainers List [hidden email]
List-Post:
[hidden email]
Precedence:
list
MIME-Version:
1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
References:
[hidden email]
In-Reply-To:
[hidden email]
Message-ID:
[hidden email]
Content-Type:
multipart/alternative; boundary="Apple-Mail=_99484360-1A20-4FFA-BDB8-345E1C974298"
Message:
2



On Nov 6, 2019, at 7:20 AM, John W. Eaton <[hidden email]> wrote:

Heads up for anyone building the default branch, I just pushed a couple of changesets that reorganize the way qt graphics are linked and initialized:

 http://hg.savannah.gnu.org/hgweb/octave/rev/028205a91a07
 http://hg.savannah.gnu.org/hgweb/octave/rev/2ff12b707f60

After updating your sources, you'll probably need to delete the libgui/graphics directory in your build tree to make the build work properly again.

jwe


Hi John

Don’t know if it is related, but I’m now seeing the error below.

libtool: link: g++ -std=gnu++11 -dynamiclib  -o libgui/.libs/liboctgui.5.dylib  libgui/.libs/liboctgui_la-liboctgui-build-info.o   -Wl,-force_load,libgui/qterminal/.libs/libqterminal.a -Wl,-force_load,libgui/graphics/.libs/libgraphics.a -Wl,-force_load,libgui/src/.libs/libgui-src.a  -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib -L/usr/local/Cellar/pcre/8.43/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib /Users/bpabbott/Development/mercurial/default/sources/libgui/.libs/liboctgui.dylib -L/usr/local/opt/openblas/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -L/usr/local/opt/freetype/lib /Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib libinterp/.libs/liboctinterp.dylib /Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib -lhdf5 /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick++.dylib /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick.dylib -llcms2 -lbz2 -lltdl -lpthread -lz -lfontconfig -lfreetype -lgl2ps liboctave/.libs/liboctave.dylib -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.7.0_3/libexec/lib/libarpack.dylib -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -lopenblas -lreadline -lncurses -lpcre -ldl -lgfortran -lquadmath -liconv -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore -lqscintilla2_qt5 -lm  -pthread -g -O2 -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/opt/qt5/lib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctinterp.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib   -pthread -framework OpenGL -framework Carbon -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore -framework QtOpenGL -install_name  /usr/local/bpabbott/octave/lib/octave/6.0.0/liboctgui.5.dylib -compatibility_version 6 -current_version 6.0 -Wl,-single_module
clang: error: no such file or directory: '/Users/bpabbott/Development/mercurial/default/sources/libgui/.libs/liboctgui.dylib'
make[2]: *** [libgui/liboctgui.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ben

What happens if you clear out everything with 'maintainer-clean' and then start over with bootstrapping?

make maintainer-clean
bootstrap
configure
make

--Rik
Reply | Threaded
Open this post in threaded view
|

Re: liboctgui missing

John W. Eaton
Administrator
On 11/7/19 12:45 PM, Rik wrote:

> What happens if you clear out everything with 'maintainer-clean' and
> then start over with bootstrapping?
>
> make maintainer-clean
> bootstrap
> configure
> make

When there are big changes in file names and library organization it's
probably best to start with a completely new build tree.  After
updating, "make maintainer-clean" may not remove all obsolete files
since it doesn't know about files that have been removed.

If starting with a fresh build tree fails, then post details about that
failure.

jwe


Reply | Threaded
Open this post in threaded view
|

Re: liboctgui missing

John W. Eaton
Administrator
On 11/7/19 12:55 PM, John W. Eaton wrote:

> On 11/7/19 12:45 PM, Rik wrote:
>
>> What happens if you clear out everything with 'maintainer-clean' and
>> then start over with bootstrapping?
>>
>> make maintainer-clean
>> bootstrap
>> configure
>> make
>
> When there are big changes in file names and library organization it's
> probably best to start with a completely new build tree.  After
> updating, "make maintainer-clean" may not remove all obsolete files
> since it doesn't know about files that have been removed.
>
> If starting with a fresh build tree fails, then post details about that
> failure.

Oh, after also seeing buildbot failures and bug #57186, I think I see
the problem in dependencies.  Does the following changeset fix the
problem for you?

   http://hg.savannah.gnu.org/hgweb/octave/rev/93f4e5e65fcd

jwe

Reply | Threaded
Open this post in threaded view
|

Re: liboctgui missing

bpabbott
Administrator
On Nov 7, 2019, at 11:26 AM, John W. Eaton <[hidden email]> wrote:

On 11/7/19 12:55 PM, John W. Eaton wrote:
On 11/7/19 12:45 PM, Rik wrote:
What happens if you clear out everything with 'maintainer-clean' and then start over with bootstrapping?

make maintainer-clean
bootstrap
configure
make
When there are big changes in file names and library organization it's probably best to start with a completely new build tree.  After updating, "make maintainer-clean" may not remove all obsolete files since it doesn't know about files that have been removed.
If starting with a fresh build tree fails, then post details about that failure.

Oh, after also seeing buildbot failures and bug #57186, I think I see the problem in dependencies.  Does the following changeset fix the problem for you?

 http://hg.savannah.gnu.org/hgweb/octave/rev/93f4e5e65fcd

jwe

New error.

$ hg tip
changeset:   27656:959a63d1ede6
bookmark:    @
tag:         tip
user:        John W. Eaton <[hidden email]>
date:        Thu Nov 07 19:10:19 2019 -0500
summary:     make Ctrl-C work as interrupt in command window again

/bin/sh ./libtool  --tag=CXX   --mode=link g++ -std=gnu++11 -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -no-undefined -F/usr/local/Cellar/qt/5.13.1/lib  -F/usr/local/Cellar/qt/5.13.1/lib   -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib  -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib           -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib  -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/pcre/8.43/lib  -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -F/usr/local/opt/qt5/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -o src/octave-gui src/octave_gui-main-gui.o src/octave_gui-octave-build-info.o libgui/liboctgui.la libinterp/liboctinterp.la liboctave/liboctave.la libgnu/libgnu.la -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore  -lqscintilla2_qt5 QT_OPENGL_LIBS -L/usr/local/opt/freetype/lib -lfreetype -lhdf5 -lGraphicsMagick++ -lGraphicsMagick -lz -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -framework OpenGL -lfontconfig -lfreetype   -framework Carbon -lgl2ps    -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig -larpack -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f  -L/usr/local/opt/openblas/lib -lopenblas -I/usr/local/opt/openblas/include -lreadline -lncurses  -lpcre -ldl   -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -lgfortran -lquadmath -lm  -lm           -liconv   -Wl,-framework -Wl,CoreFoundation -lm 
libtool: link: g++ -std=gnu++11 -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/opt/qt5/lib -o src/.libs/octave-gui src/octave_gui-main-gui.o src/octave_gui-octave-build-info.o QT_OPENGL_LIBS -I/usr/local/opt/openblas/include -Wl,-framework -Wl,CoreFoundation -Wl,-bind_at_load  -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib -L/usr/local/Cellar/pcre/8.43/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib libgui/.libs/liboctgui.dylib -L/usr/local/opt/openblas/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -L/usr/local/opt/freetype/lib /Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib libinterp/.libs/liboctinterp.dylib /Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib liboctave/.libs/liboctave.dylib libgnu/.libs/libgnu.a -lqscintilla2_qt5 -lhdf5 /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick++.dylib /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick.dylib -llcms2 -lbz2 -lltdl -lpthread -lz -lfontconfig -lfreetype -lgl2ps -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.7.0_3/libexec/lib/libarpack.dylib -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -lopenblas -lreadline -lncurses -lpcre -ldl -lgfortran -lquadmath -liconv -lm -framework QtCore -framework QtXml -framework QtSql -framework QtGui -framework QtWidgets -framework QtHelp -framework QtPrintSupport -framework QtNetwork -framework Carbon -framework OpenGL -pthread
clang: error: no such file or directory: 'QT_OPENGL_LIBS'
make[2]: *** [src/octave-gui] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Reply | Threaded
Open this post in threaded view
|

Re: liboctgui missing

bpabbott
Administrator
On Nov 7, 2019, at 7:48 PM, Ben Abbott <[hidden email]> wrote:

On Nov 7, 2019, at 11:26 AM, John W. Eaton <[hidden email]> wrote:

On 11/7/19 12:55 PM, John W. Eaton wrote:
On 11/7/19 12:45 PM, Rik wrote:
What happens if you clear out everything with 'maintainer-clean' and then start over with bootstrapping?

make maintainer-clean
bootstrap
configure
make
When there are big changes in file names and library organization it's probably best to start with a completely new build tree.  After updating, "make maintainer-clean" may not remove all obsolete files since it doesn't know about files that have been removed.
If starting with a fresh build tree fails, then post details about that failure.

Oh, after also seeing buildbot failures and bug #57186, I think I see the problem in dependencies.  Does the following changeset fix the problem for you?

 http://hg.savannah.gnu.org/hgweb/octave/rev/93f4e5e65fcd

jwe

New error.

$ hg tip
changeset:   27656:959a63d1ede6
bookmark:    @
tag:         tip
user:        John W. Eaton <[hidden email]>
date:        Thu Nov 07 19:10:19 2019 -0500
summary:     make Ctrl-C work as interrupt in command window again

/bin/sh ./libtool  --tag=CXX   --mode=link g++ -std=gnu++11 -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -no-undefined -F/usr/local/Cellar/qt/5.13.1/lib  -F/usr/local/Cellar/qt/5.13.1/lib   -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib  -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib           -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib  -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/pcre/8.43/lib  -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -F/usr/local/opt/qt5/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -o src/octave-gui src/octave_gui-main-gui.o src/octave_gui-octave-build-info.o libgui/liboctgui.la libinterp/liboctinterp.la liboctave/liboctave.la libgnu/libgnu.la -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore  -lqscintilla2_qt5 QT_OPENGL_LIBS -L/usr/local/opt/freetype/lib -lfreetype -lhdf5 -lGraphicsMagick++ -lGraphicsMagick -lz -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -framework OpenGL -lfontconfig -lfreetype   -framework Carbon -lgl2ps    -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig -larpack -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f  -L/usr/local/opt/openblas/lib -lopenblas -I/usr/local/opt/openblas/include -lreadline -lncurses  -lpcre -ldl   -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -lgfortran -lquadmath -lm  -lm           -liconv   -Wl,-framework -Wl,CoreFoundation -lm 
libtool: link: g++ -std=gnu++11 -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/opt/qt5/lib -o src/.libs/octave-gui src/octave_gui-main-gui.o src/octave_gui-octave-build-info.o QT_OPENGL_LIBS -I/usr/local/opt/openblas/include -Wl,-framework -Wl,CoreFoundation -Wl,-bind_at_load  -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib -L/usr/local/Cellar/pcre/8.43/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib libgui/.libs/liboctgui.dylib -L/usr/local/opt/openblas/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -L/usr/local/opt/freetype/lib /Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib libinterp/.libs/liboctinterp.dylib /Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib liboctave/.libs/liboctave.dylib libgnu/.libs/libgnu.a -lqscintilla2_qt5 -lhdf5 /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick++.dylib /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick.dylib -llcms2 -lbz2 -lltdl -lpthread -lz -lfontconfig -lfreetype -lgl2ps -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.7.0_3/libexec/lib/libarpack.dylib -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -lopenblas -lreadline -lncurses -lpcre -ldl -lgfortran -lquadmath -liconv -lm -framework QtCore -framework QtXml -framework QtSql -framework QtGui -framework QtWidgets -framework QtHelp -framework QtPrintSupport -framework QtNetwork -framework Carbon -framework OpenGL -pthread
clang: error: no such file or directory: 'QT_OPENGL_LIBS'
make[2]: *** [src/octave-gui] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


The change below works for me.

$ hg diff
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -2847,7 +2847,7 @@ OCTAVE_GUI_LINK_DEPS=""
 OCTAVE_GUI_LINK_OPTS=""

 

 if test $build_qt_gui = yes; then
-  LIBOCTGUI_LINK_DEPS="$QT_LIBS QT_OPENGL_LIBS"
+  LIBOCTGUI_LINK_DEPS="$QT_LIBS $QT_OPENGL_LIBS"
   LIBOCTGUI_LINK_OPTS="$QT_LDFLAGS $QT_OPENGL_LDFLAGS"

 

   if test $link_all_deps = yes || test -n "$QT_LDFLAGS"; then

Ben

Reply | Threaded
Open this post in threaded view
|

Re: liboctgui missing

bpabbott
Administrator
On Nov 7, 2019, at 8:00 PM, Ben Abbott <[hidden email]> wrote:

On Nov 7, 2019, at 7:48 PM, Ben Abbott <[hidden email]> wrote:

On Nov 7, 2019, at 11:26 AM, John W. Eaton <[hidden email]> wrote:

On 11/7/19 12:55 PM, John W. Eaton wrote:
On 11/7/19 12:45 PM, Rik wrote:
What happens if you clear out everything with 'maintainer-clean' and then start over with bootstrapping?

make maintainer-clean
bootstrap
configure
make
When there are big changes in file names and library organization it's probably best to start with a completely new build tree.  After updating, "make maintainer-clean" may not remove all obsolete files since it doesn't know about files that have been removed.
If starting with a fresh build tree fails, then post details about that failure.

Oh, after also seeing buildbot failures and bug #57186, I think I see the problem in dependencies.  Does the following changeset fix the problem for you?

 http://hg.savannah.gnu.org/hgweb/octave/rev/93f4e5e65fcd

jwe

New error.

$ hg tip
changeset:   27656:959a63d1ede6
bookmark:    @
tag:         tip
user:        John W. Eaton <[hidden email]>
date:        Thu Nov 07 19:10:19 2019 -0500
summary:     make Ctrl-C work as interrupt in command window again

/bin/sh ./libtool  --tag=CXX   --mode=link g++ -std=gnu++11 -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -no-undefined -F/usr/local/Cellar/qt/5.13.1/lib  -F/usr/local/Cellar/qt/5.13.1/lib   -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib  -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib           -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib  -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/pcre/8.43/lib  -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -F/usr/local/opt/qt5/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -o src/octave-gui src/octave_gui-main-gui.o src/octave_gui-octave-build-info.o libgui/liboctgui.la libinterp/liboctinterp.la liboctave/liboctave.la libgnu/libgnu.la -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore  -lqscintilla2_qt5 QT_OPENGL_LIBS -L/usr/local/opt/freetype/lib -lfreetype -lhdf5 -lGraphicsMagick++ -lGraphicsMagick -lz -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -framework OpenGL -lfontconfig -lfreetype   -framework Carbon -lgl2ps    -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig -larpack -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f  -L/usr/local/opt/openblas/lib -lopenblas -I/usr/local/opt/openblas/include -lreadline -lncurses  -lpcre -ldl   -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -lgfortran -lquadmath -lm  -lm           -liconv   -Wl,-framework -Wl,CoreFoundation -lm 
libtool: link: g++ -std=gnu++11 -fPIC -D_THREAD_SAFE -pthread -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/opt/qt5/lib -o src/.libs/octave-gui src/octave_gui-main-gui.o src/octave_gui-octave-build-info.o QT_OPENGL_LIBS -I/usr/local/opt/openblas/include -Wl,-framework -Wl,CoreFoundation -Wl,-bind_at_load  -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib -L/usr/local/Cellar/pcre/8.43/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib libgui/.libs/liboctgui.dylib -L/usr/local/opt/openblas/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -L/usr/local/opt/freetype/lib /Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib libinterp/.libs/liboctinterp.dylib /Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib liboctave/.libs/liboctave.dylib libgnu/.libs/libgnu.a -lqscintilla2_qt5 -lhdf5 /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick++.dylib /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick.dylib -llcms2 -lbz2 -lltdl -lpthread -lz -lfontconfig -lfreetype -lgl2ps -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.7.0_3/libexec/lib/libarpack.dylib -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -lopenblas -lreadline -lncurses -lpcre -ldl -lgfortran -lquadmath -liconv -lm -framework QtCore -framework QtXml -framework QtSql -framework QtGui -framework QtWidgets -framework QtHelp -framework QtPrintSupport -framework QtNetwork -framework Carbon -framework OpenGL -pthread
clang: error: no such file or directory: 'QT_OPENGL_LIBS'
make[2]: *** [src/octave-gui] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


The change below works for me.

$ hg diff
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -2847,7 +2847,7 @@ OCTAVE_GUI_LINK_DEPS=""
 OCTAVE_GUI_LINK_OPTS=""
 
 if test $build_qt_gui = yes; then
-  LIBOCTGUI_LINK_DEPS="$QT_LIBS QT_OPENGL_LIBS"
+  LIBOCTGUI_LINK_DEPS="$QT_LIBS $QT_OPENGL_LIBS"
   LIBOCTGUI_LINK_OPTS="$QT_LDFLAGS $QT_OPENGL_LDFLAGS"
 
   if test $link_all_deps = yes || test -n "$QT_LDFLAGS"; then

Ben


Thanks John.

I’m able to build from defauilt again.

Ben