Gentoo Archives: gentoo-alt

From: "Askar Bektassov (Аскар Бектасов)" <askar.bektassov@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] No gcc found, after eselect profile
Date: Tue, 27 Feb 2018 09:01:06
Message-Id: CAJkPO_Q_9sisysg6q9vgFH7H55CPQjv1CPtRPyqfhLEhJMSn3A@mail.gmail.com
In Reply to: Re: [gentoo-alt] No gcc found, after eselect profile by Fabian Groffen
1 Hi Fabian,
2
3 Thanks a lot, will be happy to try that when I get home! Will let you know.
4
5 All the best,
6
7 --
8 Askar Bektassov (Аскар Бектасов)
9 Sent from webmail
10
11 For more info, LinkedIn <http://www.linkedin.com/in/askarbektassov>
12
13 On Tue, Feb 27, 2018 at 9:56 AM, Fabian Groffen <grobian@g.o> wrote:
14
15 > On 26-02-2018 22:45:50 +0100, Askar Bektassov (Аскар Бектасов) wrote:
16 > > Hi folks,
17 > >
18 > > Not sure what I have done, but now emerge does not fine the compiler.
19 >
20 > On your mac the compile is called "clang". Once upon a time, Portage
21 > showed this, but that change got rejected, so it acts like it's missing,
22 > but in fact all is fine.
23 >
24 > Look at $EPREFIX/etc/portage/make.conf, you will find a few lines
25 > setting CC and CXX and the like to ${CHOST}-clang values. This is how
26 > it is made to work.
27 >
28 > Unrelated, but you can still emerge gcc-apple to get 4.2.1 version of
29 > Apple's GCC (the latest) which fully operates with gcc-config and has
30 > fortran support.
31 >
32 > Fabian
33 >
34 > >
35 > > askarbektassov@Askars-iMac ~ $ emerge --info
36 > >
37 > > !!! No gcc found. You probably need to 'source /etc/profile'
38 > >
39 > > !!! to update the environment of this terminal and possibly
40 > >
41 > > !!! other terminals also.
42 > >
43 > > Portage 2.3.18-prefix (python 3.5.4-final-0,
44 > prefix/darwin/macos/10.13/x64,
45 > > [unavailable], unavailable, 17.4.0 x86_64)
46 > >
47 > > =================================================================
48 > >
49 > > System uname: Darwin-17.4.0-x86_64-i386-64bit
50 > >
51 > > Timestamp of repository gentoo_prefix: Mon, 26 Feb 2018 21:27:47 +0000
52 > >
53 > > sh bash 4.3_p48-r1
54 > >
55 > > app-shells/bash: 4.3_p48-r1::gentoo_prefix
56 > >
57 > > dev-lang/perl: 5.26.1-r1::gentoo_prefix
58 > >
59 > > dev-lang/python: 2.7.14::gentoo_prefix, 3.5.4::gentoo_prefix
60 > >
61 > > dev-util/cmake: 3.10.2::gentoo_prefix
62 > >
63 > > dev-util/pkgconfig: 0.29.2::gentoo_prefix
64 > >
65 > > sys-devel/autoconf: 2.69-r4::gentoo_prefix
66 > >
67 > > sys-devel/automake: 1.15.1-r1::gentoo_prefix
68 > >
69 > > sys-devel/libtool: 2.4.6-r4::gentoo_prefix
70 > >
71 > > sys-devel/make: 4.2.1-r1::gentoo_prefix
72 > >
73 > > Repositories:
74 > >
75 > > gentoo_prefix
76 > >
77 > > location: /Users/askarbektassov/Gentoo/usr/portage
78 > >
79 > > sync-type: rsync
80 > >
81 > > sync-uri: rsync://[1]rsync.prefix.bitzolder.nl/gentoo-portage-prefix
82 > >
83 > > priority: -1000
84 > >
85 > > sync-rsync-extra-opts:
86 > >
87 > > ACCEPT_KEYWORDS="~x64-macos"
88 > >
89 > > ACCEPT_LICENSE="* -@EULA"
90 > >
91 > > CBUILD="x86_64-apple-darwin17"
92 > >
93 > > CC="x86_64-apple-darwin15-clang"
94 > >
95 > > CFLAGS="-march=native -O2 -pipe"
96 > >
97 > > CHOST="x86_64-apple-darwin17"
98 > >
99 > > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
100 > >
101 > > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
102 > > /etc/gentoo-release /etc/terminfo"
103 > >
104 > > CXX="x86_64-apple-darwin15-clang++"
105 > >
106 > > CXXFLAGS="-march=native -O2 -pipe"
107 > >
108 > > DISTDIR="/Users/askarbektassov/Gentoo/usr/portage/distfiles"
109 > >
110 > > FCFLAGS=""
111 > >
112 > > FEATURES="assume-digests binpkg-logs collision-protect
113 > > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix
114 > > merge-sync multilib-strict news nostrip parallel-fetch preserve-libs
115 > > protect-owned sfperms strict unknown-features-warn unmerge-logs
116 > unmerge-orphans
117 > > unprivileged"
118 > >
119 > > FFLAGS=""
120 > >
121 > > GENTOO_MIRRORS="[2]http://distfiles.gentoo.org"
122 > >
123 > > LANG="en_US.UTF-8"
124 > >
125 > > LDFLAGS="-Wl,-dead_strip_dylibs"
126 > >
127 > > MAKEOPTS="-j5"
128 > >
129 > > PKGDIR="/Users/askarbektassov/Gentoo/usr/portage/packages"
130 > >
131 > > PORTAGE_CONFIGROOT="/Users/askarbektassov/Gentoo/"
132 > >
133 > > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
134 > > --omit-dir-times --compress --force --whole-file --delete --stats
135 > > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
136 > > --exclude=/packages --exclude=/.git"
137 > >
138 > > PORTAGE_TMPDIR="/Users/askarbektassov/Gentoo/var/tmp"
139 > >
140 > > USE="aqua coreaudio cxx ipv6 modules ncurses nls objc objc++ prefix
141 > prefix-guest
142 > > readline ssl unicode x64-macos zlib" ABI_X86="64"
143 > APACHE2_MODULES="authn_core
144 > > authz_core socache_shmcb unixd actions alias auth_basic authn_alias
145 > authn_anon
146 > > authn_dbm authn_default authn_file authz_dbm authz_default
147 > authz_groupfile
148 > > authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs
149 > dav_lock
150 > > deflate dir disk_cache env expires ext_filter file_cache filter headers
151 > include
152 > > info log_config logio mem_cache mime mime_magic negotiation rewrite
153 > setenvif
154 > > speling status unique_id userdir usertrack vhost_alias"
155 > CALLIGRA_FEATURES="kexi
156 > > words flow plan sheets stage tables krita karbon braindump author"
157 > > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
158 > > CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin"
159 > GPSD_PROTOCOLS="ashtech aivdm
160 > > earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301
161 > nmea ntrip
162 > > navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq
163 > superstar2
164 > > timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse"
165 > > KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
166 > lcdm001
167 > > mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
168 > > presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
169 > PHP_TARGETS="php5-6
170 > > php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5"
171 > > PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby24"
172 > USERLAND="GNU"
173 > > XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
174 > iface
175 > > geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
176 > dhcpmac
177 > > delude chaos account"
178 > >
179 > > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
180 > LINGUAS,
181 > > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
182 > > PORTAGE_RSYNC_EXTRA_OPTS
183 > >
184 > > askarbektassov@Askars-iMac ~ $ eselect profile list
185 > >
186 > > Available profile symlink targets:
187 > >
188 > > [1] gentoo_prefix:prefix/darwin/macos/10.5/x64 (dev)
189 > >
190 > > [2] gentoo_prefix:prefix/darwin/macos/10.6/x64 (dev)
191 > >
192 > > [3] gentoo_prefix:prefix/darwin/macos/10.7/x64 (dev)
193 > >
194 > > [4] gentoo_prefix:prefix/darwin/macos/10.8/x64 (dev)
195 > >
196 > > [5] gentoo_prefix:prefix/darwin/macos/10.9/x64 (dev)
197 > >
198 > > [6] gentoo_prefix:prefix/darwin/macos/10.10/x64 (dev)
199 > >
200 > > [7] gentoo_prefix:prefix/darwin/macos/10.11/x64 (dev) *
201 > >
202 > > [8] gentoo_prefix:prefix/darwin/macos/10.12/x64 (dev)
203 > >
204 > > [9] gentoo_prefix:prefix/darwin/macos/10.13/x64 (dev)
205 > >
206 > > askarbektassov@Askars-iMac ~ $ binutils-config -c
207 > >
208 > > x86_64-apple-darwin15-8.2.1
209 > >
210 > > askarbektassov@Askars-iMac ~ $ binutils-config -l
211 > >
212 > > [1] x86_64-apple-darwin17-8.2.1 *
213 > >
214 > > The above two lines, make me think that I have messed up some
215 > configuration
216 > > which may have broken / changes symlinks. In any case, all packages seem
217 > still
218 > > to be installed.
219 > >
220 > > askarbektassov@Askars-iMac ~ $ emerge system -pv
221 > >
222 > > These are the packages that would be merged, in order:
223 > >
224 > > Calculating dependencies... done!
225 > >
226 > > [ebuild R ] app-arch/bzip2-1.0.6-r8:0/1::gentoo_prefix
227 > USE="-static
228 > > -static-libs" 0 KiB
229 > >
230 > > [ebuild R ] sys-devel/gnuconfig-20180101::gentoo_prefix 0 KiB
231 > >
232 > > [ebuild U ] sys-devel/patch-2.7.6-r1::gentoo_prefix
233 > [2.7.6::gentoo_prefix]
234 > > USE="-static {-test} -xattr" 0 KiB
235 > >
236 > > [ebuild R ] sys-libs/csu-85::gentoo_prefix 0 KiB
237 > >
238 > > [ebuild R ] sys-apps/which-2.21::gentoo_prefix 0 KiB
239 > >
240 > > [ebuild R ] app-arch/gzip-1.9::gentoo_prefix USE="-pic -static" 0
241 > KiB
242 > >
243 > > [ebuild R ] sys-process/pkill-darwin-1.0::gentoo_prefix 0 KiB
244 > >
245 > > [ebuild U ] sys-apps/less-530::gentoo_prefix [529::gentoo_prefix]
246 > > USE="unicode -pcre" 0 KiB
247 > >
248 > > [ebuild R ] sys-apps/darwin-miscutils-12::gentoo_prefix 0 KiB
249 > >
250 > > [ebuild R ] virtual/pager-0::gentoo_prefix 0 KiB
251 > >
252 > > [ebuild R ] sys-devel/binutils-apple-8.2.1-r1:8::gentoo_prefix
253 > > USE="-classic -lto -tapi {-test}" 0 KiB
254 > >
255 > > [ebuild R ] app-arch/xz-utils-5.2.3::gentoo_prefix
256 > USE="extra-filters nls
257 > > threads -static-libs" 0 KiB
258 > >
259 > > [ebuild R ] sys-apps/file-5.32::gentoo_prefix USE="zlib -python
260 > > -static-libs" PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-python3_4)
261 > > -python3_6" 0 KiB
262 > >
263 > > [ebuild R ] sys-apps/baselayout-prefix-2.2-r5::gentoo_prefix 0 KiB
264 > >
265 > > [ebuild U ] sys-apps/coreutils-8.29::gentoo_prefix
266 > [8.28-r1::gentoo_prefix]
267 > > USE="nls (-acl) (-caps) -gmp -hostname -kill -multicall (-selinux)
268 > -static
269 > > {-test} -vanilla -xattr (-stdbuf%*) (-uptime%)" 0 KiB
270 > >
271 > > [ebuild R ] virtual/service-manager-0::gentoo_prefix
272 > USE="(prefix)" 0 KiB
273 > >
274 > > [ebuild R ] virtual/man-0-r1::gentoo_prefix 0 KiB
275 > >
276 > > [ebuild R ] virtual/editor-0::gentoo_prefix 0 KiB
277 > >
278 > > [ebuild R ] virtual/ssh-0::gentoo_prefix USE="-minimal" 0 KiB
279 > >
280 > > [ebuild R ] sys-apps/sed-4.2.2::gentoo_prefix USE="nls (-acl)
281 > (-selinux)
282 > > -static" 0 KiB
283 > >
284 > > [ebuild R ] app-arch/tar-1.30::gentoo_prefix USE="nls (-acl)
285 > -minimal
286 > > (-selinux) -static -xattr" 0 KiB
287 > >
288 > > [ebuild U ] sys-devel/make-4.2.1-r2::gentoo_prefix
289 > > [4.2.1-r1::gentoo_prefix] USE="nls -guile -static" 0 KiB
290 > >
291 > > [ebuild U ] sys-apps/gawk-4.2.1::gentoo_prefix
292 > [4.2.0::gentoo_prefix]
293 > > USE="nls readline -mpfr" 2,916 KiB
294 > >
295 > > [ebuild R ] sys-apps/diffutils-3.6::gentoo_prefix USE="nls
296 > -static" 0 KiB
297 > >
298 > > [ebuild R ] sys-apps/findutils-4.6.0-r1::gentoo_prefix USE="nls
299 > (-selinux)
300 > > -static {-test}" 0 KiB
301 > >
302 > > [ebuild R ] app-shells/bash-4.3_p48-r1::gentoo_prefix USE="net nls
303 > > (readline) -afs -bashlogger -examples -mem-scramble -plugins" 0 KiB
304 > >
305 > > [ebuild R ] virtual/package-manager-0::gentoo_prefix 0 KiB
306 > >
307 > > [ebuild R ] net-misc/rsync-3.1.3::gentoo_prefix USE="ipv6 (-acl)
308 > -examples
309 > > -iconv -static -stunnel -xattr" 0 KiB
310 > >
311 > > [ebuild R ] net-misc/wget-1.19.4::gentoo_prefix USE="ipv6 nls ssl
312 > zlib
313 > > -debug -gnutls -idn -libressl -ntlm -pcre -static {-test} -uuid" 0 KiB
314 > >
315 > > [ebuild R ] sys-apps/grep-3.1::gentoo_prefix USE="nls -pcre
316 > -static" 0 KiB
317 > >
318 > > [ebuild R ] sys-devel/clang-5.0.1:5::gentoo_prefix
319 > USE="static-analyzer
320 > > -debug -default-compiler-rt -default-libcxx -doc {-test} -xml (-z3)"
321 > > LLVM_TARGETS="BPF (X86) -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430
322 > -Mips
323 > > -NVPTX -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 0 KiB
324 > >
325 > > Total: 31 packages (5 upgrades, 26 reinstalls), Size of downloads: 2,916
326 > KiB
327 > >
328 > > Any clue?
329 > >
330 > > --
331 > > Askar Bektassov (Аскар Бектасов)
332 > >
333 > > Sent from webmail
334 > >
335 > > For more info, [3]LinkedIn
336 > >
337 > >
338 > >
339 > > References:
340 > > 1. http://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
341 > > 2. http://distfiles.gentoo.org
342 > > 3. http://www.linkedin.com/in/askarbektassov
343 > >
344 > > read_char: errno==EILSEQ; invalid byte sequence for UTF-8:
345 > --
346 > Fabian Groffen
347 > Gentoo on a different level
348 >

Replies

Subject Author
Re: [gentoo-alt] No gcc found, after eselect profile "Askar Bektassov (Аскар Бектасов)" <askar.bektassov@×××××.com>