Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284595 - =sys-apps/portage-2.2_rc40 `QA_PRESTRIPPED_x86-fbsd': not a valid identifier because $ARCH may contain dashes
Summary: =sys-apps/portage-2.2_rc40 `QA_PRESTRIPPED_x86-fbsd': not a valid identifier ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-09-11 12:39 UTC by Dmitri Bogomolov
Modified: 2010-06-07 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/-/_}"