Distfiles from this host are downloaded even with `binary` USE flag disabled. Curious: how does this ghc ebuild hackery works, with binary distfiles URLs being present only in comments inside the ebuild? # USE=-binary emerge --nodeps --fetchonly -1 ghc >>> Fetching (1 of 1) dev-lang/ghc-8.6.5::haskell !!! Failed to set new SELinux execution context. Is your current SELinux context allowed to run Portage? * ghc-8.6.5-src.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Downloading 'http://distfiles.gentoo.org/distfiles/ghc-bin-8.6.5-x86_64-pc-linux-gnu.tbz2' !!! Failed to set new SELinux execution context. Is your current SELinux context allowed to run Portage? --2019-07-11 09:49:46-- http://distfiles.gentoo.org/distfiles/ghc-bin-8.6.5-x86_64-pc-linux-gnu.tbz2 Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.233.100, 140.211.166.134, ... Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2019-07-11 09:49:46 ERROR 404: Not Found. >>> Downloading 'https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-8.6.5-x86_64-pc-linux-gnu.tbz2' !!! Failed to set new SELinux execution context. Is your current SELinux context allowed to run Portage? --2019-07-11 09:49:47-- https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-8.6.5-x86_64-pc-linux-gnu.tbz2 Resolving slyfox.uni.cx... 81.147.8.7, 2001:470:1f1c:a0f::2 Connecting to slyfox.uni.cx|81.147.8.7|:443... ^C
(In reply to Andrey Utkin from comment #0) > Distfiles from this host are downloaded even with `binary` USE flag disabled. It is by design as not all host ghc versions can bootstrap a particular version. To use host's ghc you can use USE=ghcbootstrap. > Curious: how does this ghc ebuild hackery works, with binary distfiles URLs > being present only in comments inside the ebuild? They are not comments for x86 and amd64: arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )" [[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )" > # USE=-binary emerge --nodeps --fetchonly -1 ghc > ... > >>> Downloading 'https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-8.6.5-x86_64-pc-linux-gnu.tbz2' > !!! Failed to set new SELinux execution context. Is your current SELinux > context allowed to run Portage? > --2019-07-11 09:49:47-- > https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-8.6.5-x86_64-pc-linux-gnu. > tbz2 > Resolving slyfox.uni.cx... 81.147.8.7, 2001:470:1f1c:a0f::2 > Connecting to slyfox.uni.cx|81.147.8.7|:443... ^C Should work now. DNS registrar had a short outage delegating uni.cx properly for a while. I'll move 8.6.5 to mirrors as well.
Should we mark this ticket resolved?
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5434e5130e1cde63875406c47abda480646f22e will eventually mirror binaries onto gentoo mirrors.