bootstrap-prefix dies emerging prefix-portage-2.3.40.1 with errors concerning empty $EPREFIX/tmp/usr/lib/portage/pym/portage/__pycache__ and children. Target makefile is either failing to byte-compile, or target incorrect.
*** Bug 658072 has been marked as a duplicate of this bug. ***
Created attachment 535830 [details] stage1.log - failure during boostrap @ /usr/bin/install: cannot stat './portage/proxy/__pycache__/*': No such file or directory failure (stage1.log) on latest ubuntu LTS (18.x series)
It looks like that the bug is fixed by this patch: https://gitweb.gentoo.org/proj/portage.git/patch/?id=f6c347f5ac192715a666e14f617b61524f9445ac
(In reply to Benda Xu from comment #3) > It looks like that the bug is fixed by this patch: ... I was still having the pycach failure in the past 72 hours. is there any chance this patch is simply not live yet for use by the prefix bootstrap?
(In reply to kuzetsa from comment #4) > (In reply to Benda Xu from comment #3) > > It looks like that the bug is fixed by this patch: > > ... I was still having the pycach failure in the past 72 hours. is there any > chance this patch is simply not live yet for use by the prefix bootstrap? Fabian will need to pack a new prefix-portage tarball. Before it happens I have committed a work around to bootstrap-prefix.sh. https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=285454817f40abef3e124c31bb751755a0a4139e
yes, sorry, the workaround should be fine, but we need a full new portage + snapshot bump stuff.
(one of the things we also need to to shut up gemato/make portage not return failure when gemato isn't found because it currently makes the emerge --sync phase problematic and failing)
I got the same bug in both pure clear centos 7 and ubuntu 18.04. I used to edit script change 2.3.40.1 to 2.3.18 to continue.
Created attachment 535858 [details] /usr/bin/install: cannot stat ‘./portage/__pycache__/*’: No such file or directory
(In reply to Benda Xu from comment #5) [...] > > Before it happens I have committed a work around to bootstrap-prefix.sh. > > https://gitweb.gentoo.org/repo/proj/prefix.git/commit/ > ?id=285454817f40abef3e124c31bb751755a0a4139e ------------- >>> kuzetsa@hostname ~ $ /opt/redacted/startprefix >>> Entering Gentoo Prefix /opt/redacted >>> kuzetsa@hostname ~ $ which emerge >>> /opt/redacted/usr/bin/emerge ^ bootstrap-prefix.sh version with baked-in workaround works as-is, fully on-rails completes to stage3 with no manual editing or manipulation of filesystem, etc. thanks, 285454817f40abef3e124c31bb751755a0a4139e confirmed working on: Ubuntu 18.04 LTS (GNU/Linux 4.15.0-22-lowlatency x86_64) as-of: [Thu, 14 Jun 2018 15:27:41 -0400]