Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358913 - check-reqs.eclass epause is not defined in EAPI=3
Summary: check-reqs.eclass epause is not defined in EAPI=3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
: 374173 377891 378015 380455 (view as bug list)
Depends on:
Blocks: 377943
  Show dependency tree
 
Reported: 2011-03-14 17:49 UTC by Agostino Sarubbo
Modified: 2011-09-20 22:22 UTC (History)
5 users (show)

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


Attachments
check-reqs.eclass-BJA-epause.diff (check-reqs.eclass-BJA-epause.diff,449 bytes, patch)
2011-08-09 22:02 UTC, Bertrand Jacquin
Details | Diff
check-reqs.patch (check-reqs.patch,14.87 KB, patch)
2011-08-26 21:51 UTC, Tomáš Chvátal (RETIRED)
Details | Diff
check-reqs.patch (check-reqs.patch,14.67 KB, patch)
2011-08-26 21:56 UTC, Tomáš Chvátal (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-03-14 17:49:33 UTC
in a configure phase:


* QA Notice: epause is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-14 18:40:02 UTC
hmm, must have missed that and can't check right now, but: The ebuild doesn't call epause at all, maybe some eclass calls it (which then should be a bug for this eclass)
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-15 20:47:20 UTC
(In reply to comment #0)
> in a configure phase:
> 
> 
> * QA Notice: epause is not defined in EAPI=3, please file a bug at
> http://bugs.gentoo.org

Maybe I'm missing something (not awfully familiar with the whole QA thing) but I simply don't see this message in my build log. Also as I stated before, Libreoffice simply doesn't call epause at all.

So in short: I really need some more explanation to do something about this bug.
Comment 3 Felix Riemann 2011-03-27 14:12:36 UTC
I think this is a problem of the check-reqs eclass as it shows up if your HDD or RAM is too small. Then the following is shown:

 * Messages for package app-office/libreoffice-3.3.2:

 * 
 *  If you experience a build break, please make sure to retry 
 *  with MAKEOPTS=-j1 before filing a bug. 
 * 
 * Don't have at least 7144MBytes disk space at /var/tmp/portage/app-office/libreoffice-3.3.2/temp
 * Bad things may happen! You may abort the build by pressing ctrl+c in
 * the next 15 seconds.
 *  
 * QA Notice: epause is not defined in EAPI=3, please file a bug at http://bugs.gentoo.org
Comment 4 dE 2011-04-18 06:25:29 UTC
(In reply to comment #3)
> I think this is a problem of the check-reqs eclass as it shows up if your HDD
> or RAM is too small. Then the following is shown:
> 
>  * Messages for package app-office/libreoffice-3.3.2:
> 
>  * 
>  *  If you experience a build break, please make sure to retry 
>  *  with MAKEOPTS=-j1 before filing a bug. 
>  * 
>  * Don't have at least 7144MBytes disk space at
> /var/tmp/portage/app-office/libreoffice-3.3.2/temp
>  * Bad things may happen! You may abort the build by pressing ctrl+c in
>  * the next 15 seconds.
>  *  
>  * QA Notice: epause is not defined in EAPI=3, please file a bug at
> http://bugs.gentoo.org

Indeed. Also I think the HDD requirements should be stepped down to 4 GB.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 12:54:57 UTC
It is in check-reqs eclass which has no maintainer. Reassigning to qa.
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2011-08-06 06:27:45 UTC
*** Bug 377891 has been marked as a duplicate of this bug. ***
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2011-08-06 06:28:22 UTC
*** Bug 374173 has been marked as a duplicate of this bug. ***
Comment 8 Matt Turner gentoo-dev 2011-08-06 16:40:08 UTC
*** Bug 378015 has been marked as a duplicate of this bug. ***
Comment 9 Bertrand Jacquin 2011-08-09 22:02:49 UTC
Created attachment 282767 [details, diff]
check-reqs.eclass-BJA-epause.diff

Here is a tricky fix
Comment 10 Ulrich Müller gentoo-dev 2011-08-09 22:36:36 UTC
(In reply to comment #9)
> Created attachment 282767 [details, diff]
> check-reqs.eclass-BJA-epause.diff
> 
> Here is a tricky fix

The original idea behind epause was that it should be possible to disable the sleep. See the old discussion (from 2004): <http://marc.info/?l=gentoo-dev&m=109407032217989>. Replacing epause by sleep again would be a step in the wrong direction.

EAPI 4 has introduced the pkg_pretend function. IMO a proper solution would move the eclass's sanity checks to that function.
Comment 11 Agostino Sarubbo gentoo-dev 2011-08-24 10:18:05 UTC
*** Bug 380455 has been marked as a duplicate of this bug. ***
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-26 21:51:55 UTC
Created attachment 284751 [details, diff]
check-reqs.patch

My update for the eclass.

Properly uses pkg_pretend and pkg_setup phases.

Adds eclassdoc everywhere.

Make the variables entering more sane.

Adds QA warn for old usage and explain the new approach.
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-26 21:56:20 UTC
Created attachment 284753 [details, diff]
check-reqs.patch

Accidentaly attached older version, only changes in comments.
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-20 22:22:48 UTC
The updated eclass is in main tree so closing.