Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Bootstrap python-3.3.3 error on OSX 10.11 (El Capitan)
Date: Thu, 14 Jan 2016 12:15:00
Message-Id: 20160114121402.GA8366@gentoo.org
In Reply to: [gentoo-alt] Bootstrap python-3.3.3 error on OSX 10.11 (El Capitan) by "Askar Bektassov (Аскар Бектасов)"
1 Thanks!
2
3 So, over the past few weeks I've been trying to get stuff in shape
4 again. That means new versions of Python, compilation fixes,
5 dependencies keyworded etc. All prepwork for getting bootstrap working
6 again.
7
8 This problem I just encountered with Python 3.4 and 3.5, and pushed a
9 fix for it.
10
11 It's not much, I know, but I'm working on it.
12
13 Fabian
14
15
16 On 22-11-2015 00:42:16 +0100, Askar Bektassov (Аскар Бектасов) wrote:
17 > Hi all,
18 >
19 > during stage3 bootstrap, I am getting the following error during
20 > python-3.3.3 compilation.
21 >
22 > python$EXE ../../Tools/scripts/h2py.py -i '(u_long)'
23 > /usr/include/netinet/in.h
24 >
25 > dyld: Library not loaded:
26 > /Users/askarbektassov/Gentoo/usr/lib/libpython3.3.dylib
27 >
28 >   Referenced from:
29 > /Users/askarbektassov/Gentoo/tmp/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin14/python.exe
30 >
31 >   Reason: image not found
32 >
33 > ./regen: line 3: 38802 Trace/BPT trap: 5       python$EXE
34 > ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
35 >
36 > Makefile:523: recipe for target 'platformspecificmods' failed
37 >
38 > make: *** [platformspecificmods] Error 1
39 >
40 >  * ERROR: dev-lang/python-3.3.3::gentoo_prefix failed (compile phase):
41 >
42 >  *   emake failed
43 >
44 >  *
45 >
46 >  * If you need support, post the output of `emerge --info
47 > '=dev-lang/python-3.3.3::gentoo_prefix'`,
48 >
49 >  * the complete build log and the output of `emerge -pqv
50 > '=dev-lang/python-3.3.3::gentoo_prefix'`.
51 >
52 >  * The complete build log is located at
53 > '/Users/askarbektassov/Gentoo/tmp/var/tmp/portage/dev-lang/python-3.3.3/temp/build.log'.
54 >
55 >  * The ebuild environment file is located at
56 > '/Users/askarbektassov/Gentoo/tmp/var/tmp/portage/dev-lang/python-3.3.3/temp/environment'.
57 >
58 >  * Working directory:
59 > '/Users/askarbektassov/Gentoo/tmp/var/tmp/portage/dev-lang/python-3.3.3/work/x86_64-apple-darwin14'
60 >
61 >  * S:
62 > '/Users/askarbektassov/Gentoo/tmp/var/tmp/portage/dev-lang/python-3.3.3/work/Python-3.3.3'
63 >
64 > I understand that OSX 10.11 may not be supported yet. Indeed, reaching
65 > stage3 was not without few bumps. But I understand that a similar issue was
66 > already addressed and eventually solved in the past.
67 >
68 > [1]https://archives.gentoo.org/gentoo-alt/message/bec67ff5325b67dfc6b3078123e6f06c.
69 >
70 > Did anyone else successfully managed to bootstrap prefix on OSX 10.11 and
71 > overcome the above issue?
72 >
73 > build.log is attached.
74 >
75 > Below output of emerge --info
76 >
77 > Askars-iMac:Gentoo askarbektassov$ emerge --info
78 > '=dev-lang/python-3.3.3::gentoo_prefix'
79 >
80 > !!! Section 'gentoo' in repos.conf has name different from repository name
81 > 'gentoo_prefix' set inside repository
82 >
83 > Portage 2.2.20-prefix (python 2.7.3-final-0, prefix/darwin/macos/10.10/x64,
84 > clang-3.4.2, unavailable, 15.0.0 x86_64)
85 >
86 > =================================================================
87 >
88 >                          System Settings
89 >
90 > =================================================================
91 >
92 > System uname: Darwin-15.0.0-x86_64-i386-64bit
93 >
94 > Timestamp of repository gentoo_prefix: Wed, 17 Jun 2015 21:37:42 +0000
95 >
96 > sh bash 4.3_p39
97 >
98 > app-shells/bash:    4.3_p39::gentoo_prefix
99 >
100 > dev-lang/perl:      5.22.0::gentoo_prefix
101 >
102 > dev-util/pkgconfig: 0.28-r3::gentoo_prefix
103 >
104 > sys-devel/autoconf: 2.69::gentoo_prefix
105 >
106 > sys-devel/automake: 1.14.1::gentoo_prefix
107 >
108 > sys-devel/libtool:  2.4.2-r1::gentoo_prefix
109 >
110 > sys-devel/make:     4.1-r1::gentoo_prefix
111 >
112 > Repositories:
113 >
114 > gentoo_prefix
115 >
116 >     location: /Users/askarbektassov/Gentoo/tmp/usr/portage
117 >
118 >     sync-type: rsync
119 >
120 >     sync-uri: rsync://[2]rsync.prefix.bitzolder.nl/gentoo-portage-prefix
121 >
122 >     priority: -1000
123 >
124 >     aliases: gentoo
125 >
126 > ACCEPT_KEYWORDS="~x64-macos"
127 >
128 > ACCEPT_LICENSE="* -@EULA"
129 >
130 > CBUILD="x86_64-apple-darwin14"
131 >
132 > CFLAGS="-march=nocona -O2 -pipe"
133 >
134 > CHOST="x86_64-apple-darwin14"
135 >
136 > CONFIG_PROTECT="/etc"
137 >
138 > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
139 > /etc/terminfo"
140 >
141 > CXXFLAGS="-march=nocona -O2 -pipe"
142 >
143 > DISTDIR="/Users/askarbektassov/Gentoo/tmp/usr/portage/distfiles"
144 >
145 > FCFLAGS=""
146 >
147 > FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect
148 > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix
149 > merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms
150 > strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged
151 > userfetch userpriv usersandbox usersync"
152 >
153 > FFLAGS=""
154 >
155 > GENTOO_MIRRORS="[3]http://distfiles.gentoo.org"
156 >
157 > LANG="en_US.UTF-8"
158 >
159 > LDFLAGS="-Wl,-dead_strip_dylibs"
160 >
161 > MAKEOPTS="-j5"
162 >
163 > PKGDIR="/Users/askarbektassov/Gentoo/tmp/usr/portage/packages"
164 >
165 > PORTAGE_CONFIGROOT="/Users/askarbektassov/Gentoo/tmp/"
166 >
167 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
168 > --omit-dir-times --compress --force --whole-file --delete --stats
169 > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
170 > --exclude=/packages"
171 >
172 > PORTAGE_TMPDIR="/Users/askarbektassov/Gentoo/tmp/var/tmp"
173 >
174 > USE="aqua coreaudio cracklib cxx ipv6 mmx mmxext modules ncurses nls objc
175 > objc++ prefix prefix-guest readline sse sse2 ssl unicode x64-macos zlib"
176 > APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias
177 > auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
178 > authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user
179 > autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env
180 > expires ext_filter file_cache filter headers include info log_config logio
181 > mem_cache mime mime_magic negotiation rewrite setenvif speling status
182 > unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow
183 > plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2"
184 > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
185 > CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech
186 > aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea
187 > ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2
188 > timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse"
189 > KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
190 > lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
191 > presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
192 > PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
193 > PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
194 > USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
195 > ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
196 > logmark ipmark dhcpmac delude chaos account"
197 >
198 > Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
199 > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
200 > PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
201 >
202 > --
203 > Askar Bektassov (Аскар Бектасов)
204 >
205 > Sent from webmail
206 >
207 > For more info, [4]LinkedIn
208 >
209 >
210 >
211 > References:
212 > 1. https://archives.gentoo.org/gentoo-alt/message/bec67ff5325b67dfc6b3078123e6f06c
213 > 2. http://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
214 > 3. http://distfiles.gentoo.org
215 > 4. https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile
216 >
217 > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
218
219
220
221 --
222 Fabian Groffen
223 Gentoo on a different level

Attachments

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