Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816897 - app-misc/mc-4.8.27 - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Summary: app-misc/mc-4.8.27 - kill: usage: kill [-s sigspec | -n signum | -sigspec] pi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-08 01:02 UTC by Martin Mokrejš
Modified: 2021-10-11 09:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2021-10-08 01:02:11 UTC
>>> Running pre-merge checks for app-misc/mc-4.8.27
 * ERROR: app-misc/mc-4.8.27::gentoo failed (clean phase):
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   ebuild.sh, line 54:  Called __check_bash_version
 *   ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
 * ERROR: app-misc/mc-4.8.27::gentoo failed:
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   misc-functions.sh, line 17:  Called source '/usr/lib/portage/python3.9/ebuild.sh'
 *           ebuild.sh, line 54:  Called __check_bash_version
 *           ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
 * ERROR: app-misc/mc-4.8.27::gentoo failed (pretend phase):
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   ebuild.sh, line 54:  Called __check_bash_version
 *   ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The complete build log is located at '/tmp/portage/app-misc/mc-4.8.27/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
 * ERROR: app-misc/mc-4.8.27::gentoo failed:
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   misc-functions.sh, line 17:  Called source '/usr/lib/portage/python3.9/ebuild.sh'
 *           ebuild.sh, line 54:  Called __check_bash_version
 *           ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The complete build log is located at '/tmp/portage/app-misc/mc-4.8.27/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

>>> Failed to emerge app-misc/mc-4.8.27, Log file:

>>>  '/tmp/portage/app-misc/mc-4.8.27/temp/build.log'
!!! can't process invalid log file: /tmp/portage/app-misc/mc-4.8.27/temp/logging/clean
*** Resuming merge...
Calculating dependencies... done!

 * Messages for package app-misc/mc-4.8.27:

 * ERROR: app-misc/mc-4.8.27::gentoo failed (pretend phase):
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   ebuild.sh, line 54:  Called __check_bash_version
 *   ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The complete build log is located at '/tmp/portage/app-misc/mc-4.8.27/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
 * ERROR: app-misc/mc-4.8.27::gentoo failed:
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   misc-functions.sh, line 17:  Called source '/usr/lib/portage/python3.9/ebuild.sh'
 *           ebuild.sh, line 54:  Called __check_bash_version
 *           ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
 * ERROR: app-misc/mc-4.8.27::gentoo failed:
 *   >=bash-5.0 is required
 * 
 * Call stack:
 *   misc-functions.sh, line 17:  Called source '/usr/lib/portage/python3.9/ebuild.sh'
 *           ebuild.sh, line 54:  Called __check_bash_version
 *           ebuild.sh, line 35:  Called die
 * The specific snippet of code:
 *   		die ">=bash-${maj}.${min} is required"
 * 
 * If you need support, post the output of `emerge --info '=app-misc/mc-4.8.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/mc-4.8.27::gentoo'`.
 * The complete build log is located at '/tmp/portage/app-misc/mc-4.8.27/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/app-misc/mc-4.8.27/temp/die.env'.
 * Working directory: '/root'
 * S: ''
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-java/java-config-2.2.0-r3 pulled in by:
 *     (sys-libs/db-5.3.28-r2:5.3/5.3::gentoo, installed)
 * 
 *   >=dev-java/java-config-2.2.0-r3 pulled in by:
 *     (sys-devel/gettext-0.21:0/0::gentoo, installed)
 * 
 *   >=app-arch/libarchive-3.3.3:= pulled in by:
 *     (dev-util/cmake-3.20.5:0/0::gentoo, installed)
 * 
 *   sys-apps/opentmpfiles pulled in by:
 *     (virtual/tmpfiles-0:0/0::gentoo, installed)
 * 
 *   >=dev-java/java-config-2.2.0-r3 pulled in by:
 *     (media-libs/libjpeg-turbo-2.0.3:0/0::gentoo, installed)
 * 
 *   >=dev-java/java-config-2.2.0-r3 pulled in by:
 *     (dev-java/icedtea-bin-3.13.0:8/8::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (app-misc/mc-4.8.27:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/tmp/portage/app-misc/mc-4.8.27/temp/build.log'
 *
Comment 1 Martin Mokrejš 2021-10-08 01:02:37 UTC
# emerge --info

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-10.3.0, glibc-2.33-r1, 5.4.109 x86_64)
=================================================================
System uname: Linux-5.4.109-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_0_@_2.30GHz-with-glibc2.33
KiB Mem:     2043076 total,    881424 free
KiB Swap:    1023996 total,    913140 free
Timestamp of repository gentoo: Wed, 06 Oct 2021 21:00:01 +0000
Head commit of repository gentoo: 494dbed8abc9cba4534f765650df47e3bb23eb4a
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          3.7.10::gentoo, 3.8.8::gentoo, 3.9.6_p2::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5::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.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 9.3.0-r1::gentoo, 10.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x intel-ucode unRAR linux-firmware freedist arj"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=x86-64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
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/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=x86-64"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug 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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US en_GB cs cz"
MAKEOPTS="-j1"
PKGDIR="/var/cache/binpkgs"
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="/tmp"
USE="X amd64 apache apache2 berkdb blake2 bzip2 cairo cgi cli cracklib crypt cryptlib dbus device-mapper dhcp emboss fontconfig fortran gbm gd gdbm geoip gpm hardened iconv innodb ipv6 java jce jpeg jpg keymap ladspa lapack lcms libglvnd libnotify libtirpc lz4 lzma lzo mmx mysql mysqli ncurses nfs nls nptl nptlonly openssl pam pcre pdf perl php pie png python readline resolvconf seccomp server session spf split-usr sqlite sse sse2 ssl sslv2 sslv3 ssp suexec svg syslog tcpd threads tiff truetype udev unicode usb vhosts vim-syntax x11 xattr xml xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2019" 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="alias authz_host authz_user auth_basic auth_digest authn_core authz_core autoindex cgi cgid deflate dir env expires filter headers ident include info imagemap mem_cache mime mime_magic negotiation remoteip setenvif socache_shmcb status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic unixd session session_cookie session_crypto xml2enc" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php-7.3" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-08 01:07:28 UTC
Please try upgrade Bash:
> *   >=bash-5.0 is required
Comment 3 Larry the Git Cow gentoo-dev 2021-10-08 01:12:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49019ce3f3260c36ff5da77937b73db74759bae4

commit 49019ce3f3260c36ff5da77937b73db74759bae4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-08 01:11:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-08 01:11:46 +0000

    sys-apps/portage: depend on newer bash for EAPI 8 versions
    
    We need >= bash 5.0 for EAPI 8.
    
    Bug: https://bugs.gentoo.org/816897
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/portage-3.0.20-r6.ebuild | 2 +-
 sys-apps/portage/portage-3.0.22.ebuild    | 2 +-
 sys-apps/portage/portage-3.0.23.ebuild    | 2 +-
 sys-apps/portage/portage-3.0.24.ebuild    | 2 +-
 sys-apps/portage/portage-3.0.26.ebuild    | 2 +-
 sys-apps/portage/portage-3.0.28.ebuild    | 2 +-
 sys-apps/portage/portage-9999.ebuild      | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
Comment 4 Martin Mokrejš 2021-10-11 09:07:27 UTC
I had >=bash-5.0 blocked intentionally as I once tripped over some bug. I was the reporter and I think some service did not boot up. Maybe it was openrc-related, I cannot find it ATM.

But indeed, thanks that you placed the DEPEND into the ebuild directly, it was clear it should not break that badly.

I managed to get through blocker issues, now I have bash 4.4_p23-r2 and 5.1_p8 but seems 5.1p8 has won and was pciked by the app-misc/mc-4.8.27 install procedure.

Oh yeah, makes sense:
-rwxr-xr-x 1 root root 987288 Oct  8 22:28 /bin/bash
-rwxr-xr-x 1 root root 922696 Oct  9 10:54 /bin/bash-4.4


So I haven't really confirmed he ebuild DEPENDs are correct now but provided I installed bash-5 myself already, the ebuild worked for me now.

Thank you!