Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278014 - portage-2.2.00.13827 regression with _eapi2_src_install is not supported
Summary: portage-2.2.00.13827 regression with _eapi2_src_install is not supported
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-07-16 07:11 UTC by Rabbe Fogelholm
Modified: 2009-07-19 18:09 UTC (History)
0 users

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 Rabbe Fogelholm 2009-07-16 07:11:11 UTC
Platform is Prefix Gentoo. `emerge evince' fails because it pulls in poppler-glib which fails:

>>> Emerging (20 of 24) virtual/poppler-glib-0.10.6
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Source unpacked in /local/scratch/portage/virtual/poppler-glib-0.10.6/work
>>> Preparing source in /local/scratch/portage/virtual/poppler-glib-0.10.6/work ...
>>> Source prepared.
>>> Configuring source in /local/scratch/portage/virtual/poppler-glib-0.10.6/work ...
>>> Source configured.
>>> Compiling source in /local/scratch/portage/virtual/poppler-glib-0.10.6/work ...
>>> Source compiled.
>>> Test phase [not enabled]: virtual/poppler-glib-0.10.6

>>> Install poppler-glib-0.10.6 into /local/scratch/portage/virtual/poppler-glib-0.10.6/image/local/tmp/h/ category virtual
 * ERROR: virtual/poppler-glib-0.10.6 failed:
 *   _eapi2_src_install is not supported
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-16 19:38:16 UTC
works with portage-2.2.00.13683, masking v .13827 =/
Comment 2 Fabian Groffen gentoo-dev 2009-07-16 19:49:29 UTC
somehow I was waiting for that :(
Comment 3 Fabian Groffen gentoo-dev 2009-07-16 19:57:20 UTC
Index: bin/ebuild.sh
===================================================================
--- bin/ebuild.sh       (revision 13826)
+++ bin/ebuild.sh       (working copy)
@@ -605,7 +605,7 @@
 }
 
 _eapi0_src_install() {
-       _eapi2_src_install
+       _eapi1_src_install
 }
 
 _eapi0_src_test() {
@@ -632,7 +632,12 @@
 }
 
 _eapi1_src_install() {
-       _eapi2_src_install
+       if use prefix ; then
+               # this avoids misc QA errors in Prefix because it doesn't exist
+               # by default
+               mkdir -p "${ED}"
+               return
+       fi
 }
 
 _eapi2_src_configure() {
@@ -647,15 +652,6 @@
        fi
 }
 
-_eapi2_src_install() {
-       if use prefix ; then
-               # this avoids misc errors in Prefix because it doesn't exist
-               # by default
-               mkdir -p "${ED}"
-               return
-       fi
-}
-
 _eapi3_src_install() {
        if [[ -f Makefile || -f GNUmakefile || -f makefile ]] ; then
                emake DESTDIR="${D}" install
@@ -672,6 +668,10 @@
        else
                dodoc ${DOCS}
        fi
+
+       # this avoids misc QA errors in Prefix because it doesn't exist
+       # by default
+       use prefix && mkdir -p "${ED}"
 }
 
 ebuild_phase() {


revision 13829
Comment 4 Fabian Groffen gentoo-dev 2009-07-16 20:08:44 UTC
fix delivered in portage-2.2.00.13830
Comment 5 Rabbe Fogelholm 2009-07-19 18:09:37 UTC
Confirming: Successful emerge of poppler-glib 2009-07-17.