Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252340 - sys-apps/openrc-0.4.1 - can't find EPATCH_SOURCE
Summary: sys-apps/openrc-0.4.1 - can't find EPATCH_SOURCE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 252414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-24 01:46 UTC by Wang, Baojun
Modified: 2008-12-25 08:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,1.15 KB, text/plain)
2008-12-24 01:47 UTC, Wang, Baojun
Details
environment (environment,100.33 KB, text/plain)
2008-12-24 01:47 UTC, Wang, Baojun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wang, Baojun 2008-12-24 01:46:58 UTC
openrc 0.4.1 failed to build due to error: can't find EPATCH_SOURCE

Reproducible: Always

Steps to Reproduce:
1. eix-sync (20081224, ~amd64)
2. emerge -1av openrc (0.4.1)

Actual Results:  
$ sudo emerge -1av openrc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-apps/openrc-0.4.1 [0.4.0] USE="ncurses pam unicode -debug" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/openrc-0.4.1
 * openrc-0.4.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking openrc-0.4.1.tar.bz2 to /var/tmp/portage/sys-apps/openrc-0.4.1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/sys-apps/openrc/files/0.4.1/*.patch
 *   ( *.patch )

 * 
 * ERROR: sys-apps/openrc-0.4.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2612:  Called epatch '/usr/portage/sys-apps/openrc/files/0.4.1/*.patch'
 *             environment, line 1149:  Called die
 * The specific snippet of code:
 *                   die "Cannot find $EPATCH_SOURCE!";
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.4.1/temp/environment'.
 * 




emerge --info:

Portage 2.1.6.2 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc3-git2 x86_64)
=================================================================
System uname: Linux-2.6.28-rc3-git2-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-60-with-glibc2.2.5
Timestamp of tree: Wed, 24 Dec 2008 00:20:01 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.0
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.lzu.edu.cn/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org"
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US zh_CN"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage/private/myoverlay /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/xen /usr/local/portage"
SYNC="rsync://202.201.0.141/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dmx dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk guile hal iconv ipv6 isdnlog jpeg laptop latex ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex threads tiff truetype unicode usb vorbis xcb xml xorg xulrunner xv 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US zh_CN" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd "
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wang, Baojun 2008-12-24 01:47:38 UTC
Created attachment 176263 [details]
build.log
Comment 2 Wang, Baojun 2008-12-24 01:47:58 UTC
Created attachment 176265 [details]
environment
Comment 3 luis 2008-12-24 01:56:37 UTC
>>> Emerging (1 of 1) sys-apps/openrc-0.4.1
 * openrc-0.4.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking openrc-0.4.1.tar.bz2 to /var/tmp/portage/sys-apps/openrc-0.4.1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/sys-apps/openrc/files/0.4.1/*.patch
 *   ( *.patch )

 * 
 * ERROR: sys-apps/openrc-0.4.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2618:  Called epatch '/usr/portage/sys-apps/openrc/files/0.4.1/*.patch'
 *             environment, line 1155:  Called die
 * The specific snippet of code:
 *                   die "Cannot find $EPATCH_SOURCE!";
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.4.1/temp/environment'.


Emerge Info

Portage 2.1.6.2 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.2.5
Timestamp of tree: Wed, 24 Dec 2008 01:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -mtune=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES@euro"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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 acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly nvidia openmp pam pcre perl pppd python readline reflection session spl sse sse2 sse3 sse4_1 ssl sysfs tcpd unicode xorg xvmc 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-24 02:52:04 UTC
Reassigning to base-system herd.

Here's a quick fix:

sed -e '/epatch/s:0\.4\.1:0.4.0:' -i /usr/portage/sys-apps/openrc/openrc-0.4.1.ebuild
ebuild  /usr/portage/sys-apps/openrc/openrc-0.4.1.ebuild digest
Comment 5 Bob Raitz 2008-12-24 06:11:23 UTC
(In reply to comment #4)
> Reassigning to base-system herd.
> 
> Here's a quick fix:
> 
> sed -e '/epatch/s:0\.4\.1:0.4.0:' -i
> /usr/portage/sys-apps/openrc/openrc-0.4.1.ebuild
> ebuild  /usr/portage/sys-apps/openrc/openrc-0.4.1.ebuild digest
> 
The above works if the first two lines are put together with your favorite editor. This worked for me.

Blessed be!
Pappy
Comment 6 Matthias Schwarzott gentoo-dev 2008-12-24 07:00:01 UTC
The ebuild is fixed now.
Comment 7 Serkan Kaba (RETIRED) gentoo-dev 2008-12-24 17:51:16 UTC
*** Bug 252414 has been marked as a duplicate of this bug. ***
Comment 8 Mike Hammill 2008-12-25 08:47:25 UTC
(In reply to comment #6)
> The ebuild is fixed now.
> 
Quite right.  Sorry I missed seeing that in bugzilla.  I can verify it worked for me on ~mips.  Merry Christmas!