[MacPorts] #52776: clang-3.8 upgrade to 3.8.1_4 build fails
#52776: clang-3.8 upgrade to 3.8.1_4 build fails ---------------------+-------------------------------- Reporter: murrayE | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: clang_3.8 ---------------------+-------------------------------- Upgrade clang-3.8 to 3.8.1_4 from 3.8.1_3 fails under El Capitan 10.11.6. -- Ticket URL: <https://trac.macports.org/ticket/52776> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang-3.8 upgrade to 3.8.1_4 build fails ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Changes (by mf2k): * status: new => assigned * owner: macports-tickets@… => jeremyhu * port: clang_3.8 => clang-3.8 * cc: larryv (added) Comment: In the future, please Cc the port maintainers ({{{port info --maintainers clang-3.8}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang-3.8 upgrade to 3.8.1_4 build fails ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Changes (by murrayE): * Attachment "clang-3.8_upgrade_main.log.zip" added. zipped main.log -- Ticket URL: <https://trac.macports.org/ticket/52776> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang-3.8 upgrade to 3.8.1_4 build fails ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Comment (by jeremyhu): {{{ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.8/clang-3.8/work/llvm-3.8.1.src/projects /compiler-rt/lib/builtins/em utls.c:10: :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h:423:25: error: expected parameter declarator :info:build __SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead") :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h:423:25: error: expected ')' :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h:423:24: note: to match this '(' :info:build __SWIFT_UNAVAILABLE_MSG("Use lazily initialized globals instead") :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/pthread.h:424:51: error: expected ';' after top level declarator :info:build __OSX_AVAILABLE_STARTING(__MAC_10_4, __IPHONE_2_0) :info:build ^ :info:build 3 errors generated. :info:build make[2]: *** [projects/compiler- rt/lib/builtins/CMakeFiles/clang_rt.builtins_x86_64_10.4.dir/emutls.c.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang-3.8 upgrade to 3.8.1_4 build fails ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Comment (by jeremyhu): Did you muck you your Availability.h? `__SWIFT_UNAVAILABLE_MSG` is declared in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/Availability.h -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang build fails due to __SWIFT_UNAVAILABLE_MSG used in the SDK but not defined for some reason ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang build fails due to __SWIFT_UNAVAILABLE_MSG used in the SDK but not defined for some reason ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Comment (by ken-cunningham-webuse): I believe this issue could relate to a rogue {{{ /opt/local/include/Availability.h }}} as per the mailing list discussion. If that is proven to be so, it could be closed. -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:5> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang build fails due to __SWIFT_UNAVAILABLE_MSG used in the SDK but not defined for some reason ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Comment (by jeremyhu): What's the output of `port provides /opt/local/include/Availability.h` ? -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang build fails due to __SWIFT_UNAVAILABLE_MSG used in the SDK but not defined for some reason ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Comment (by ken-cunningham-webuse): I don't have it on my system, but apparently some do -- at some point someone suggested modifying Availability.h as a fix to some issue, and at least a few people did that. They would likely be the ones having the __SWIFT_UNAVAILABLE_MSG error now, I would postulate. K -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:7> MacPorts <https://www.macports.org/> Ports system for macOS
#52776: clang build fails due to __SWIFT_UNAVAILABLE_MSG used in the SDK but not defined for some reason ------------------------+---------------------- Reporter: murrayE | Owner: jeremyhu Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.8 | ------------------------+---------------------- Comment (by ken-cunningham-webuse): here's the ticket that got that started, I believe [ticket:48471} -- Ticket URL: <https://trac.macports.org/ticket/52776#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts