#46567: mozjs17 @17.0.0 does not build on Tiger ---------------------------+-------------------------------- Reporter: csanchezdll@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: mozjs17 ---------------------------+-------------------------------- Already reported on #45832, but I cleaned up the report and added some references. 1. mozjs17 blacklists all gcc* compilers, so clang is the only option. But clang does not compiler on Tiger (and possibly on Leopard) at least on PPC (and probably won't as support seems to be dropped). Blacklisting all gccs is overkill. According to [https://developer.mozilla.org/en- US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation] clang is recommended if gcc fails (they do not give more information), but from [http://mail-archives.apache.org/mod_mbox/couchdb-dev/201303.mbox /%3CCAJNb-9r3PGV- igeE9MU9wTLuzomt%2Bdrn62mhku8%2Bp7vxGMXfbg%40mail.gmail.com%3E] I understand is the LLVM-backed gcc versions that fail only (that is, it can be compiled with pure gcc *or* with llvm+clang). Patch blacklists only llvm-gcc. 2. _SC_NPROCESSORS_ONLN is documented on 10.4 sysconf(3), but is not really present on unistd.h until Leopard. Patch assumes one processor in Tiger. -- Ticket URL: <https://trac.macports.org/ticket/46567> MacPorts <https://www.macports.org/> Ports system for OS X