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

Bug 284595

Summary: =sys-apps/portage-2.2_rc40 `QA_PRESTRIPPED_x86-fbsd': not a valid identifier because $ARCH may contain dashes
Product: Gentoo Linux Reporter: Dmitri Bogomolov <4glitch>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dmitri Bogomolov 2009-09-11 12:39:29 UTC
I got many warnings with this text

/usr/lib/portage/bin/ebuild.sh: line 1844: export: `QA_PRESTRIPPED_x86-fbsd': not a valid identifier

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-apps/portage-2.2_rc40
2. emerge -vup world
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-09-13 08:41:35 UTC
        # This needs to be exported since prepstrip is a separate shell script.
        [[ -n $QA_PRESTRIPPED ]] && export QA_PRESTRIPPED
        eval "[[ -n \$QA_PRESTRIPPED_$ARCH ]] && export QA_PRESTRIPPED_$ARCH"
Comment 2 Fabian Groffen gentoo-dev 2009-09-13 08:45:18 UTC
this is already fixed, but not yet released:

    # This needs to be exported since prepstrip is a separate shell script.
    [[ -n $QA_PRESTRIPPED ]] && export QA_PRESTRIPPED
    eval "[[ -n \$QA_PRESTRIPPED_${ARCH/-/_} ]] && export                       QA_PRESTRIPPED_${ARCH/-/_}"