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

Bug 409673

Summary: Syntax error in media-gfx/blender ebuilds
Product: Gentoo Linux Reporter: Mira Ressel <aranea>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED OBSOLETE    
Severity: trivial CC: graphics+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=409679
Whiteboard:
Package list:
Runtime testing required: ---

Description Mira Ressel 2012-03-25 18:38:47 UTC
Since 2.49a, the blender ebuilds contain a small syntax error in src_compile which leads to inaccurate error reporting. It's only a cosmetic issue though.

The old (good) syntax in =media-gfx/blender-2.48a-r3 was:
    escons || die \
    "!!! Please add ${S}/scons.config when filing bugs reports to bugs.gentoo.org"

The new, errorneous syntax since >=media-gfx/blender-2.49a is:
    escons || die \
    '!!! Please add "${S}/scons.config" when filing bugs reports \
    to bugs.gentoo.org'

The error is obvious: The ${S} and the \ don't work inside the '', the string is printed literally.

Reproducible: Always
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-16 00:54:11 UTC
Okay as of 2.63a-r1 the || die is gone, so, considering obsolete.