Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
overlays? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Tue Nov 19, 2019 7:48 am    Post subject: overlays? [SOLVED] Reply with quote

Hello Gentoo people,

rpi4, 64-bit
I installed layman
Code:
# layman --version
2.4.2
# cat /etc/layman/layman.cfg | grep conf_type
# Yes. If yes, it requires at least one conf_type to be set.
conf_type : repos.conf
# ls /etc/portage/repos.conf/
total 16K
-rw-r--r-- 1 root root 251 Aug 15 19:20 genpi64.conf
-rw-r--r-- 1 root root 204 Sep 20  2018 gentoo.conf
-rw-r--r-- 1 root root  91 Nov 18 20:17 layman.conf
-rw-r--r-- 1 root root 247 Jan 14  2017 sakaki-tools.conf

as per gento wiki layman, my version of layman dictates
Code:
layman-updater -R

and i am set to go. I went with pentoo, since I am at that stage of pri experiance.

Code:
# cat /etc/portage/repos.conf/layman.conf
[pentoo]
priority = 50
location = /var/lib/layman/pentoo
layman-type = git
auto-sync = No

then I eix-sync, and eix finds nothing from pentoo.
so i update (but i understand that is done already with eix-sync)
Code:
|--------------->
~/# eix-update
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[0] "gentoo" /usr/portage (cache: metadata-md5-or-flat)
     Reading category 171|171 (100) Finished             
[1] "pentoo" /var/lib/layman/pentoo (cache: assign)
     Reading category 171|171 (100) Finished       
[2] "sakaki-tools" /usr/local/portage/sakaki-tools (cache: assign)
     Reading category 171|171 (100) Finished       
[3] "genpi64" /usr/local/portage/genpi64 (cache: assign)
     Reading category 171|171 (100) Finished             
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19444 packages in 171 categories

and it takes several seconds to "fill" [0] "gentoo",
but rest (pentoo, sakaki-ootls and genpi64) are done in a blink.
Code:
/# eix pentoo
* media-gfx/opentoonz
     Available versions:  (~*)1.1.2 (~*)1.2.1-r1 (~*)1.3.0 (~*)1.3.0-r1
     Homepage:            https://github.com/opentoonz/opentoonz
     Description:         An open-source full-featured 2D animation creation software

aha, I disabled auto-update-script provided by lite img handbook, if that matters.
also, during the installation, i went wild, let me tell you, and i put
Code:
ACCEPT_KEYWORDS="* ~*"

in make.conf file.

At the moment i have 2 ideas, to change no to yes in /etc/portage/repos.conf/layman.conf file,
or go with 2nd type if installing layman, which my version provides,
but first, is there anything in this config-set that i can do?
(does layman even work, i mean there are already overlays, if i understand correctly, and i was surprised when i had to emerge layman)

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass


Last edited by while true on Sun Nov 24, 2019 1:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3685

PostPosted: Tue Nov 19, 2019 9:07 am    Post subject: Reply with quote

Code:
su -c "emerge -avt app-eselect/eselect-repository"
su -c "eselect repository enable pentoo"
su -c eix-sync
eix -O pentoo
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Tue Nov 19, 2019 9:33 am    Post subject: Reply with quote

Hello charles17, here we go:
Code:
eix eselect-repository
* app-eselect/eselect-repository
     Available versions:  7 **9999*l {PYTHON_SINGLE_TARGET="python3_5 python3_6 python3_7" PYTHON_TARGETS="python3_5 python3_6 python3_7"}
     Homepage:            https://github.com/mgorny/eselect-repository
     Description:         Manage repos.conf via eselect


# su -c "emerge -avt app-eselect/eselect-repository"

Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-repository-7::gentoo  PYTHON_SINGLE_TARGET="python3_6 -python3_5 -python3_7" PYTHON_TARGETS="python3_5 python3_6 python3_7" 7 KiB
[binary  N     ]  dev-python/lxml-4.4.1::gentoo  USE="threads -doc -examples -test" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7 (-pypy)" 6,129 KiB

Total: 2 packages (2 new, 1 binary), Size of downloads: 6,136 KiB

Would you like to merge these packages? [Yes/No]
...
...
>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
|--------------->
~/# su -c "eselect repository enable pentoo"
--2019-11-19 10:20:52--  https://qa-reports.gentoo.org/output/repos/repositories.xml
Resolving qa-reports.gentoo.org... 140.211.166.190, 2001:470:ea4a:1:230:48ff:fef8:9fdc
Connecting to qa-reports.gentoo.org|140.211.166.190|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 283642 (277K) [application/xml]
Saving to: ‘/root/.cache/eselect-repo/repositories.xml’

repositories.xml         100%[===============================>] 276.99K   332KB/s    in 0.8s   

2019-11-19 10:20:54 (332 KB/s) - ‘/root/.cache/eselect-repo/repositories.xml’ saved [283642/283642]

error: pentoo: repository already enabled, in /var/lib/layman/pentoo
|--------------->
~/# su -c eix-sync
 * Syncing all portage overlays

 * Fetching remote list...
/usr/bin/eix-sync: line 390:  4846 Segmentation fault      "$@"
 * layman -S failed
 * Running emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                                            [ ok ]
>>> Starting rsync with rsync://isshoni.org/gentoo-portage-pi64-gem...
>>> Checking server timestamp ...
receiving incremental file list
timestamp.chk

Number of files: 1 (reg: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 41
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 104
Total bytes received: 127

sent 104 bytes  received 127 bytes  92.40 bytes/sec
total size is 32  speedup is 0.14

>>>
>>> Timestamps on the server and in the local repository are the same.
>>> Cancelling all further sync action. You are already up to date.
>>>
>>> In order to force sync, remove '/usr/portage/metadata/timestamp.chk'.
>>>

 * Manifest timestamp: 2019-11-06 00:38:49 UTC
 * Valid OpenPGP signature found:
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2019-11-06 00:38:49 UTC
=== Sync completed for gentoo
>>> Syncing repository 'genpi64' into '/usr/local/portage/genpi64'...
/usr/bin/git fetch origin
Already up to date.
=== Sync completed for genpi64
>>> Syncing repository 'sakaki-tools' into '/usr/local/portage/sakaki-tools'...
/usr/bin/git fetch origin
Already up to date.
=== Sync completed for sakaki-tools

Action: sync for repo: gentoo, returned code = 0
Action: sync for repo: genpi64, returned code = 0
Action: sync for repo: sakaki-tools, returned code = 0


 * Main gentoo tree does not appear to have changed: exiting
 * Use -a or set have_changed=: in a ! hook to override this check
 * Time statistics:
    12 seconds for syncing
    15 seconds total
|--------------->
~/# eix -O pentoo
No matches found
|--------------->
~/#


thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54578
Location: 56N 3W

PostPosted: Tue Nov 19, 2019 9:37 am    Post subject: Reply with quote

while true,

Code:
ACCEPT_KEYWORDS="* ~*"
This will let you install things that are known to be broken or even useless on arm64.

Code:
ACCEPT_KEYWORDS="~arm64"
is safer. You will get a keyword error when you are first to try a package.
Then you can keyword it, keyword its dependencies and if it works, file a github pull request.
That way Gentoo arm64 users get the benefit of your work.

It helps us in other ways too. You won't post requests for help with things that will never work on arm64 without telling that you keyworded the package.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3685

PostPosted: Tue Nov 19, 2019 9:51 am    Post subject: Reply with quote

while true wrote:
and i am set to go. I went with pentoo, since I am at that stage of pri experiance.

Code:
# cat /etc/portage/repos.conf/layman.conf
[pentoo]
priority = 50
location = /var/lib/layman/pentoo
layman-type = git
auto-sync = No

while true wrote:
Hello charles17, here we go:
Code:

error: pentoo: repository already enabled, in /var/lib/layman/pentoo

How did the /var/lib/layman/pentoo file get created? What's the content?
eselect repository should work if you removed the /etc/portage/repos.conf/layman.conf file.
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Tue Nov 19, 2019 11:09 am    Post subject: Reply with quote

Hello charles17, NeddySeagoon,

Charles, /var/lib/layman/pentoo was created and populated when I layman -a pentoo, also now when I removed and added back pentoo. It had a lot of folders in.
Code:
/etc/portage/repos.conf/# mv layman.conf layman.conf.orig
|--------------->
/etc/portage/repos.conf/# layman -s pentoo

 * Fetching remote list...
 * Fetch Ok

 * Syncing selected overlay(s)...
 * Running Git... # ( cd /var/lib/layman/pentoo  && /usr/bin/git pull )
Already up to date.
 *
 * Succeeded:
 * ------
 * Successfully synchronized overlay "pentoo".
 *
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

|--------------->
/etc/portage/repos.conf/# eix-update
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[0] "gentoo" /usr/portage (cache: metadata-md5-or-flat)
     Reading category 171|171 (100) Finished             
[1] "" /usr/local/portage (cache: assign)
     Reading category 171|171 (100) EMPTY!
[2] "pentoo" /var/lib/layman/pentoo (cache: assign)
     Reading category 171|171 (100) Finished       
[3] "sakaki-tools" /usr/local/portage/sakaki-tools (cache: assign)
     Reading category 171|171 (100) Finished       
[4] "genpi64" /usr/local/portage/genpi64 (cache: assign)
     Reading category 171|171 (100) Finished             
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19444 packages in 171 categories


I also went with make.conf layman setup, but no luck...
Thank you

NeddySeagoon, hey there, ah, i see.
No, I do not understand, first things first, i changed "* ~*" to "~arm64" and emerge -uDNa @world says no, some conflict i have to lookup, resolve or ask for help.
About the rest, so when, on my AMD box, i want to emerge Abc that is ~amd64ed I add it to package.keywords file, and than Abc needs some other lib, arm or leg to work, but they are also ~amd64ed, so I add those libs, arms and legs to same file, and why not, some libs neet use flag to be changed, so i do that in package.use file...
Do I understand that right?

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 653
Location: EU

PostPosted: Thu Nov 21, 2019 7:58 pm    Post subject: Reply with quote

I use this form recently and works well:

Code:
ACCEPT_KEYWORDS="amd64 ~arm64"

_________________
Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia

My fediverse account: @erm67@erm67.dynu.net
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Fri Nov 22, 2019 8:08 am    Post subject: Reply with quote

Hello erm67,

I tried emerge -uDNa @world, nothing to merge, and than I added amd64 in accept_keywords in make.conf,
and I ran emerge -uDNa @world, nothing to merge.
ok, i layman -a pentoo, (i removed it yesterday), eix-sync, and
Code:
|--------------->
~/bin/# eix pentoo
* media-gfx/opentoonz
     Available versions:  ~1.1.2 ~1.2.1-r1 ~1.3.0 ~1.3.0-r1
     Homepage:            https://github.com/opentoonz/opentoonz
     Description:         An open-source full-featured 2D animation creation software

|--------------->
~/bin/# eix -O pentoo
No matches found
|--------------->
~/bin/#


Are you guys using lite or full image?

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3685

PostPosted: Fri Nov 22, 2019 9:31 am    Post subject: Reply with quote

while true wrote:
Hello erm67,

I tried emerge -uDNa @world, nothing to merge, and than I added amd64 in accept_keywords in make.conf,
and I ran emerge -uDNa @world, nothing to merge.
ok, i layman -a pentoo, (i removed it yesterday), eix-sync, and
Code:
|--------------->
~/bin/# eix pentoo
* media-gfx/opentoonz
     Available versions:  ~1.1.2 ~1.2.1-r1 ~1.3.0 ~1.3.0-r1
     Homepage:            https://github.com/opentoonz/opentoonz
     Description:         An open-source full-featured 2D animation creation software

|--------------->
~/bin/# eix -O pentoo
No matches found


Did you forget to eix-update? I am not sure if eix-sync is sufficient for layman.
Code:
$ eix -Oc pentoo
[N] pentoo/pentoo [1] (2015.1): Pentoo meta ebuild to install all apps
[N] pentoo/pentoo-analyzer [1] (~2019.2): Pentoo analyzers meta ebuild
[N] pentoo/pentoo-bluetooth [1] (~2019.2): Pentoo bluetooth meta ebuild
[N] pentoo/pentoo-cinnamon [1] (2018.2): Pentoo cinnamon meta ebuild
[N] pentoo/pentoo-cracking [1] (~2019.2-r1): Pentoo cracking meta ebuild
[N] pentoo/pentoo-database [1] (~2018.3): Pentoo database attack meta ebuild
[N] pentoo/pentoo-desktop [1] (2019.2): Pentoo meta ebuild to install all X and WM/DE related things
[N] pentoo/pentoo-exploit [1] (~2019.2-r1): Pentoo exploit meta ebuild
[N] pentoo/pentoo-footprint [1] (2019.0): Pentoo footprint meta ebuild
[N] pentoo/pentoo-forensics [1] (~2019.2): Pentoo forensics meta ebuild
[N] pentoo/pentoo-forging [1] (~2019.2-r1): Pentoo forging meta ebuild
[N] pentoo/pentoo-fuzzers [1] (~2019): Pentoo fuzzers meta ebuild
[N] pentoo/pentoo-gnome [1] (2.32.1-r3(2.0)): Meta package for the GNOME desktop, merge this package to install
[N] pentoo/pentoo-installer [1] (~20190701): Installer for pentoo, based on the ncurses Arch Linux installer
[N] pentoo/pentoo-livecd [1] (~2019.2): things needed by pentoo for livecd only
[N] pentoo/pentoo-misc [1] (2019.2-r3): Pentoo misc meta ebuild
[N] pentoo/pentoo-mitm [1] (~2019.2): Pentoo mitm meta ebuild
[N] pentoo/pentoo-mobile [1] (2018.4-r2): Pentoo mobile meta ebuild
[N] pentoo/pentoo-nfc [1] (2019.2): Collection of NFC tools
[N] pentoo/pentoo-proxies [1] (~2019.2-r2): Pentoo proxy meta ebuild
[N] pentoo/pentoo-radio [1] (~2019.2-r5): Radio tools for pentoo
[N] pentoo/pentoo-rce [1] (2019.2-r2): Pentoo RCE meta ebuild
[N] pentoo/pentoo-scanner [1] (2019.2): Pentoo scanner meta ebuild
[N] pentoo/pentoo-system [1] (2019.3): Pentoo meta ebuild to install system
[N] pentoo/pentoo-voip [1] (~2018.2-r1): Pentoo voip meta ebuild
[N] pentoo/pentoo-wireless [1] (~2019.3): Pentoo wireless meta ebuild
[N] sys-kernel/pentoo-sources [1] (5.3.10(5.3.10)): Pentoo kernel sources (kernel series 5.3)
[1] "pentoo" /var/db/repos/pentoo
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Fri Nov 22, 2019 9:41 am    Post subject: Reply with quote

Hey there charles17,
Code:
|--------------->
~/# eix-update
Reading Portage settings...
Building database (/var/cache/eix/portage.eix)...
[0] "gentoo" /usr/portage (cache: metadata-md5-or-flat)
     Reading category 171|171 (100) Finished             
[1] "pentoo" /var/lib/layman/pentoo (cache: assign)
     Reading category 171|171 (100) EMPTY!
[2] "sakaki-tools" /usr/local/portage/sakaki-tools (cache: assign)
     Reading category 171|171 (100) Finished       
[3] "genpi64" /usr/local/portage/genpi64 (cache: assign)
     Reading category 171|171 (100) Finished             
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 19444 packages in 171 categories
|--------------->
~/# eix -Oc pentoo
No matches found
|--------------->
~/#


I think I'll try full image over the weekend...

Thank you
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
while true
Guru
Guru


Joined: 07 Apr 2010
Posts: 532
Location: Ljubljana, Slovenia

PostPosted: Sun Nov 24, 2019 1:26 pm    Post subject: Reply with quote

ok, I tried full image, and somehow i got overlay working,
but since full image is too big, I went back to lite image,
and here is how I got it working:
first I genup, than I emerged layman (with use: sync-plugin-portage git),
than I layman-updater -R, than layman -a pentoo, and genup again.
I have now working overlay, thank you all for chiping in.

now to next battles...
_________________
Kind regards, Goran Mitic

alive
while true
kick ass
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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