Gentoo Archives: gentoo-alt

From: Anton Molyboha <anton.stay.connected@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Build error on macOS High Sierra 10.13.3
Date: Wed, 04 Apr 2018 14:09:06
Message-Id: CA+QdaqxTUgAiNR2mfaCbP2TB_z8BD9fGOPBN6U4yj9sFc02T4A@mail.gmail.com
In Reply to: Re: [gentoo-alt] Build error on macOS High Sierra 10.13.3 by Fabian Groffen
1 I have lost my access to a Mac (it used to be a work machine and I don't
2 work there any more) - is it something that can be debugged in a Linux
3 host? I'd like to give it a try.
4
5 On Wed, Apr 4, 2018 at 9:54 AM, Fabian Groffen <grobian@g.o> wrote:
6
7 > I'm in the process to fix something related, but I haven't seen this
8 > particular install_name reference problem myself yet.
9 >
10 > On 04-04-2018 15:46:19 +0200, Johannes Schulte-Wülwer wrote:
11 > > Thanks Anton,
12 > >
13 > > Unfortunately I have to wait for the weekend to try your solution (Don't
14 > have
15 > > access to the iMac before Saturday). I'll let you know if retrying a
16 > couple of
17 > > times helps.
18 > >
19 > > BR,
20 > >
21 > > Johannes
22 > >
23 > > 2018-03-30 16:43 GMT+02:00 Anton Molyboha <[1]anton.stay.connected@
24 > gmail.com>:
25 > >
26 > > > Hi Johannes,
27 > >
28 > > > This looks similar to bug #637470 ([2]https://bugs.gentoo.org/637470)
29 > -- if it
30 > > > is, then retrying a couple of times generally solves it.
31 > >
32 > > > Anton
33 > >
34 > > > On Wed, Mar 28, 2018 at 9:45 AM, Johannes Schulte-Wülwer
35 > > > <[3]j.schultewuelwer@××××××××××.com> wrote:
36 > >
37 > > >> Hi, this is the last message that I get:
38 > >
39 > > >> * If you need support, post the output of `emerge --info
40 > > >> '=dev-lang/python-2.7.14::gentoo_prefix'`,
41 > >
42 > > >> * the complete build log and the output of `emerge -pqv
43 > > >> '=dev-lang/python-2.7.14::gentoo_prefix'`.
44 > >
45 > > >> * The complete build log is located at
46 > > >> '/Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
47 > 7.14/temp/build.log'.
48 > >
49 > > >> * The ebuild environment file is located at
50 > > >> '/Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
51 > 7.14/temp/environment'.
52 > >
53 > > >> * Working directory:
54 > > >> '/Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
55 > 7.14/image'
56 > >
57 > > >> * S:
58 > > >> '/Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
59 > 7.14/work/Python-2.7.14'
60 > >
61 > > >> Hmmmm, I was already afraid of this to happen. Running
62 > >
63 > > >> /Users/jschultewu/Gentoo/usr/bin/bash ./bootstrap-prefix.sh
64 > > >> "/Users/jschultewu/Gentoo" stage3
65 > >
66 > > >> somewhere failed :( Details might be found in the build log:
67 > >
68 > > >>
69 > > >> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
70 > 7.14/temp/build.log
71 > >
72 > > >> I have no clue, really. Please find friendly folks in #gentoo-prefix
73 > on
74 > >
75 > > >> [4]irc.gentoo.org, [5]gentoo-alt@l.g.o mailing list, or
76 > file a bug
77 > >
78 > > >> at [6]bugs.gentoo.org under Gentoo/Alt, Prefix Support. This is most
79 > >
80 > > >> inconvenient, and it crushed my ego. Sorry, I give up.
81 > >
82 > > >> Should you want to give it a try, there is
83 > > >> /Users/jschultewu/Gentoo/stage3.log
84 > >
85 > > >> BR,
86 > >
87 > > >> Johannes
88 > >
89 > > >> 2018-03-28 15:41 GMT+02:00 Fabian Groffen <[7]grobian@g.o>:
90 > >
91 > > >>> You mentioned you were bootstrapping, what is the exit message you
92 > got
93 > > >>> from bootstrap-prefix.sh?
94 > >
95 > > >>> On 28-03-2018 15:34:49 +0200, Johannes Schulte-Wülwer wrote:
96 > > >>> > Sorry, I don't know. How can I figure out?
97 > > >>> >
98 > >
99 > > >>> > 2018-03-28 15:11 GMT+02:00 Fabian Groffen <[1][8]
100 > grobian@g.o>:
101 > > >>> >
102 > > >>> > > Is this during the final emerge -e system stage? Do you happen
103 > to know?
104 > > >>> >
105 > > >>> > > On 28-03-2018 14:57:05 +0200, Johannes Schulte-Wülwer wrote:
106 > > >>> > > > Hi all,
107 > > >>> > > >
108 > > >>> > > > I am trying to build gentoo prefix on macOS High Sierra 10.13
109 > and I am
110 > > >>> > > getting
111 > > >>> > > > an error during python 2.7.14 build:
112 > > >>> > > >
113 > > >>> > > > >>> Completed installing python-2.7.14 into
114 > > >>> > > > /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
115 > 7.14/image/
116 > > >>> > > >
117 > > >>> > > > * Final size of build directory: 90480 KiB (88.3 MiB)
118 > > >>> > > >
119 > > >>> > > > * Final size of installed tree: 89472 KiB (87.3 MiB)
120 > > >>> > > >
121 > > >>> > > > grep:
122 > > >>> > > >
123 > > >>> > >
124 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
125 > 7.14/image/Users/jschultewu/Gentoo/usr/lib/Python.framework/Versions/2.7/
126 > include/python2.7:
127 > > >>> > > > Is a directory
128 > > >>> > > >
129 > > >>> > > > grep:
130 > > >>> > > >
131 > > >>> > >
132 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
133 > 7.14/image/Users/jschultewu/Gentoo/usr/lib/Python.framework/Versions/2.7/
134 > Headers:
135 > > >>> > > > Is a directory
136 > > >>> > > >
137 > > >>> > > > grep:
138 > > >>> > > >
139 > > >>> > >
140 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
141 > 7.14/image/Users/jschultewu/Gentoo/usr/lib/Python.
142 > framework/Versions/2.7/lib/python2.7:
143 > > >>> > > > Is a directory
144 > > >>> > > >
145 > > >>> > > > * prefixing shebang of Users/jschultewu/Gentoo/etc/
146 > init.d/pydoc-2.7
147 > > >>> > > >
148 > > >>> > > > ecompressdir: bzip2 -9 /usr/share/man
149 > > >>> > > >
150 > > >>> > > > ecompressdir: bzip2 -9 /usr/share/doc
151 > > >>> > > >
152 > > >>> > > > * QA Notice: install_name references ${D}:
153 > > >>> > > >
154 > > >>> > >
155 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
156 > 7.14/image//Users/jschultewu/Gentoo/usr/lib/Python.
157 > framework/Versions/2.7/Python
158 > > >>> > > > in
159 > > >>> > >
160 > > >>> /Users/jschultewu/Gentoo/usr/lib/Python.framework/Versions/
161 > 2.7/bin/pythonw2.7
162 > > >>> > > >
163 > > >>> > > > * QA Notice: install_name references ${D}:
164 > > >>> > > >
165 > > >>> > >
166 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
167 > 7.14/image//Users/jschultewu/Gentoo/usr/lib/Python.
168 > framework/Versions/2.7/Python
169 > > >>> > > > in
170 > > >>> > >
171 > > >>> /Users/jschultewu/Gentoo/usr/lib/Python.framework/Versions/
172 > 2.7/bin/python2.7
173 > > >>> > > >
174 > > >>> > > > * QA Notice: invalid self-reference install_name
175 > > >>> > > >
176 > > >>> > >
177 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
178 > 7.14/image//Users/jschultewu/Gentoo/usr/lib/Python.
179 > framework/Versions/2.7/Python
180 > > >>> > > > in
181 > > >>> /Users/jschultewu/Gentoo/usr/lib/Python.framework/Versions/
182 > 2.7/Python
183 > > >>> > > >
184 > > >>> > > > * QA Notice: install_name references ${D}:
185 > > >>> > > >
186 > > >>> > >
187 > > >>> /Users/jschultewu/Gentoo/var/tmp/portage/dev-lang/python-2.
188 > 7.14/image//Users/jschultewu/Gentoo/usr/lib/Python.
189 > framework/Versions/2.7/Python
190 > > >>> > > > in
191 > > >>> > > >
192 > > >>> > >
193 > > >>> /Users/jschultewu/Gentoo/usr/lib/Python.framework/Versions/
194 > 2.7/Resources/Python.app/Contents/MacOS/Python
195 > > >>> > > >
196 > > >>> > > > * ERROR: dev-lang/python-2.7.14::gentoo_prefix failed:
197 > > >>> > > >
198 > > >>> > > > * invalid install_name found, your application or library
199 > will
200 > > >>> crash at
201 > > >>> > > > runtime
202 > > >>> > > >
203 > > >>> > > > *
204 > > >>> > > >
205 > > >>> > > > * Call stack:
206 > > >>> > > >
207 > > >>> > > > * misc-functions.sh, line 1299: Called install_qa_check
208 > > >>> > > >
209 > > >>> > > > * misc-functions.sh, line 241: Called
210 > install_qa_check_macho
211 > > >>> > > >
212 > > >>> > > > * misc-functions.sh, line 422: Called die
213 > > >>> > > >
214 > > >>> > > > * The specific snippet of code:
215 > > >>> > > >
216 > > >>> > > > * has allow_broken_install_names ${FEATURES} || \
217 > > >>> > > >
218 > > >>> > > > * die "invalid install_name found, your application or
219 > library
220 > > >>> will
221 > > >>> > > crash at
222 > > >>> > > > runtime"
223 > > >>> > > >
224 > > >>> > > > Does anyone has a clue what is going wrong here?
225 > > >>> > > >
226 > > >>> > > > BR,
227 > > >>> > > >
228 > > >>> > > > Johannes
229 > > >>> > > >
230 > > >>> > > >
231 > > >>> >
232 > > >>> > > > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
233 > > >>> > > --
234 > > >>> > > Fabian Groffen
235 > > >>> > > Gentoo on a different level
236 > > >>> >
237 > > >>> >
238 > > >>> >
239 > >
240 > > >>> > References:
241 > > >>> > 1. mailto:[9]grobian@g.o
242 > >
243 > > >>> >
244 > > >>> > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
245 > > >>> --
246 > > >>> Fabian Groffen
247 > > >>> Gentoo on a different level
248 > >
249 > >
250 > >
251 > > References:
252 > > 1. mailto:anton.stay.connected@×××××.com
253 > > 2. https://bugs.gentoo.org/637470
254 > > 3. mailto:j.schultewuelwer@××××××××××.com
255 > > 4. http://irc.gentoo.org
256 > > 5. mailto:gentoo-alt@l.g.o
257 > > 6. http://bugs.gentoo.org
258 > > 7. mailto:grobian@g.o
259 > > 8. mailto:grobian@g.o
260 > > 9. mailto:grobian@g.o
261 > >
262 > > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
263 > --
264 > Fabian Groffen
265 > Gentoo on a different level
266 >

Replies

Subject Author
Re: [gentoo-alt] Build error on macOS High Sierra 10.13.3 Fabian Groffen <grobian@g.o>