You are not logged in.

#1 2018-01-11 23:44:14

r.ill
Member
Registered: 2018-01-11
Posts: 8

[SOLVED] Problem Building Certain Packages

Hello all,

I first want to thank you for your time and for any assistance you all may be able to provide.

I am not new to Linux (Ubuntu) but I am a recent adopter of Arch Linux. This is the second time I have built it from source and am starting to become pretty familiar with the ins and outs of the distro and working in the CLI, but still have not come close to optimizing my system. So far I have not had any issues getting things arranged the way I want them until now. Currently, I am trying to install conky-lua and am receiving the following error during the build.

Can't fix broken locale name "en_US.UTF=8".
make[2]: *** [doc/CMakeFiles/docs.dir/build.make:62: doc/docs.html] Error 29
make[2]: *** Deleting file 'doc/docs.html'
make[1]: *** [CMakeFiles/Makefile2:469: doc/CMakeFiles/docs.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build conky-lua.
==> Restart building conky-lua ? [y/N]
==> ----------------------------------

I have also received the same error while attempting to install compiz and while attempting to build KiCAD from source. the KiCAD build was the first to throw it and the biggest disappointment as I had waited for 90 minutes while it built various packages before throwing this error and scrapping the build. I have tried to Google "Error 29" and "Error 2" and found a few results but nothing that has pointed me in the right direction. I have been fighting with this for the past 3 days or so trying different approaches and rechecking installations. I am at a loss.

*EDIT: I have been able to successfully build packages from GIT, but when it comes to utilizing Yaourt/ Pacman not so much...

Ideas?

Kindest Regards,
R.iLL

Last edited by r.ill (2018-01-12 00:11:46)

Offline

#2 2018-01-11 23:47:01

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

Re: [SOLVED] Problem Building Certain Packages

Welcome to the arch linux forums r.ill.  en_US.UTF=8 is not en_US.UTF-8

Offline

#3 2018-01-11 23:48:25

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Problem Building Certain Packages

Welcome to the forums r.ill smile

Do you have the en_US.UTF-8 locale built on your system?

grep -v "^#" /etc/locale.conf

Last edited by Slithery (2018-01-11 23:52:46)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2018-01-11 23:49:48

r.ill
Member
Registered: 2018-01-11
Posts: 8

Re: [SOLVED] Problem Building Certain Packages

Hey thanks for the quick reply loqs!

I looked into that as well and that is how it was set from the original build from source, I simply uncommented it. I should amend this line correct?

Offline

#5 2018-01-11 23:51:06

EmilyShepherd
Member
From: Bucks, UK
Registered: 2016-03-20
Posts: 45
Website

Re: [SOLVED] Problem Building Certain Packages

Hmm, `en_US.UTF=8` isn't a valid locale. If I had to guess, this might be a typo of `en_US.UTF-8` (note the hyphen instead of the equals). Can you check what you have in your `/etc/locale.conf` file? smile

Offline

#6 2018-01-11 23:52:12

r.ill
Member
Registered: 2018-01-11
Posts: 8

Re: [SOLVED] Problem Building Certain Packages

Thank you, Slithery,

This is the output.

archlinux% grep -v "^#" /etc/locale.conf
LANG=en_US.UTF=8

Offline

#7 2018-01-11 23:54:24

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Problem Building Certain Packages

As loqs pointed out that's a typo, it should be...

LANG=en_US.UTF-8

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2018-01-11 23:55:05

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

Re: [SOLVED] Problem Building Certain Packages

r.ill wrote:

I looked into that as well and that is how it was set from the original build from source, I simply uncommented it. I should amend this line correct?

Which original source? /etc/locale.conf is user created not provided by any package and for /etc/locale.gen see below

$ grep en_US etc/locale.gen 
#  en_US ISO-8859-1
#  en_US.UTF-8 UTF-8
#en_US.UTF-8 UTF-8  
#en_US ISO-8859-1

I would suggest rereading Locale#Generating_locales

Offline

#9 2018-01-11 23:55:23

r.ill
Member
Registered: 2018-01-11
Posts: 8

Re: [SOLVED] Problem Building Certain Packages

I have amended the line to be hyphenated instead of a "=" sign in my locale.conf gonna run a quick update and reboot and see if it has made a change.

Thank you all.

Offline

#10 2018-01-12 00:00:12

r.ill
Member
Registered: 2018-01-11
Posts: 8

Re: [SOLVED] Problem Building Certain Packages

Hey loqs,

It is possible that I may have done something wrong during the initial build. I do not remember the exact command but there was a list of locales that was generated where I uncommented the "appropriate" locale; however, looking back over the page you have linked I do not remember running the command to generate such. It was late, and I hadn't had much sleep. Lol.

Offline

#11 2018-01-12 00:10:21

r.ill
Member
Registered: 2018-01-11
Posts: 8

Re: [SOLVED] Problem Building Certain Packages

Thank you all!

Simple mistakes can make a world of difference!

It has successfully installed.

Offline

Board footer

Powered by FluxBB