https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412021-12-07T20:22:12Zlighty labsLighttpd - Bug #3120: Building on glibc 2.16 where clock_gettime() is in librt.sohttps://redmine.lighttpd.net/issues/3120?journal_id=128852021-12-07T20:22:12Zgzpapp@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/2142">src_meson.build.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2142/src_meson.build.diff">src_meson.build.diff</a> added</li></ul><p><a class="email" href="mailto:gzpapp@gmail.com">gzpapp@gmail.com</a> wrote:</p>
<blockquote>
<p>I'm trying to build 1.4.63 on glibc 2.16 where clock_gettime is in librt.so</p>
</blockquote>
<p>I think I have found the solution. Patch attached against src/meson.build, please review.</p> Lighttpd - Bug #3120: Building on glibc 2.16 where clock_gettime() is in librt.sohttps://redmine.lighttpd.net/issues/3120?journal_id=128872021-12-08T00:43:08Zgstrauss
<ul></ul><p>glibc 2.16 was released in Jun 2012. <a class="external" href="https://sourceware.org/glibc/wiki/Glibc%20Timeline">https://sourceware.org/glibc/wiki/Glibc%20Timeline</a><br />Latest glibc release is glibc 2.34.</p>
<p>FYI, the first release of meson was Mar 2013.</p>
<p>Still, I am glad that lighttpd is being updated, even if some other parts of the system are ancient.</p>
<p>Thank you for the patch.</p> Lighttpd - Bug #3120: Building on glibc 2.16 where clock_gettime() is in librt.sohttps://redmine.lighttpd.net/issues/3120?journal_id=128882021-12-08T00:49:21Zgstrauss
<ul><li><strong>Category</strong> set to <i>build_autotools</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li><li><strong>Target version</strong> changed from <i>1.4.xx</i> to <i>1.4.64</i></li></ul><blockquote>
<p>(here in redmine could be a new category "build_meson" created?)</p>
</blockquote>
<p>(probably should simply be a 'build' category)</p> Lighttpd - Bug #3120: Building on glibc 2.16 where clock_gettime() is in librt.sohttps://redmine.lighttpd.net/issues/3120?journal_id=128902021-12-08T01:15:05Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li></ul><p>Applied in changeset <a class="changeset" title="[meson] need -lrt with glibc < 2.17 (fixes #3120) (thx gzpapp at gmail dot com) x-ref: "Build..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/fae1c0519187cb263259990f7b2aa8fdbc2c374a">fae1c0519187cb263259990f7b2aa8fdbc2c374a</a>.</p> Lighttpd - Bug #3120: Building on glibc 2.16 where clock_gettime() is in librt.sohttps://redmine.lighttpd.net/issues/3120?journal_id=130952022-01-28T15:16:44Zgzpapp@gmail.com
<ul></ul><p>gstrauss wrote in <a href="#note-4">#note-4</a>:</p>
<blockquote>
<p>Applied in changeset <a class="changeset" title="[meson] need -lrt with glibc < 2.17 (fixes #3120) (thx gzpapp at gmail dot com) x-ref: "Build..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/fae1c0519187cb263259990f7b2aa8fdbc2c374a">fae1c0519187cb263259990f7b2aa8fdbc2c374a</a>.</p>
</blockquote>
<p>Sorry for the delay, redmine messages landed in the spam folder.</p>
<p>The patch fixes the build problem.</p>