Gentoo Archives: gentoo-alt

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] Build error on macOS High Sierra 10.13.3 Brad Macpherson <brad@××××××××××××××××.com>