Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716046 - sys-apps/portage: sys-apps/portage upgrade triggers .../._portage_reinstall_..../bin/ .../build-info/${PF}.ebuild: No such file or directory
Summary: sys-apps/portage: sys-apps/portage upgrade triggers .../._portage_reinstall_....
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2020-04-03 17:17 UTC by Matthew Thode ( prometheanfire )
Modified: 2020-04-03 19:27 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-03 17:17:32 UTC
install portage first due to bug in env vars not being passed when portage installs itself and re-inits

Found it as part of

Reproducible: Always

Steps to Reproduce:
change python versions, run through this as a test

the review linked above has a fix within that same file
Comment 1 Zac Medico gentoo-dev 2020-04-03 17:23:43 UTC
Would be nice to have some more context around this error pasted in #gentoo-dev:

> 2020-04-03 05:47:48.493 | /var/tmp/portage/._portage_reinstall_.4b7qcxim/bin/ line 609: /var/tmp/portage/dev-python/lxml-4.5.0/build-info/lxml-4.5.0.ebuild: No such file or directory

Like what ebuild phase was it? This code can possibly run in more than one phase, the condition in looks like this:

> 	if [[ $EBUILD_PHASE = setup && $EMERGE_FROM = ebuild ]] || \
> 		[[ $EBUILD_PHASE = depend || ! -f $T/environment || \
> 		-f $PORTAGE_BUILDDIR/.ebuild_changed || \
> 		" ${FEATURES} " == *" noauto "* ]] ; then
Comment 2 Zac Medico gentoo-dev 2020-04-03 17:52:16 UTC
If /var/tmp/portage/dev-python/lxml-4.5.0/build-info/lxml-4.5.0.ebuild is unexpectedly missing, it could be an indication that the build directory lock did not function as expected, which could have the same cause as bug 714480.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-03 18:33:36 UTC
maybe, this is all within a tmpfs