Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] PORTAGE_BUILDDIR does not exist
Date: Tue, 21 Apr 2020 21:21:52
Message-Id: C3GHDYOC.3B6POU3B.TAW4SDAD@TG3IHIIP.PSX5LOT7.I37XAM77
In Reply to: [gentoo-user] PORTAGE_BUILDDIR does not exist by Ashley Dixon
1 I'd start by looking at /var/tmp/portage/ (unless you changed the
2 default PORTAGE_TMPDIR) to see what evidence the emerge process might
3 have left.
4
5 On 2020.04.21 16:58, Ashley Dixon wrote:
6 > Hi,
7 >
8 > I've been getting this build message for every package that I attempt
9 > to emerge.
10 > I'm starting to become concerned that my Portage installation
11 > is corrupt,
12 > although I want to make sure before I try and embark on
13 > the lengthy
14 > Portage-rescue process.
15 >
16 > For example, if I try to emerge app-editors/emacs (a package I have
17 > never had
18 > installed), I get the following error, both from emerge and a raw
19 > Python crash:
20 >
21 > Calculating dependencies ... done!
22 >
23 > >>> Verifying ebuild manifests
24 >
25 > >>> Emerging (1 of 5) net-libs/liblockfile-1.16::gentoo
26 > * Fetching files in the background.
27 > * To view fetch progress, run in another terminal:
28 > * tail -f /var/log/emerge-fetch.log
29 > [Errno 2] No such file or directory: 'mount': 'mount':
30 > /bin/bash -c /usr/lib/portage/python3.6/ebuild.sh clean
31 > Traceback (most recent call last):
32 > File "/usr/lib64/python3.6/site-packages/portage/process.py", line
33 > 382, in spawn
34 > unshare_flags, cgroup)
35 > File "/usr/lib64/python3.6/site-packages/portage/process.py", line
36 > 691, in _exec
37 > '--make-slave', '/proc'])
38 > File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
39 > restore_signals, start_new_session)
40 > File "/usr/lib64/python3.6/subprocess.py", line 1364, in
41 > _execute_child
42 > raise child_exception_type(errno_num, err_msg, err_filename)
43 > FileNotFoundError: [Errno 2] No such file or directory: 'mount':
44 > 'mount'
45 > * The ebuild phase 'die_hooks' has been aborted since
46 > PORTAGE_BUILDDIR
47 > * does not exist: '/var/tmp/portage/net-libs/liblockfile-1.16'
48 >
49 > >>> Failed to emerge net-libs/liblockfile-1.16
50 > * Messages for package net-libs/liblockfile-1.16:
51 >
52 > <This is the end of the output; there are no messages from
53 > liblockfile.>
54 >
55 > Does anyone know if anything can be done, short of
56 > re-installing and
57 > re-configuring Portage ?
58 >
59 > --
60 >
61 > Ashley Dixon
62 > suugaku.co.uk
63 >
64 > 2A9A 4117
65 > DA96 D18A
66 > 8A7B B0D2
67 > A30E BF25
68 > F290 A8AA
69 >
70 >