[MacPorts] #52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra)
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) -----------------------+-------------------------------- Reporter: r.keoni@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: rust -----------------------+-------------------------------- I upgraded last week to macOS Sierra and found that the configure stage of rust 1.11.0 never completes (infinite loop). This appears related to a known defect fixed in the 1.12 master branch, currently in beta: https://github.com/rust-lang/rust/issues/35938 . Quoting: "The 1.11.0 compiler bootstraps from the 1.10.0 compiler, which is known to fail on OSX 10.12. We've backported the fix to 1.11.0 so the compilers we ship should work, but otherwise this is an unfortunate case where 1.11.0 won't be able to bootstrap on OSX 10.12." A fix may need to wait until 1.12 exits beta, unless 1.11.0 can be bootstrapped using a 1.11.0 binary off the rust site as a stage0? -- Ticket URL: <https://trac.macports.org/ticket/52247> MacPorts <https://www.macports.org/> Ports system for macOS
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Changes (by mf2k@…): * keywords: => sierra * owner: macports-tickets@… => g5pw@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers rust}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Comment (by r.keoni@…): I did a quick and unsuccessful attempt to build using the beta channel binaries as stage0. That gets past the configure hang but would require further patching of the 1.11 sources, on the very weak assumption the #[feature] tags are redundant when using that stage0 binary. Possibly worth trying using the 1.11.0 binary eventually intended for use in building the release 1.12? Relevant changes to Portfile that I tried: {{{ set stage0(date) 2016-08-17 set stage0(version) beta }}} {{{ default {checksums-append ${stage0(distfile)} \ rmd160 c30a0c2e92bb26117270e622b0918eade050452c \ sha256 c268352695b155ff24fe3d65de163a87d32e1371698562d89461fcef6c65b438} }}} Example error in the build: {{{ :info:build error[E0554]: #[feature] may not be used on the beta release channel :info:build --> src/libcore/lib.rs:64:1 :info:build | :info:build 64 | #![feature(allow_internal_unstable)] :info:build | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :info:build }}} -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Comment (by g5pw@…): Hmm... we can * Disable 1.11 on Sierra * Move to the development version (i'm slightly against that) -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Comment (by r.keoni@…): Replying to [comment:4 g5pw@…]:
Hmm... we can
* Disable 1.11 on Sierra * Move to the development version (i'm slightly against that) * Build a corrected 1.10 compiler and host it somewhere
1.12.0 dropped late last month, making the patched 1.11.0 stage0 ready- for-consumption. I did a quick update to the Portfile to point to the new stage0 and the 1.12.0 sources, and was able to get a build out of it. Patch was removed. i386 checksums have not been updated. See attachment for the new Portfile, hopefully useful at least as a starting point. -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:5> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Comment (by g5pw@…): Thanks, r.keoni. Unfortunately 1.12 doesn't build successfully on macOS 10.11, but I'm looking into that. In future, please consider submitting a diff between the old and the improved Portfile so we can better review the changes. -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:6> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Comment (by raimue@…): The Portfile attached here does not update the checksums for i386, so the one submitted in #52469 should be preferred. I tested the patch to 1.12.0 from #52469 on Sierra, which works fine for me. -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52247: rust 1.11.0 build hangs indefinitely on macos 10.12 (Sierra) ------------------------+-------------------- Reporter: r.keoni@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: rust | ------------------------+-------------------- Comment (by r.keoni@…): Replying to [comment:6 g5pw@…]:
Thanks, r.keoni. Unfortunately 1.12 doesn't build successfully on macOS 10.11, but I'm looking into that. In future, please consider submitting a diff between the old and the improved Portfile so we can better review the changes. Did you test it on Sierra?
Yes, I built on Sierra and was able to successfully do some basic compilation. I'll look at trying the patch from #52469 some time today. -- Ticket URL: <https://trac.macports.org/ticket/52247#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts