Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] updating old box: segfaults with python
Date: Wed, 08 Jan 2014 17:31:21
Message-Id: 52CD8B5B.8090009@xunil.at
In Reply to: Re: [gentoo-user] updating old box: segfaults with python by "Stefan G. Weichinger"
1 Am 08.01.2014 17:41, schrieb Stefan G. Weichinger:
2
3 > trying "emerge -B glibc" for now ... step by step.
4
5 emerge -B : success
6
7 emerge -K: same failure
8
9 The unpacking of glibc seems to somehow break python while emerge still
10 runs ... at least that is my impression.
11
12 Manually unpacking the 2.17-tarball does not fix python ...
13
14 So I am back with the manual glibc-2.16 ... and have the correctly built
15 glibc-2.17.tbz2 as well.
16
17 So how to fix that?
18
19 Use another python? Right now I have:
20
21 # eselect python list
22
23 Available Python interpreters:
24 [1] python2.4
25 [2] python2.5
26 [3] python2.6
27 [4] python2.7 *
28 [5] python3.1
29 [6] python3.2
30 [7] python3.3
31
32 In make.conf:
33
34 PYTHON_TARGETS="python2_6 python2_7 python3_2"
35 PYTHON_SINGLE_TARGET="python2_7"
36
37 I assume I could get rid of some releases ... but currently I am
38 hesitating ;-)
39
40 2.7.5-r3 and 3.2.5-r3 rebuilt fine here today.
41
42 used python-3.2 now ... next failure to install the tbz2
43
44 What do I get?
45
46 ->
47
48
49 >>> Installing (1 of 1) sys-libs/glibc-2.17
50 * Defaulting /etc/host.conf:multi to on
51 * ERROR: sys-libs/glibc-2.17::gentoo failed (prerm phase):
52 * eutils.eclass could not be found by inherit()
53 *
54 * Call stack:
55 * ebuild.sh, line 545: Called source
56 '/var/db/pkg/sys-libs/glibc-2.17/glibc-2.17.ebuild'
57 * glibc-2.17.ebuild, line 5: Called inherit 'eutils' 'versionator'
58 'toolchain-funcs' 'flag-o-matic' 'gnuconfig' 'multilib' 'systemd'
59 'unpacker' 'multiprocessing'
60 * ebuild.sh, line 257: Called die
61 * The specific snippet of code:
62 * [[ -z ${location} ]] && die "${1}.eclass could not be found by
63 inherit()"
64 *
65 * If you need support, post the output of `emerge --info
66 '=sys-libs/glibc-2.17::gentoo'`,
67 * the complete build log and the output of `emerge -pqv
68 '=sys-libs/glibc-2.17::gentoo'`.
69 * The complete build log is located at
70 '/var/tmp/portage/._unmerge_/sys-libs/glibc-2.17/temp/build.log'.
71 * The ebuild environment file is located at
72 '/var/tmp/portage/._unmerge_/sys-libs/glibc-2.17/temp/die.env'.
73 * Working directory: '/usr/lib/portage/pym'
74 * S: '/var/tmp/portage/._unmerge_/sys-libs/glibc-2.17/work/glibc-2.17'
75 /usr/lib/portage/bin/isolated-functions.sh: Zeile 109: 17558
76 Speicherzugriffsfehler "$PORTAGE_BIN_PATH"/ebuild-ipc exit 1
77 * The ebuild phase 'prerm' has exited unexpectedly. This type of behavior
78 * is known to be triggered by things such as failed variable assignments
79 * (bug #190128) or bad substitution errors (bug #200313). Normally, before
80 * exiting, bash should have displayed an error message above. If bash did
81 * not produce an error message above, it's possible that the ebuild has
82 * called `exit` when it should have called `die` instead. This behavior
83 * may also be triggered by a corrupt bash binary or a hardware problem
84 * such as memory or cpu malfunction. If the problem is not reproducible or
85 * it appears to occur randomly, then it is likely to be triggered by a
86 * hardware problem. If you suspect a hardware problem then you should try
87 * some basic hardware diagnostics such as memtest. Please do not report
88 * this as a bug unless it is consistently reproducible and you are sure
89 * that your bash binary and hardware are functioning properly.
90 * QA Notice: ECLASS 'eutils' inherited illegally in sys-libs/glibc-2.17
91 * ERROR: sys-libs/glibc-2.17::gentoo failed:
92 * eutils.eclass could not be found by inherit()
93 *
94 * Call stack:
95 * misc-functions.sh, line 17: Called source
96 '/usr/lib/portage/bin/ebuild.sh'
97 * ebuild.sh, line 545: Called source
98 '/var/db/pkg/sys-libs/glibc-2.17/glibc-2.17.ebuild'
99 * glibc-2.17.ebuild, line 5: Called inherit 'eutils' 'versionator'
100 'toolchain-funcs' 'flag-o-matic' 'gnuconfig' 'multilib' 'systemd'
101 'unpacker' 'multiprocessing'
102 * ebuild.sh, line 257: Called die
103 * The specific snippet of code:
104 * [[ -z ${location} ]] && die "${1}.eclass could not be found by
105 inherit()"
106 *
107
108
109 ... and way more.
110
111 I tried to remove /var/db/pkg/sys-libs/glibc-2.17/environment.bz2 ...
112 didn't help.
113
114 Looking forward to some clever suggestions ;-)
115
116 Stefan

Replies

Subject Author
[gentoo-user] Re: updating old box: segfaults with python Grant Edwards <grant.b.edwards@×××××.com>