While emerging media-plugins/gst-plugins-mimic, it tries to apply a patch file, but it is not found from the gst-plugins-bad archive. Reproducible: Always Steps to Reproduce: 1. emerge media-plugins/gst-plugins-mimic Actual Results: * gst-plugins-bad-0.10.14.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gst-plugins-bad-0.10.14.tar.bz2 to /var/tmp/portage/media-plugins/gst-plugins-mimic-0.10.14/work * Building external plugin ... * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /var/tmp/portage/media-plugins/gst-plugins-mimic-0.10.14/work/gst-plugins-bad-0.10.14-kate-configure-fix.patch * ( gst-plugins-bad-0.10.14-kate-configure-fix.patch ) * ERROR: media-plugins/gst-plugins-mimic-0.10.14 failed: * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2408: Called gst-plugins-bad_src_unpack * environment, line 1783: Called epatch '/var/tmp/portage/media-plugins/gst-plugins-mimic-0.10.14/work/gst-plugins-bad-0.10.14-kate-configure-fix.patch' * environment, line 1093: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; Expected Results: Successful build. This package is required for the new net-im/amsn-0.98 package. Portage 2.2_rc50 (default/linux/amd64/10.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-tuxonice-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-tuxonice-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5800_@_2.00GHz-with-gentoo-2.1.6 Timestamp of tree: Tue, 17 Nov 2009 07:00:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.1.6 sys-apps/openrc: 0.5.0-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/ " LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en_CA en_GB en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alac alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdr cli colordiff consolekit cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 java java6 jpeg lame ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg msn mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ntp ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode upnp usb vorbis wavpack x264 xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_CA en_GB en en_US" USERLAND="GNU" VIDEO_CARDS="fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 210852 [details] build.log file
This comes from SRC_URI through gst-plugins-bad.eclass: if [ ${PV} == "0.10.14" ]; then SRC_URI="${SRC_URI} http://dev.gentoo.org/~leio/distfiles/gst-plugins-bad-0.10.14-kate-configure-fix.patch.bz2" fi It should get unpacked and everything should be fine. Does your eclass/gst-plugins-bad.eclass contain that snippet? I can't imagine any other reason for this than an outdated eclass somehow....
hmm, but the epatch calls were added to the eclass at the same time, so not a case of outdated eclass, so sure what's up for you... Works for me.
Looked through the gst-plugins-bad.eclass, it does contain the SRC_URI code. Does it matter that it's a .patch.bz2, then it just looks for the .patch? I would assume that it automatically gets extracted, although looking at the work directory of the build, it does not have the .bz2 or the .patch file in there, but my distfiles directory has the .bz2 file. It is downloaded, but not extracted into the work directory.
Created attachment 210913 [details] gst-plugins-bad.eclass file
Well....this can be closed. I just did another test, and it compiled just fine this time. Not sure what was wrong with it. I did do an emerge --sync earlier this morning, after I had tried the build, so maybe something got changed from the previous sync I had.