Linux % 5.10.11-gentoo-x86_64 #8 SMP PREEMPT Tue Feb 2 06:58:12 EET 2021 x86_64 AMD Ryzen 5 4600H with Radeon Graphics AuthenticAMD GNU/Linux
Portage 3.0.13 (python 3.7.9-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-10.2.0, glibc-2.32-r5, 5.10.11-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.10.11-gentoo-x86_64-x86_64-AMD_Ryzen_5_4600H_with_Radeon_Graphics-with-gentoo-2.7
KiB Mem: 7436844 total, 1619088 free
KiB Swap: 11534328 total, 11132920 free
Timestamp of repository gentoo: Wed, 03 Feb 2021 00:45:01 +0000
Head commit of repository gentoo: b6ced79feffe6c2ca48b6fb735b8715c1d26ffe0
Timestamp of repository poly-c: Mon, 01 Feb 2021 11:55:55 +0000
sh bash 5.0_p18
ld GNU gold (Gentoo 2.35.1 p2 2.35.1) 1.16
ccache version 4.1 [disabled]
app-shells/bash: 5.0_p18::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 2.7.18-r6::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/ccache: 4.1::gentoo
dev-util/cmake: 3.18.5::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.1-r1::gentoo
sys-devel/gcc: 9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.3.2-r1::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.32-r5::gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/i2pd/certificates"
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=znver2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet=y --quiet-build=y --quiet-fail=y --quiet-repo-display --verbose-conflict --keep-going --with-bdeps=y --jobs=3 --load-average=11"
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 candy cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru uk ua"
MAKEOPTS="-j12 --load-average=11"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="lbzip2 -d -n10"
PORTAGE_BZIP2_COMMAND="lbzip2 -n10"
PORTAGE_COMPRESS="pbzip2"
PORTAGE_COMPRESS_FLAGS="-19"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --quiet"
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="256-color X aac acl acpi afp aio alsa amd64 amr amrenc apparmor archive argon2 aspell audit bash-completion bazaar bcrypt berkdb bluetooth bluray box brotli btrfs bzip2 cairo caja caps ccache cdda cdr cec chm chromaprint chromium clang color-management connection-sharing conntrack corefonts cover cpudetection crypt cuda cue cups curl cvs dav1d dbus designer dga dia djvu dnssec dnstap dropbox dvi eds egl elogind empathy enca enchant epub espeak; exfat exif faac faad fbcon fdk ffmpeg firewire flac flite fluidsynth fontconfig fontforge; freeimage ftp fuse gdbm geo geoip geoip2 geolocation gga ggi gif gimp git glamor gles2 gmp gnome gnome-keyring gnome-online-accounts googledrive gpg gphoto2 gpm gps grammar graphite gsm gstreamer gtkspell hardened highlight http2 hunspell iconv icu id3tag idn iec61883 ieee1394 imagemagick infinality inotify introspection ipc ipod iproute2 ipv6 jemalloc jpeg jpeg2k keyring ladspa lcms ldap ldap-sasl lensfun libaom libass libcaca libevent libglvnd libnotify libproxy librtmp libssh libssh2 libtirpc libxml2 lm-sensors lm_sensors lto lv2 lz4 lzip lzma lzo mad magic map markdown mbox memcached mercurial metalink midi mikmod mms mobi mod modemmanager modplug mp2 mp3 mp4 mpeg mpg mplayer mta mtp multimedia musepack ncurses netlink networkmanager nfs nftables nls nntp nptl nsplugin ntfs ocr office ofono ogg opencl openexr opengl openh264 openldap openmp opus pam pax_kernel pcap pcre pcre16 pdf pdfimport pgo pic pidgin pie pkcs11 png policykit postgres postscript profile profiling protobuf pulseaudio pwquality qt5 qtmedia quota rav1e raw rdp readline resolvconf rtmp rubberband samba sane sanitize sctp sdl seafile seccomp sensors sftp share skydrive slang smartcard smi smime snappy socks5 speech speex spell split-usr sqlite squashfs srt ssh ssl ssp subversion svg syslog system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-crontab system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-jsoncpp system-libevent system-libmspack system-libs system-libvpx system-libyaml system-llvm system-lua system-mitkrb5 system-openh264 system-openjpeg system-qemu system-qt system-snappy system-sqlite system-tbb system-uulib system-wine system-zlib t1lib tbb tcl tcmalloc telephaty tftp theora thesaurus threads tiff timidity tk tpm tremor truetype udev udisks unicode unwind upnp upower usb uuid v4l vaapi vala valgrind vdpau virgl vlc vnc vorbis vpx vtk vulkan vulkan-overlay wavpack wayland webdav webengine webkit webp wifi wireguard x264 x265 x509 xa xattr xcb xdg xinerama xkb xmp xps xscreensaver xtpax xv xvid xvmc zeroconf zeromq zink zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel snd-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 access_compat" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput evdev libinput synaptics mtouch" KERNEL="linux" L10N="en ru uk ua" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU NVPTX BPF" LUA_SINGLE_TARGET="lua5-1 lua51" LUA_TARGETS="lua5-1 lua51" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="arm aarch64 x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev amdgpu radeon radeonsi v4l virgl nvidia nouveau" 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
* Package: sys-kernel/cryptodev-1.11
* Repository: gentoo
* Maintainer: [email protected]
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 5.10.11-gentoo-x86_64
* Checking for suitable kernel configuration options...
[ ok ]
ln: failed to create symbolic link 'Module.symvers': File exists
* Preparing cryptodev module
make -C /usr/src/linux M=/tmp/portage/sys-kernel/cryptodev-1.11/work/cryptodev-linux-cryptodev-linux-1.11 ARCH=x86 CROSS_COMPILE=x86_64-pc-linux-gnu- modules
make[1]: Entering directory '/usr/src/linux-5.10.11-gentoo'
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [Makefile:718: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-5.10.11-gentoo'
make: *** [Makefile:27: build] Error 2
* ERROR: sys-kernel/cryptodev-1.11::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-kernel/cryptodev-1.11::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-kernel/cryptodev-1.11::gentoo'`.
* The complete build log is located at '/var/log/portage/build/sys-kernel/cryptodev-1.11:20210203-082716.log.gz'.
* For convenience, a symlink to the build log is located at '/tmp/portage/sys-kernel/cryptodev-1.11/temp/build.log.gz'.
* The ebuild environment file is located at '/tmp/portage/sys-kernel/cryptodev-1.11/temp/environment'.
* Working directory: '/tmp/portage/sys-kernel/cryptodev-1.11/work/cryptodev-linux-cryptodev-linux-1.11'
* S: '/tmp/portage/sys-kernel/cryptodev-1.11/work/cryptodev-linux-cryptodev-linux-1.11'
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c: In function ‘__get_userbuf’:
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:80:30: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
80 | ret = get_user_pages_remote(task, mm,
| ^~~~
| |
| struct task_struct *
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:80:36: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
80 | ret = get_user_pages_remote(task, mm,
| ^~
| |
| struct mm_struct *
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:81:53: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
81 | (unsigned long)addr, pgcount, write ? FOLL_WRITE : 0,
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| int
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘int’
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:82:4: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
82 | pg, NULL, NULL);
| ^~
| |
| struct page **
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:80:8: error: too many arguments to function ‘get_user_pages_remote’
80 | ret = get_user_pages_remote(task, mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1722:6: note: declared here
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c: In function ‘__get_userbuf’:
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:80:30: error: passing argument 1 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
80 | ret = get_user_pages_remote(task, mm,
| ^~~~
| |
| struct task_struct *
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1722:46: note: expected ‘struct mm_struct *’ but argument is of type ‘struct task_struct *’
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ~~~~~~~~~~~~~~~~~~^~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:80:36: warning: passing argument 2 of ‘get_user_pages_remote’ makes integer from pointer without a cast [-Wint-conversion]
80 | ret = get_user_pages_remote(task, mm,
| ^~
| |
| struct mm_struct *
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1723:22: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
1723 | unsigned long start, unsigned long nr_pages,
| ~~~~~~~~~~~~~~^~~~~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:81:53: warning: passing argument 5 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Wint-conversion]
81 | (unsigned long)addr, pgcount, write ? FOLL_WRITE : 0,
| ~~~~~~~~~~~~~~~~~~~^~~
| |
| int
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1724:46: note: expected ‘struct page **’ but argument is of type ‘int’
1724 | unsigned int gup_flags, struct page **pages,
| ~~~~~~~~~~~~~~^~~~~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:82:4: error: passing argument 6 of ‘get_user_pages_remote’ from incompatible pointer type [-Werror=incompatible-pointer-types]
82 | pg, NULL, NULL);
| ^~
| |
| struct page **
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1725:32: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
1725 | struct vm_area_struct **vmas, int *locked);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:80:8: error: too many arguments to function ‘get_user_pages_remote’
80 | ret = get_user_pages_remote(task, mm,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.c:28:
./include/linux/mm.h:1722:6: note: declared here
1722 | long get_user_pages_remote(struct mm_struct *mm,
| ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:279: /root/del/cryptodev-linux-cryptodev-linux-1.11/zc.o] Ошибка 1
make[1]: *** [Makefile:1805: /root/del/cryptodev-linux-cryptodev-linux-1.11] Error 2
make[1]: *** [Makefile:1805: /root/del/cryptodev-linux-cryptodev-linux-1.11] Error 2
make: *** [Makefile:27: build] Ошибка 2
make: *** [Makefile:27: build] Ошибка 2