Re: dev build problem

"Dmitri A. Sergatskov" <[email protected]> Sun, 15 Aug 2021 00:37:30 -0400
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <CAO+XyQLsGb1zLfeKbR4-39uUtT4Rqz8S8taFCwfcp+DbFzO9HQ@mail.gmail.com>
--00000000000026221705c991a515
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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.
--=20


On Sun, Aug 15, 2021 at 12:14 AM Dmitri A. Sergatskov <
[email protected]> 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 <
> [email protected]> 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-tr=
ee
>> -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 -Wforma=
t
>> -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual
>> -fvisibility=3Dhidden -O3 -march=3Dnative -mavx -mavx2 -flto=3Dthin -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 <
>> [email protected]> wrote:
>>
>>> The current dev 9e35973fb6c0 would not build on Fedora:
>>>
>>> make V=3D1:
>>>
>>> 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-t=
ree
>>> -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 -Wform=
at
>>> -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual
>>> -fvisibility=3Dhidden -O2 -march=3Dnative -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 =E2=80=98}=
=E2=80=99 token
>>>    27 | #  define OCTAVE_NAMESPACE_END }
>>>       |                                ^
>>> ../libinterp/dldfcn/audiodevinfo.cc:2849:1: note: in expansion of macro
>>> =E2=80=98OCTAVE_NAMESPACE_END=E2=80=99
>>>  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.
>>> --
>>>
>>>

--00000000000026221705c991a515
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">I a=
lso noticed that lt-octave-gui is trying to load .oct files from the locall=
y installed octave:</div><div class=3D"gmail_default" style=3D"font-size:sm=
all"><br></div><div class=3D"gmail_default" style=3D"font-size:small">=C2=
=A0./lt-octave-gui <br>QSocketNotifier: Can only be used with threads start=
ed with QThread<br>GNU Octave, version 7.0.0<br>Copyright (C) 2020 The Octa=
ve Project Developers.<br>This is free software; see the source code for co=
pying conditions.<br>There is ABSOLUTELY NO WARRANTY; not even for MERCHANT=
ABILITY or<br>FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 For details, type &#3=
9;warranty&#39;.<br><br>Octave was configured for &quot;x86_64-pc-linux-gnu=
&quot;.<br><br>Additional information about Octave is available at <a href=
=3D"https://www.octave.org">https://www.octave.org</a>.<br><br>Please contr=
ibute if you find this software useful.<br>For more information, visit <a h=
ref=3D"https://www.octave.org/get-involved.html">https://www.octave.org/get=
-involved.html</a><br><br>Read <a href=3D"https://www.octave.org/bugs.html"=
>https://www.octave.org/bugs.html</a> to learn how to submit bug reports.<b=
r>For information about changes from previous versions, type &#39;news&#39;=
.<br><br>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-li=
nux-gnu/__init_gnuplot__.oct: undefined symbol: _Z8FwaitpidRK17octave_value=
_listi<br>error: called from<br>=C2=A0 =C2=A0 /usr/local/lib/octave/7.0.0/o=
ct/x86_64-pc-linux-gnu/PKG_ADD at line 3 column 1<br>octave:1&gt;=C2=A0 <br=
></div><div class=3D"gmail_default" style=3D"font-size:small"><br></div><di=
v class=3D"gmail_default" style=3D"font-size:small">Not sure if this is OK =
or not.</div><div class=3D"gmail_default" style=3D"font-size:small"><br></d=
iv><div class=3D"gmail_default" style=3D"font-size:small">Dmitri.</div><div=
 class=3D"gmail_default" style=3D"font-size:small">-- <br></div><div class=
=3D"gmail_default" style=3D"font-size:small"><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Aug 15, 2021=
 at 12:14 AM Dmitri A. Sergatskov &lt;<a href=3D"mailto:dasergatskov@gmail.=
com">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" st=
yle=3D"font-size:small">It builds with 43d0785ca28f tip, but when i star oc=
tave I get the message:</div><div class=3D"gmail_default" style=3D"font-siz=
e:small"><br></div><div class=3D"gmail_default" style=3D"font-size:small">.=
/run-octave <br>QSocketNotifier: Can only be used with threads started with=
 QThread</div><div class=3D"gmail_default" style=3D"font-size:small"><br></=
div><div class=3D"gmail_default" style=3D"font-size:small">On buildbots thi=
s message is redirected to system logger.</div></div><br><div class=3D"gmai=
l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Aug 14, 2021 at 11:0=
7 PM Dmitri A. Sergatskov &lt;<a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_d=
efault" style=3D"font-size:small">with clang:</div><div class=3D"gmail_defa=
ult" style=3D"font-size:small"><br></div><div class=3D"gmail_default" style=
=3D"font-size:small">libtool: compile: =C2=A0clang++ -DHAVE_CONFIG_H -I. -I=
.. -DOCTINTERP_DLL -Iliboctave -I../liboctave -I../liboctave/array -Iliboct=
ave/numeric -I../liboctave/numeric -Iliboctave/operators -I../liboctave/ope=
rators -I../liboctave/system -I../liboctave/util -I../libinterp/octave-valu=
e -Ilibinterp -I../libinterp -I../libinterp/operators -Ilibinterp/parse-tre=
e -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-a=
rith -Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=3Dhidden -O3 -ma=
rch=3Dnative -mavx -mavx2 -flto=3Dthin -MT libinterp/dldfcn/audiodevinfo_la=
-audiodevinfo.lo -MD -MP -MF libinterp/dldfcn/.deps/audiodevinfo_la-audiode=
vinfo.Tpo -c ../libinterp/dldfcn/audiodevinfo.cc =C2=A0-fPIC -DPIC -o libin=
terp/dldfcn/.libs/audiodevinfo_la-audiodevinfo.o<br>../libinterp/dldfcn/aud=
iodevinfo.cc:2849:1: error: extraneous closing brace (&#39;}&#39;)<br>OCTAV=
E_NAMESPACE_END<br>^<br>./oct-conf-post.h:27:32: note: expanded from macro =
&#39;OCTAVE_NAMESPACE_END&#39;<br># =C2=A0define OCTAVE_NAMESPACE_END }<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>1 error generated.<br></div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On S=
at, Aug 14, 2021 at 10:40 PM Dmitri A. Sergatskov &lt;<a href=3D"mailto:das=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r"><div class=3D"gmail_default" style=3D"font-size:small">The current dev 9=
e35973fb6c0 would not build on Fedora:</div><div class=3D"gmail_default" st=
yle=3D"font-size:small"><br></div><div class=3D"gmail_default" style=3D"fon=
t-size:small">make V=3D1:</div><div class=3D"gmail_default" style=3D"font-s=
ize:small"><br></div><div class=3D"gmail_default" style=3D"font-size:small"=
>ibtool: compile: =C2=A0g++ -DHAVE_CONFIG_H -I. -I.. -DOCTINTERP_DLL -Ilibo=
ctave -I../liboctave -I../liboctave/array -Iliboctave/numeric -I../liboctav=
e/numeric -Iliboctave/operators -I../liboctave/operators -I../liboctave/sys=
tem -I../liboctave/util -I../libinterp/octave-value -Ilibinterp -I../libint=
erp -I../libinterp/operators -Ilibinterp/parse-tree -I../libinterp/parse-tr=
ee -Ilibinterp/corefcn -I../libinterp/corefcn -I../liboctave/wrappers -I/us=
r/include/GraphicsMagick -fPIC -pthread -fopenmp -Wall -W -Wshadow -Woverlo=
aded-virtual -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wca=
st-align -Wcast-qual -fvisibility=3Dhidden -O2 -march=3Dnative -mavx -mavx2=
 -MT libinterp/dldfcn/audiodevinfo_la-audiodevinfo.lo -MD -MP -MF libinterp=
/dldfcn/.deps/audiodevinfo_la-audiodevinfo.Tpo -c ../libinterp/dldfcn/audio=
devinfo.cc =C2=A0-fPIC -DPIC -o libinterp/dldfcn/.libs/audiodevinfo_la-audi=
odevinfo.o<br>In file included from ./config.h:3181,<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from ../libinterp/dldfcn/audio=
devinfo.cc:27:<br>./oct-conf-post.h:27:32: error: expected declaration befo=
re =E2=80=98}=E2=80=99 token<br>=C2=A0 =C2=A027 | # =C2=A0define OCTAVE_NAM=
ESPACE_END }<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0^<br>../libinterp/dldfcn/audiodevinfo.cc:2849:1: note: in expansion of m=
acro =E2=80=98OCTAVE_NAMESPACE_END=E2=80=99<br>=C2=A02849 | OCTAVE_NAMESPAC=
E_END<br>=C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~~~<br>make[2]: *** [Makef=
ile:20152: libinterp/dldfcn/audiodevinfo_la-audiodevinfo.lo] Error 1</div><=
div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">this is with gcc version 11.2.=
1 20210728 (Red Hat 11.2.1-1) (GCC).</div><div class=3D"gmail_default" styl=
e=3D"font-size:small">A similar problem with clang 12.0.1.</div><div class=
=3D"gmail_default" style=3D"font-size:small">See also buildbot logs.</div><=
div class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=
=3D"gmail_default" style=3D"font-size:small">Dmitri.</div><div class=3D"gma=
il_default" style=3D"font-size:small">-- <br></div><div class=3D"gmail_defa=
ult" style=3D"font-size:small"><br></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>

--00000000000026221705c991a515--