Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736543 - app-emulation/nemu: fails its pre-merge check with "Unable to check your kernel"
Summary: app-emulation/nemu: fails its pre-merge check with "Unable to check your kernel"
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-09 15:23 UTC by Progenyx
Modified: 2021-04-01 11:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,24.92 KB, text/x-log)
2020-08-11 15:10 UTC, Progenyx
Details
linux.ls (linux.ls,19.76 KB, text/plain)
2020-08-11 15:21 UTC, Progenyx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Progenyx 2020-08-09 15:23:09 UTC
.config file does exist in /usr/src/linux

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-11 07:24:08 UTC
I think we need at least the following:
- build.log
- emerge --info
- ls -al /usr/src/linux
Comment 2 Progenyx 2020-08-11 15:10:50 UTC
Created attachment 654118 [details]
build.log

that's the best I could do about a build log
Comment 3 Progenyx 2020-08-11 15:13:59 UTC
Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1/no-multilib/hardened/selinux, gcc-9.3.0, glibc-2.30-r8, 5.4.48-gentoo x86_64)
=================================================================
System uname: Linux-5.4.48-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.6
KiB Mem:    16292036 total,   3125000 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Thu, 06 Aug 2020 12:00:01 +0000
Head commit of repository gentoo: 7fefa20b819b217a0edfe468f6e752f0958b8a75

Head commit of repository libressl: 40e2ec24a753a94dbac9b2719ddee998c908563c

Head commit of repository science: fa9ca8f66c0bbbabb61ec8574389bab85862741a

sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.7.8-r2::gentoo, 3.8.4-r1::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::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-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

libressl
    location: /var/lib/overlays/libressl
    sync-type: git
    sync-uri: https://github.com/gentoo/libressl.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/overlays/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

local
    location: /usr/local/portage
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/omega.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/ossec/etc"
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.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="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 parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.iij.ad.jp/pub/linux/gentoo/ https://ftp.jaist.ac.jp/pub/Linux/Gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/ https://ftp.lanet.kr/pub/gentoo/ rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.ussg.indiana.edu/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ https://mirror.sjc02.svwh.net/gentoo/"
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 aalib acl acpi alsa amd64 audiofile audit bash-completion blas branding bzip2 cairo cdda cddb cdparanoia cdr clamav crypt css cups curl djvu dts dv dvd dvdr elogind emboss encode exif fam fbcon ffmpeg fftw flac fltk fontconfig geoip gif git gnuplot gnutls gphoto2 gpm graphviz gsl gstreamer hardened hddtemp hdf5 iconv icu idn imlib inotify ipv6 jack jbig jemalloc jpeg ladspa lapack lash latex lcms ldap libressl libsamplerate libtirpc lm-sensors lz4 lzma lzo mad matroska memcached memlimit milter mime mms mng mp3 mp4 mpeg mplayer musepack musicbrainz ncurses netcdf nls nntp nptl offensive ofx ogg openal openexr opengl openmp opus pam pcre pdf php pie plasma plotutils png posix postgres postscript ppds profile python qml qt5 quicktime raw readline rss sasl scanner sctp seccomp selinux semantic-desktop slp smartcard smp sndfile snmp sockets socks5 sound sox speex spell split-usr sqlite ssl ssp startup-notification svg sybase syslog szip taglib theora threads tiff truetype udev unicode upower usb utils v4l vaapi valgrind vcd vhosts vim-syntax vnc vorbis wavpack wayland webp wmf x264 xattr xcb xcomposite xface xft xml xmlrpc xmp xmpp xpm xtpax xv xvid yaz zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" 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="evdev synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access addition auth_basic auth_ldap auth_pam autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memc memcached metrics proxy realip referer rewrite scgi secure_link split_clients ssi stub_status upload_progress upstream_check upstream_ip_hash userid uwsgi vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="aarch64 i386 mips64 mips64el ppc64 riscv64 x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Progenyx 2020-08-11 15:21:55 UTC
Created attachment 654120 [details]
linux.ls

linux directory listing
Comment 5 Patrice Clement gentoo-dev 2021-03-21 20:47:05 UTC
Hi

Could you try again with nemu-2.5.0? I've just added it to the tree. Thanks!
Comment 6 Progenyx 2021-04-01 11:26:05 UTC
Sorry it took me so long to get back to this. The issue still exists in the new version. Fortunately, I think I figured it out. The problem appears to lie in the ebuild syntax, namely the second conditional which should look like this:

    if linux_config_exists is false; then

instead of this:

    if ! linux_config_exists; then

The way you wrote it tells portage to directly assume the file doesn't exist which will always trigger the warning regardless of the situation. Or am I wrong about this?

Anyway, this solution works beautifully now.