Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940236 - ebuild xxx digest can't detect files in DISTDIR
Summary: ebuild xxx digest can't detect files in DISTDIR
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-25 10:26 UTC by Rafal Lalik
Modified: 2024-09-26 02:26 UTC (History)
2 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 Rafal Lalik 2024-09-25 10:26:04 UTC
I am creating cusytom ebuild for the most recent version of icaclient.
I manually fetched teh tarball and moved into $DISTDIR, but the ebuild-digest command doesn't see it there.

--- ebuild-digest:

$ sudo ebuild icaclient-24.5.0.76.ebuild digest 

!!! net-misc/icaclient-24.5.0.76 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Download the client file linuxx64-24.5.0.76.tar.gz from
 *      https://www.citrix.com/downloads/workspace-app/
 * and place it into your DISTDIR directory.
!!! Fetch failed for linuxx86-24.5.0.76.tar.gz, can't update Manifest

 * Messages for package net-misc/icaclient-24.5.0.76:

 * Download the client file linuxx64-24.5.0.76.tar.gz from
 *      https://www.citrix.com/downloads/workspace-app/
 * and place it into your DISTDIR directory.

--- emerge-info

$ emerge --info
Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'
Portage 3.0.66.1 (python 3.13.0-candidate-1, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.39-r6, 6.11.0-gentoo x86_64)
=================================================================
System uname: Linux-6.11.0-gentoo-x86_64-AMD_Ryzen_9_7950X_16-Core_Processor-with-glibc2.39
KiB Mem:    64969008 total,  34511868 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 25 Sep 2024 09:00:00 +0000
Head commit of repository gentoo: 1d8dc32ec515e33d808d25bb93ee596f42c7248e
Timestamp of repository ppfeufer-gentoo-overlay: Tue, 24 Sep 2024 12:19:23 +0000
Head commit of repository ppfeufer-gentoo-overlay: bf5b2226e2d49645785503aaadbb3dd80d5ab626

Timestamp of repository steam-overlay: Tue, 24 Sep 2024 12:19:15 +0000
Head commit of repository steam-overlay: 18c78592f03d886db5de79ad23ac1c34ddd72613

Timestamp of repository tatsh-overlay: Wed, 25 Sep 2024 04:49:30 +0000
Head commit of repository tatsh-overlay: a95ed9889a7d1d7495e4fecc59038587d4f8eb12

sh bash 5.2_p26-r8
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r8::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.8.19_p4::gentoo, 3.9.19_p5::gentoo, 3.10.14_p3::gentoo, 3.11.9_p2::gentoo, 3.12.5_p1::gentoo, 3.13.0_rc1_p3::gentoo
dev-lang/rust:             1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r2::gentoo, 2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo, 19.1.0::gentoo
sys-devel/gcc:             8.5.0-r1::gentoo, 9.5.0::gentoo, 10.5.0::gentoo, 11.5.0::gentoo, 12.4.0::gentoo, 13.3.1_p20240614::gentoo, 14.2.1_p20240817::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r4::gentoo, 19.1.0::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ppfeufer-gentoo-overlay
    location: /var/db/repos/ppfeufer-gentoo-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ppfeufer-gentoo-overlay.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo
    volatile: False

dziadu-overlay
    location: /home/rafal/portage
    masters: gentoo
    priority: 90
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver4 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver4 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -march=znver4 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=znver4 -pipe"
GENTOO_MIRRORS="rsync://ftp.vectranet.pl/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en_US pl"
MAKEOPTS="-j25 --quiet"
PKGDIR="/var/cache/binpkgs"
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="3dnow 3dnowext X a52 aac acl acm acpi activities aes alsa amd64 aspell avx avx2 bash-completion bindist branding bzip2 c++11 c++14 c++17 cairo cdr cet corefonts crypt cups dbus declarative dri dts dvdr egl elogind encode exif ffmpeg flac fma3 freetype gdbm gif gles2 gmp gnutls gpm grub gui iconv icu jpeg kde kerberos kf6compat kwallet laptop lcms libnotify libtirpc lm_sensors mad midi minimal mmx mmxext mng mp3 mp4 mpeg multilib native-headset ncurses networkmanager nls nptl nsplugin ntp ntplonly ofono-headset ogg opengl openmp pam pango pcre pdf pipewire plasma pmu png policykit popcnt ppds pulseaudio qml qt3support qt6 readline screencast sdl seccomp sound spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification steamruntime svg test-rust thinkpad threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xft xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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_X86="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US pl" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LLVM_TARGETS="AMDGPU X86" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-0" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

--- contet of $DISTDIR

$ l /var/cache/distfiles/linuxx64-24.5.0.76.tar.gz 
-rw-r--r-- 1 portage portage 396M 09-25 11:59 /var/cache/distfiles/linuxx64-24.5.0.76.tar.gz
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-25 10:31:00 UTC
Is this really specific to `ebuild digest`? I suspect that it'll happen if you try emerge as well?
Comment 2 Rafal Lalik 2024-09-25 10:35:58 UTC
Well, before I succesfully installed version 23.7.0.17 from the tree. I downloaded it, moved to DISTDIR and it worked without problem. But now I want to have newer version, and it fails with ebuild-digest.

--- ls
l /var/cache/distfiles/linuxx64-*
-rw-r--r-- 1 portage portage 347M 09-25 11:47 /var/cache/distfiles/linuxx64-23.7.0.17.tar.gz
-rw-r--r-- 1 portage portage 396M 09-25 11:59 /var/cache/distfiles/linuxx64-24.5.0.76.tar.gz
Comment 3 Enne Eziarc 2024-09-25 14:40:34 UTC
And what does "ls -l /var/cache/distfiles/linuxx86-24.5.0.76.tar.gz" say?
Comment 4 Mike Gilbert gentoo-dev 2024-09-26 02:26:39 UTC
Right, I suspect you have downloaded linuxx64-24.5.0.76.tar.gz (x64), but have not downloaded linuxx86-24.5.0.76.tar.gz (x86).