Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having too frequently "Missing digest for ebuild"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
phanxen
n00b
n00b


Joined: 02 Jan 2022
Posts: 8
Location: Jugoslavija

PostPosted: Sat Aug 03, 2024 6:22 pm    Post subject: Having too frequently "Missing digest for ebuild" Reply with quote

Hi, recently I'm having quite frequently "Missing digest for ebuild" error messages running emerge command. Usually, I solve this issue using the following command (it shows a concrete example I'm dealing with):

Code:

$ sudo ebuild /var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-11.5.0.ebuild manifest
>>> Creating Manifest for /var/db/repos/crossdev/cross-arm-none-eabi/gcc


After that I can run emerge again and everything goes fine. However, after a while using emerge again, the missing digest problem comes back. What could be the reason.

Today, for instance, this what I got after synchronizing and trying to update my system:

Code:

* IMPORTANT: 2 news items need reading for repository 'dlang'.
* IMPORTANT: 40 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-11.5.0.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/binutils/binutils-2.42-r2.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/binutils/binutils-9999.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/binutils/binutils-2.43.9999.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-15.0.9999.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-15.0.0_pre20240728.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-15.0.0_pre20240721.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-15.0.0_pre20240714-r1.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-15.0.0_pre20240714.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.3.9999.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.2.0.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.1.1_p20240729.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.1.1_p20240727.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.1.1_p20240723.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.1.1_p20240720.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.1.1_p20240713.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-14.1.1_p20240622.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.4.9999.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.3.1_p20240802.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.3.1_p20240726.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.3.1_p20240719.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.3.1_p20240712.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.3.1_p20240614.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.2.1_p20240210.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-13.2.0.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-12.5.9999.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-12.4.1_p20240801.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-12.4.1_p20240725.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-12.4.1_p20240711.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-12.4.0.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-12.3.1_p20240209.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-11.4.1_p20240501.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-10.5.0.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-9.5.0.ebuild'
* Missing digest for '/var/db/repos/crossdev/cross-arm-none-eabi/gcc/gcc-8.5.0-r1.ebuild'

_________________
:.P.h.A.n.X.e.N.:
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1619
Location: Germany

PostPosted: Sun Aug 04, 2024 7:44 am    Post subject: Reply with quote

Quote:
IMPORTANT: 40 news items need reading for repository 'gentoo'.

Please read those and follow the instructions. There are things which can break your settings if not followed.

Quote:
IMPORTANT: 2 news items need reading for repository 'dlang'.
Missing digest for '/var/db/repos/crossdev/


Those are no official gentoo repos, aren't they?
Please make sure you follow https://wiki.gentoo.org/wiki/Creating_an_ebuild_repository, if you have control over those repos.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 313

PostPosted: Sun Aug 04, 2024 9:15 am    Post subject: Reply with quote

Banana wrote:
Those are no official gentoo repos, aren't they?

The crossdev repo is created by sys-devel/crossdev when setting up a new cross compiling toolchain.
It creates something like /var/db/repos/crossdev/cross-arm-none-eabi/gcc/

If I remember correctly, the crossdev/cross-arm-none-eabi/gcc is a symlink to gentoo/sys-devel/gcc.
After the initial setup of the crossdev/cross-arm-none-eabi, emerge can be used as usual to update the new toolchain.

All that said, I have never had to manually generate manifests for crossdev ebuilds.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22378

PostPosted: Sun Aug 04, 2024 2:14 pm    Post subject: Reply with quote

If /var/db/repos/crossdev/cross-arm-none-eabi/gcc is a symlink to $PORTDIR/sys-devel/gcc, then the manifests that OP generates will be written under $PORTDIR, and would be subject to modification/deletion during the next emerge --sync, which would explain why they break after a time. It does not explain why OP needs to generate the manifests at all. If that path is a symlink into $PORTDIR, then the manifests distributed with Portage ought to suffice.

To confirm, OP, what is the output of namei -l /var/db/repos/crossdev/cross-arm-none-eabi/gcc/?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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