Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438878 - check-reqs eclass fails with binpkgs
Summary: check-reqs eclass fails with binpkgs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 00:53 UTC by Patrick Lauer
Modified: 2021-03-14 09:33 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 Patrick Lauer gentoo-dev 2012-10-19 00:53:08 UTC
>>> Running pre-merge checks for dev-python/pypy-1.9-r1
--2012-10-19 08:49:54--  http://packages.gentooexperimental.org/packages/amd64-notebook/dev-python/pypy-1.9-r1.tbz2
Resolving packages.gentooexperimental.org... 81.93.250.104
Connecting to packages.gentooexperimental.org|81.93.250.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18586994 (18M) [application/octet-stream]
Saving to: '/usr/portage/packages/dev-python/pypy-1.9-r1.tbz2'

100%[======================================================================================================================================================>] 18,586,994  1.24MB/s   in 15s    

2012-10-19 08:50:11 (1.16 MB/s) - '/usr/portage/packages/dev-python/pypy-1.9-r1.tbz2' saved [18586994/18586994]

 * pypy-1.9-r1.tbz2 MD5 SHA1 size ;-) ...                                [ ok ]
 * Checking for at least 4 gibibytes RAM ...                                                                                                                                             [ !! ]
 * There is NOT at least 4 gibibytes RAM
 * 
 * Space constrains set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 * 
 * ERROR: dev-python/pypy-1.9-r1 failed (pretend phase):
 *   Build requirements not met!


===> *not* building, so those limitations do explicitly not apply
Comment 1 Patrick Lauer gentoo-dev 2012-10-19 01:10:30 UTC
# I_KNOW_WHAT_I_AM_DOING="fuuuu" emerge -auG python:{2.5,2.6,2.7,3.3} =pypy-1.8* =pypy-1.9* jython


 * Messages for package dev-python/pypy-1.9-r1:

 * There is NOT at least 4 gibibytes RAM
 * 
 * Space constrains set in the ebuild were not met!
 * The build will most probably fail, you should enhance the space
 * as per failed tests.
 * 
 * ERROR: dev-python/pypy-1.9-r1 failed (pretend phase):
 *   Build requirements not met!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called pkg_pretend
 *   environment, line 2851:  Called check-reqs_pkg_pretend
 *   environment, line 1112:  Called check-reqs_pkg_setup
 *   environment, line 1119:  Called check-reqs_output
 *   environment, line 1106:  Called die
 * The specific snippet of code:
 *           [[ ${EBUILD_PHASE} == "pretend" && -z ${I_KNOW_WHAT_I_AM_DOING} ]] && die "Build requirements not met!";


That's just sad.
Comment 2 Patrick Lauer gentoo-dev 2012-10-19 02:45:39 UTC
[[ ${MERGE_TYPE} == binary ]] && return

just committed that, so now for new pkgs with EAPI >=4 it should work.

Still leaves everything else :)
Comment 3 Ulrich Müller gentoo-dev 2021-03-14 09:33:19 UTC
(In reply to Patrick Lauer from comment #2)
> [[ ${MERGE_TYPE} == binary ]] && return
> 
> just committed that, so now for new pkgs with EAPI >=4 it should work.

Support for EAPIs older than 4 has been dropped from the eclass in 2019, so this should no longer be an issue.


(In reply to Patrick Lauer from comment #1)
> # I_KNOW_WHAT_I_AM_DOING="fuuuu" emerge -auG python:{2.5,2.6,2.7,3.3}
> =pypy-1.8* =pypy-1.9* jython
> 
> [...]
> 
>  * ERROR: dev-python/pypy-1.9-r1 failed (pretend phase):
>  *   Build requirements not met!

I cannot reproduce this, neither with the current tree, nor if I revert to commit 341b18a2cc56a from 2012. In fact, all die commands (except usage errors) are guarded by a test for I_KNOW_WHAT_I_AM_DOING.


Closing.