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.
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(+)