Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541210 - dev-lisp/ecls-15.2.21 - Cannot find $EPATCH_SOURCE - /usr/portage/dev-lisp/ecls/files/15.2.21-headers-gentoo.patch
Summary: dev-lisp/ecls-15.2.21 - Cannot find $EPATCH_SOURCE - /usr/portage/dev-lisp/ec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 08:23 UTC by Juergen Rose
Modified: 2015-02-25 11:11 UTC (History)
1 user (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 Juergen Rose 2015-02-24 08:23:16 UTC
'emerge ecls' fails with:
...
>>> Emerging (1 of 2) dev-lisp/ecls-15.2.21::gentoo
 * ecl-15.2.21.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking ecl-15.2.21.tgz to /var/tmp/portage/dev-lisp/ecls-15.2.21/work
>>> Source unpacked in /var/tmp/portage/dev-lisp/ecls-15.2.21/work
>>> Preparing source in /var/tmp/portage/dev-lisp/ecls-15.2.21/work/ecl-15.2.21 ...

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage_lynx2/dev-lisp/ecls/files/15.2.21-headers-gentoo.patch
 *   ( 15.2.21-headers-gentoo.patch )

 * ERROR: dev-lisp/ecls-15.2.21::gentoo failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 2044:  Called epatch '/usr/portage_lynx2/dev-lisp/ecls/files/15.2.21-headers-gentoo.patch'


Has somebody forgotten to 15.2.21-headers-gentoo.patch to the files directory?

root@lynx2:/usr/local/portage/app-office/libreoffice(31)# ll /usr/portage_lynx2/dev-lisp/ecls/files
total 13
-rw-r--r-- 1 root root  462 Apr 12  2010 10.4.1-headers-gentoo.patch
-rw-r--r-- 1 root root 1152 Mar  4  2011 11.1.1-cmploc.patch
-rw-r--r-- 1 root root  462 Jan 17  2011 11.1.1-headers-gentoo.patch
-rw-r--r-- 1 root root  418 May 29  2013 12.12.1-asdf.patch
-rw-r--r-- 1 root root  462 Dec 14  2012 12.12.1-headers-gentoo.patch
-rw-r--r-- 1 root root  462 Feb 11  2012 12.2.1-headers-gentoo.patch
-rw-r--r-- 1 root root  462 Aug  5  2012 12.7.1-headers-gentoo.patch
-rw-r--r-- 1 root root 1985 Jan 11  2014 13.5.1-gc74.patch
-rw-r--r-- 1 root root  365 May 29  2013 13.5.1-headers-gentoo.patch
-rw-r--r-- 1 root root  462 Dec 17  2009 9.12.3-headers-gentoo.patch
-rw-r--r-- 1 root root  692 Jul  9  2006 README.Gentoo
Comment 1 Andrey Grozin gentoo-dev 2015-02-24 10:02:17 UTC
  24 Feb 2015; Andrey Grozin <grozin@gentoo.org>
  +files/15.2.21-headers-gentoo.patch:
  Adding the forgotten patch (#541210)
Comment 2 Juergen Rose 2015-02-25 09:46:57 UTC
(In reply to Andrey Grozin from comment #1)
>   24 Feb 2015; Andrey Grozin <grozin@gentoo.org>
>   +files/15.2.21-headers-gentoo.patch:
>   Adding the forgotten patch (#541210)

Hi Andrey,
thank you for the patch. But now 'emerge ecls' fails with:
...
make -j5 DESTDIR=/var/tmp/portage/dev-lisp/ecls-15.2.21/image/ install 
cd build; make install
make[1]: Entering directory '/var/tmp/portage/dev-lisp/ecls-15.2.21/work/ecl-15.2.21/build'
# Here we would use the option -s but the install program in sourceforge-solaris
# is broken.
/bin/sh /var/tmp/portage/dev-lisp/ecls-15.2.21/work/ecl-15.2.21/src/gc/mkinstalldirs /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/bin/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/lib64/ \
  /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/lib64/ecl-15.2.21/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/include/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/include//ecl
mkdir -p -- /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/bin/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/lib64/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/lib64/ecl-15.2.21/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/include/ /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/include//ecl
for i in bin/ecl; do \
  /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c $i /var/tmp/portage/dev-lisp/ecls-15.2.21/image//usr/bin/; \
done
/usr/bin/install: cannot stat ‘bin/ecl’: No such file or directory
Makefile:145: recipe for target 'install' failed
make[1]: *** [install] Error 1


Should I file a separate bug?
Comment 3 Andrey Grozin gentoo-dev 2015-02-25 11:11:02 UTC
(In reply to Juergen Rose from comment #2)
> /usr/bin/install: cannot stat ‘bin/ecl’: No such file or directory
Hmm. I've encountered this error when I tried to emerge ecls-15.2.21 with CPU_FLAGS_X86=sse (the bug reported upstreem, no fix available yet). Therefore, I've added the line

=dev-lisp/ecls-15.2.21 cpu_flags_x86_sse

to /usr/portage/profiles/base/package.use.mask. However, I see

dns ~ # emerge -pv dev-lisp/ecls
[ebuild   R    ] dev-lisp/ecls-15.2.21:0/15.2.21::gentoo [15.2.21:0/15.2.21::grozin] USE="X emacs libatomic%* threads unicode -debug -gengc -precisegc" CPU_FLAGS_X86="sse*" 0 KiB

I don't understand why package.use.mask is ignored. At the moment, as a workaround, you can

USE=-cpu_flags_x86_sse emerge dev-lisp/ecls