You are not logged in.

#1 2017-08-18 22:56:49

creek
Member
Registered: 2017-08-18
Posts: 4

[SOLVED] Help with building glibc-wsl

I've been trying to install Arch on WSL using this article, but I'm having trouble building the glibc-wsl AUR package needed.

When I try to build it with makepkg, it spews out endless text and doesn't stop.
When I tried using yaourt, I was told that locale.gen.txt was not found in the build directory and is not a URL, despite it clearly being there.

Last edited by creek (2017-08-19 00:14:25)

Offline

#2 2017-08-18 23:05:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Help with building glibc-wsl

That "endless text" is the build output, and given the package there would be a lot of it. In any event, without any output, no-one can help diagnose your issue. Paste commands and ouput:
https://bbs.archlinux.org/viewtopic.php?id=57855


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-08-18 23:14:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Help with building glibc-wsl

As an alternative, you can copy /usr/lib/locale/locale-archive from a current Arch machine to the same location in the WSL installation and it will work fine. You don't have to use glibc-wsl.

Offline

#4 2017-08-18 23:17:29

creek
Member
Registered: 2017-08-18
Posts: 4

Re: [SOLVED] Help with building glibc-wsl

I'll give the output ASAP but last I tried it went 45 min with non-stop output so I may have to cut it off eventually.

I would use the current arch glibc but the wiki article mentions glibc-wsl is needed to workaround a bug.

Offline

#5 2017-08-18 23:19:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Help with building glibc-wsl

The bug prevents the generation of locales. Copying the file works around it, too.

Offline

#6 2017-08-18 23:23:28

creek
Member
Registered: 2017-08-18
Posts: 4

Re: [SOLVED] Help with building glibc-wsl

Scimmia wrote:

The bug prevents the generation of locales. Copying the file works around it, too.

I'll give it a few more minutes and if it still doesn't work I'll try this.

Offline

#7 2017-08-18 23:54:44

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Help with building glibc-wsl

Is glibc-wsl still need?  The wiki page linked bug report indicates it is fixed in creators update which the installation section references as a requirement for using wsl.

Online

#8 2017-08-18 23:58:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Help with building glibc-wsl

It is. Creators Update added a lot, specifically chroot support which makes Arch support possible/simple, but it didn't fix whatever it is that's causing locale generation to fail.

Offline

#9 2017-08-19 00:12:52

creek
Member
Registered: 2017-08-18
Posts: 4

Re: [SOLVED] Help with building glibc-wsl

Ok copying it from my current installation worked.

Thank you all.

Offline

Board footer

Powered by FluxBB