Hi Fabian, Thanks a lot, will be happy to try that when I get home! Will let you know.
All the best, -- Askar Bektassov (Аскар Бектасов) Sent from webmail For more info, LinkedIn <http://www.linkedin.com/in/askarbektassov> On Tue, Feb 27, 2018 at 9:56 AM, Fabian Groffen <[email protected]> wrote: > On 26-02-2018 22:45:50 +0100, Askar Bektassov (Аскар Бектасов) wrote: > > Hi folks, > > > > Not sure what I have done, but now emerge does not fine the compiler. > > On your mac the compile is called "clang". Once upon a time, Portage > showed this, but that change got rejected, so it acts like it's missing, > but in fact all is fine. > > Look at $EPREFIX/etc/portage/make.conf, you will find a few lines > setting CC and CXX and the like to ${CHOST}-clang values. This is how > it is made to work. > > Unrelated, but you can still emerge gcc-apple to get 4.2.1 version of > Apple's GCC (the latest) which fully operates with gcc-config and has > fortran support. > > Fabian > > > > > askarbektassov@Askars-iMac ~ $ emerge --info > > > > !!! No gcc found. You probably need to 'source /etc/profile' > > > > !!! to update the environment of this terminal and possibly > > > > !!! other terminals also. > > > > Portage 2.3.18-prefix (python 3.5.4-final-0, > prefix/darwin/macos/10.13/x64, > > [unavailable], unavailable, 17.4.0 x86_64) > > > > ================================================================= > > > > System uname: Darwin-17.4.0-x86_64-i386-64bit > > > > Timestamp of repository gentoo_prefix: Mon, 26 Feb 2018 21:27:47 +0000 > > > > sh bash 4.3_p48-r1 > > > > app-shells/bash: 4.3_p48-r1::gentoo_prefix > > > > dev-lang/perl: 5.26.1-r1::gentoo_prefix > > > > dev-lang/python: 2.7.14::gentoo_prefix, 3.5.4::gentoo_prefix > > > > dev-util/cmake: 3.10.2::gentoo_prefix > > > > dev-util/pkgconfig: 0.29.2::gentoo_prefix > > > > sys-devel/autoconf: 2.69-r4::gentoo_prefix > > > > sys-devel/automake: 1.15.1-r1::gentoo_prefix > > > > sys-devel/libtool: 2.4.6-r4::gentoo_prefix > > > > sys-devel/make: 4.2.1-r1::gentoo_prefix > > > > Repositories: > > > > gentoo_prefix > > > > location: /Users/askarbektassov/Gentoo/usr/portage > > > > sync-type: rsync > > > > sync-uri: rsync://[1]rsync.prefix.bitzolder.nl/gentoo-portage-prefix > > > > priority: -1000 > > > > sync-rsync-extra-opts: > > > > ACCEPT_KEYWORDS="~x64-macos" > > > > ACCEPT_LICENSE="* -@EULA" > > > > CBUILD="x86_64-apple-darwin17" > > > > CC="x86_64-apple-darwin15-clang" > > > > CFLAGS="-march=native -O2 -pipe" > > > > CHOST="x86_64-apple-darwin17" > > > > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" > > > > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf > > /etc/gentoo-release /etc/terminfo" > > > > CXX="x86_64-apple-darwin15-clang++" > > > > CXXFLAGS="-march=native -O2 -pipe" > > > > DISTDIR="/Users/askarbektassov/Gentoo/usr/portage/distfiles" > > > > FCFLAGS="" > > > > FEATURES="assume-digests binpkg-logs collision-protect > > config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix > > merge-sync multilib-strict news nostrip parallel-fetch preserve-libs > > protect-owned sfperms strict unknown-features-warn unmerge-logs > unmerge-orphans > > unprivileged" > > > > FFLAGS="" > > > > GENTOO_MIRRORS="[2]http://distfiles.gentoo.org" > > > > LANG="en_US.UTF-8" > > > > LDFLAGS="-Wl,-dead_strip_dylibs" > > > > MAKEOPTS="-j5" > > > > PKGDIR="/Users/askarbektassov/Gentoo/usr/portage/packages" > > > > PORTAGE_CONFIGROOT="/Users/askarbektassov/Gentoo/" > > > > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times > > --omit-dir-times --compress --force --whole-file --delete --stats > > --human-readable --timeout=180 --exclude=/distfiles --exclude=/local > > --exclude=/packages --exclude=/.git" > > > > PORTAGE_TMPDIR="/Users/askarbektassov/Gentoo/var/tmp" > > > > USE="aqua coreaudio cxx ipv6 modules ncurses nls objc objc++ prefix > prefix-guest > > readline ssl unicode x64-macos zlib" ABI_X86="64" > APACHE2_MODULES="authn_core > > authz_core socache_shmcb unixd actions alias auth_basic authn_alias > authn_anon > > authn_dbm authn_default authn_file authz_dbm authz_default > authz_groupfile > > authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs > dav_lock > > deflate dir disk_cache env expires ext_filter file_cache filter headers > include > > info log_config logio mem_cache mime mime_magic negotiation rewrite > setenvif > > speling status unique_id userdir usertrack vhost_alias" > CALLIGRA_FEATURES="kexi > > words flow plan sheets stage tables krita karbon braindump author" > > COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" > > CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="Darwin" > GPSD_PROTOCOLS="ashtech aivdm > > earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 > nmea ntrip > > navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq > superstar2 > > timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse" > > KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 > lcdm001 > > mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console > > presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" > PHP_TARGETS="php5-6 > > php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" > > PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby24" > USERLAND="GNU" > > XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p > iface > > geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark > dhcpmac > > delude chaos account" > > > > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, > LINGUAS, > > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, > > PORTAGE_RSYNC_EXTRA_OPTS > > > > askarbektassov@Askars-iMac ~ $ eselect profile list > > > > Available profile symlink targets: > > > > [1] gentoo_prefix:prefix/darwin/macos/10.5/x64 (dev) > > > > [2] gentoo_prefix:prefix/darwin/macos/10.6/x64 (dev) > > > > [3] gentoo_prefix:prefix/darwin/macos/10.7/x64 (dev) > > > > [4] gentoo_prefix:prefix/darwin/macos/10.8/x64 (dev) > > > > [5] gentoo_prefix:prefix/darwin/macos/10.9/x64 (dev) > > > > [6] gentoo_prefix:prefix/darwin/macos/10.10/x64 (dev) > > > > [7] gentoo_prefix:prefix/darwin/macos/10.11/x64 (dev) * > > > > [8] gentoo_prefix:prefix/darwin/macos/10.12/x64 (dev) > > > > [9] gentoo_prefix:prefix/darwin/macos/10.13/x64 (dev) > > > > askarbektassov@Askars-iMac ~ $ binutils-config -c > > > > x86_64-apple-darwin15-8.2.1 > > > > askarbektassov@Askars-iMac ~ $ binutils-config -l > > > > [1] x86_64-apple-darwin17-8.2.1 * > > > > The above two lines, make me think that I have messed up some > configuration > > which may have broken / changes symlinks. In any case, all packages seem > still > > to be installed. > > > > askarbektassov@Askars-iMac ~ $ emerge system -pv > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > > > [ebuild R ] app-arch/bzip2-1.0.6-r8:0/1::gentoo_prefix > USE="-static > > -static-libs" 0 KiB > > > > [ebuild R ] sys-devel/gnuconfig-20180101::gentoo_prefix 0 KiB > > > > [ebuild U ] sys-devel/patch-2.7.6-r1::gentoo_prefix > [2.7.6::gentoo_prefix] > > USE="-static {-test} -xattr" 0 KiB > > > > [ebuild R ] sys-libs/csu-85::gentoo_prefix 0 KiB > > > > [ebuild R ] sys-apps/which-2.21::gentoo_prefix 0 KiB > > > > [ebuild R ] app-arch/gzip-1.9::gentoo_prefix USE="-pic -static" 0 > KiB > > > > [ebuild R ] sys-process/pkill-darwin-1.0::gentoo_prefix 0 KiB > > > > [ebuild U ] sys-apps/less-530::gentoo_prefix [529::gentoo_prefix] > > USE="unicode -pcre" 0 KiB > > > > [ebuild R ] sys-apps/darwin-miscutils-12::gentoo_prefix 0 KiB > > > > [ebuild R ] virtual/pager-0::gentoo_prefix 0 KiB > > > > [ebuild R ] sys-devel/binutils-apple-8.2.1-r1:8::gentoo_prefix > > USE="-classic -lto -tapi {-test}" 0 KiB > > > > [ebuild R ] app-arch/xz-utils-5.2.3::gentoo_prefix > USE="extra-filters nls > > threads -static-libs" 0 KiB > > > > [ebuild R ] sys-apps/file-5.32::gentoo_prefix USE="zlib -python > > -static-libs" PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-python3_4) > > -python3_6" 0 KiB > > > > [ebuild R ] sys-apps/baselayout-prefix-2.2-r5::gentoo_prefix 0 KiB > > > > [ebuild U ] sys-apps/coreutils-8.29::gentoo_prefix > [8.28-r1::gentoo_prefix] > > USE="nls (-acl) (-caps) -gmp -hostname -kill -multicall (-selinux) > -static > > {-test} -vanilla -xattr (-stdbuf%*) (-uptime%)" 0 KiB > > > > [ebuild R ] virtual/service-manager-0::gentoo_prefix > USE="(prefix)" 0 KiB > > > > [ebuild R ] virtual/man-0-r1::gentoo_prefix 0 KiB > > > > [ebuild R ] virtual/editor-0::gentoo_prefix 0 KiB > > > > [ebuild R ] virtual/ssh-0::gentoo_prefix USE="-minimal" 0 KiB > > > > [ebuild R ] sys-apps/sed-4.2.2::gentoo_prefix USE="nls (-acl) > (-selinux) > > -static" 0 KiB > > > > [ebuild R ] app-arch/tar-1.30::gentoo_prefix USE="nls (-acl) > -minimal > > (-selinux) -static -xattr" 0 KiB > > > > [ebuild U ] sys-devel/make-4.2.1-r2::gentoo_prefix > > [4.2.1-r1::gentoo_prefix] USE="nls -guile -static" 0 KiB > > > > [ebuild U ] sys-apps/gawk-4.2.1::gentoo_prefix > [4.2.0::gentoo_prefix] > > USE="nls readline -mpfr" 2,916 KiB > > > > [ebuild R ] sys-apps/diffutils-3.6::gentoo_prefix USE="nls > -static" 0 KiB > > > > [ebuild R ] sys-apps/findutils-4.6.0-r1::gentoo_prefix USE="nls > (-selinux) > > -static {-test}" 0 KiB > > > > [ebuild R ] app-shells/bash-4.3_p48-r1::gentoo_prefix USE="net nls > > (readline) -afs -bashlogger -examples -mem-scramble -plugins" 0 KiB > > > > [ebuild R ] virtual/package-manager-0::gentoo_prefix 0 KiB > > > > [ebuild R ] net-misc/rsync-3.1.3::gentoo_prefix USE="ipv6 (-acl) > -examples > > -iconv -static -stunnel -xattr" 0 KiB > > > > [ebuild R ] net-misc/wget-1.19.4::gentoo_prefix USE="ipv6 nls ssl > zlib > > -debug -gnutls -idn -libressl -ntlm -pcre -static {-test} -uuid" 0 KiB > > > > [ebuild R ] sys-apps/grep-3.1::gentoo_prefix USE="nls -pcre > -static" 0 KiB > > > > [ebuild R ] sys-devel/clang-5.0.1:5::gentoo_prefix > USE="static-analyzer > > -debug -default-compiler-rt -default-libcxx -doc {-test} -xml (-z3)" > > LLVM_TARGETS="BPF (X86) -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 > -Mips > > -NVPTX -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 0 KiB > > > > Total: 31 packages (5 upgrades, 26 reinstalls), Size of downloads: 2,916 > KiB > > > > Any clue? > > > > -- > > Askar Bektassov (Аскар Бектасов) > > > > Sent from webmail > > > > For more info, [3]LinkedIn > > > > > > > > References: > > 1. http://rsync.prefix.bitzolder.nl/gentoo-portage-prefix > > 2. http://distfiles.gentoo.org > > 3. http://www.linkedin.com/in/askarbektassov > > > > read_char: errno==EILSEQ; invalid byte sequence for UTF-8: > -- > Fabian Groffen > Gentoo on a different level >
