https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412016-11-25T12:31:56Zlighty labsLighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106362016-11-25T12:31:56Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Need Feedback</i></li></ul><p><a class="user active user-mention" href="https://redmine.lighttpd.net/users/7027">@ryandesign</a>, I hardly think that each undefined symbol is worthy of a new ticket. Please reopen an existing (recent) bug report, or post to that (recent) bug report, instead of filing a new ticket.</p>
<p>I compiled lighttpd on Mac OS X 10.11.6 and both arc4random and arc4random_buf are defined. autotools detect and define HAVE_ARC4RANDOM in config.h, and 'man arc4random' documents arc4random() and arc4random_buf().</p>
<p>What version of Mac OS X are you running, and why are you unable to perform the (free) upgrade? With Mac OS X Sierra (10.12.1), some devices -- including the 2007 iMac that I occassionally pull out to test with -- won't be able to upgrade to 10.12.1, but the machine was still able to upgrade to 10.11.6.</p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106372016-11-25T12:36:55Zryandesign
<ul></ul><p>I open a new ticket for each new issue. If there is a previous ticket that covers this issue, I would be happy to continue the conversation in that issue, but I did not find such an issue.</p>
<p>This issue occurs on Mac OS X 10.6 Snow Leopard. It does not occur on OS X 10.7 Lion or later.</p>
<p>I am a manager of the MacPorts project and the maintainer of the lighttpd port there. We have an automated build system that attempts to build each port on each version of macOS. That's where I discovered that it does not build on 10.6 and why I am reporting it to you. This is a regression from 1.4.41 which did build on 10.6, so I would think you would be interested in regressions as well. There are some Macs that cannot be upgraded past 10.6 so we try to provide best-effort support for older systems.</p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106382016-11-25T13:26:56Zgstrauss
<ul><li><strong>Subject</strong> changed from <i>Undefined symbols: _arc4random_buf</i> to <i>Mac OS X build issue Undefined symbols</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul><blockquote>
<p>I open a new ticket for each new issue. If there is a previous ticket that covers this issue, I would be happy to continue the conversation in that issue, but I did not find such an issue.</p>
</blockquote>
<p>"Build issue on Mac OS X for current lighttpd release" are all related. If you did not find such a ticket, then that is because you filed a ticket for each symbol, which is what I am asking you not to do.</p>
<blockquote>
<p>There are some Macs that cannot be upgraded past 10.6 so we try to provide best-effort support for older systems.</p>
</blockquote>
<p>Fewer than 5 minutes on a search engine suggests otherwise:</p>
<p><a class="external" href="http://www.zdnet.com/article/upgrading-os-x-on-older-macs/">http://www.zdnet.com/article/upgrading-os-x-on-older-macs/</a><br /><a class="external" href="http://tidbits.com/article/13498">http://tidbits.com/article/13498</a></p>
<blockquote>
<p>This is a regression from 1.4.41 which did build on 10.6, so I would think you would be interested in regressions as well.</p>
</blockquote>
<p>Within reason, yes, I am interested. However, for machines > 10 years old and for which an upgrade path exists, I have a greater concern with the operating system bugs and security issues running an end-of-lifed operating system (no longer receiving security updates), which, in particular, includes aging SSL software. Unmaintained operating systems connected to the internet are an increasing source of problems. You are not doing your users a service by neglecting to push good software maintenance hygiene for the software upon which lighttpd depends, including the operating system. I would suggest that it would be a good idea if MacPorts had an end-of-life policy, too, even if some effort was made to provide fixes for ancient hardware beyond the end-of-life.</p>
<p>Here's a Feb 2014 article about Apple no longer providing security fixes for 10.6, which noted (at the time it was written):<br /><pre>
"With Snow Leopard's retirement, 1 in 5 Macs are running an operating system that could be compromised because of unpatched vulnerabilities."
</pre><br /><a class="external" href="http://www.computerworld.com/article/2487996/malware-vulnerabilities/apple-retires-snow-leopard-from-support--leaves-1-in-5-macs-vulnerable-to-at.html">http://www.computerworld.com/article/2487996/malware-vulnerabilities/apple-retires-snow-leopard-from-support--leaves-1-in-5-macs-vulnerable-to-at.html</a></p>
<p>Here is some extra info from Apple regarding hardware:<br />Vintage and obsolete products<br /><a class="external" href="https://support.apple.com/en-us/HT201624">https://support.apple.com/en-us/HT201624</a></p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106392016-11-25T13:33:02Zryandesign
<ul></ul><p>I don't have anything further to add. I've reported the bug to you; you can decide how you want to address it.</p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106402016-11-25T13:43:37Zgstrauss
<ul></ul><p>Some more security-related links for your Mac OS X users:</p>
<p>Apple security updates<br /><a class="external" href="https://support.apple.com/en-us/HT201222">https://support.apple.com/en-us/HT201222</a></p>
<p>What are Apple's Update and End-Of-Life policies in 2015?<br /><a class="external" href="http://apple.stackexchange.com/questions/212064/what-are-apples-update-and-end-of-life-policies-in-2015">http://apple.stackexchange.com/questions/212064/what-are-apples-update-and-end-of-life-policies-in-2015</a></p>
<p>(Hidden Backdoor with Root) bug in 10.9 and earlier that is not fixed:<br /><a class="external" href="http://apple.stackexchange.com/questions/180396/how-to-mitigate-cve-2015-1130-hidden-backdoor-with-root-due-to-lack-of-apple-s">http://apple.stackexchange.com/questions/180396/how-to-mitigate-cve-2015-1130-hidden-backdoor-with-root-due-to-lack-of-apple-s</a></p>
<p>Where can I find an end of life schedule for Mac OS's?<br /><a class="external" href="https://discussions.apple.com/thread/2649128?start=0">https://discussions.apple.com/thread/2649128?start=0</a></p>
<p>.</p>
<p>Here's some more detailed info about upgrading Mac OS X from various versions:</p>
<p>Macs and Software that will run with Snow Leopard (Mac OS X 10.6.x) <br /><a class="external" href="https://discussions.apple.com/docs/DOC-2455">https://discussions.apple.com/docs/DOC-2455</a><br />Upgrading to 10.7 and above, don't forget Rosetta!<br /><a class="external" href="https://discussions.apple.com/docs/DOC-6271">https://discussions.apple.com/docs/DOC-6271</a></p>
<p><a class="external" href="http://www.gottabemobile.com/2016/03/02/os-x-el-capitan-on-older-mac/">http://www.gottabemobile.com/2016/03/02/os-x-el-capitan-on-older-mac/</a></p>
<p>.</p>
<blockquote>
<p>I don't have anything further to add. I've reported the bug to you; you can decide how you want to address it.</p>
</blockquote>
<p>I have addressed this "bug" in my posts above and will leave this ticket open a few more days in case you'd like to add anything.</p>
<p>[edited to add link for "Upgrading to 10.7 and above"]</p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106412016-11-25T13:47:20Zryandesign
<ul></ul><p>I don't require your links. I'm aware that Snow Leopard is old. There are some old Macs that cannot upgrade past 10.4 or 10.5 (PowerPC Macs) or 10.6 (32-bit Intel Macs). lighttpd used to build on Snow Leopard, and now does not. If you don't wish to correct that problem, that's up to you. I was just extending you a courtesy by reporting that problem to you.</p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106422016-11-25T14:44:30Zryandesign
<ul></ul><p>You already have an alternate implementation that is used when <code>arc4random</code> is not available. I was able to work around the problem on 10.6 and use that alternate implementation by passing the configure argument <code>ac_cv_func_arc4random=no</code>. The simplest solution might be to change your configure script: test for the existence of <code>arc4random_buf</code> instead of <code>arc4random</code>.</p> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106442016-11-28T17:42:47Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Need Feedback</i> to <i>Patch Pending</i></li><li><strong>Target version</strong> changed from <i>1.4.x</i> to <i>1.4.44</i></li></ul> Lighttpd - Bug #2773: Mac OS X build issue Undefined symbolshttps://redmine.lighttpd.net/issues/2773?journal_id=106462016-11-28T17:50:05Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="[core] compile fix for Mac OS X 10.6 (old) (fixes #2773) Mac OS X 10.7 Lion introduces arc4rando..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/df61f19daf08de1e7baa88cfb01ec215bc18da10">df61f19daf08de1e7baa88cfb01ec215bc18da10</a>.</p>