<Humanoid>I'm installing guix on top of my devuan system, and I got this error when trying to install the first package: "guix package: error: build failed: while setting up the build environment: unable to make ?/? private mount: Invalid argument"
<Humanoid>I think I found the problem, "man 2 unshare" says it returns EPERM if we're in a chroot, and I do happen to be in a chroot.
<Humanoid>rerunning guix-daemon with --disable-chroot temporarily fixes the problem.
<Humanoid>But now I keep getting this annoying error: "guile: warning: failed to install locale" even though I already installed the locales package and exported GUIX_LOCPATH.
<reepca>Humanoid: It's possible the guile being used is using a different version of glibc than the one the locales are installed for, but it wouldn't make sense for guix to use a different version than the glibc-locales installed using that same guix. Did you set GUIX_LOCPATH to ~/.guix-profile/lib/locale?
<aluminum1425>or no substitute refers to the pre-built package from the server
<Humanoid>So I tried it several times, and indeed, without GUIX_LOCPATH, I get 2 errors. Setting GUIX_LOCPATH fixes the 1st error, but not the 2nd one.
<reepca>the daemon invokes "guix substitute ..." itself when first trying to get a pre-built version in case it doesn't have to do a local build. I suspect that's where the second locale error is coming from.
<jonsger>sneek_: later tell ebrasca I tested it multiple times. The problem is, powerpc64le needs gcc-6.2 to build and our bootstrap compiler is still 5.5. there is work ongoing to update gcc in the wip-gcc7 branch. efraim proposed some hack to combine the wip-gcc7 and master branch to get the bootstrap-tarballs :P
<reepca>jackhill: guix has find-files and file-name-predicate in (guix build utils) if it'd help. file-name-predicate only provides a regex on the basename, but you could copy it and just replace (basename file) with file, then replace the * with .* and you'd have something pretty close I imagine.