Re: EXT: Re: Building omniORBpy 2.4.6 on MSYS2 + MinGW64

Nabil Ghodbane via omniORB-list <[email protected]> Tue, 16 Jul 2024 23:56:40 +0200
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <CAPd7EPrSbOh4D2WczPetHvFsrmHnHK-Pg6bPWmdjuZ2bhqhwQw@mail.gmail.com>
--===============4144508652578333017==
Content-Type: multipart/alternative; boundary="0000000000005538b7061d646cf6"

--0000000000005538b7061d646cf6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Marc, Duncan, all,

thanks for your reply. In my case, the issue is slightly different, since I
am targeting x86_win_mingw and sadly the patches do not apply.

Here, the issue is the following:

for each idl file (e.g. corbaidl.idl), the omniORBpy/modules/dir.mk script
calls the python omniidl compiler interface ((lib/python/omniidl/main.py).
In that call, it  runs a preprocessor command aimed to generated the c++
code from the IDL:

      file =3D os.popen(preproc_cmd, "r")

 with file: the file descriptor and preproc_cmd the preprocessor command
which is a call to omnicpp for c++ code generation:
 omnicpp -lang-c++ -undef -D__OMNIIDL__=3D0x2630 -I "../../.
./../../idl" -I "D:/msys64/idl/omniORB" -I "D:/msys64/share/idl/omniORB" -I
"D:/msys64/idl/omniORB" -D__OMNIIDL_PYTHON__
"../../../../../idl/corbaidl.idl"

The file descriptor as well as the idl file are given as arguments to
_omniidl.compile indeed IdlPyCompile of idlpython.cc
and strangely IdlPyCompile  fails to run:  file =3D fdopen(fd, "r")  (fd is
the file descriptor os.popen(preproc_cmd, "r"))

The issue here is simply that IdlPyCompile  fails to open the file
descriptor.

I am wondering whether this could not be linked to some encoding issue
here, since if i interactively run

omnicpp -lang-c++ -undef -D__OMNIIDL__=3D0x2630 -I "../../.
./../../idl" -I "D:/msys64/idl/omniORB" -I "D:/msys64/share/idl/omniORB" -I
"D:/msys64/idl/omniORB" -D__OMNIIDL_PYTHON__
"../../../../../idl/corbaidl.idl

it generates the c++ code without error:

Does someone have some suggestions on how to proceed here ?

Thanks for your valuable feedback.


On Mon, Jul 15, 2024 at 9:47=E2=80=AFAM Lucca-Daniau, Marc-Francois <
[email protected]> wrote:

> Hello,
>
>
>
> Made a try some time ago and submitted some changes : see "Building
> OmniORB on MSYS2" thread on that mailing list.
>
>
>
> Hope it could help.
>
>
> Regards,
>
> MFLD
>
>
>
> *From:* Nabil Ghodbane via omniORB-list <[email protected]=
>
>
> *Sent:* Sunday, 14 July, 2024 21:36
> *To:* Duncan Grisby <[email protected]>
> *Cc:* [email protected]
> *Subject:* EXT: Re: [omniORB] Building omniORBpy 2.4.6 on MSYS2 + MinGW64
>
>
>
> *AVERTISSEMENT: *cet email provient de l'ext=C3=A9rieur de GE. Veuillez
> valider l'adresse e-mail de l'exp=C3=A9diteur avant de cliquer sur les li=
ens ou
> les pi=C3=A8ces jointes, car ils risquent de ne pas =C3=AAtre s=C3=BBrs.
>
>
>
> Hi,
>
> yes you're right it's 4.2.6; I modified the dir.mk files such that the
> pyd files are now generated.
>
> Unfortunately,  I come to this error during the installation process abou=
t
> corbaidl.idl
>
> Does this by chance ring a bell ? I welcome hints about how to proceed
> here .
>
> I will of course gather all these patches into one single file that I wil=
l
> share at the end .
>
> Thanks for your valuable feedback.
>
>
>
> Traceback (most recent call last):
>
>   File "<string>", line 33, in <module>
>
>   File
> "D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib\python\omniidl=
\main.py",
> line 430, in main
>
>     tree =3D _omniidl.compile(file, name)
>
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> OSError: Cannot open file descriptor
>
>
>
> nghodban@PO16920 MINGW64 ~/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy
>
> $ make export
>
> PYSUBDIR =3D python3
>
> making export in src/lib/omniORBpy/modules...
>
> make[1]: Entering directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules'
>
> File pydistdate.hh hasn't changed.
>
> File _omnipy.pyd hasn't changed.
>
> making export in src/lib/omniORBpy/modules/codesets...
>
> make[2]: Entering directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/co=
desets'
>
> File _omnicodesets.pyd hasn't changed.
>
> make[2]: Leaving directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/co=
desets'
>
> making export in src/lib/omniORBpy/modules/connections...
>
> make[2]: Entering directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/co=
nnections'
>
> File _omniConnMgmt.pyd hasn't changed.
>
> make[2]: Leaving directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules/co=
nnections'
>
> make[1]: Leaving directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/modules'
>
> making export in src/lib/omniORBpy/python3...
>
> make[1]: Entering directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3'
>
> making export in src/lib/omniORBpy/python3/omniidl_be...
>
> make[2]: Entering directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/om=
niidl_be'
>
> File __init__.py hasn't changed.
>
> File python.py hasn't changed.
>
> Listing '.'...
>
> Listing '.\\cxx'...
>
> Listing '.\\cxx\\dynskel'...
>
> Listing '.\\cxx\\header'...
>
> Listing '.\\cxx\\impl'...
>
> Listing '.\\cxx\\skel'...
>
> make[2]: Leaving directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/om=
niidl_be'
>
> making export in src/lib/omniORBpy/python3/omniORB...
>
> make[2]: Entering directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/om=
niORB'
>
> ../../../../../bin/x86_win32/omniidl -v
> -p../../../../../python3/omniidl_be \
>
>         -I../../../../../idl \
>
>         -I../../../idl/omniORB \
>
>         -I../../../share/idl/omniORB \
>
>         -I/idl/omniORB \
>
>         -bpython -nf -Wbno_package ../../../../../idl/corbaidl.idl
>
> omniidl: Importing back-end 'python'
>
> omniidl: 'python' imported from
> 'D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib\python\omniidl=
_be\python.py'
>
> omniidl: Preprocessing '../../../../../idl/corbaidl.idl' with
> 'D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\bin\x86_win32\omni=
cpp
> -lang-c++ -undef -D__OMNIIDL__=3D0x2630 -I "../../../..
>
> /../idl" -I "../../../idl/omniORB" -I "../../../share/idl/omniORB" -I
> "D:/msys64/idl/omniORB" -D__OMNIIDL_PYTHON__
> "../../../../../idl/corbaidl.idl"'
>
> omniidl: Running front end
>
> Traceback (most recent call last):
>
>   File "<string>", line 33, in <module>
>
>   File
> "D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib\python\omniidl=
\main.py",
> line 430, in main
>
>     tree =3D _omniidl.compile(file, name)
>
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> OSError: Cannot open file descriptor
>
> make[2]: *** [dir.mk:16: corbaidl_idl.py] Error 127
>
> make[2]: Leaving directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3/om=
niORB'
>
> make[1]: *** [dir.mk:12: export] Error 2
>
> make[1]: Leaving directory
> '/home/nghodban/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy/python3'
>
>
>
>
>
>
>
>
>
>
>
> On Sun, Jul 14, 2024 at 8:34=E2=80=AFPM Duncan Grisby <[email protected]>=
 wrote:
>
> On Sun, 2024-07-14 at 14:16 +0200, Nabil Ghodbane via omniORB-list
> wrote:
>
> [...]
> >   - It seems that omniORB 2.4.6 at least does not support c++17
> > standard on MinGW and one has to fall back to c++14.
>
> I assume you mean 4.2.6. There was never a 2.4.6 release.
>
> Regardless, 4.2 is very old. The current release is 4.3.2. You are
> unlikely to have much success in using up-to-date C++ and Python
> versions with old omniORB versions.
>
> MinGW is not a supported compiler for omniORB. You might be able to
> make it work, but it is no surprise if it doesn't work at present.
>
> If you are successful in compiling omniORB and omniORBpy 4.3.2 with
> MinGW, please send patches.
>
> Regards,
>
> Duncan.
>
> --
> Duncan Grisby <[email protected]>
>
>

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

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div=
 dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D=
"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr" class=3D"gmai=
l_signature"><div dir=3D"ltr"><div>Hi Marc, Duncan, all,</div><div><br></di=
v><div>thanks for your reply. In my case, the issue is slightly different, =
since I am targeting x86_win_mingw and sadly the patches do not apply.=C2=
=A0</div><div><br></div><div>Here, the issue is the following:</div><div><b=
r></div><div>for each idl file (e.g. corbaidl.idl), the omniORBpy/modules/<=
a href=3D"http://dir.mk">dir.mk</a> script calls the python omniidl compile=
r interface ((lib/python/omniidl/main.py).</div><div>In that call, it=C2=A0=
 runs a preprocessor command aimed to generated the c++ code from the IDL:<=
/div><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 <font face=3D"monospace">file=
 =3D os.popen(preproc_cmd, &quot;r&quot;)</font></div><div><br></div><div>=
=C2=A0with file: the file descriptor and preproc_cmd the preprocessor comma=
nd which is a call to omnicpp for c++ code generation:</div><div>=C2=A0<fon=
t face=3D"monospace">omnicpp -lang-c++ -undef -D__OMNIIDL__=3D0x2630 -I &qu=
ot;../../.</font></div><div><div><font face=3D"monospace">./../../idl&quot;=
 -I &quot;D:/msys64/idl/omniORB&quot; -I &quot;D:/msys64/share/idl/omniORB&=
quot; -I &quot;D:/msys64/idl/omniORB&quot; -D__OMNIIDL_PYTHON__ &quot;../..=
/../../../idl/corbaidl.idl&quot;</font></div></div><div><br></div><div>The =
file descriptor as well as the idl file are given as arguments to _omniidl.=
compile indeed IdlPyCompile=C2=A0of idlpython.cc=C2=A0</div><div>and strang=
ely IdlPyCompile=C2=A0 fails to run:=C2=A0 file =3D fdopen(fd, &quot;r&quot=
;)=C2=A0 (fd is the file descriptor os.popen(preproc_cmd, &quot;r&quot;))</=
div><div><br></div><div>The issue here is simply that=C2=A0<font face=3D"mo=
nospace">IdlPyCompile=C2=A0 </font>fails to open the file descriptor.</div>=
<div><br></div><div>I am wondering whether this could not be linked to some=
 encoding issue here, since if i interactively run</div><div><br></div><div=
><div><font face=3D"monospace">omnicpp -lang-c++ -undef -D__OMNIIDL__=3D0x2=
630 -I &quot;../../.</font></div><div><font face=3D"monospace">./../../idl&=
quot; -I &quot;D:/msys64/idl/omniORB&quot; -I &quot;D:/msys64/share/idl/omn=
iORB&quot; -I &quot;D:/msys64/idl/omniORB&quot; -D__OMNIIDL_PYTHON__ &quot;=
../../../../../idl/corbaidl.idl</font></div></div><div><br></div><div>it ge=
nerates the c++ code without error:</div><div><br></div><div>Does someone h=
ave some suggestions on how to proceed here ?</div><div><br></div><div>Than=
ks for your valuable feedback.</div></div></div></div><br></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jul 15, 2=
024 at 9:47=E2=80=AFAM Lucca-Daniau, Marc-Francois &lt;<a href=3D"mailto:Ma=
[email protected]">Marc-Francois.Lucca-Daniau@gehea=
lthcare.com</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 class=3D"msg4835150409082119901">





<div lang=3D"EN-US" style=3D"overflow-wrap: break-word;">
<div class=3D"m_4835150409082119901WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)">Hello,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)">Made a try some time ago and submitted some changes : see &quot;Buil=
ding OmniORB on MSYS2&quot; thread on that mailing list.<u></u><u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)">Hope it could help.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)"><br>
Regards,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)">MFLD<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas;color:rgb(112,48=
,160)"><u></u>=C2=A0<u></u></span></p>
<div style=3D"border-right:none;border-bottom:none;border-left:none;border-=
top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class=3D"MsoNormal"><b>From:</b> Nabil Ghodbane via omniORB-list &lt;<a =
href=3D"mailto:[email protected]" target=3D"_blank">omniorb-=
[email protected]</a>&gt;
<br>
<b>Sent:</b> Sunday, 14 July, 2024 21:36<br>
<b>To:</b> Duncan Grisby &lt;<a href=3D"mailto:[email protected]" target=3D=
"_blank">[email protected]</a>&gt;<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_b=
lank">[email protected]</a><br>
<b>Subject:</b> EXT: Re: [omniORB] Building omniORBpy 2.4.6 on MSYS2 + MinG=
W64<u></u><u></u></p>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div align=3D"center">
<table border=3D"1" cellspacing=3D"0" cellpadding=3D"0">
<tbody>
<tr>
<td width=3D"50%" style=3D"width:50%;background:rgb(255,235,156);padding:0i=
n">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><b><spa=
n style=3D"color:rgb(156,101,0)">AVERTISSEMENT:
</span></b><span style=3D"color:black">cet email provient de l&#39;ext=C3=
=A9rieur de GE. Veuillez valider l&#39;adresse e-mail de l&#39;exp=C3=A9dit=
eur avant de cliquer sur les liens ou les pi=C3=A8ces jointes, car ils risq=
uent de ne pas =C3=AAtre s=C3=BBrs.</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<p class=3D"MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class=3D"MsoNormal">yes you&#39;re right it&#39;s 4.2.6; I modified the =
<a href=3D"http://dir.mk/" target=3D"_blank">
dir.mk</a> files such that the pyd files are now generated.<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal">Unfortunately,=C2=A0 I come to this error during the=
 installation process about corbaidl.idl<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Does this by chance ring a bell ? I welcome hints ab=
out how to=C2=A0proceed here .<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I will of course gather all these patches into one s=
ingle file that I will share at the end .<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">Thanks for your valuable feedback.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Traceback (most recent call last):</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 File &quot;&lt;string&gt;&quot;, line 33, in &lt;module&gt;</span><u=
></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 File &quot;D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib=
\python\omniidl\main.py&quot;, line 430, in main</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 tree =3D _omniidl.compile(file, name)</span><u></u><u></u></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span=
><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
OSError: Cannot open file descriptor</span><u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
nghodban@PO16920 MINGW64 ~/workspace/BUILD/omniORB-4.2.6/src/lib/omniorpy</=
span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
$ make export</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
PYSUBDIR =3D python3</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
making export in src/lib/omniORBpy/modules...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[1]: Entering directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2=
.6/src/lib/omniorpy/modules&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
File pydistdate.hh hasn&#39;t changed.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
File _omnipy.pyd hasn&#39;t changed.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
making export in src/lib/omniORBpy/modules/codesets...</span><u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Entering directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2=
.6/src/lib/omniorpy/modules/codesets&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
File _omnicodesets.pyd hasn&#39;t changed.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Leaving directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2.=
6/src/lib/omniorpy/modules/codesets&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
making export in src/lib/omniORBpy/modules/connections...</span><u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Entering directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2=
.6/src/lib/omniorpy/modules/connections&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
File _omniConnMgmt.pyd hasn&#39;t changed.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Leaving directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2.=
6/src/lib/omniorpy/modules/connections&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[1]: Leaving directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2.=
6/src/lib/omniorpy/modules&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
making export in src/lib/omniORBpy/python3...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[1]: Entering directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2=
.6/src/lib/omniorpy/python3&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
making export in src/lib/omniORBpy/python3/omniidl_be...</span><u></u><u></=
u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Entering directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2=
.6/src/lib/omniorpy/python3/omniidl_be&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
File __init__.py hasn&#39;t changed.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
File python.py hasn&#39;t changed.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Listing &#39;.&#39;...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Listing &#39;.\\cxx&#39;...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Listing &#39;.\\cxx\\dynskel&#39;...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Listing &#39;.\\cxx\\header&#39;...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Listing &#39;.\\cxx\\impl&#39;...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Listing &#39;.\\cxx\\skel&#39;...</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Leaving directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2.=
6/src/lib/omniorpy/python3/omniidl_be&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
making export in src/lib/omniORBpy/python3/omniORB...</span><u></u><u></u><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Entering directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2=
.6/src/lib/omniorpy/python3/omniORB&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
../../../../../bin/x86_win32/omniidl -v -p../../../../../python3/omniidl_be=
 \</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -I../../../../../idl \</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -I../../../idl/omniORB \</span><u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -I../../../share/idl/omniORB \</span><u></u><u>=
</u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -I/idl/omniORB \</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 -bpython -nf -Wbno_package ../../../../../idl/c=
orbaidl.idl</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
omniidl: Importing back-end &#39;python&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
omniidl: &#39;python&#39; imported from &#39;D:\msys64\home\nghodban\worksp=
ace\BUILD\omniORB-4.2.6\lib\python\omniidl_be\python.py&#39;</span><u></u><=
u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
omniidl: Preprocessing &#39;../../../../../idl/corbaidl.idl&#39; with &#39;=
D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\bin\x86_win32\omnicpp=
 -lang-c++ -undef -D__OMNIIDL__=3D0x2630 -I &quot;../../../..</span><u></u>=
<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
/../idl&quot; -I &quot;../../../idl/omniORB&quot; -I &quot;../../../share/i=
dl/omniORB&quot; -I &quot;D:/msys64/idl/omniORB&quot; -D__OMNIIDL_PYTHON__ =
&quot;../../../../../idl/corbaidl.idl&quot;&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
omniidl: Running front end</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
Traceback (most recent call last):</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 File &quot;&lt;string&gt;&quot;, line 33, in &lt;module&gt;</span><u=
></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 File &quot;D:\msys64\home\nghodban\workspace\BUILD\omniORB-4.2.6\lib=
\python\omniidl\main.py&quot;, line 430, in main</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 tree =3D _omniidl.compile(file, name)</span><u></u><u></u></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span=
><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
OSError: Cannot open file descriptor</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: *** [<a href=3D"http://dir.mk:16/" target=3D"_blank">dir.mk:16</a>=
: corbaidl_idl.py] Error 127</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[2]: Leaving directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2.=
6/src/lib/omniorpy/python3/omniORB&#39;</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[1]: *** [<a href=3D"http://dir.mk:12/" target=3D"_blank">dir.mk:12</a>=
: export] Error 2</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
make[1]: Leaving directory &#39;/home/nghodban/workspace/BUILD/omniORB-4.2.=
6/src/lib/omniorpy/python3&#39;</span><u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<div>
<p class=3D"MsoNormal">On Sun, Jul 14, 2024 at 8:34=E2=80=AFPM Duncan Grisb=
y &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">duncan@grisby.=
org</a>&gt; wrote:<u></u><u></u></p>
</div>
<blockquote style=3D"border-top:none;border-right:none;border-bottom:none;b=
order-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4=
.8pt;margin-right:0in">
<p class=3D"MsoNormal">On Sun, 2024-07-14 at 14:16 +0200, Nabil Ghodbane vi=
a omniORB-list<br>
wrote:<br>
<br>
[...]<br>
&gt; =C2=A0 - It seems that omniORB 2.4.6 at least does not support c++17<b=
r>
&gt; standard on MinGW and one has to fall back to c++14.<br>
<br>
I assume you mean 4.2.6. There was never a 2.4.6 release.<br>
<br>
Regardless, 4.2 is very old. The current release is 4.3.2. You are<br>
unlikely to have much success in using up-to-date C++ and Python<br>
versions with old omniORB versions.<br>
<br>
MinGW is not a supported compiler for omniORB. You might be able to<br>
make it work, but it is no surprise if it doesn&#39;t work at present.<br>
<br>
If you are successful in compiling omniORB and omniORBpy 4.3.2 with<br>
MinGW, please send patches.<br>
<br>
Regards,<br>
<br>
Duncan.<br>
<br>
-- <br>
Duncan Grisby &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">du=
[email protected]</a>&gt;<u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

</div></blockquote></div></div></div></div></div></div></div></div></div></=
div></div></div></div></div></div></div></div></div></div></div>

--0000000000005538b7061d646cf6--


--===============4144508652578333017==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
omniORB-list mailing list
[email protected]
https://www.omniorb-support.com/mailman/listinfo/omniorb-list

--===============4144508652578333017==--