On Mon, Nov 6, 2023 at 6:56 PM Michael <confabul...@kintzios.com> wrote:

> On Monday, 6 November 2023 16:16:50 GMT Alan McKinnon wrote:
> > Hi,
> >
> > New install here, recent .isos:
> >   install-amd64-minimal-20230806T163139Z.iso
> >   stage3-amd64-systemd-20230806T163139Z.tar.xz
> >
> > Following the handbook, keyworded ~amd64, synced, no issues at all until
> > the emerge -avuND @world step, making the depgraph goes fine, offers 162
> > ebuilds to build. These first 4 build OK: sys-kernel/linux-headers-6.6
> > sys-devel/gnuconfig-20230731
> > sys-libs/ncurses-6.4_p20230401
> > sys-apps/baselayout-2.14
> >
> > app-crypt/libmd-1.1.0 then fails with this:
> >
> > =================
> >
> > >>> Emerging (5 of 158) app-crypt/libmd-1.1.0::gentoo
> >
> > /usr/bin/env: ‘bash’: No such file or directory
> >  * The ebuild phase 'die_hooks' has been aborted since PORTAGE_BUILDDIR
> >  * does not exist: '/var/tmp/portage/app-crypt/libmd-1.1.0'
>
> Does it exist and does it have the right permissions?
>

Yes, that dir is correct:

 # ls -ald /var/tmp/portage/
drwxrwxr-x 10 portage portage 138 Nov  6 17:16 /var/tmp/portage/


> e.g.:
>
>  ~ $ stat /var/tmp/portage
>   File: /var/tmp/portage
>   Size: 40              Blocks: 0          IO Block: 4096   directory
> Device: 0,47    Inode: 1           Links: 2
> Access: (0775/drwxrwxr-x)  Uid: (  250/ portage)   Gid: (  250/ portage)
> Access: 2023-11-06 08:28:27.627998525 +0000
> Modify: 2023-11-06 08:28:27.627998525 +0000
> Change: 2023-11-06 08:28:27.627998525 +0000
>  Birth: 2023-11-06 08:28:27.627998525 +0000
>
>
> .....
> > Ok that's weird, never seen baselayout produce that.
> >
> > At this point I see the host can't tab complete ls, mount ... export more
> > stuff in PATH fixes that.
>
> Upon the baselayout update did you run (for good measure):
>
> env-update && source /etc/profile
>
> You shouldn't really need to add directories in your PATH manually.
>

I agree but ls and mount and friends are in /bin and /bin is not in PATH
and /etc/profile sets this wrong PATH
 PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin


lemme go check bgo first

Thanks,
Alan


Alan McKinnon
alan dot mckinnon at gmail dot com

Reply via email to