<div dir="ltr"><div>You need to use the Clazy stable tag. the last one is v1.9.</div><div>The clang version used is important. Here i use 11.0.1</div><div>and finally, the check options for clazy to enable is important, as some options are under development and make the process unstable.</div><div><br></div><div>I recommend limiting multicore use. No need to overload the computer with plenty of concurrent memory allocation to compile codes. 12 cores is heavy. 4 or 6 is enough i think (here i use 3 cores only.</div><div><br></div><div>Gilles Caulier<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 7 avr. 2021 à 20:51, Anjani Kumar <<a href="mailto:anjanik012@gmail.com">anjanik012@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I am trying to run clazy.sh </div><br><div>Well it runs and then crashes midway on command "make -j12 2> reports.clazy/trace.log"</div><div>when i re-run this command again then build succeeds . I try to visualize it using clazy_visualize.sh and the report it generates contains only one warning type "<code>qt6-qhash-signature</code>"  but clearly in my log file, there are other warnings as well.  I guess this is caused by build failure in between and wrong report is generated.</div><br><div>I'm trying to debug it.</div><br><div>Thanks </div><div>Anjani</div><br><div>On Apr 7 2021, at 9:30 pm, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:</div><blockquote><div><div>Look in Python script used to parse Clazy compilation trace and extract all relevant warnings based on turned on flag :</div><div><br></div><div><a href="https://invent.kde.org/graphics/digikam/-/blob/master/project/reports/clazy_visualizer.py" title="https://invent.kde.org/graphics/digikam/-/blob/master/project/reports/clazy_visualizer.py" target="_blank">https://invent.kde.org/graphics/digikam/-/blob/master/project/reports/clazy_visualizer.py</a></div><div><br></div><div><div>Gilles Caulier</div></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>Le mer. 7 avr. 2021 à 17:08, Anjani Kumar <<a href="mailto:anjanik012@gmail.com" title="mailto:anjanik012@gmail.com" target="_blank">anjanik012@gmail.com</a>> a écrit :</div></div><blockquote><div>Is there a good way extract/export only compiler warnings and errors to file? I can filter them out later from the output but is there a way to do this in a better way?</div><br><div>On Apr 5 2021, at 9:04 am, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" title="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:</div><blockquote><div><div><div>Hi,</div></div><div><br></div><div>I saw. I will comment on your document inline today.</div><div>Best</div><div><br></div><div><div>Gilles Caulier</div></div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>Le lun. 5 avr. 2021 à 00:08, Anjani Kumar <<a href="mailto:anjanik012@gmail.com" title="mailto:anjanik012@gmail.com" target="_blank">anjanik012@gmail.com</a>> a écrit :</div></div><blockquote><div>Hello, I have submitted the first draft of the proposal. I am a bit late for submitting it. I would like to apologize for that.</div><br><div>Thanks</div><div>Anjani</div><br><div>On Apr 4 2021, at 3:44 pm, Anjani Kumar <<a href="mailto:anjanik012@gmail.com" title="mailto:anjanik012@gmail.com" target="_blank">anjanik012@gmail.com</a>> wrote:</div><blockquote><div><div>Thanks. I'll soon submit a proposal.</div><div><br></div><div>Anjani</div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>On Sun, Apr 4, 2021, 3:08 PM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" title="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:</div></div><blockquote><div><div>ok,</div><div><br></div><div>After to trying to force Qt5 to use a 3rd party openssl precompiled as static, to second a lower version of system native openssl,</div><div>configure script refuse to prior newer version. this work only to link the same openssl version but compiled with different options. The headers must be the same.</div><div><div>We cannot mix different version of openssl at the same time.</div></div><div><br></div><div><div>Qt5 configure make really a puzzle. Welcome to cmake with Qt6...</div></div><div><br></div><div>So definitely, the only solution is to use a system based with openssl 1.1.1 to support Qt 5.15.x and Qt 6.x, so MGA 8.</div><div><br></div><div>Best</div><div><br></div><div><div>Gilles Caulier</div></div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>Le sam. 3 avr. 2021 à 17:30, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" title="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> a écrit :</div></div><blockquote><div><div>yes i seen . in fact since Qt 5.15.0, openssl 1.1.1 is required.</div><div><br></div><div>There is no choice to found a way to force Qt 5.15.2 to use the static openssl compiled version installed to /opt/openssl.</div><div><br></div><div>I don't understand why configure script do not acceopt /opt/openssl/include directory as header path.</div><div><br></div><div><div>Gilles Caulier</div></div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>Le sam. 3 avr. 2021 à 16:41, Anjani Kumar <<a href="mailto:anjanik012@gmail.com" title="mailto:anjanik012@gmail.com" target="_blank">anjanik012@gmail.com</a>> a écrit :</div></div><blockquote><div>It seems like Qt 5.15.1 is also failing to be configured. I also set the system installed openssl path but the errors are same :( </div><br><div>On Apr 3 2021, at 5:45 pm, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" title="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:</div><blockquote><div><div>The way to pass env var to Qt5 configure script is explained in helper doc :</div><div><br></div><div><a href="https://link.getmailspring.com/link/F2B60C9B-FB85-4975-AF43-660FA32387D3@getmailspring.com/0?redirect=https%3A%2F%2Finvent.kde.org%2Fgraphics%2Fdigikam%2F-%2Fblob%2Fmaster%2Fproject%2Fbundles%2F3rdparty%2Fext_qt%2F5.15%2Fconfig_help-5.15.txt%23L3&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn" title="https://link.getmailspring.com/link/F2B60C9B-FB85-4975-AF43-660FA32387D3@getmailspring.com/0?redirect=https%3A%2F%2Finvent.kde.org%2Fgraphics%2Fdigikam%2F-%2Fblob%2Fmaster%2Fproject%2Fbundles%2F3rdparty%2Fext_qt%2F5.15%2Fconfig_help-5.15.txt%23L3&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn" target="_blank">https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/3rdparty/ext_qt/5.15/config_help-5.15.txt#L3</a></div><div><br></div><div>Variables most be passed at end of .configure options, else it do not work.</div><div><br></div><div>MGA 7 provide openssl 1.1.0, not 1.1.1, as required to build Qt 5.15.2. this is why openssl is previously build as static library in /opt/openssl/ and env is passed to .configure script like this :</div><div><br></div><div><a href="https://link.getmailspring.com/link/F2B60C9B-FB85-4975-AF43-660FA32387D3@getmailspring.com/1?redirect=https%3A%2F%2Finvent.kde.org%2Fgraphics%2Fdigikam%2F-%2Fblob%2Fmaster%2Fproject%2Fbundles%2F3rdparty%2Fext_qt%2F5.15%2FCMakeLists.txt%23L89&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn" title="https://link.getmailspring.com/link/F2B60C9B-FB85-4975-AF43-660FA32387D3@getmailspring.com/1?redirect=https%3A%2F%2Finvent.kde.org%2Fgraphics%2Fdigikam%2F-%2Fblob%2Fmaster%2Fproject%2Fbundles%2F3rdparty%2Fext_qt%2F5.15%2FCMakeLists.txt%23L89&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn" target="_blank">https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/3rdparty/ext_qt/5.15/CMakeLists.txt#L89</a></div><div><br></div><div>... but definitively, this doesn't work, certainly because .configure script from Qt is buggy :</div><div><br></div><div><div>Checking for OpenSSL...</div><div>Trying source 0 (type openssl) of library openssl ...</div><div>$OPENSSL_LIBS is not set.</div><div>  => source produced no result.</div><div>Trying source 1 (type inline) of library openssl ...</div><div>  => source failed condition 'config.win32'.</div><div>Trying source 2 (type inline) of library openssl ...</div><div>  => source failed condition 'config.msvc'.</div><div>Trying source 3 (type inline) of library openssl ...</div><div>  => source failed condition 'config.android'.</div><div>Trying source 4 (type inline) of library openssl ...</div><div>Include path \"/opt/openssl/include/\" is invalid.</div><div>  => source produced no result.</div></div><div><br></div><div><div>So :</div></div><div><br></div><div>1/ we cannot remove the system based openssl 1.1.0 as it used by plenty Qt5/KF5/DK dependencies to comple (aka mariabd, ffmpeg,opencv, etc.)</div><div>2/ to compile Qt 5.15.2, openssl 1.1.1 is required (too bad). So we need a extra static openssl only for qtbase.</div><div>3/ as .configure make a mess, and as i'm tired to waste my time with this archaic build system. I said stop.</div><div>4/ as Qt6 will be based on cmake and not qmake/configure</div><div><br></div><div><div>==> we will use Qt 5.15.1 under MGA7, as this version of Qt only require openssl 1.1.0.</div></div><div><br></div><div>And that all.</div><div><br></div><div><div>Gilles Caulier</div></div><div><br></div></div><br><div><div><div><img alt="Sent from Mailspring" style="border: 0px none; width: 0px; height: 0px;" width="0" height="0"></div></div></div><div class="gmail_quote"><div class="gmail_attr"><div>Le sam. 3 avr. 2021 à 12:57, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" title="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> a écrit :</div></div><blockquote><div><div>I currently working on this port : MGA6 => MGA7</div><div><br></div><div>I am falling on the same dysfunction.</div><div><br></div><div><div>Gilles Caulier</div></div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>Le sam. 3 avr. 2021 à 12:23, Anjani Kumar <<a href="mailto:anjanik012@gmail.com" title="mailto:anjanik012@gmail.com" target="_blank">anjanik012@gmail.com</a>> a écrit :</div></div><blockquote><div>Hello, I am running a Mageia 7.1 instance and trying to run appimage scripts. The first script is failing in configuring Qt 5.15.  There are the things I have done</div><br><div>build ext_openssl, and Qt configuration step always fails with</div><br><div>ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && !features.schannel && libs.openssl' failed.</div><br><div>I have tried other ways to provide the path but it always fails with this msg. How to pass the path correctly?</div><br><div>On Apr 3 2021, at 11:01 am, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" title="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:</div><blockquote><div><div><div><br></div><br></div><div class="gmail_attr"><div>Le sam. 3 avr. 2021 à 06:37, Anjani Kumar <<a href="https://link.getmailspring.com/link/4FF348DD-66C7-4FAA-BC58-1CCE0E059A88@getmailspring.com/0?redirect=mailto%3Aanjanik012%40gmail.com&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn" title="https://link.getmailspring.com/link/4FF348DD-66C7-4FAA-BC58-1CCE0E059A88@getmailspring.com/0?redirect=mailto%3Aanjanik012%40gmail.com&recipient=ZGlnaWthbS1kZXZlbEBrZGUub3Jn" target="_blank">anjanik012@gmail.com</a>> a écrit :</div></div><blockquote><div><div>Is there a specific reason to upgrade to mageia 7.1 and not 8?  Qt 5.15 is available in the official repos for mageia 8 while for mageia 7.1 it is 5.12 and we would have to build Qt 5.15.</div></div></blockquote><div> </div><div><div>yes there is. the libc version to use when AppImage bundle contents is compiled must be an older version for binary compatibility with other Linux systems.</div></div><div><br></div><div>Currently Mageia6 is used. This OS has not been maintained since a while but the GCC version is enough recent to compile all Qt5, KF5, and DK codes.</div><div>This will be the same with Mageia7 which will become unmaintained in the near future to promote Mageia 8. This last one is too much recent to make a large compatible AppImage with all current Linux.</div><div><br></div><div>Gilles Caulier</div></div></blockquote><div><div><div><div><img alt="Sent from Mailspring" style="border: 0px none; width: 0px; height: 0px;" width="0" height="0"></div></div></div></div></blockquote></div></blockquote></div></blockquote></blockquote></div></blockquote></div></blockquote></div></blockquote></blockquote></div></blockquote></blockquote></div></blockquote></blockquote></div>