<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Failed to build Qt5 alpha on Gentoo x86_64]]></title><description><![CDATA[<p dir="auto">Here is build log: <a href="http://pastebin.com/39hZUL3R" target="_blank" rel="noopener noreferrer nofollow ugc">http://pastebin.com/39hZUL3R</a></p>
<p dir="auto">Also it create empty folder <em>/media/data/Additional/Sources/bin</em><br />
and <em>/media/data/Additionals</em> folder, which contains <a href="http://pastebin.com/CPeAJZJ0" target="_blank" rel="noopener noreferrer nofollow ugc">http://pastebin.com/CPeAJZJ0</a></p>
<p dir="auto">How can I fix the build.</p>
]]></description><link>https://forum.qt.io/topic/15672/failed-to-build-qt5-alpha-on-gentoo-x86_64</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 18:34:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/15672.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Apr 2012 10:33:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Failed to build Qt5 alpha on Gentoo x86_64 on Mon, 09 Apr 2012 19:53:09 GMT]]></title><description><![CDATA[<p dir="auto">[quote author="momesana" date="1333992643"]<br />
from the root directory of the qt sources:<br />
make module-qtwebkit or make -j &lt;x&gt; module-qtwebkit with &lt;x&gt; being the number of your cpu cores + 1 and tell me what results it yields.[/quote]<br />
Exactly the same.</p>
]]></description><link>https://forum.qt.io/post/135130</link><guid isPermaLink="true">https://forum.qt.io/post/135130</guid><dc:creator><![CDATA[RazrFalcon]]></dc:creator><pubDate>Mon, 09 Apr 2012 19:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to build Qt5 alpha on Gentoo x86_64 on Mon, 09 Apr 2012 17:30:43 GMT]]></title><description><![CDATA[<p dir="auto">Hm. I had the same issue and I solved it somehow (I am also using gentoo on a x86_64 system). Let's try building qtwebkit explicitly: do the following:<br />
from the root directory of the qt sources:<br />
make module-qtwebkit or make -j &lt;x&gt; module-qtwebkit with &lt;x&gt; being the number of your cpu cores + 1 and tell me what results it yields.</p>
<p dir="auto">p.s. I also had to rename the qtwebkit demo/examples directory (qtwebkit-examples-and-demos) before qt could be built (it couldn't find the qtwebkit headers and failed to build. On the other hand it's not a critical module so we don't really need it and can skip it).</p>
]]></description><link>https://forum.qt.io/post/135102</link><guid isPermaLink="true">https://forum.qt.io/post/135102</guid><dc:creator><![CDATA[momesana]]></dc:creator><pubDate>Mon, 09 Apr 2012 17:30:43 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to build Qt5 alpha on Gentoo x86_64 on Mon, 09 Apr 2012 11:46:07 GMT]]></title><description><![CDATA[<p dir="auto">It help, but i get another error:<br />
<a href="http://pastebin.com/HBivAY0Y" target="_blank" rel="noopener noreferrer nofollow ugc">http://pastebin.com/HBivAY0Y</a></p>
<p dir="auto">bq. You may try computing dependencies manually by running 'make qmake' in:</p>
<p dir="auto">didn't help</p>
<p dir="auto">bq. or passing --makeargs="qmake" to build-webkit.</p>
<p dir="auto">didn't help</p>
]]></description><link>https://forum.qt.io/post/135066</link><guid isPermaLink="true">https://forum.qt.io/post/135066</guid><dc:creator><![CDATA[RazrFalcon]]></dc:creator><pubDate>Mon, 09 Apr 2012 11:46:07 GMT</pubDate></item><item><title><![CDATA[Reply to Failed to build Qt5 alpha on Gentoo x86_64 on Fri, 06 Apr 2012 22:44:38 GMT]]></title><description><![CDATA[<p dir="auto">This section tells you everything there is to know:</p>
<p dir="auto">cc1plus: warnings being treated as errors<br />
./compiler/glslang_lex.cpp: In function ‘int yylex(YYSTYPE*, void*)’:<br />
./compiler/glslang_lex.cpp:1713:5: error: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result</p>
<p dir="auto">You must remove the -Werror flag from GCC or even better fix the line of code where the return value of the fwrite is not stored/evaluated. It's a macro that defines "ECHO". It should ideally be extended to evaluate the return value of fwrite and emit an error message if writing was not successfull.</p>
<p dir="auto">As a very ugly workaround you could try something like changing:<br />
#define ECHO fwrite( yytext, yyleng, 1, yyout )<br />
to<br />
#define ECHO if (fwrite( yytext, yyleng, 1, yyout )) {}</p>
]]></description><link>https://forum.qt.io/post/134900</link><guid isPermaLink="true">https://forum.qt.io/post/134900</guid><dc:creator><![CDATA[momesana]]></dc:creator><pubDate>Fri, 06 Apr 2012 22:44:38 GMT</pubDate></item></channel></rss>