<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Webkitgtk+ 2.12.1: Build Failure on slackware box: PRId64 not defined"
href="https://bugs.webkit.org/show_bug.cgi?id=156596">156596</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Webkitgtk+ 2.12.1: Build Failure on slackware box: PRId64 not defined
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Misc.
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>David.Ronis@McGill.CA
</td>
</tr></table>
<p>
<div>
<pre>I'm trying to upgrade webkitgtk+ 2.12.1 on a Slackware 64 bit box. The build dies (the log follows) having not found a definition for PRId64. Grep shows several files in my include path
that contain the definition, and if I manually set it, the problem goes away. Not surprisingly, the problem doesn't arise on my 32 bit machines.
Here's the log.
[ 54%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/network/ParsedContentRange.cpp.o
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp: In member function ‘WTF::String WebCore::ParsedContentRange::headerValue() const’:
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp:133:41: error: expected ‘)’ before ‘PRId64’
return String::format("bytes %" PRId64 "-%" PRId64 "/*", m_firstBytePosition, m_lastBytePosition);
^
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp:133:105: warning: spurious trailing ‘%’ in format [-Wformat=]
return String::format("bytes %" PRId64 "-%" PRId64 "/*", m_firstBytePosition, m_lastBytePosition);
^
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp:133:105: warning: too many arguments for format [-Wformat-extra-args]
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp:134:37: error: expected ‘)’ before ‘PRId64’
return String::format("bytes %" PRId64 "-%" PRId64 "/%" PRId64, m_firstBytePosition, m_lastBytePosition, m_instanceLength);
^
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp:134:126: warning: spurious trailing ‘%’ in format [-Wformat=]
return String::format("bytes %" PRId64 "-%" PRId64 "/%" PRId64, m_firstBytePosition, m_lastBytePosition, m_instanceLength);
^
/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/Source/WebCore/platform/network/ParsedContentRange.cpp:134:126: warning: too many arguments for format [-Wformat-extra-args]
make[3]: *** [Source/WebCore/CMakeFiles/WebCore.dir/platform/network/ParsedContentRange.cpp.o] Error 1
make[3]: Leaving directory `/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/build'
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make[2]: Leaving directory `/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ronis/Project/notar/GNOME/garnome/platform/webkitgtk+/work/main.d/webkitgtk-2.12.1/build'
make: *** [build-work/main.d/webkitgtk-2.12.1/Makefile] Error 2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>