Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 354329

Summary: Improve "ebeep/epause not defined" message in eutils.eclass
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: EclassesAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED OBSOLETE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: eutils.eclass.patch

Description Dennis Schridde 2011-02-10 08:08:51 UTC
eutils.eclass defines for EAPI=3,4:
ebeep() {
    ewarn "QA Notice: ebeep is not defined in EAPI=${EAPI}, please file a bug at http://bugs.gentoo.org"
}
epause() {
    ewarn "QA Notice: epause is not defined in EAPI=${EAPI}, please file a bug at http://bugs.gentoo.org"
}

From this description I am wondering if I am wrong to use it in my ebuild, or whether this is a bug in eutils.eclass.
I would wish for the message to be improved to tell who is at fault and, if the ebuild is wrong, how to fix it.

Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-02-10 09:43:43 UTC
Created attachment 262021 [details, diff]
eutils.eclass.patch

Describe it more verbosely.

I wonder whether we should rather just DIE since if somebody bothers to update the ebuild to new eapi they should at least try to install it and die makes them to fix it right away...
Comment 2 Dennis Schridde 2011-02-10 22:01:48 UTC
How shall I fix the package? I.e. what to use instead?
PMS Appendix E doesn't talk about anything related being changed in EAPI-3. Search for "beep" and "pause" yields no results.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2011-03-17 05:41:02 UTC
Drop ebeep/epause! It's unreliable that users watch the install process when it beeps or sleeps for some seconds. Other measures (like the logging or news system) should be used.
Comment 4 Ulrich Müller gentoo-dev 2019-11-23 13:43:44 UTC
(In reply to Torsten Veller (RETIRED) from comment #3)
> Drop ebeep/epause! It's unreliable that users watch the install process when
> it beeps or sleeps for some seconds. Other measures (like the logging or
> news system) should be used.

I've sent a patch to gentoo-dev that will drop ebeep and epause:
https://archives.gentoo.org/gentoo-dev/message/9629d845a7dfac6e17e6b8babab14199
Comment 5 Ulrich Müller gentoo-dev 2019-11-28 20:00:43 UTC
eutils.eclass no longer defines ebeep and epause, and no ebuilds are left that call these functions. Closing.