Re: Conan???

Dmitry Vedenko <[email protected]> Wed, 2 Jun 2021 17:06:52 +0300
Newsgroups gmane.comp.audio.audacity.devel
Message-ID <CAL5FkehubQG9jxUFzwZ=DiMdPA+uxwuhf19EiNw1NVLms2=-xw@mail.gmail.com>
--===============8963502924690851147==
Content-Type: multipart/alternative; boundary="0000000000000f392a05c3c8f94b"

--0000000000000f392a05c3c8f94b
Content-Type: text/plain; charset="UTF-8"

Hi Carlo!

To use system libraries, please do a fresh configuration with `
-Daudacity_lib_preference=system`. The way the system-provided libraries
are handled has not changed otherwise.

>the configuration process hangs with this message

Fix for this is easy. And seems that MSYS2 has no such issue at all.

However, there are 2 known issues, both with wxWidgets.

1. wxWidgets doesn't build with MinGW. It seems, that you know about this
issue. https://github.com/audacity/wxWidgets/pull/8
2. Cygwin messes up with *Ninja *build requirement for wxWidgets.

I have created a GitHub issue:
https://github.com/audacity/audacity/issues/949.

Please note, that we only test the build process using MSVC on Windows. In
case there are problems with the toolchain of your choice - please open the
issue on GitHub and we will try to address it.

Best,
Dmitry






On Wed, Jun 2, 2021 at 12:05 AM Carlo B. <[email protected]> wrote:

> Hello,
> I have to say that this change has broken CYGWIN, MinGW-w64 and MSYS2.
> Now, if you try to run cmake, you will see that:
>
> 1) it does not find *ANY* system library correctly installed, but they
> were found before this change.
>
> 2) the configuration process hangs with this message (I made it with
> CYGWIN, but the others are the same):
>
> -- Configuring packages for Debug
> CMake Error at cmake-proxies/cmake-modules/conan.cmake:103 (message):
>   cmake system CYGWIN is not supported by conan.  Use one of
>
> Windows;Linux;Macos;Android;iOS;FreeBSD;WindowsStore;WindowsCE;watchOS;tvOS;FreeBSD;SunOS;AIX;Arduino;Emscripten;Neutrino
> Call Stack (most recent call first):
>   cmake-proxies/cmake-modules/conan.cmake:431 (_conan_check_system_name)
>   cmake-proxies/cmake-modules/AudacityDependencies.cmake:211
> (conan_cmake_autodetect)
>   cmake-proxies/cmake-modules/AudacityDependencies.cmake:254
> (_conan_install)
>   CMakeLists.txt:473 (resolve_conan_dependencies)
>
>
> I hope that you will find this report useful.
> Sincerely.
>
>
> Il giorno ven 28 mag 2021 alle ore 16:11 James Crook
> <[email protected]> ha scritto:
> >
> > See the updated building instructions here:
> https://github.com/audacity/audacity/blob/master/BUILDING.md
> > Conan is a package manager.  LMGTFY https://conan.io/
> >
> > On Ubuntu 18.0.4 I've installed the prerequisites and compiled and run
> successfully.
> > Ditto on Windows 10.
> >
> > --James.
> >
> > On Fri, 28 May 2021 at 15:06, Steve Fiddle <[email protected]>
> wrote:
> >>
> >> Apart from being a barbarian, what is conan?
> >>
> >> Build fails with:
> >>
> >> CMake Error at cmake-proxies/cmake-modules/conan.cmake:795 (message):
> >>   Conan executable not found! Please install conan.
> >> Call Stack (most recent call first):
> >>   cmake-proxies/cmake-modules/conan.cmake:841 (conan_check)
> >>   cmake-proxies/cmake-modules/AudacityDependencies.cmake:4
> (conan_add_remote)
> >>   CMakeLists.txt:156 (include)
> >>
> >> Steve
> >> _______________________________________________
> >> audacity-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/audacity-devel
> >
> > _______________________________________________
> > audacity-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/audacity-devel
>
>
> _______________________________________________
> audacity-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/audacity-devel
>

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

<div dir=3D"ltr">Hi Carlo!<div><br></div><div>To use system libraries, plea=
se do a fresh configuration with `<span style=3D"background-color:initial;f=
ont-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,monosp=
ace;font-size:13.6px;color:rgb(173,186,199)">-Daudacity_lib_preference=3Dsy=
stem</span>`. The way the system-provided libraries are handled has not cha=
nged otherwise.=C2=A0</div><div><br></div><div>&gt;the configuration proces=
s hangs with this message</div><div><br></div><div>Fix for this is easy. An=
d seems that MSYS2 has no such issue at all.</div><div><br></div><div>Howev=
er, there are 2 known issues, both with wxWidgets.</div><div><br></div><div=
>1. wxWidgets doesn&#39;t build with MinGW. It seems, that you know about t=
his issue.=C2=A0<a href=3D"https://github.com/audacity/wxWidgets/pull/8" ta=
rget=3D"_blank">https://github.com/audacity/wxWidgets/pull/8</a></div><div>=
2. Cygwin messes up with <b>Ninja </b>build requirement for wxWidgets.=C2=
=A0</div><div><br></div><div>I have created a GitHub issue: <a href=3D"http=
s://github.com/audacity/audacity/issues/949" target=3D"_blank">https://gith=
ub.com/audacity/audacity/issues/949</a>.</div><div><br></div><div>Please no=
te, that we only test the build process using MSVC on Windows. In case=C2=
=A0there are problems with the toolchain of your choice - please open the i=
ssue on GitHub and we will try to address it.</div><div><br></div><div>Best=
,</div><div>Dmitry</div><div><br></div><div><br></div><div><br><br><br></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Wed, Jun 2, 2021 at 12:05 AM Carlo B. &lt;<a href=3D"mailto:carlo.bram=
[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;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
I have to say that this change has broken CYGWIN, MinGW-w64 and MSYS2.<br>
Now, if you try to run cmake, you will see that:<br>
<br>
1) it does not find *ANY* system library correctly installed, but they<br>
were found before this change.<br>
<br>
2) the configuration process hangs with this message (I made it with<br>
CYGWIN, but the others are the same):<br>
<br>
-- Configuring packages for Debug<br>
CMake Error at cmake-proxies/cmake-modules/conan.cmake:103 (message):<br>
=C2=A0 cmake system CYGWIN is not supported by conan.=C2=A0 Use one of<br>
=C2=A0 Windows;Linux;Macos;Android;iOS;FreeBSD;WindowsStore;WindowsCE;watch=
OS;tvOS;FreeBSD;SunOS;AIX;Arduino;Emscripten;Neutrino<br>
Call Stack (most recent call first):<br>
=C2=A0 cmake-proxies/cmake-modules/conan.cmake:431 (_conan_check_system_nam=
e)<br>
=C2=A0 cmake-proxies/cmake-modules/AudacityDependencies.cmake:211<br>
(conan_cmake_autodetect)<br>
=C2=A0 cmake-proxies/cmake-modules/AudacityDependencies.cmake:254 (_conan_i=
nstall)<br>
=C2=A0 CMakeLists.txt:473 (resolve_conan_dependencies)<br>
<br>
<br>
I hope that you will find this report useful.<br>
Sincerely.<br>
<br>
<br>
Il giorno ven 28 mag 2021 alle ore 16:11 James Crook<br>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">james.k.cr=
[email protected]</a>&gt; ha scritto:<br>
&gt;<br>
&gt; See the updated building instructions here: <a href=3D"https://github.=
com/audacity/audacity/blob/master/BUILDING.md" rel=3D"noreferrer" target=3D=
"_blank">https://github.com/audacity/audacity/blob/master/BUILDING.md</a><b=
r>
&gt; Conan is a package manager.=C2=A0 LMGTFY <a href=3D"https://conan.io/"=
 rel=3D"noreferrer" target=3D"_blank">https://conan.io/</a><br>
&gt;<br>
&gt; On Ubuntu 18.0.4 I&#39;ve installed the prerequisites and compiled and=
 run successfully.<br>
&gt; Ditto on Windows 10.<br>
&gt;<br>
&gt; --James.<br>
&gt;<br>
&gt; On Fri, 28 May 2021 at 15:06, Steve Fiddle &lt;<a href=3D"mailto:steve=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wro=
te:<br>
&gt;&gt;<br>
&gt;&gt; Apart from being a barbarian, what is conan?<br>
&gt;&gt;<br>
&gt;&gt; Build fails with:<br>
&gt;&gt;<br>
&gt;&gt; CMake Error at cmake-proxies/cmake-modules/conan.cmake:795 (messag=
e):<br>
&gt;&gt;=C2=A0 =C2=A0Conan executable not found! Please install conan.<br>
&gt;&gt; Call Stack (most recent call first):<br>
&gt;&gt;=C2=A0 =C2=A0cmake-proxies/cmake-modules/conan.cmake:841 (conan_che=
ck)<br>
&gt;&gt;=C2=A0 =C2=A0cmake-proxies/cmake-modules/AudacityDependencies.cmake=
:4 (conan_add_remote)<br>
&gt;&gt;=C2=A0 =C2=A0CMakeLists.txt:156 (include)<br>
&gt;&gt;<br>
&gt;&gt; Steve<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; audacity-devel mailing list<br>
&gt;&gt; <a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a><br>
&gt;&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/audacity-d=
evel" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/li=
sts/listinfo/audacity-devel</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; audacity-devel mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/audacity-devel=
" rel=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/=
listinfo/audacity-devel</a><br>
<br>
<br>
_______________________________________________<br>
audacity-devel mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">a=
[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/audacity-devel" rel=
=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi=
nfo/audacity-devel</a><br>
</blockquote></div>

--0000000000000f392a05c3c8f94b--


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


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

_______________________________________________
audacity-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-devel

--===============8963502924690851147==--