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

Bug 440426

Summary: app-cdr/dvd+rw-tools-7.1-r1: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: media-optical
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:58:38 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-cdr/dvd+rw-tools-7.1-r1, the following elog messages are displayed:

 * When you run growisofs if you receive:
 * unable to anonymously mmap 33554432: Resource temporarily unavailable
 * error message please run 'ulimit -l unlimited'

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'app-cdr/dvd+rw-tools'; then

See the tracker bug 440214 for more details.
Comment 1 Michael Orlitzky gentoo-dev 2016-07-31 15:20:43 UTC
commit 33e1efb78282e59c62628e27429c0aa6b9976dc9
Author: Michael Orlitzky <mjo@gentoo.org>
Date:   Sun Jul 31 11:17:58 2016 -0400

    app-cdr/dvd+rw-tools: new revision with EAPI=6 to fix a bug.

    A new revision was in order to fix bug 440426 and only show a ulimit
    warning for new installs. It made sense to update to EAPI=6 for the
    new revision, and that simplified the ebuild a bit. To use the EAPI=6
    PATCHES support, two patches had to be revisioned to be -p1
    compatible.  Theoretically they could have been modified in-place
    (since epatch autodetects the -pN level), but since that would affect
    a stable ebuild, I avoided it.

    Gentoo-Bug: 440426

    Package-Manager: portage-2.2.28

 app-cdr/dvd+rw-tools/dvd+rw-tools-7.1-r2.ebuild    | 51 ++++++++++++++++++++++
 .../files/dvd+rw-tools-7.0-dvddl-r1.patch          | 13 ++++++
 .../files/dvd+rw-tools-7.0-wctomb-r1.patch         | 11 +++++
 3 files changed, 75 insertions(+)