Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo x86, ksh doesn't installs...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bigbanana69
Apprentice
Apprentice


Joined: 10 Jul 2017
Posts: 169
Location: Moscow

PostPosted: Sun Mar 17, 2019 6:56 am    Post subject: gentoo x86, ksh doesn't installs... Reply with quote

Hi,

I'm trying to install ksh on gentoo x86. Here's the output:

Code:
emerge --info '=app-shells/ksh-93.20140625::gentoo'

http://dpaste.com/16KMTKN


Code:
emerge -pqv '-app-shells/ksh-93.20140625::gentoo'

http://dpaste.com/2FFK5TM


/var/tmp/portage/app-shells/ksh-93.20140625/temp/build.log
https://ufile.io/j05j0

/var/tmp/portage/app-shells/ksh-93.20140625/temp/environment

/var/tmp/portage/app-shells/ksh-93.20140625/work

/var/tmp/portage/app-shells/ksh-93.20140625/work
_________________
You are not using computers if you are not using Gentoo UNIX.
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 483

PostPosted: Sun Mar 17, 2019 7:59 am    Post subject: Reply with quote

looks like this might be a bug that was fixed already in new versions of ksh, but is in old versions, (maybe this bug? which might really be this bug) , in the meantime for it to build right now without waiting for an official fix for the stable version two options, try grabbing the latest ("unstable/testing") version by adding it to package.accept_keywords, or put the fix commit into /etc/portage/patches/app-shells/ksh-93.20140625/ (name the patch itself whatever you want, more info on doing custom patches like this)
Back to top
View user's profile Send private message
bigbanana69
Apprentice
Apprentice


Joined: 10 Jul 2017
Posts: 169
Location: Moscow

PostPosted: Sun Mar 17, 2019 8:09 am    Post subject: Reply with quote

It would be nice if there's also UTF-8 support in ksh.
_________________
You are not using computers if you are not using Gentoo UNIX.
Back to top
View user's profile Send private message
bigbanana69
Apprentice
Apprentice


Joined: 10 Jul 2017
Posts: 169
Location: Moscow

PostPosted: Mon Apr 15, 2019 8:12 am    Post subject: Reply with quote

g2g591 wrote:
try grabbing the latest ("unstable/testing") version by adding it to package.accept_keywords


what should I put to /etc/portage/package.accept_keywords

Code:
app-shells/ksh latest


?
_________________
You are not using computers if you are not using Gentoo UNIX.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Mon Apr 15, 2019 9:56 am    Post subject: Reply with quote

See wiki page https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords
Code:
=app-shells/ksh-93.20180331 ~amd64

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bigbanana69
Apprentice
Apprentice


Joined: 10 Jul 2017
Posts: 169
Location: Moscow

PostPosted: Mon Apr 15, 2019 12:58 pm    Post subject: Reply with quote

Excuse me, -amd64 in accept_keywords means -amd64 (minus) right, like in package.use? Because I'm on Gentoo x86.

And how do I find out the correct names for the latest packages in gentoo repository like ksh-93.20180331?

emerge --ask app-shells/ksh-93.20180331

and emerge --ask app-shells/ksh returns with
Invalid atom in /etc/portage/package.accept_keywords: app-shells/ksh-93.20180331
_________________
You are not using computers if you are not using Gentoo UNIX.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Mon Apr 15, 2019 1:18 pm    Post subject: Reply with quote

bigbanana69 wrote:
Excuse me, -amd64 in accept_keywords means -amd64 (minus) right, like in package.use? Because I'm on Gentoo x86.

In this case change ~amd64 to ~x86.

bigbanana69 wrote:
And how do I find out the correct names for the latest packages in gentoo repository like ksh-93.20180331?

emerge --ask app-shells/ksh-93.20180331

You can use equery keywords app-shells/ksh, but I prefer eix for searching packages

bigbanana69 wrote:
and emerge --ask app-shells/ksh returns with
Invalid atom in /etc/portage/package.accept_keywords: app-shells/ksh-93.20180331

If you specify the version, you shoud add if equal, lesser than or greater than
Code:
=app-shells/ksh-93.20180331 ~x86

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bigbanana69
Apprentice
Apprentice


Joined: 10 Jul 2017
Posts: 169
Location: Moscow

PostPosted: Mon Apr 15, 2019 2:50 pm    Post subject: Reply with quote

This did the job for me:

fedeliallalinea wrote:

If you specify the version, you shoud add if equal, lesser than or greater than
Code:
=app-shells/ksh-93.20180331 ~x86


I tried 'emerge --search ksh'
but it outputted only ksh-93.2014

I also installed app-portage/gentoolkit.

I tried then 'equery keywords app-shells/ksh'

which listed the latest versions of ksh.

Btw "eselect sh list" shows only bash after installing ksh.
Also chsh shows only /bin/bash

Thanks,
_________________
You are not using computers if you are not using Gentoo UNIX.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Tue Apr 16, 2019 1:41 am    Post subject: Reply with quote

bigbanana69 wrote:
Excuse me, -amd64 in accept_keywords means -amd64 (minus) right, like in package.use? Because I'm on Gentoo x86.
Omit the architecture specifier. A line with only an atom implies testing for the current architecture.

That was a ~ in the post before you, not a -.
Back to top
View user's profile Send private message
bigbanana69
Apprentice
Apprentice


Joined: 10 Jul 2017
Posts: 169
Location: Moscow

PostPosted: Tue Apr 16, 2019 3:58 am    Post subject: Reply with quote

I'm thinking that ksh maybe isn't shown because I had previously tried to install it from git with meson, which didn't showed ksh in the list.
_________________
You are not using computers if you are not using Gentoo UNIX.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum