I am using my own config for building busybox with USE="savedconfig". Up to 1.29.x, it was working fine. With 1.30.x, I am getting a build failure: applets/applet_tables: duplicate applet name 'bb' applets/applet_tables: duplicate applet name 'bbsh' This seems to be caused by the busybox-1.26.2-bb.patch, which is being applied by gentoo. When looking into the changelog, this got triggered by this commit: https://github.com/mirror/busybox/commit/2d217799e8f23514ad3be6a951aa928c265bc6a4
Created attachment 566366 [details] config
Portage 2.3.62 (python 3.7.0-final-0, default/linux/amd64/17.1, gcc-8.3.0, glibc-2.28-r5, 4.20.2-gentoo x86_64) ================================================================= System uname: Linux-4.20.2-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-gentoo-2.6 KiB Swap: 34078716 total, 34078716 free Timestamp of repository gentoo: Sun, 24 Feb 2019 01:45:02 +0000 Head commit of repository gentoo: 82c681e1ef076384cf72d6c8041b7552e580880f sh bash 5.0_p2 ld GNU ld (Gentoo 2.32 p1) 2.32.0 distcc 3.3.2 x86_64-pc-linux-gnu [disabled] ccache version 3.6 [enabled] app-shells/bash: 5.0_p2::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/ccache: 3.6::gentoo dev-util/cmake: 3.13.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.1::gentoo sys-apps/sandbox: 2.15::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r4::gentoo, 2.32::gentoo sys-devel/gcc: 8.2.0-r6::gentoo, 8.3.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 crossdev location: /usr/local/crossdev masters: gentoo galactica location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /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.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox protect-owned sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/*" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now" LINGUAS="de de_DE" MAKEOPTS="-j9 -l8" PKGDIR="/usr/portage/packages" PORTAGE_BUNZIP2_COMMAND="pbunzip2" PORTAGE_BZIP2_COMMAND="pbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9e" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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 aalib acl alsa amd64 berkdb bzip2 cairo calendar caps cddb cgi cjk cracklib crypt curl cvs cxx dbus dga djvu dri encode exif fbcon fbcpm ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif git gmp gnutls gpm graphviz gsm iconv icu idn imap imlib inotify introspection ipv6 java javascript jbig jemalloc jit joystick jpeg jpeg2k lcms ldap libass libcaca libnotify libsamplerate lm_sensors lua luajit lzma lzo mad maildir mbox mhash mikmod milter modplug mp3 mysql mysqli ncurses nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp orc oss pam pcre pdf perl pie png policykit posix postgres postscript pulseaudio python raw readline rtmp samba sasl sdl session slang slp smartcard sndfile snmp soap sockets sound sox speex spell sqlite ssl startup-notification subversion suid svg symlink syslog tcpd theora threads tiff truetype udev unicode usb v4l vaapi vdpau vim-syntax vorbis wavpack webp wmf x264 xattr xcb xface xft xml xmp xpm xscreensaver xv xvid zeroconf zlib zsh-completion" ABI_X86="32 64" COLLECTD_PLUGINS="apcups battery cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec fhcount filecount hddtemp hugepages interface ipc ipmi iptables irq load lvm java mcelog md memory mysql netlink nfs nginx ntpd openldap openvpn ping postgresql processes protocols rrdcached sensors serial smart snmp swap syslog tcpconns thermal turbostat unixsock uptime users" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="cfontzpacket crystalfontz glcd2usb hd44780 lcd2usb" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip headers_more limit_conn javascript proxy realip referer rewrite sticky stub_status upstream_keepalive vhost_traffic_status" NGINX_MODULES_STREAM="access geo geoip geoip2 javascript limit_conn realip return ssl_preread" PHP_TARGETS="php7-2" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" USERLAND="GNU" VIDEO_CARDS="ast fbdev" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST
Created attachment 566368 [details] build.log
When I do apply gentoos patch on vanilla busybox, I can trigger the build failure too. When I don't apply this patch, my own config just works fine.
Perhaps you should just adapt your savedconfig file? USE=savedconfig is impossible to support globally.
(In reply to Jeroen Roovers from comment #5) > Perhaps you should just adapt your savedconfig file? USE=savedconfig is > impossible to support globally. Since I can compile vanilla with that, I don't think, this is a config problem, since the gentoo only patch causes this failure. But how know, maybe someone knows here more ;-)
I digged further into it. The problem can be reproducued, when you enable BOTH CONFIG_ASH=y and CONFIG_HUSH=y. In this case, gentoos patch double definies the applet names "bb" and "bbsh", which is not allowed in 1.30.x..
(In reply to Conrad Kostecki from comment #7) > I digged further into it. > > The problem can be reproducued, when you enable BOTH CONFIG_ASH=y and > CONFIG_HUSH=y. > > In this case, gentoos patch double definies the applet names "bb" and > "bbsh", which is not allowed in 1.30.x.. This is expected, and that is why we have hush disabled in favor of ash.