public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Sachau" <tommy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:multilib commit in: /
Date: Sat, 22 Sep 2012 15:23:41 +0000 (UTC)	[thread overview]
Message-ID: <1348327351.baf9799818ebdd09c291c94419cd5a427a21c9f5.tommy@gentoo> (raw)

commit:     baf9799818ebdd09c291c94419cd5a427a21c9f5
Author:     Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 22 15:22:31 2012 +0000
Commit:     Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sat Sep 22 15:22:31 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=baf97998

Merge 2.2_alpha130


 bin/bashrc-functions.sh                            |   59 +----
 bin/ebuild-helpers/dobin                           |    6 +-
 bin/ebuild-helpers/doconfd                         |    2 +-
 bin/ebuild-helpers/dodir                           |    2 +-
 bin/ebuild-helpers/dodoc                           |    4 +-
 bin/ebuild-helpers/doenvd                          |    2 +-
 bin/ebuild-helpers/doexe                           |    6 +-
 bin/ebuild-helpers/doheader                        |    4 +-
 bin/ebuild-helpers/dohtml                          |    2 +-
 bin/ebuild-helpers/doinfo                          |    6 +-
 bin/ebuild-helpers/doinitd                         |    2 +-
 bin/ebuild-helpers/doins                           |   14 +-
 bin/ebuild-helpers/dolib                           |    6 +-
 bin/ebuild-helpers/doman                           |    6 +-
 bin/ebuild-helpers/domo                            |    4 +-
 bin/ebuild-helpers/dosbin                          |    6 +-
 bin/ebuild-helpers/dosym                           |    4 +-
 bin/ebuild-helpers/ecompress                       |   14 +-
 bin/ebuild-helpers/ecompressdir                    |   22 +-
 bin/ebuild-helpers/emake                           |    2 +-
 bin/ebuild-helpers/fowners                         |    2 +-
 bin/ebuild-helpers/fperms                          |    2 +-
 bin/ebuild-helpers/newins                          |   10 +-
 bin/ebuild-helpers/prepalldocs                     |    2 +-
 bin/ebuild-helpers/prepinfo                        |    2 +-
 bin/ebuild-helpers/prepstrip                       |   22 +-
 bin/ebuild.sh                                      |   42 +--
 bin/egencache                                      |    4 +-
 bin/emerge-webrsync                                |   20 +-
 bin/helper-functions.sh                            |   26 +-
 bin/isolated-functions.sh                          |   82 ++---
 bin/misc-functions.sh                              |   90 +++---
 bin/phase-functions.sh                             |  332 ++++++++++----------
 bin/phase-helpers.sh                               |   80 +++---
 bin/save-ebuild-env.sh                             |   52 ++--
 doc/package/ebuild/eapi/5.docbook                  |   40 ++--
 man/ebuild.5                                       |  149 +++++++++-
 man/emerge.1                                       |    8 +-
 man/make.conf.5                                    |    9 -
 man/portage.5                                      |   89 ++++--
 misc/emerge-delta-webrsync                         |    4 +
 pym/_emerge/EbuildMetadataPhase.py                 |    9 +-
 pym/_emerge/MetadataRegen.py                       |    6 +-
 pym/_emerge/Package.py                             |   17 +-
 pym/portage/cache/sqlite.py                        |   16 +-
 pym/portage/const.py                               |    4 +-
 pym/portage/dbapi/__init__.py                      |   10 +
 pym/portage/dep/__init__.py                        |    2 +
 pym/portage/dep/dep_check.py                       |   13 +-
 pym/portage/package/ebuild/config.py               |   39 ++-
 .../package/ebuild/deprecated_profile_check.py     |   21 +-
 pym/portage/package/ebuild/doebuild.py             |   41 +++-
 pym/portage/tests/dep/testAtom.py                  |    1 -
 pym/portage/tests/dep/test_isvalidatom.py          |    2 +-
 pym/portage/tests/dep/test_match_from_list.py      |    2 -
 pym/portage/tests/repoman/test_simple.py           |    4 +-
 pym/portage/tests/update/test_update_dbentry.py    |   48 +++
 pym/portage/update.py                              |   82 ++++--
 58 files changed, 902 insertions(+), 655 deletions(-)

diff --cc bin/phase-functions.sh
index 9a1679c,2b93231..6ebcbe0
--- a/bin/phase-functions.sh
+++ b/bin/phase-functions.sh
@@@ -211,86 -208,51 +211,86 @@@ __ebuild_phase_with_hooks() 
  	done
  }
  
- dyn_pretend() {
+ __dyn_pretend() {
  	if [[ -e $PORTAGE_BUILDDIR/.pretended ]] ; then
- 		vecho ">>> It appears that '$PF' is already pretended; skipping."
- 		vecho ">>> Remove '$PORTAGE_BUILDDIR/.pretended' to force pretend."
+ 		__vecho ">>> It appears that '$PF' is already pretended; skipping."
+ 		__vecho ">>> Remove '$PORTAGE_BUILDDIR/.pretended' to force pretend."
  		return 0
  	fi
- 	ebuild_phase pre_pkg_pretend
- 	ebuild_phase pkg_pretend
+ 	__ebuild_phase pre_pkg_pretend
+ 	__ebuild_phase pkg_pretend
  	>> "$PORTAGE_BUILDDIR/.pretended" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.pretended"
- 	ebuild_phase post_pkg_pretend
+ 	__ebuild_phase post_pkg_pretend
  }
  
- dyn_setup() {
+ __dyn_setup() {
 -	if [[ -e $PORTAGE_BUILDDIR/.setuped ]] ; then
 -		__vecho ">>> It appears that '$PF' is already setup; skipping."
 -		__vecho ">>> Remove '$PORTAGE_BUILDDIR/.setuped' to force setup."
 -		return 0
 +	if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +		if ! is_auto-multilib && ! use multilib_abi_"${DEFAULT_ABI}" ; then
 +			ewarn
 +			ewarn "You disabled all ABIs"
 +			ewarn "You should enable at least one ABI"
 +			ewarn "Enabling the default ABI now"
 +			ewarn
 +		fi
  	fi
 +	for LOOP_ABI in $(get_abi_list); do
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			set_abi ${LOOP_ABI}
 +			if is_ebuild; then
 +				source "${T}"/environment || die
 +			else
 +				rm -f "${T}"/environment
 +			fi
 +			if [[ -e $PORTAGE_BUILDDIR/.setuped.${ABI} ]] ; then
- 				vecho ">>> It appears that '$PF' is already setup; skipping."
- 				vecho ">>> Remove '$PORTAGE_BUILDDIR/.setuped.${ABI}' to force setup."
++				__vecho ">>> It appears that '$PF' is already setup; skipping."
++				__vecho ">>> Remove '$PORTAGE_BUILDDIR/.setuped.${ABI}' to force setup."
 +				return 0
 +			fi
 +		fi
- 	ebuild_phase pre_pkg_setup
- 	ebuild_phase pkg_setup
+ 	__ebuild_phase pre_pkg_setup
+ 	__ebuild_phase pkg_setup
 +	>> "$PORTAGE_BUILDDIR/.setuped.${ABI}" || \
 +		die "Failed to create $PORTAGE_BUILDDIR/.setuped"
 +
 +		[[ " ${FEATURES} " == *" force-multilib "* ]] && is_ebuild && { unset_abi; source "${T}"/environment || die ; }
 +	done
 +
  	>> "$PORTAGE_BUILDDIR/.setuped" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.setuped"
- 	ebuild_phase post_pkg_setup
+ 	__ebuild_phase post_pkg_setup
 +
 +	[[ " ${FEATURES} " == *" force-multilib "* ]] && is_ebuild && { rm "${T}"/environment || die ; }
  }
  
- dyn_unpack() {
+ __dyn_unpack() {
  	if [[ -f ${PORTAGE_BUILDDIR}/.unpacked ]] ; then
- 		vecho ">>> WORKDIR is up-to-date, keeping..."
+ 		__vecho ">>> WORKDIR is up-to-date, keeping..."
  		return 0
  	fi
  	if [ ! -d "${WORKDIR}" ]; then
  		install -m${PORTAGE_WORKDIR_MODE:-0700} -d "${WORKDIR}" || die "Failed to create dir '${WORKDIR}'"
  	fi
  	cd "${WORKDIR}" || die "Directory change failed: \`cd '${WORKDIR}'\`"
- 	ebuild_phase pre_src_unpack
- 	vecho ">>> Unpacking source$(_get_abi_string)..."
- 	ebuild_phase src_unpack
+ 	__ebuild_phase pre_src_unpack
 -	__vecho ">>> Unpacking source..."
++	__vecho ">>> Unpacking source$(_get_abi_string)..."
+ 	__ebuild_phase src_unpack
 +
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if is_auto-multilib && is_ebuild; then
 +				>> "$PORTAGE_BUILDDIR"/.unpacked."${LOOP_ABI}" || die "IO Failure -- Failed to 'touch .unpacked.${LOOP_ABI}'"
 +			fi
 +			is_ebuild && { unset_abi; source "${T}"/environment || die ; }
 +
 +			is_ebuild && { rm "${T}"/environment || die ; }
 +		fi
  	>> "$PORTAGE_BUILDDIR/.unpacked" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.unpacked"
- 	vecho ">>> Source unpacked in ${WORKDIR}"
- 	ebuild_phase post_src_unpack
+ 	__vecho ">>> Source unpacked in ${WORKDIR}"
+ 	__ebuild_phase post_src_unpack
  }
  
- dyn_clean() {
+ __dyn_clean() {
  	if [ -z "${PORTAGE_BUILDDIR}" ]; then
  		echo "Aborting clean phase because PORTAGE_BUILDDIR is unset!"
  		return 1
@@@ -421,25 -372,15 +421,25 @@@ __dyn_prepare() 
  		die "The source directory '${S}' doesn't exist"
  	fi
  
- 	trap abort_prepare SIGINT SIGQUIT
+ 	trap __abort_prepare SIGINT SIGQUIT
  
- 	ebuild_phase pre_src_prepare
- 	vecho ">>> Preparing source in $PWD$(_get_abi_string) ..."
- 	ebuild_phase src_prepare
+ 	__ebuild_phase pre_src_prepare
 -	__vecho ">>> Preparing source in $PWD ..."
++	__vecho ">>> Preparing source in $PWD$(_get_abi_string) ..."
+ 	__ebuild_phase src_prepare
 +
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if is_auto-multilib && is_ebuild; then
 +				>> "$PORTAGE_BUILDDIR"/.prepared."${LOOP_ABI}" || die "IO Failure -- Failed to 'touch .prepared.${LOOP_ABI}'"
 +			fi
 +			is_ebuild && { unset_abi; source "${T}"/environment || die ; }
 +		fi
 +	done
 +	[[ " ${FEATURES} " == *" force-multilib "* ]] && is_ebuild && { rm "${T}"/environment || die ; }
 +
  	>> "$PORTAGE_BUILDDIR/.prepared" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.prepared"
- 	vecho ">>> Source prepared."
- 	ebuild_phase post_src_prepare
+ 	__vecho ">>> Source prepared."
+ 	__ebuild_phase post_src_prepare
  
  	trap - SIGINT SIGQUIT
  }
@@@ -472,26 -403,17 +472,26 @@@ __dyn_configure() 
  		die "The source directory '${S}' doesn't exist"
  	fi
  
- 	trap abort_configure SIGINT SIGQUIT
+ 	trap __abort_configure SIGINT SIGQUIT
  
- 	ebuild_phase pre_src_configure
+ 	__ebuild_phase pre_src_configure
  
- 	vecho ">>> Configuring source in $PWD$(_get_abi_string) ..."
- 	ebuild_phase src_configure
 -	__vecho ">>> Configuring source in $PWD ..."
++	__vecho ">>> Configuring source in $PWD$(_get_abi_string) ..."
+ 	__ebuild_phase src_configure
 +
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if is_auto-multilib && is_ebuild; then
 +				>> "$PORTAGE_BUILDDIR"/.configured."${LOOP_ABI}" || die "IO Failure -- Failed to 'touch .configured.${LOOP_ABI}'"
 +			fi
 +			is_ebuild && { unset_abi; source "${T}"/environment || die ; }
 +		fi
 +	done
 +	[[ " ${FEATURES} " == *" force-multilib "* ]] && is_ebuild && { rm "${T}"/environment || die ; }
  	>> "$PORTAGE_BUILDDIR/.configured" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.configured"
- 	vecho ">>> Source configured."
+ 	__vecho ">>> Source configured."
  
- 	ebuild_phase post_src_configure
+ 	__ebuild_phase post_src_configure
  
  	trap - SIGINT SIGQUIT
  }
@@@ -533,24 -445,15 +533,24 @@@ __dyn_compile() 
  		fi
  	fi
  
- 	ebuild_phase pre_src_compile
+ 	__ebuild_phase pre_src_compile
  
- 	vecho ">>> Compiling source in $PWD$(_get_abi_string) ..."
- 	ebuild_phase src_compile
 -	__vecho ">>> Compiling source in $PWD ..."
++	__vecho ">>> Compiling source in $PWD$(_get_abi_string) ..."
+ 	__ebuild_phase src_compile
 +
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if is_auto-multilib && is_ebuild; then
 +				>> "$PORTAGE_BUILDDIR"/.compiled."${LOOP_ABI}" || die "IO Failure -- Failed to 'touch .compiled.${LOOP_ABI}'"
 +			fi
 +			is_ebuild && { unset_abi; source "${T}"/environment || die ; }
 +		fi
 +	done
 +	[[ " ${FEATURES} " == *" force-multilib "* ]] && is_ebuild && { rm "${T}"/environment || die ; }
  	>> "$PORTAGE_BUILDDIR/.compiled" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.compiled"
- 	vecho ">>> Source compiled."
+ 	__vecho ">>> Source compiled."
  
- 	ebuild_phase post_src_compile
+ 	__ebuild_phase post_src_compile
  
  	trap - SIGINT SIGQUIT
  }
@@@ -568,10 -472,7 +569,10 @@@ __dyn_test() 
  		! has test ${USE} && export USE="${USE} test"
  	fi
  
- 	trap "abort_test" SIGINT SIGQUIT
+ 	trap "__abort_test" SIGINT SIGQUIT
 +	for LOOP_ABI in $(get_abi_list); do
 +		[[ " ${FEATURES} " == *" force-multilib "* ]] && is_ebuild && { set_abi ${LOOP_ABI}; source "${T}"/environment || die ; }
 +
  	if [ -d "${S}" ]; then
  		cd "${S}"
  	else
@@@ -579,32 -480,18 +580,32 @@@
  	fi
  
  	if ! has test $FEATURES && [ "${EBUILD_FORCE_TEST}" != "1" ]; then
- 		vecho ">>> Test phase [not enabled]: ${CATEGORY}/${PF}"
+ 		__vecho ">>> Test phase [not enabled]: ${CATEGORY}/${PF}"
  	elif has test $RESTRICT; then
  		einfo "Skipping make test/check due to ebuild restriction."
- 		vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}"
+ 		__vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}"
  	else
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if [ ${PORTAGE_BUILDDIR}/.tested.${LOOP_ABI} -nt "${WORKDIR}" ]; then
 +				echo ">>> It appears that ${PN} is already tested for ABI=${LOOP_ABI}; skipping."
 +				echo ">>> Remove '$PORTAGE_BUILDDIR/.tested.${LOOP_ABI}' to force testing."
 +				continue
 +			fi
 +		fi
 +
  		local save_sp=${SANDBOX_PREDICT}
  		addpredict /
- 		ebuild_phase pre_src_test
- 		ebuild_phase src_test
+ 		__ebuild_phase pre_src_test
+ 		__ebuild_phase src_test
 +
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if is_auto-multilib && is_ebuild; then
 +				>> "$PORTAGE_BUILDDIR"/.tested."${LOOP_ABI}" || die "IO Failure -- Failed to 'touch .tested.${LOOP_ABI}'"
 +			fi
 +		fi
  		>> "$PORTAGE_BUILDDIR/.tested" || \
  			die "Failed to create $PORTAGE_BUILDDIR/.tested"
- 		ebuild_phase post_src_test
+ 		__ebuild_phase post_src_test
  		SANDBOX_PREDICT=${save_sp}
  	fi
  
@@@ -661,35 -541,12 +662,35 @@@ __dyn_install() 
  	export _E_EXEDESTTREE_=""
  	export _E_DOCDESTTREE_=""
  
- 	ebuild_phase src_install
+ 	__ebuild_phase src_install
 +
 +		if ( [[ " ${FEATURES} " == *" force-multilib "* ]] && is_auto-multilib ) ; then
 +			_finalize_abi_install
 +			cp "${T}"/environment "${PORTAGE_BUILDDIR}"/build-info/environment.${LOOP_ABI} || die
 +			if is_ebuild; then
 +				unset_abi; source "${T}"/environment || die
 +				touch "$PORTAGE_BUILDDIR"/.installed."${LOOP_ABI}" || die "IO Failure -- Failed to 'touch .installed.${LOOP_ABI}'"
 +			fi
 +		fi
 +	done
 +	if [[ -d "${D}" ]]; then
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			if [[ ${CATEGORY}/${PN} == sys-devel/libtool ]] ; then
 +				ewarn "Preserving libltdl.la because of extensive usage"
 +				ewarn "even in m4 macros of libtool"
 +			elif [[ ${CATEGORY}/${PN} == media-libs/gst-plugins-* ]] ; then
 +				ewarn "Preserving .la files for gst plugins"
 +				ewarn "because of broken Gentoo package"
 +			else
 +				find "${D}" -name '*.la' ! -exec grep -q shouldnotlink=yes {} \; -exec rm {} \;
 +			fi
 +		fi
 +
  	>> "$PORTAGE_BUILDDIR/.installed" || \
  		die "Failed to create $PORTAGE_BUILDDIR/.installed"
- 	vecho ">>> Completed installing ${PF} into ${D}"
- 	vecho
- 	ebuild_phase post_src_install
+ 	__vecho ">>> Completed installing ${PF} into ${D}"
+ 	__vecho
+ 	__ebuild_phase post_src_install
  
  	cd "${PORTAGE_BUILDDIR}"/build-info
  	set -f
@@@ -1042,98 -861,31 +1031,109 @@@ __ebuild_main() 
  
  	case ${1} in
  	nofetch)
- 		ebuild_phase_with_hooks pkg_nofetch
+ 		__ebuild_phase_with_hooks pkg_nofetch
  		;;
 -	prerm|postrm|preinst|postinst|config|info)
 +	config|info)
  		if has "${1}" config info && \
  			! declare -F "pkg_${1}" >/dev/null ; then
  			ewarn  "pkg_${1}() is not defined: '${EBUILD##*/}'"
  		fi
  		export SANDBOX_ON="0"
  		if [ "${PORTAGE_DEBUG}" != "1" ] || [ "${-/x/}" != "$-" ]; then
- 			ebuild_phase_with_hooks pkg_${1}
+ 			__ebuild_phase_with_hooks pkg_${1}
  		else
  			set -x
- 			ebuild_phase_with_hooks pkg_${1}
+ 			__ebuild_phase_with_hooks pkg_${1}
  			set +x
  		fi
+ 		if [[ -n $PORTAGE_UPDATE_ENV ]] ; then
+ 			# Update environment.bz2 in case installation phases
+ 			# need to pass some variables to uninstallation phases.
+ 			__save_ebuild_env --exclude-init-phases | \
+ 				__filter_readonly_variables --filter-path \
+ 				--filter-sandbox --allow-extra-vars \
+ 				| ${PORTAGE_BZIP2_COMMAND} -c -f9 > "$PORTAGE_UPDATE_ENV"
+ 			assert "__save_ebuild_env failed"
+ 		fi
  		;;
- 	prerm|postrm|postinst)
++	prerm|postrm|preinst|postinst)
 +		if [[ " ${FEATURES} " == *" force-multilib "* ]]; then
 +			for LOOP_ABI in $(get_abi_order); do
 +				if is_auto-multilib ; then
 +					case ${1} in
- 						postinst)
++						preinst|postinst)
 +							set_abi ${LOOP_ABI}
++							source "${T}"/environment
 +							;;
 +						prerm|postrm)
 +							# if = backward compactibility for previous versions, which did not
 +							# install a per-ABI environment
 +							if [[ -f "${ROOT}"var/db/pkg/${CATEGORY}/${PF}/environment.${LOOP_ABI}.bz2 ]] ; then
 +								bzcat "${ROOT}"var/db/pkg/${CATEGORY}/${PF}/environment.${LOOP_ABI}.bz2 > "${T}"/environment || die
 +								preprocess_ebuild_env --filter-metadata
 +							fi
 +							;;
 +					esac
 +					# >/dev/null = backward compactibility for prerm/postrm
 +					source "${T}"/environment 2>/dev/null || die
 +				fi
 +				export SANDBOX_ON="0"
 +				if [ "${PORTAGE_DEBUG}" != "1" ] || [ "${-/x/}" != "$-" ]; then
- 					ebuild_phase_with_hooks pkg_${1}
++					__ebuild_phase_with_hooks pkg_${1}
 +				else
 +					set -x
- 					ebuild_phase_with_hooks pkg_${1}
++					__ebuild_phase_with_hooks pkg_${1}
 +					set +x
 +				fi
 +
- 				if [[ $EBUILD_PHASE == postinst ]] && [[ -n $PORTAGE_UPDATE_ENV ]]; then
++				if [[ -n $PORTAGE_UPDATE_ENV ]] ; then
 +					# Update environment.bz2 in case installation phases
 +					# need to pass some variables to uninstallation phases.
- 					save_ebuild_env --exclude-init-phases | \
- 						filter_readonly_variables --filter-path \
++					__save_ebuild_env --exclude-init-phases | \
++						__filter_readonly_variables --filter-path \
 +						--filter-sandbox --allow-extra-vars \
 +						| ${PORTAGE_BZIP2_COMMAND} -c -f9 > "$PORTAGE_UPDATE_ENV"
- 					assert "save_ebuild_env failed"
++					assert "__save_ebuild_env failed"
 +				fi
 +				if is_auto-multilib ; then
 +					case ${1} in
- 						postinst)
++						preinst|postinst)
 +							unset_abi
++							source "${T}"/environment
 +							;;
 +						prerm|postrm)
 +							#if = backward compactibility for previous versions, which did not
 +							#install a per-ABI environment
 +							if [[ -f "${ROOT}"var/db/pkg/${CATEGORY}/${PF}/environment.${LOOP_ABI}.bz2 ]] ; then
 +								preprocess_ebuild_env --filter-metadata
 +								bzcat "${ROOT}"var/db/pkg/${CATEGORY}/${PF}/environment.${LOOP_ABI}.bz2 > "${T}"/environment || die
 +							fi
 +							;;
 +					esac
 +					# >/dev/null = backward compactibility for prerm/postrm
 +					source "${T}"/environment 2>/dev/null || die
 +				fi
 +			done
 +		else
 +			export SANDBOX_ON="0"
 +			if [ "${PORTAGE_DEBUG}" != "1" ] || [ "${-/x/}" != "$-" ]; then
- 				ebuild_phase_with_hooks pkg_${1}
++				__ebuild_phase_with_hooks pkg_${1}
 +			else
 +				set -x
- 				ebuild_phase_with_hooks pkg_${1}
++				__ebuild_phase_with_hooks pkg_${1}
 +				set +x
 +			fi
++			if [[ -n $PORTAGE_UPDATE_ENV ]] ; then
++				# Update environment.bz2 in case installation phases
++				# need to pass some variables to uninstallation phases.
++				__save_ebuild_env --exclude-init-phases | \
++					__filter_readonly_variables --filter-path \
++					--filter-sandbox --allow-extra-vars \
++					| ${PORTAGE_BZIP2_COMMAND} -c -f9 > "$PORTAGE_UPDATE_ENV"
++				assert "__save_ebuild_env failed"
++			fi
 +		fi
-                if [[ $EBUILD_PHASE == postinst ]] && [[ -n $PORTAGE_UPDATE_ENV ]]; then
-                        # Update environment.bz2 in case installation phases
-                        # need to pass some variables to uninstallation phases.
-                        save_ebuild_env --exclude-init-phases | \
-                                filter_readonly_variables --filter-path \
-                                --filter-sandbox --allow-extra-vars \
-                                | ${PORTAGE_BZIP2_COMMAND} -c -f9 > "$PORTAGE_UPDATE_ENV"
-                        assert "save_ebuild_env failed"
-                fi
 +		;;
  	unpack|prepare|configure|compile|test|clean|install)
  		if [[ ${SANDBOX_DISABLED:-0} = 0 ]] ; then
  			export SANDBOX_ON="1"


             reply	other threads:[~2012-09-22 15:23 UTC|newest]

Thread overview: 192+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 15:23 Thomas Sachau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-21 11:57 [gentoo-commits] proj/portage:multilib commit in: / Thomas Sachau
2022-03-21 11:43 Thomas Sachau
2022-03-21 11:34 Thomas Sachau
2022-03-21 11:33 Thomas Sachau
2022-03-21 11:27 Thomas Sachau
2022-03-21 11:26 Thomas Sachau
2022-03-21 10:01 Thomas Sachau
2021-10-30  9:44 Thomas Sachau
2021-10-30  9:44 Thomas Sachau
2021-07-25 11:43 Thomas Sachau
2021-07-25 11:43 Thomas Sachau
2021-07-25 11:43 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-01-23  9:52 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2020-10-30 10:29 Thomas Sachau
2020-08-23 12:22 Thomas Sachau
2020-07-05 17:57 Thomas Sachau
2019-12-26 11:56 Thomas Sachau
2019-03-17 11:35 Thomas Sachau
2019-03-09  9:56 Thomas Sachau
2018-09-01 11:03 Thomas Sachau
2018-05-23 12:23 Thomas Sachau
2018-04-14 12:16 Thomas Sachau
2018-03-03 15:18 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:38 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:30 Thomas Sachau
2018-01-07 10:09 Thomas Sachau
2018-01-07  9:50 Thomas Sachau
2018-01-07  9:39 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-05-05 11:29 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-06-02 20:00 Thomas Sachau
2013-09-15 20:54 Thomas Sachau
2013-09-15 11:39 Thomas Sachau
2013-09-15 11:06 Thomas Sachau
2013-09-10 16:53 Thomas Sachau
2013-08-25 19:50 Thomas Sachau
2013-08-18 20:55 Thomas Sachau
2013-08-04 11:19 Thomas Sachau
2013-08-04 11:19 Thomas Sachau
2013-05-31 12:16 Thomas Sachau
2013-05-20 10:41 Thomas Sachau
2013-05-10  8:01 Thomas Sachau
2013-04-14 13:20 Thomas Sachau
2013-04-03 11:51 Thomas Sachau
2013-03-28 19:31 Thomas Sachau
2013-03-23 16:24 Thomas Sachau
2013-03-08 17:46 Thomas Sachau
2013-03-03 13:44 Thomas Sachau
2013-02-16 18:47 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-12 11:21 Thomas Sachau
2012-12-16 10:49 Thomas Sachau
2012-12-14 20:16 Thomas Sachau
2012-12-14 20:14 Thomas Sachau
2012-12-09 10:54 Thomas Sachau
2012-12-07 22:24 Thomas Sachau
2012-11-30 16:44 Thomas Sachau
2012-10-29 12:23 Thomas Sachau
2012-10-22  8:57 Thomas Sachau
2012-10-14  9:35 Thomas Sachau
2012-10-06 11:34 Thomas Sachau
2012-09-29 12:51 Thomas Sachau
2012-09-24 20:38 Thomas Sachau
2012-09-22 15:33 Thomas Sachau
2012-09-17 17:07 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-07-08 10:03 Thomas Sachau
2012-07-01 12:01 Thomas Sachau
2012-06-10 12:42 Thomas Sachau
2012-06-03 12:33 Thomas Sachau
2012-05-28 10:19 Thomas Sachau
2012-05-17 10:00 Thomas Sachau
2012-05-12  7:57 Thomas Sachau
2012-05-11 20:38 Thomas Sachau
2012-04-24 21:26 Thomas Sachau
2012-04-06 11:50 Thomas Sachau
2012-04-04 12:42 Thomas Sachau
2012-04-01 22:00 Thomas Sachau
2012-03-30 18:55 Thomas Sachau
2012-03-24 10:51 Thomas Sachau
2012-03-23 14:42 Thomas Sachau
2012-03-21 18:50 Thomas Sachau
2012-03-18 15:29 Thomas Sachau
2012-03-06 18:21 Thomas Sachau
2012-02-26 16:27 Thomas Sachau
2012-02-25 12:04 Thomas Sachau
2012-02-23 19:08 Thomas Sachau
2012-02-18 15:52 Thomas Sachau
2012-02-06 19:38 Thomas Sachau
2011-12-28 13:33 Thomas Sachau
2011-12-24 14:16 Thomas Sachau
2011-12-16 16:30 Thomas Sachau
2011-12-07 21:31 Thomas Sachau
2011-11-26 14:03 Thomas Sachau
2011-11-19 14:25 Thomas Sachau
2011-11-18 23:27 Thomas Sachau
2011-11-11 22:52 Thomas Sachau
2011-10-31 19:53 Thomas Sachau
2011-10-24 18:54 Thomas Sachau
2011-10-23 11:05 Thomas Sachau
2011-10-23 11:05 Thomas Sachau
2011-10-21 13:57 Thomas Sachau
2011-10-12 16:28 Thomas Sachau
2011-10-09 10:33 Thomas Sachau
2011-10-08  8:34 Thomas Sachau
2011-10-07 12:41 Thomas Sachau
2011-10-01 13:56 Thomas Sachau
2011-10-01 13:56 Thomas Sachau
2011-09-11 14:33 Thomas Sachau
2011-09-09 13:03 Thomas Sachau
2011-08-16 12:20 Thomas Sachau
2011-08-05 12:29 Thomas Sachau
2011-08-01 16:53 Thomas Sachau
2011-07-28 17:07 Thomas Sachau
2011-07-21 19:18 Thomas Sachau
2011-07-15 13:24 Thomas Sachau
2011-07-05 17:34 Thomas Sachau
2011-06-16 16:54 Thomas Sachau
2011-06-07 15:44 Thomas Sachau
2011-05-28 13:14 Thomas Sachau
2011-05-26 17:55 Thomas Sachau
2011-05-22  9:42 Thomas Sachau
2011-05-14  9:59 Thomas Sachau
2011-05-07 18:38 Thomas Sachau
2011-04-16 10:17 Thomas Sachau
2011-04-16 10:17 Thomas Sachau
2011-03-28 17:24 Thomas Sachau
2011-03-19 19:39 Thomas Sachau
2011-03-17 17:58 Thomas Sachau
2011-03-03 19:53 Thomas Sachau
2011-02-25 13:45 Thomas Sachau
2011-02-16 20:15 Thomas Sachau
2011-02-10 18:12 Thomas Sachau
2011-02-08 18:12 Thomas Sachau
2011-02-06 13:10 Thomas Sachau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348327351.baf9799818ebdd09c291c94419cd5a427a21c9f5.tommy@gentoo \
    --to=tommy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox