Re: dev build problem
"Dmitri A. Sergatskov" <[email protected]> Sun, 15 Aug 2021 00:14:38 -0400
| Newsgroups | gmane.comp.gnu.octave.maintainers |
|---|---|
| Message-ID | <CAO+XyQJknSWt1fhKxCLVgDJRtwB94yFPKu8ZzMWxCD0vj_yKyQ@mail.gmail.com> |
--0000000000005d780b05c9915399 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-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-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-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 -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. >> -- >> >> --0000000000005d780b05c9915399 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">It = builds with 43d0785ca28f tip, but when i star octave I get the message:</di= v><div class=3D"gmail_default" style=3D"font-size:small"><br></div><div cla= ss=3D"gmail_default" style=3D"font-size:small">./run-octave <br>QSocketNoti= fier: 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_def= ault" style=3D"font-size:small">On buildbots this message is redirected to = system logger.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c= lass=3D"gmail_attr">On Sat, Aug 14, 2021 at 11:07 PM Dmitri A. Sergatskov &= lt;<a href=3D"mailto:[email protected]">[email protected]</a>>= 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"ltr"><div class=3D"gmail_default" style=3D"font-size:small">with clang:= </div><div class=3D"gmail_default" style=3D"font-size:small"><br></div><div= class=3D"gmail_default" style=3D"font-size:small">libtool: compile: =C2=A0= clang++ -DHAVE_CONFIG_H -I. -I.. -DOCTINTERP_DLL -Iliboctave -I../liboctave= -I../liboctave/array -Iliboctave/numeric -I../liboctave/numeric -Iliboctav= e/operators -I../liboctave/operators -I../liboctave/system -I../liboctave/u= til -I../libinterp/octave-value -Ilibinterp -I../libinterp -I../libinterp/o= perators -Ilibinterp/parse-tree -I../libinterp/parse-tree -Ilibinterp/coref= cn -I../libinterp/corefcn -I../liboctave/wrappers -I/usr/include/GraphicsMa= gick -fPIC -pthread -fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-s= tyle-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual= -fvisibility=3Dhidden -O3 -march=3Dnative -mavx -mavx2 -flto=3Dthin -MT li= binterp/dldfcn/audiodevinfo_la-audiodevinfo.lo -MD -MP -MF libinterp/dldfcn= /.deps/audiodevinfo_la-audiodevinfo.Tpo -c ../libinterp/dldfcn/audiodevinfo= .cc =C2=A0-fPIC -DPIC -o libinterp/dldfcn/.libs/audiodevinfo_la-audiodevinf= o.o<br>../libinterp/dldfcn/audiodevinfo.cc:2849:1: error: extraneous closin= g brace ('}')<br>OCTAVE_NAMESPACE_END<br>^<br>./oct-conf-post.h:27:= 32: note: expanded from macro 'OCTAVE_NAMESPACE_END'<br># =C2=A0def= ine 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 er= ror generated.<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"lt= r" class=3D"gmail_attr">On Sat, Aug 14, 2021 at 10:40 PM Dmitri A. Sergatsk= ov <<a href=3D"mailto:[email protected]" target=3D"_blank">dasergat= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-s= ize:small">The current dev 9e35973fb6c0 would not build on Fedora:</div><di= v class=3D"gmail_default" style=3D"font-size:small"><br></div><div class=3D= "gmail_default" style=3D"font-size:small">make V=3D1:</div><div class=3D"gm= ail_default" style=3D"font-size:small"><br></div><div class=3D"gmail_defaul= t" style=3D"font-size:small">ibtool: compile: =C2=A0g++ -DHAVE_CONFIG_H -I.= -I.. -DOCTINTERP_DLL -Iliboctave -I../liboctave -I../liboctave/array -Ilib= octave/numeric -I../liboctave/numeric -Iliboctave/operators -I../liboctave/= operators -I../liboctave/system -I../liboctave/util -I../libinterp/octave-v= alue -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 -fopenm= p -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat -Wpointe= r-arith -Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=3Dhidden -O2 = -march=3Dnative -mavx -mavx2 -MT libinterp/dldfcn/audiodevinfo_la-audiodevi= nfo.lo -MD -MP -MF libinterp/dldfcn/.deps/audiodevinfo_la-audiodevinfo.Tpo = -c ../libinterp/dldfcn/audiodevinfo.cc =C2=A0-fPIC -DPIC -o libinterp/dldfc= n/.libs/audiodevinfo_la-audiodevinfo.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/audiodevinfo.cc:27:<br>./oct-conf-post.h:27:32: error:= expected declaration before =E2=80=98}=E2=80=99 token<br>=C2=A0 =C2=A027 |= # =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 =C2=A0 =C2=A0 =C2=A0^<br>../libinterp/dldfcn/audiodevinfo.cc:2849:1:= note: in expansion of macro =E2=80=98OCTAVE_NAMESPACE_END=E2=80=99<br>=C2= =A02849 | OCTAVE_NAMESPACE_END<br>=C2=A0 =C2=A0 =C2=A0 | ^~~~~~~~~~~~~~~~~~= ~~<br>make[2]: *** [Makefile:20152: libinterp/dldfcn/audiodevinfo_la-audiod= evinfo.lo] Error 1</div><div class=3D"gmail_default" style=3D"font-size:sma= ll"><br></div><div class=3D"gmail_default" style=3D"font-size:small">this i= s with gcc version 11.2.1 20210728 (Red Hat 11.2.1-1) (GCC).</div><div clas= s=3D"gmail_default" style=3D"font-size:small">A similar problem with clang = 12.0.1.</div><div class=3D"gmail_default" style=3D"font-size:small">See als= o 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"gmail_default" style=3D"font-size:small">-- <br></div><d= iv class=3D"gmail_default" style=3D"font-size:small"><br></div></div> </blockquote></div> </blockquote></div> --0000000000005d780b05c9915399--