When using ebuild to create digests for an ebuild that has different source files based on the architecture it's running on (i.e. blackdown-jre-1.4.1 or blackdown-jdk-1.4.1), only the digest for the arch ebuild is run on is computed. Also if you attempt to make a new digest once you have the file for a given arch, it will overwrite the existing digest rather than add the entry to the end of the digest file. Reproducible: Always Steps to Reproduce: 1.ebuild blackdown-jdk-1.4.1.ebuild digest on x86 2.ebuild blackdown-jdk-1.4.1.ebuild digest on sparc 3. Actual Results: Digest file was overwritten to only contain the entry for sparc. Expected Results: Either have computed the digests for all arches when original digest was made or appended the digest for the sparc platform's file to the end of the digest file Portage 2.0.48 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-sparc-r8 sparc64 sun4u GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="sparc arts apm avi crypt cups encode fbcon gif jpeg kde libwww mpeg ncurses oss png pdflib qt sdl spell truetype xv xml2 xmms zlib gdbm berkdb slang readline java X tcpd pam ssl perl python esd imlib oggvorbis gtk motif opengl aalib artswrappersuid cdr dvd emacs gphoto2 gpm imap jack mozilla pda samba scanner usb -gnome -mikmod -nls" COMPILER="gcc3" CHOST="sparc-unknown-linux-gnu" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" ACCEPT_KEYWORDS="sparc ~sparc" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg distcc ccache"
put 'cvs' into FEATURES and try again
that seems to work as it will fetch/digest the files already in the digest in addition to the one being added for the arch in question. On a side note, is there someplace where I can read up on what the "cvs" feature does? man make.conf and the description in make.conf itself seem to differ and make.conf it extremely vague.
I encountered a similar problem. I added cjk support to sys-apps/groff-1.18.1-r2.ebuild. SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/groff/${P}.tar.gz cjk? ( http://people.debian.org/~ukai/groff/${MB_PATCH}.diff.gz )" Then the cjk patch was removed from a digest file by someone. I think 'ebuild foo digest' should always make digest for all files. I looked into the source file and made a patch.
Created attachment 13736 [details, diff] portage.py.diff patch for portage.py
from irc: just a small change to portage: print out the following when someone does 'ebuild .. digest' (on a file which has a non-empty IUSE) Your digest will only contain the files needed for your USE/ARCH. If you want to be sure to generate a digest useable for all USE/ARCHs please do 'ebuild .. digest_all' @carpaski: what do ya think?
This seems to be fixed to me. Anyone have any reasons to keep it open?
As no one had any reason to keep this open, I'm marking it as resolved:fixed