<div dir="ltr"><div>Looks like -DCMAKE_BUILD_TYPE=Release was set in Marble. I have removed it so your build should fail as expected. <br></div>Scarlett<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 22, 2015 at 1:00 PM, Harald Sitter <span dir="ltr"><<a href="mailto:sitter@kde.org" target="_blank">sitter@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ahoy ahoy,<br>
<br>
I have a bit of an unexpected CI outcome on <a href="http://build.kde.org" rel="noreferrer" target="_blank">build.kde.org</a>.<br>
<br>
<a href="https://build.kde.org/job/marble%20Applications-15.08%20stable-kf5-qt5/PLATFORM=Linux,compiler=gcc/15/consoleFull" rel="noreferrer" target="_blank">https://build.kde.org/job/marble%20Applications-15.08%20stable-kf5-qt5/PLATFORM=Linux,compiler=gcc/15/consoleFull</a><br>
<br>
this build has a suposedly broken commit [1]. The commit fails an<br>
assert to do with i18n types [2][3]. But, the build on <a href="http://build.kde.org" rel="noreferrer" target="_blank">build.kde.org</a><br>
does not fail, so something is going rather wrong here. Looking at<br>
ki18n the assert is only active when built without -DNDEBUG, which<br>
should be the case all Debug cmake builds. So supposedly that is not<br>
the case in that marble build there for some reason. Since building<br>
with -DNDEBUG probably disables more of these static asserts this<br>
seems like a really bad thing from a CI POV.<br>
So, it would be really good if someone could grep the installed<br>
artifacts for something setting NDEBUG (random guess: maybe Qt is<br>
built in release mode and has NDEBUG in its flags?).<br>
<br>
Also on a more general note: I think it would be handy if all builds<br>
used CMAKE_VERBOSE_MAKEFILE=TRUE to get verbose make output which<br>
would make it easier to notice when things such as -DNDEBUG are passed<br>
to gcc.<br>
<br>
[1] <a href="http://commits.kde.org/marble/5cf8f12c6351e9bad58c896d1ba2a407e6efa5b3" rel="noreferrer" target="_blank">http://commits.kde.org/marble/5cf8f12c6351e9bad58c896d1ba2a407e6efa5b3</a><br>
[2] <a href="http://paste.ubuntu.com/12520348/" rel="noreferrer" target="_blank">http://paste.ubuntu.com/12520348/</a><br>
[3] <a href="https://launchpadlibrarian.net/218545845/buildlog_ubuntu-wily-amd64.marble_4%3A15.08.1%2Bgit20150922.1003%2B15.10-0_BUILDING.txt.gz" rel="noreferrer" target="_blank">https://launchpadlibrarian.net/218545845/buildlog_ubuntu-wily-amd64.marble_4%3A15.08.1%2Bgit20150922.1003%2B15.10-0_BUILDING.txt.gz</a><br>
</blockquote></div><br></div>