octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dev build problem


From: Dmitri A. Sergatskov
Subject: Re: dev build problem
Date: Sun, 15 Aug 2021 00:37:30 -0400

I also noticed that lt-octave-gui is trying to load .oct files from the locally installed octave:

 ./lt-octave-gui
QSocketNotifier: Can only be used with threads started with QThread
GNU Octave, version 7.0.0
Copyright (C) 2020 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

error: /usr/local/lib/octave/7.0.0/oct/x86_64-pc-linux-gnu/__init_gnuplot__.oct: failed to load: /usr/local/lib/octave/7.0.0/oct/x86_64-pc-linux-gnu/__init_gnuplot__.oct: undefined symbol: _Z8FwaitpidRK17octave_value_listi
error: called from
    /usr/local/lib/octave/7.0.0/oct/x86_64-pc-linux-gnu/PKG_ADD at line 3 column 1
octave:1> 

Not sure if this is OK or not.

Dmitri.
--


On Sun, Aug 15, 2021 at 12:14 AM Dmitri A. Sergatskov <dasergatskov@gmail.com> wrote:
It builds with 43d0785ca28f tip, but when i star octave I get the message:

./run-octave
QSocketNotifier: Can only be used with threads started with QThread

On buildbots this message is redirected to system logger.

On Sat, Aug 14, 2021 at 11:07 PM Dmitri A. Sergatskov <dasergatskov@gmail.com> wrote:
with clang:

libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I.. -DOCTINTERP_DLL -Iliboctave -I../liboctave -I../liboctave/array -Iliboctave/numeric -I../liboctave/numeric -Iliboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I../libinterp/octave-value -Ilibinterp -I../libinterp -I../libinterp/operators -Ilibinterp/parse-tree -I../libinterp/parse-tree -Ilibinterp/corefcn -I../libinterp/corefcn -I../liboctave/wrappers -I/usr/include/GraphicsMagick -fPIC -pthread -fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=hidden -O3 -march=native -mavx -mavx2 -flto=thin -MT libinterp/dldfcn/audiodevinfo_la-audiodevinfo.lo -MD -MP -MF libinterp/dldfcn/.deps/audiodevinfo_la-audiodevinfo.Tpo -c ../libinterp/dldfcn/audiodevinfo.cc  -fPIC -DPIC -o libinterp/dldfcn/.libs/audiodevinfo_la-audiodevinfo.o
../libinterp/dldfcn/audiodevinfo.cc:2849:1: error: extraneous closing brace ('}')
OCTAVE_NAMESPACE_END
^
./oct-conf-post.h:27:32: note: expanded from macro 'OCTAVE_NAMESPACE_END'
#  define OCTAVE_NAMESPACE_END }
                               ^
1 error generated.

On Sat, Aug 14, 2021 at 10:40 PM Dmitri A. Sergatskov <dasergatskov@gmail.com> wrote:
The current dev 9e35973fb6c0 would not build on Fedora:

make V=1:

ibtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -DOCTINTERP_DLL -Iliboctave -I../liboctave -I../liboctave/array -Iliboctave/numeric -I../liboctave/numeric -Iliboctave/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/util -I../libinterp/octave-value -Ilibinterp -I../libinterp -I../libinterp/operators -Ilibinterp/parse-tree -I../libinterp/parse-tree -Ilibinterp/corefcn -I../libinterp/corefcn -I../liboctave/wrappers -I/usr/include/GraphicsMagick -fPIC -pthread -fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=hidden -O2 -march=native -mavx -mavx2 -MT libinterp/dldfcn/audiodevinfo_la-audiodevinfo.lo -MD -MP -MF libinterp/dldfcn/.deps/audiodevinfo_la-audiodevinfo.Tpo -c ../libinterp/dldfcn/audiodevinfo.cc  -fPIC -DPIC -o libinterp/dldfcn/.libs/audiodevinfo_la-audiodevinfo.o
In file included from ./config.h:3181,
                 from ../libinterp/dldfcn/audiodevinfo.cc:27:
./oct-conf-post.h:27:32: error: expected declaration before ‘}’ token
   27 | #  define OCTAVE_NAMESPACE_END }
      |                                ^
../libinterp/dldfcn/audiodevinfo.cc:2849:1: note: in expansion of macro ‘OCTAVE_NAMESPACE_END’
 2849 | OCTAVE_NAMESPACE_END
      | ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:20152: libinterp/dldfcn/audiodevinfo_la-audiodevinfo.lo] Error 1

this is with gcc version 11.2.1 20210728 (Red Hat 11.2.1-1) (GCC).
A similar problem with clang 12.0.1.
See also buildbot logs.

Dmitri.
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]