Created attachment 468308 [details] Build log Here's the output: # emerge shards Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-util/shards-0.7.1::gentoo * shards-0.7.1.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking shards-0.7.1.tar.gz to /var/tmp/portage/dev-util/shards-0.7.1/work >>> Source unpacked in /var/tmp/portage/dev-util/shards-0.7.1/work >>> Preparing source in /var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1 ... make -j7 -l7.0 /usr/bin/crystal build -o bin/shards src/shards.cr crystal: /var/tmp/portage/sys-devel/llvm-4.0.0/work/llvm-4.0.0.src/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1213: virtual void llvm::DwarfDebug::endFunction(const llvm::MachineFunction*): Assertion `!FnScope || SP == FnScope->getScopeNode()' failed. gcc: error: S-lice40U-I-nt841.o: No such file or directory gcc: error: P-ointer40U-I-nt841.o: No such file or directory gcc: error: A-rgumentE-rror.o: No such file or directory gcc: error: C-allS-tack.o: No such file or directory gcc: error: A-rray40P-ointer40V-oid4141.o: No such file or directory gcc: error: P-ointer40P-ointer40V-oid4141.o: No such file or directory gcc: error: A-rray40P-ointer40V-oid414143.o: No such file or directory gcc: error: E-xception.o: No such file or directory gcc: error: P-ointer40L-ibU-nwind5858E-xception41.o: No such file or directory gcc: error: U-I-nt64.o: No such file or directory gcc: error: U-I-nt8.o: No such file or directory gcc: error: A-rray40S-tring41.o: No such file or directory gcc: error: P-ointer40S-tring41.o: No such file or directory gcc: error: S-taticA-rray40I-nt8443225641.o: No such file or directory gcc: error: P-ointer40I-nt841.o: No such file or directory gcc: error: I-nt32.o: No such file or directory gcc: error: P-ointer40V-oid41.o: No such file or directory gcc: error: F-iber.o: No such file or directory gcc: error: T-hread.o: No such file or directory gcc: error: S-et40T-hread41.o: No such file or directory gcc: error: H-ash40T-hread4432N-il41.o: No such file or directory gcc: error: P-ointer40H-ash58-5c8fd5776cf345ec94b91bf7a5f7e50f.o: No such file or directory gcc: error: A-rray40I-nt3241.o: No such file or directory gcc: error: S-tring5858B-uilder.o: No such file or directory gcc: error: S-tring.o: No such file or directory gcc: error: G-C-.o: No such file or directory gcc: error: S-lice40T-41.o: No such file or directory gcc: error: I-O-5858E-ncoder.o: No such file or directory gcc: error: I-conv.o: No such file or directory gcc: error: M-ath.o: No such file or directory gcc: error: I-ndexE-rror.o: No such file or directory gcc: error: E-rrno.o: No such file or directory gcc: error: S-taticA-rray40U-I-nt84432102441.o: No such file or directory gcc: error: C-har.o: No such file or directory gcc: error: S-taticA-rray40U-I-nt84432441.o: No such file or directory gcc: error: I-nvalidB-yteS-equenceE-rror.o: No such file or directory Error: execution of command failed with code: 1: `cc -o "/var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1/bin/shards" "${@}" -rdynamic -lyaml -lpcre -lm -lgc -lpthread /usr/lib64/crystal/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib` make: *** [Makefile:22: bin/shards] Error 1 * ERROR: dev-util/shards-0.7.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/shards-0.7.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/shards-0.7.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:shards-0.7.1:20170326-010523.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/shards-0.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/shards-0.7.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1' * S: '/var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1' >>> Failed to emerge dev-util/shards-0.7.1, Log file: >>> '/var/log/portage/dev-util:shards-0.7.1:20170326-010523.log' * Messages for package dev-util/shards-0.7.1: * ERROR: dev-util/shards-0.7.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/shards-0.7.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/shards-0.7.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:shards-0.7.1:20170326-010523.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/shards-0.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/shards-0.7.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1' * S: '/var/tmp/portage/dev-util/shards-0.7.1/work/shards-0.7.1'
Please attach output of emerge --info '=dev-util/shards-0.7.1::gentoo'
Here goes: introdesk ~ # emerge --info '=dev-util/shards-0.7.1::gentoo' Portage 2.3.5 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.24-r1, 4.10.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.10.4-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.3 KiB Mem: 16461480 total, 2219804 free KiB Swap: 8264768 total, 8214116 free Timestamp of repository gentoo: Sun, 26 Mar 2017 00:22:21 +0000 sh bash 4.4_p12 ld GNU ld (Gentoo 2.27 p1.0) 2.27 ccache version 3.3.4 [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r1::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo dev-util/ccache: 3.3.4::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.24.1::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.27::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 bitwig-overlay location: /usr/local/portage/bitwig-overlay sync-type: git sync-uri: https://github.com/renich/bitwig-overlay.git masters: gentoo local-overlay location: /usr/local/portage/local masters: gentoo bliss-overlay location: /var/lib/layman/bliss-overlay masters: gentoo priority: 50 crossdev location: /var/lib/layman/crossdev sync-type: laymansync sync-uri: git://github.com/alphallc/crossdev masters: gentoo priority: 50 gamerlay location: /var/lib/layman/gamerlay sync-type: laymansync sync-uri: git://anongit.gentoo.org/proj/gamerlay.git masters: gentoo priority: 50 sabayon location: /var/lib/layman/sabayon sync-type: laymansync sync-uri: git://github.com/Sabayon/for-gentoo.git masters: gentoo priority: 50 tengine-overlay location: /var/lib/layman/tengine-overlay masters: gentoo priority: 50 Installed sets: @steam ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j7 -l7.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" USE="X a52 aac acl acpi aio alsa amd64 ao apm atm audiofile audit bash-completion bcmath berkdb bluetooth branding bzip2 cairo calendar caps cdda cdr cleartype cli colord corefonts cracklib crypt css cups cxx dbus dga dhclient dri dri3 dts dv dvd dvdr eds egl emboss encode evdev evo exif fam fastcgi firefox flac fortran gd gdbm geoip geolocation ggi gif git glamor gles gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gps gstreamer gtk gzip hddtemp iconv icu idn imagick inotify introspection ipv6 jemalloc jit jpeg jpeg2k ladspa lame lapack lash lcms ldap libffi libnotify libsecret lv2 lzma lzo mad matroska memlimit mhash mikmod mime mmap mng modplug modules mp3 mp4 mpeg mpi mtp multilib musicbrainz nas nautilus ncurses networkmanager nls nptl offensive ogg openal openexr opengl openmp orc osc pam pango pcntl pcre pdf png policykit posix postscript ppds pulseaudio python qt3support qt4 quicktime raw rdesktop readline realtime rss ruby savedconfig sdl seccomp session sharedmem shorten simplexml smbclient smp sockets socks5 sound sox speex spell sqlite ssh ssl startup-notification suid svg symlink systemd szip taglib tcmalloc tcpd theora threads tidy tiff timidity tracker truetype type1 udev udisks unicode upnp upnp-av upower usb v4l vaapi vdpau vim-syntax virbis vnc vorbis wavpack wayland wddx webkit wifi wmf wxwidgets x264 xa xattr xcb xft xinerama xml xmlrpc xmp xpm xv xvid xvmc yaz zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" 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="evdev" KERNEL="linux" L10N="en es en-US es-MX es-LA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en es en_US es_MX es_LA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Oh, that's an old bug and old llvm. Newer version should be better.