Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699378 - app-portage/portage-utils: qmerge needs to source profile.bashrc and package.bashrc
Summary: app-portage/portage-utils: qmerge needs to source profile.bashrc and package....
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 16:28 UTC by Joakim Tjernlund
Modified: 2020-01-02 14:08 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 Joakim Tjernlund 2019-11-05 16:28:42 UTC
Only profile make.defaults is sourced now AFAICT
Comment 1 Joakim Tjernlund 2019-11-15 10:31:17 UTC
For me the global profile.bashrc would be enough
Comment 2 Fabian Groffen gentoo-dev 2019-12-28 09:47:29 UTC
what vars are you looking for?
Comment 3 Joakim Tjernlund 2020-01-02 14:01:51 UTC
For me it is mainly INSTALL_MASK and PKG_INSTALL_MASK
profile.bashrc:
#DEFINED_PHASES=compile configure install postinst preinst prepare pretend setup test unpack

#glibc
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/lib/debug/usr/lib/misc/glibc /usr/lib/debug/usr/lib/gconv"
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/lib/debug/usr/bin /usr/lib/debug/usr/sbin /usr/lib/debug/sbin"
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/share/i18n/charmaps -/usr/share/i18n/charmaps/UTF-8.gz"
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/lib/gconv/ -/usr/lib/gconv/ISO8859* -/usr/lib/gconv/UTF-* -/usr/lib/gc
onv/gconv-modules"
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/share/locale -/usr/share/locale/en_GB -/usr/share/locale/uk "
#binutils
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/share/binutils-data/powerpc-unknown-linux-gnu/*/info /usr/share/binuti
ls-data/powerpc-unknown-linux-gnu/*/man"
PKG_INSTALL_MASK="${PKG_INSTALL_MASK} /usr/share/binutils-data/powerpc-unknown-linux-gnu/*/locale -/usr/share/bin
utils-data/powerpc-unknown-linux-gnu/*/locale/uk"

if [ "${CATEGORY}/${PN}" != "sys-apps/cusfpv3" ]; then 
    INSTALL_MASK="${INSTALL_MASK} $(. $(dirname "$*")/etc_file_list)"
    PKG_INSTALL_MASK="${PKG_INSTALL_MASK} ${INSTALL_MASK}"
else
    INSTALL_MASK=""
    PKG_INSTALL_MASK="${INSTALL_MASK}"
fi
export PKG_INSTALL_MASK
export INSTALL_MASK
Comment 4 Fabian Groffen gentoo-dev 2020-01-02 14:08:30 UTC
qmerge isn't really sourcing, it's just parsing shell-like assignments

That `if' is currently far from being able to be handled by qmerge.