Hi, The package dev-embedded/tavrasm fails to build on my system: * Package: dev-embedded/tavrasm-1.22-r1 * Repository: gentoo * Maintainer: embedded@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tavrasm-1.22.tar.gz to /var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work >>> Source unpacked in /var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work >>> Preparing source in /var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work/tavrasm.122 ... * Applying tavrasm-1.22-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work/tavrasm.122 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work/tavrasm.122 ... make -j9 -j1 bison -d -o avrparse avrparse.y avrparse.y:122.25-30: warning: symbol STRING redeclared [-Wother] %token <string> STRING ^^^^^^ mv avrparse avrparse.cc mv avrparse.h avrparse.hh x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=bdver2 -mprefer-avx128 -Wall -DAVRLANG=LANGUAGE_US avrparse.cc In file included from avrparse.y:50:0: avrasm.hh:81:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INFOSTR "Toms AVR macro assembler version "VERSIONSTR" ("__DATE__ \ ^ avrasm.hh:81:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INFOSTR "Toms AVR macro assembler version "VERSIONSTR" ("__DATE__ \ ^ avrparse: In function ‘int yyparse()’: avrparse:2132:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] avrparse:2276:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] flex -oavrlex.cc avrlex.l x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=bdver2 -mprefer-avx128 -Wall -DAVRLANG=LANGUAGE_US avrlex.cc In file included from symbol.hh:48:0, from avrlex.l:56: avrasm.hh:81:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INFOSTR "Toms AVR macro assembler version "VERSIONSTR" ("__DATE__ \ ^ avrasm.hh:81:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INFOSTR "Toms AVR macro assembler version "VERSIONSTR" ("__DATE__ \ ^ avrlex.l: In function ‘int macrodef()’: avrlex.l:957:25: warning: variable ‘comment’ set but not used [-Wunused-but-set-variable] int comment = FALSE; ^~~~~~~ x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=bdver2 -mprefer-avx128 -Wall -DAVRLANG=LANGUAGE_US avrasm.cc In file included from avrasm.cc:291:0: avrasm.hh:81:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INFOSTR "Toms AVR macro assembler version "VERSIONSTR" ("__DATE__ \ ^ avrasm.hh:81:64: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define INFOSTR "Toms AVR macro assembler version "VERSIONSTR" ("__DATE__ \ ^ In file included from avrasm.cc:295:0: devices.hh:113:1: error: narrowing conversion of ‘4294967295’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] }; ^ devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902292’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] devices.hh:113:1: error: narrowing conversion of ‘4294902272’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] avrasm.cc: In function ‘int saveIHF()’: avrasm.cc:996:32: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] fprintf(out, "%02X\n",0x100-sum&0xFF); ~~~~~^~~~ avrasm.cc:1040:19: warning: operation on ‘count’ may be undefined [-Wsequence-point] line[count++] = yyerombuf[c+count]; ~~~~~^~ avrasm.cc:1054:32: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] fprintf(out, "%02X\n",0x100-sum&0xFF); ~~~~~^~~~ avrasm.cc: In function ‘int saveObj()’: avrasm.cc:1185:29: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] fputc( (yycodeusage[c]-1 & 0x007F) >> 0, out); ~~~~~~~~~~~~~~^~ avrasm.cc: In function ‘int saveMotorola()’: avrasm.cc:1325:19: warning: operation on ‘count’ may be undefined [-Wsequence-point] line[count++] = yycodebuf[c+count]; ~~~~~^~ avrasm.cc:1390:19: warning: operation on ‘count’ may be undefined [-Wsequence-point] line[count++] = yyerombuf[c+count]; ~~~~~^~ make: *** [makefile:36: avrasm.o] Error 1 emake failed * ERROR: dev-embedded/tavrasm-1.22-r1::gentoo failed (compile phase): * Compilation failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2010: Called die * The specific snippet of code: * emake -j1 || die "Compilation failed" * * If you need support, post the output of `emerge --info '=dev-embedded/tavrasm-1.22-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-embedded/tavrasm-1.22-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-embedded/tavrasm-1.22-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-embedded/tavrasm-1.22-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work/tavrasm.122/src' * S: '/var/tmp/portage/dev-embedded/tavrasm-1.22-r1/work/tavrasm.122' emerge --info: Portage 2.3.46 (python 2.7.15-final-0, default/linux/amd64/17.1, gcc-7.3.0, glibc-2.27-r6, 4.18.1-gentoo-r1 x86_64) ================================================================= System uname: Linux-4.18.1-gentoo-r1-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.6 KiB Mem: 16412280 total, 4691772 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Sun, 19 Aug 2018 00:45:01 +0000 Head commit of repository gentoo: b21e386a064e1ed49981d9527f968ddc5e1eeb86 sh bash 4.4_p23 ld GNU ld (Gentoo 2.31.1 p1) 2.31.1 app-shells/bash: 4.4_p23::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo dev-util/cmake: 3.12.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.38.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://192.168.2.22/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: --info=progress2,name0,del0 sync-rsync-verify-max-age: 24 local location: /media/overlays/local masters: gentoo priority: 0 steam-overlay location: /media/overlays/layman/steam-overlay masters: gentoo priority: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=bdver2 -mprefer-avx128" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=8 --load-average 8" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--info=progress2,name0,del0" 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="aac acl alsa amd64 berkdb bzip2 cli crypt cxx dbus dri egl elogind evdev exif flac gdbm gpg iconv icu ipv6 jpeg kde ldap libtirpc lzma mad modules mp3 mp4 multilib ncurses nls nptl openal opengl openmp opus otr pam pcre png python qt5 readline sdl seccomp ssl svg tcpd threads tiff truetype udev unicode vaapi vdpau vim-syntax vorbis vpx wayland webp x264 xattr xcb xinerama xml zlib" ABI_X86="64" 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="krita sheets words karbon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en" 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 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby24 ruby25" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
BTW, i think it's better to remove this package anyway. The package fails to build and there is another issue with not respecting C(XX)FLAGS (#240173) - which i however couldn't reproduce. The package is also at EAPI2.
Obsolete, as the package got removed with: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5293ad73c44451941c8882e57577f40ed3a1c4ca