emerge --sync failed for me with this message: * ERROR: net-fs/samba-4.2.14::gentoo failed (depend phase): * External commands disallowed while sourcing ebuild: get_version_component_range 1-2 * * Call stack: * ebuild.sh, line 635: Called source '/mnt/sda7/portage/net-fs/samba/samba-4.2.14.ebuild' * samba-4.2.14.ebuild, line 101: Called command_not_found_handle 'get_version_component_range' '1-2' * ebuild.sh, line 88: Called die * The specific snippet of code: * die "External commands disallowed while sourcing ebuild: ${*}" * * If you need support, post the output of `emerge --info '=net-fs/samba-4.2.14::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-fs/samba-4.2.14::gentoo'`. * Working directory: '/usr/lib64/python3.6/site-packages' * S: '/var/tmp/portage/net-fs/samba-4.2.14/work/samba-4.2.14' Error processing net-fs/samba-4.2.14, continuing... I think this commit is the root cause: linux-info.eclass: use eapi7-ver versionator is banned in EAPI 7, so switch to either native EAPI 7 version functions or inherit eapi7-ver on EAPI 0-6. https://github.com/gentoo/gentoo/commit/c6b150836dfef848e51ec2cce801b12daf2c77b1 Head commit of repository gentoo: c6b150836dfef848e51ec2cce801b12daf2c77b1
For the sake of completeness emerge --info samba Portage 2.3.40 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r7, 4.14.52-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.14.52-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.4.1 KiB Mem: 20528412 total, 218056 free KiB Swap: 0 total, 0 free Head commit of repository gentoo: c6b150836dfef848e51ec2cce801b12daf2c77b1 sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p2) 2.30.0 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 7.3.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.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /mnt/sda7/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git priority: -1000 mylocal location: /usr/local/portage masters: gentoo priority: 0 steam-overlay location: /var/lib/layman/steam-overlay sync-type: laymansync sync-uri: git://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/unifi" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=corei7 -O2 -pipe" DISTDIR="/mnt/sdb1/distfiles" 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 ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j4" 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 aacs acl acpi activities alsa amd64 amr appstream berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cec chipcard clamav cli color-management crypt cryptsetup css cups cxx dbus declarative device-mapper djvu dmraid dri dts dvb dvd dvdr ebook elogind emboss eme-free encode epub exif ext4 f2fs faac fam fat ffmpeg flac fortran fuse gdbm geoip gif gimp glamor google googledrive gpg gphoto2 gpm gtk hardened hbci http2 iconv id3tag infinality ipv6 jfs joystick jpeg kde kipi kwallet ladspa lame lcms ldap lensfun libnotify libsamplerate libtirpc linguas_de lirc lm_sensors lvm lz4 lzma mad matroska mdadm mjpeg mmx mng mobi modemmanager modules mp3 mp4 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ntfs nvenc office ogg opencl opengl openmp opus orc pam pango pcre pdf phonon plasma plymouth pm-utils png policykit postscript ppds ppp pvr qml qt5 qtmedia rar raw rdesktop rdp readline reiser4 reiserfs rubberband s3tc samba scanner sdl seccomp semantic-desktop sftp share smartcard smp sndfile sox speech spell spice squashfs sse sse2 ssl startup-notification svg taglib tcpd theora thumbnail tiff touchpad truetype twolame udev udf udisks unicode upnp upower usb v4l vaapi vcd vdpau vnc vorbis vpx vulkan wayland webp widgets wifi wps wxwidgets x264 x265 xattr xcb xcomposite xfs xkb xml xv xvid xvmc yubikey zeroconf 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_EXPERIMENTAL_FEATURES="braindump stage" CALLIGRA_FEATURES="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard joystick mouse synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" 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" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965 fbdev vesa nouveau nvidia radeon radeonsi amdgpu dummy virtualbox" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-fs/samba-4.5.16::gentoo was built with the following: USE="acl client cups fam ldap pam quota system-mitkrb5 winbind zeroconf -addc -addns -ads -cluster (-dmapi) -gnutls -gpg -iprint (-selinux) -syslog (-system-heimdal) -systemd -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac4f578ea2009cbcaeeddb1efc8d7024ea0b66f commit fac4f578ea2009cbcaeeddb1efc8d7024ea0b66f Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-07-13 22:39:14 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-07-13 22:39:27 +0000 net-fs/samba: inherit versionator Closes: https://bugs.gentoo.org/661108 Package-Manager: Portage-2.3.42, Repoman-2.3.9 net-fs/samba/samba-4.2.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)