Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keywording for arm64
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
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Fri Mar 30, 2018 9:48 am    Post subject: keywording for arm64 Reply with quote

Hi,

I have been running gentoo on an arm64 laptop, and had to install quite a number of packages without arm64 or ~arm64 keywords, see the list below.

I think that most of these should be keyworded at least ~arm64. What is the right way to approach this?

EDIT: list below shows relevant github PR and marks those already completed
Code:

app-arch/file-roller-3.24.1                         https://github.com/gentoo/gentoo/pull/7750    DONE
app-editors/gummi-0.6.6-r1                          https://github.com/gentoo/gentoo/pull/7749    DONE
app-editors/gvim-8.0.1645                           https://github.com/gentoo/gentoo/pull/7748    DONE
dev-libs/qtkeychain-0.8.0                           https://github.com/gentoo/gentoo/pull/7751    DONE
dev-perl/autovivification-0.170.0                   https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Business-ISBN-3.4.0                        https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Business-ISBN-Data-20140910.3.0            https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Business-ISMN-1.131.0                      https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Business-ISSN-1.2.0                        https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Class-Accessor-0.340.0-r1                  https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Class-Factory-Util-1.700.0-r2              https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Config-AutoConf-0.315.0                    https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Data-Compare-1.250.0                       https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Data-Dump-1.230.0                          https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Data-Uniqid-0.120.0-r1                     https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/DateTime-Calendar-Julian-0.40.0            https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/DateTime-Format-Builder-0.810.0-r1         https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/DateTime-Format-Strptime-1.700.0           https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Encode-JIS2K-0.30.0                        https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/ExtUtils-LibBuilder-0.80.0                 https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/File-Find-Rule-0.340.0                     https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Lingua-Translit-0.280.0                    https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Log-Log4perl-1.490.0                       https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Number-Compare-0.30.0-r1                   https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Regexp-Common-2017060201.0.0               https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Sort-Key-1.330.0-r1                        https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Specio-0.420.0                             https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Sub-Quote-2.4.0                            https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Text-BibTeX-0.850.0                        https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Text-CSV-1.950.0                           https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Text-Glob-0.110.0                          https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Text-Roman-3.500.0                         https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/Tie-Cycle-1.221.0                          https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/XML-LibXML-Simple-0.990.0                  https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/XML-LibXSLT-1.960.0                        https://github.com/gentoo/gentoo/pull/7759    DONE
dev-perl/XML-Writer-0.625.0                         https://github.com/gentoo/gentoo/pull/7759    DONE
dev-tex/biber-2.10                                  https://github.com/gentoo/gentoo/pull/7759    DONE
dev-tex/biblatex-3.10                               https://github.com/gentoo/gentoo/pull/7759    DONE
dev-util/shadowman-2                                https://github.com/gentoo/gentoo/pull/7759    DONE
mail-mta/msmtp-1.6.6                                https://github.com/gentoo/gentoo/pull/7759    DONE
media-fonts/ja-ipafonts-003.03                      https://github.com/gentoo/gentoo/pull/7759    DONE
media-fonts/wqy-microhei-0.2.0_beta                 https://github.com/gentoo/gentoo/pull/7759    DONE
media-gfx/gimp-2.8.22-r1                            https://github.com/gentoo/gentoo/pull/7755    DONE
media-libs/babl-0.1.44                              https://github.com/gentoo/gentoo/pull/7755    DONE
media-libs/gegl-0.2.0-r5                            https://github.com/gentoo/gentoo/pull/7755    DONE
media-sound/pavucontrol-3.0                         https://github.com/gentoo/gentoo/pull/7759    DONE
net-fs/sshfs-2.10-r1                                https://github.com/gentoo/gentoo/pull/7757    DONE
net-libs/libnatpmp-20150609                         https://github.com/gentoo/gentoo/pull/7752    DONE
net-misc/autossh-1.4e                               https://github.com/gentoo/gentoo/pull/7759    DONE
net-misc/mosh-1.3.2                                 https://github.com/gentoo/gentoo/pull/7759    DONE
net-misc/nextcloud-client-2.3.3                     https://github.com/gentoo/gentoo/pull/7751    DONE
net-misc/tigervnc-1.8.0-r2                          https://github.com/gentoo/gentoo/pull/7758    DONE
net-misc/youtube-dl-2018.03.20                      https://github.com/gentoo/gentoo/pull/7753    DONE
net-p2p/transmission-2.93                           https://github.com/gentoo/gentoo/pull/7752    DONE
net-wireless/python-wifi-0.5.0-r3                   https://github.com/gentoo/gentoo/pull/7739    DONE
sci-calculators/speedcrunch-0.12.0                  https://github.com/gentoo/gentoo/pull/7740    DONE
sci-electronics/electronics-menu-1.0-r1             https://github.com/gentoo/gentoo/pull/7737    DONE
sci-electronics/kicad-4.0.7                         https://github.com/gentoo/gentoo/pull/7737    DONE
sys-apps/dstat-0.7.3                                https://github.com/gentoo/gentoo/pull/7739    DONE
sys-apps/haveged-1.9.2                              https://github.com/gentoo/gentoo/pull/7738    DONE
sys-block/f3-6.0                                    https://github.com/gentoo/gentoo/pull/7759    DONE
sys-devel/distcc-3.3                                https://github.com/gentoo/gentoo/pull/7759    DONE
sys-fs/inotify-tools-3.20.1                         https://github.com/gentoo/gentoo/pull/7751    DONE
sys-power/acpid-2.0.28                              https://github.com/gentoo/gentoo/pull/7741    DONE
x11-libs/fltk-1.3.4                                 https://github.com/gentoo/gentoo/pull/7758    DONE
x11-misc/redshift-1.11-r1                           https://github.com/gentoo/gentoo/pull/7742    DONE
x11-misc/xdotool-3.20160805.1                       https://github.com/gentoo/gentoo/pull/7743    DONE


Last edited by Khumarahn on Fri Apr 13, 2018 8:24 pm; edited 21 times in total
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Fri Mar 30, 2018 10:01 am    Post subject: Reply with quote

The script to find installed packages without arm64 keywords:
Code:

#!/bin/bash
for x in $(qlist -ICv); do
    k=$(epkginfo --keywords "=${x}")
    if [[ $k != *"arm64"* ]]; then
        echo "${x}"
    fi
done
Back to top
View user's profile Send private message
mDup
Apprentice
Apprentice


Joined: 14 Apr 2006
Posts: 198

PostPosted: Fri Mar 30, 2018 5:12 pm    Post subject: Re: stabilisation for arm64 Reply with quote

Khumarahn wrote:
[...]
I think that most of these should be keyworded at least ~arm64. What is the right way to approach this?
[...]

Not sure what right or good approach is, wrong approach is to have (as I do)
ACCEPT_KEYWORDS="* ~*"
in make.conf ... but that does not help anyone.
I guess one way is to inform package maintainers. Or to become a gentoo contributor and commit upstream.
Similar argument for /usr/portage/profiles/arch/arm64/use.mask which I change to fit my needs.


Last edited by mDup on Fri Mar 30, 2018 5:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Fri Mar 30, 2018 5:18 pm    Post subject: Reply with quote

I do ACCEPT_KEYWORDS="arm ~arm64 amd64 ~amd64"
:-)

So the question is how to approach the mass keywording. I could create a PR on github, or a bug in the bugzilla... Does this have to be many PRs or bugs, or just one? There is the equal visibility requirement, so keywordings need to be related. What is the least painful way to do this?
Back to top
View user's profile Send private message
mDup
Apprentice
Apprentice


Joined: 14 Apr 2006
Posts: 198

PostPosted: Fri Mar 30, 2018 5:59 pm    Post subject: Reply with quote

Khumarahn wrote:
I do ACCEPT_KEYWORDS="arm ~arm64 amd64 ~amd64"
:-)

So the question is how to approach the mass keywording. I could create a PR on github, or a bug in the bugzilla... Does this have to be many PRs or bugs, or just one? There is the equal visibility requirement, so keywordings need to be related. What is the least painful way to do this?


Good questions.

I don't think we can expect package oriented maintainers to control many or all architectures.
And, similarly, architecture oriented maintainers to control many or all packages.

Perhaps someone with concrete ebuild maintenance experience can explain how this goes.
In any case I guess it can easily introduce issues if not controlled well. But one will need to bite that bullet one day.

By opening all the gates "* ~*" I do encounter issues proactively that I can report upstream. Sometimes I need to mask packages to proceed.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Mar 30, 2018 6:05 pm    Post subject: Reply with quote

Khumarahn,

edit to add text in italics.

Create one PR per logical change to the tree not per package emerged.
A logical change being a top level package and all of its dependencies.

e.g.
Code:
$ qgrep -l app-arch/file-roller
gnome-base/gnome-extra-apps/gnome-extra-apps-3.24.2.ebuild


app-arch/file-roller is a dependency of gnome-extra-apps, so you would keyword gnome-extra-apps and everything that gnome-extra-apps depends on.
repoman will keep you right, however as arm64 is an experimental arch, you need to run it as
Code:
repoman -d full --include-arches arm64


Break it down further if you like but please ensure your PR are repoman clean or the CI bot will shout at you.

Join #gentoo-arm on freenode too.


keywording kicad-4.0.7 alone produces
Code:
# repoman -d full --include-arches arm64

RepoMan scours the neighborhood...
  dependency.badindev           4
   sci-electronics/kicad/kicad-4.0.7.ebuild: DEPEND: ~arm64(default/linux/arm64/17.0)
[     '>=dev-libs/boost-1.61[context,nls,threads,python?,python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)]']
   sci-electronics/kicad/kicad-4.0.7.ebuild: RDEPEND: ~arm64(default/linux/arm64/17.0)
[     '>=dev-libs/boost-1.61[context,nls,threads,python?,python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)]',
      'sci-electronics/electronics-menu']
   sci-electronics/kicad/kicad-4.0.7.ebuild: DEPEND: ~arm64(default/linux/arm64/17.0/desktop/systemd)
[     '>=dev-libs/boost-1.61[context,nls,threads,python?,python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)]']
   sci-electronics/kicad/kicad-4.0.7.ebuild: RDEPEND: ~arm64(default/linux/arm64/17.0/desktop/systemd)
[     '>=dev-libs/boost-1.61[context,nls,threads,python?,python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),python_single_target_python2_7(+)]',
      'sci-electronics/electronics-menu']

RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."

so ideally, boost needs to be fixed at the same time.

Trying to build boost gives
Code:
[ebuild   R    ] dev-libs/boost-1.65.0:0/1.65.0::gentoo  USE="icu nls python threads (-context) -debug (-doc) (-mpi) -static-libs -tools

Notice that USE=context is use.masked, so a PR for keywording kicad needs to fix the USE=context being use.masked and build boost that way too.
It sounds like you have done all the build testing required.

Hmm.
Code:
 /usr/portage/profiles/arch/base/package.use.mask-# Sergey Popov <pinkbyte@gentoo.org> (27 Dec 2013)
/usr/portage/profiles/arch/base/package.use.mask-# Mask because Boost.Context library does not work on most of arches
/usr/portage/profiles/arch/base/package.use.mask:dev-libs/boost context

So context is masked everywhere until it gets turned on.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Sat Mar 31, 2018 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Sat Mar 31, 2018 1:18 pm    Post subject: Reply with quote

Thanks for the advice!

Here goes the PR for kicad:
https://github.com/gentoo/gentoo/pull/7737
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Sat Mar 31, 2018 1:26 pm    Post subject: Reply with quote

Added a PR for haveged:
https://github.com/gentoo/gentoo/pull/7738

I will edit the first post with the links for the corresponding PR. I will submit a few PR today and we'll see how it goes.

EDIT: I created 7 PR. Will wait now to see how it goes.
Back to top
View user's profile Send private message
blopsalot
Apprentice
Apprentice


Joined: 28 Jan 2017
Posts: 231

PostPosted: Sat Mar 31, 2018 3:02 pm    Post subject: Reply with quote

Khumarahn, thank you!

I hope it's not ignored, create one bug report on bugzilla to increase visibility and add the bug to your PRs so the bot picks it up like this:
https://wiki.gentoo.org/wiki/Gentoo_GitHub#Links_to_bug_report.28s.29
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Mar 31, 2018 3:46 pm    Post subject: Reply with quote

blopsalot,

It won't be ignored. I run ~arm64 on a Raspberry Pi3.
Using a 32 bit install would be like keeping a Ferrari just to drive to the corner shop.
_________________
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
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Sat Mar 31, 2018 5:59 pm    Post subject: Reply with quote

So far, things are smooth. I created 16 pull requests, 4 got merged almost instantaneously. Details are in the first post.

@blopsalot, I thought I probably should create a bug, bug got lazy. Certainly would try to avoid creating bugs for each package :-)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Mar 31, 2018 6:28 pm    Post subject: Reply with quote

Khumarahn,

Some devs watch for PRs, some don't
Some of my PRs have taken weeks.

Gentoo is an all volunteer distro, so real life always comes first.
_________________
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
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 181

PostPosted: Sat Mar 31, 2018 7:23 pm    Post subject: Reply with quote

All 16 out of 16 pull requests are merged. Very fast :-)

The developers complain that many small pull requests "apparently kills the CI checks into a huge backlog". I will need to do the rest in a few larger pull requests. Which is also easier for me.
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