Created attachment 553724 [details] /var/log/portage/cross-avr-info.log using latest portage (2.3.51) and crossdev (20180918) on my ~amd64 box, i keep on having this kind of error cross-avr-binutils.log.xz: Calculating dependencies * Missing digest for '/usr/portage-overlay/cross-avr/avr-libc/avr-libc-2.0.0.ebuild' . * Missing digest for '/usr/portage-overlay/cross-avr/binutils/binutils-9999.ebuild' * Missing digest for '/usr/portage-overlay/cross-avr/binutils/binutils-2.31.1-r1.ebuild' * Missing digest for '/usr/portage-overlay/cross-avr/binutils/binutils-2.31.1.ebuild' * Missing digest for '/usr/portage-overlay/cross-avr/binutils/binutils-2.30-r4.ebuild' * Missing digest for '/usr/portage-overlay/cross-avr/binutils/binutils-2.30-r3.ebuild' * Missing digest for '/usr/portage-overlay/cross-avr/binutils/binutils-2.30-r2.ebuild' For some reason, it sometimes even fails silently, saying ------------------------------------------------------------------------ * Log: /var/log/portage/cross-avr-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-avr-gcc-stage1.log * Emerging cross-gcc-stage1 ... ------------------------------------------------------------------------ but nothing was emerged for cross-avr-binutils, and cross-avr-binutils.log indeed is filled with those same "missing digest" errors.
I tried to remove the cross-avr/ directory created by crossutils and start again, but it fails as well. berlioz ~ # ll /usr/portage-overlay/cross-avr totale 0 lrwxrwxrwx 1 root root 26 31 ott 00.27 gdb -> /usr/portage/sys-devel/gdb lrwxrwxrwx 1 root root 26 31 ott 00.27 gcc -> /usr/portage/sys-devel/gcc lrwxrwxrwx 1 root root 31 31 ott 00.27 binutils -> /usr/portage/sys-devel/binutils lrwxrwxrwx 1 root root 34 31 ott 00.27 avr-libc -> /usr/portage/dev-embedded/avr-libc
What does /usr/portage-overlay/layout/metadata/layout.conf contain? Does it match ::gentoo setup?
I have no "/usr/portage-overlay/layout" directory. The overlay otherwise works pretty well. Did i miss something ?
I have only this: orzel@berlioz /usr/portage-overlay% cat metadata/layout.conf masters = gentoo
(In reply to Thomas Capricelli from comment #4) > I have only this: > > orzel@berlioz /usr/portage-overlay% cat metadata/layout.conf > masters = gentoo I guess your main ::gentoo tree has thin manifests (if you are using git checkout). thin manfests don't include 'EBUILD' entries. As crossdev symlinks ebuild directories from main tree you need to keep overlay configuration in sync with ::gentoo. You will need to add thin-manifests = true to metadata/layout.conf. Or you can delete 'metadata/layout.conf' and let crossdev to regenerate and maintain the file.
Indeed, you were right, it works now. Sorry for the noise, i didn't know about those tree subtleties. Thanks !
Ah, no problem. We'll add something to crossdev itself to detect this kind of inconsistency and report it explicitly.