Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831856 - dev-embedded/rpi-eeprom: package does not install rpi-eeprom-digest
Summary: dev-embedded/rpi-eeprom: package does not install rpi-eeprom-digest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
: 834443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-23 01:30 UTC by Scott Ellis
Modified: 2022-03-02 02:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Ellis 2022-01-23 01:30:11 UTC
`rpi-eeprom` package does not include `rpi-eeprom-digest` , which is now required for it to work.  I would assume there just needs to be another dobin added for the script, which is at https://raw.githubusercontent.com/raspberrypi/rpi-eeprom/master/rpi-eeprom-digest

For completeness:

```
Portage 3.0.30 (python 3.9.10-final-0, default/linux/arm64/17.0, gcc-11.2.1, glibc-2.34-r6, 5.10.92-v8-scotte+ aarch64)
=================================================================
System uname: Linux-5.10.92-v8-scotte+-aarch64-with-glibc2.34
KiB Mem:     3942392 total,   1150788 free
KiB Swap:    1048572 total,   1048572 free
Head commit of repository gentoo: e7f8c3ecbb00898c843f2be4f816b07e6450b271

Head commit of repository scotterepo: 32546954bfc5a4da838ffe52dc30b9fbffe6a051

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p1) 2.37
distcc 3.4 aarch64-unknown-linux-gnu [enabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.9.10::gentoo, 3.10.2::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

scotterepo
    location: /var/db/repos/scotterepo
    sync-type: git
    sync-uri: https://github.com/ScottESanDiego/scotterepo.git
    masters: gentoo

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -fomit-frame-pointer"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv8-a+crc+simd -mtune=cortex-a72 -ftree-vectorize -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l4"
PKGDIR="/var/db/pkg"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="arm64 brotli btrfs bzip2 cli crypt dri gdbm hwdb iconv libglvnd libtirpc ncurses nls nptl pam pcre readline seccomp split-usr ssl symlink threads unicode xattr zlib zstd" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
```
Comment 1 Dominik Kriegner 2022-02-21 12:51:14 UTC
I can confirm the original report.

Also the proposed fix of just adding another dobin entry for the mentioned executable is working. I tested this for a trivially bumped rpi-eeprom to version 13.9_p1
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-01 13:01:17 UTC
*** Bug 834443 has been marked as a duplicate of this bug. ***
Comment 3 ShorTie 2022-03-01 19:42:31 UTC
Ya, works fine here to by adding to the dobin and updating to 13.9.
Then you gotta do a  emerge --deselect dev-embedded/rpi-eeprom .. :/~
Comment 4 ShorTie 2022-03-01 23:25:10 UTC
(In reply to ShorTie from comment #3)
> Ya, works fine here to by adding to the dobin and updating to 13.9.
> Then you gotta do a  emerge --deselect dev-embedded/rpi-eeprom .. :/~

Actually I guess iy's more like
rpi-eeprom/stable 13.10-1 armhf [upgradable from: 13.9-1]
Comment 5 Larry the Git Cow gentoo-dev 2022-03-02 02:19:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a2ba1b8b6451c38200c0a7b693ddb01b016bbe

commit e1a2ba1b8b6451c38200c0a7b693ddb01b016bbe
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-01 23:35:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-02 02:18:54 +0000

    dev-embedded/rpi-eeprom: install rpi-eeprom-digest
    
    Closes: https://bugs.gentoo.org/831856
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-embedded/rpi-eeprom/Manifest                               |  2 ++
 ...{rpi-eeprom-13.3_p1.ebuild => rpi-eeprom-13.3_p1-r1.ebuild} | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6a587ed2e02e7254c0d1bfc09abc9e2eaf3dd2

commit 5d6a587ed2e02e7254c0d1bfc09abc9e2eaf3dd2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-01 23:38:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-02 02:18:57 +0000

    dev-embedded/rpi-eeprom: add 13.9_p1
    
    Bug: https://bugs.gentoo.org/831856
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-embedded/rpi-eeprom/rpi-eeprom-13.9_p1.ebuild | 94 +++++++++++++++++++++++
 1 file changed, 94 insertions(+)