View previous topic :: View next topic |
Author |
Message |
shrike Apprentice
Joined: 20 Feb 2004 Posts: 187 Location: Closer to home
|
Posted: Wed Mar 27, 2024 3:23 pm Post subject: [SOLVED] make -j1 error 2 |
|
|
Hello Gentoo,
I started seeing "error 2" with gentoo-sources-6.8.x since a couple weeks back. I have a few PCs and all but one suffer this problem yet I do not see why.
Code: | /usr/src/linux # ls -l ..
total 20
lrwxrwxrwx 1 root root 18 Mar 27 09:44 linux -> linux-6.8.1-gentoo
drwxr-xr-x 27 root root 4096 Oct 3 10:52 linux-6.5.5-gentoo
drwxr-xr-x 27 root root 4096 Mar 21 07:21 linux-6.6.21-gentoo
drwxr-xr-x 27 root root 4096 Mar 26 16:29 linux-6.7.10-gentoo
drwxr-xr-x 26 root root 4096 Mar 23 07:02 linux-6.8.1
drwxr-xr-x 27 root root 4096 Mar 27 10:00 linux-6.8.1-gentoo |
Code: | /usr/src/linux # make -j1
SYNC include/config/auto.conf
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
...
CC kernel/ksyms_common.o
CC kernel/groups.o
CC kernel/sched/alt_core.o
kernel/sched/alt_core.c:8130:5: error: no previous prototype for ‘sched_group_set_shares’ [-Werror=missing-prototypes]
8130 | int sched_group_set_shares(struct task_group *tg, unsigned long shares)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [scripts/Makefile.build:243: kernel/sched/alt_core.o] Error 1
make[3]: *** [scripts/Makefile.build:481: kernel/sched] Error 2
make[2]: *** [scripts/Makefile.build:481: kernel] Error 2
make[1]: *** [/usr/src/linux-6.8.1-gentoo/Makefile:1921: .] Error 2
make: *** [Makefile:240: __sub-make] Error 2 |
Code: | emerge --info
Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.39-r2, 6.7.10-gentoo x86_64)
=================================================================
System uname: Linux-6.7.10-gentoo-x86_64-AMD_Ryzen_5_5600G_with_Radeon_Graphics-with-glibc2.39
KiB Mem: 32157144 total, 25783268 free
KiB Swap: 8388604 total, 8388604 free
Timestamp of repository gentoo: Tue, 26 Mar 2024 20:45:00 +0000
Head commit of repository gentoo: ba51a1ee8ed6dfb8f0beaae97119da9b27e09f35
Timestamp of repository brave-overlay: Wed, 30 Aug 2023 14:16:44 +0000
Head commit of repository brave-overlay: 6633c093c271deda5b29101a4ed5a611810268e1
Timestamp of repository guru: Mon, 25 Mar 2024 23:33:26 +0000
Head commit of repository guru: d62fc7d95539bbd045f490eb818e55e6aa47090b
Head commit of repository useless-overlay: 81371c5db346f24891393fd643fb2cde2ba214c4
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.29.0::gentoo
dev-build/libtool: 2.4.7-r3::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-java/java-config: 2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python: 3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.76.0::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.53.1::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm: 17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r2::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://A333.bmrr.home.arpa/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: no
brave-overlay
location: /var/db/repos/brave-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
masters: gentoo
volatile: False
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
useless-overlay
location: /var/db/repos/useless-overlay
sync-type: git
sync-uri: https://github.com/Wa1t5/useless-overlay
masters: gentoo
volatile: False
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver3 -O2 -pipe"
DISTDIR="/mnt/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-march=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog splitdebug strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10 -l5"
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="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluray branding browser-integration bzip2 cairo cdda cdr cli crypt cups dbus device-mapper dri drm dts dvd dvdr elogind encode exif flac fortran gdbm gif gles2 gpm gtk gui hwloc iconv icu ipv6 jpeg lcms libnotify libtirpc lm-sensors logrotate lvm mad matroska mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pipewire png postscript ppds pulseaudio qt5 qt6 readline screencast sdl seccomp sound spell split-usr ssl startup-notification svg test-rust threads tiff truetype udev udisks unicode unwind upower usb vaapi vdpau vorbis vulkan wayland wxwidgets x264 x265 xattr xcb xdg xft xml xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
http://0x0.st/Xsxu.txt (.config)
Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#COMMON_FLAGS="-march=native -O2 -pipe"
COMMON_FLAGS="-march=znver3 -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
ACCEPT_KEYWORDS="amd64 ~amd64"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
#DISTDIR="/var/cache/distfiles"
#PKGDIR="/var/cache/binpkgs"
#DISTDIR="/mnt/lvm_raid1/portage/vega/cache/distfiles"
#PKGDIR="/mnt/lvm_raid1/portage/vega/cache/binpkgs"
DISTDIR="/mnt/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
#MAKEOPTS="-j4"
BINPKG_FORMAT="gpkg"
BINPKG_COMPRESS="zstd"
BINPKG_COMPRESS_FLAGS="-16"
#ACCEPT_LICENSE="-* @FREE"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
USE="bluray browser-integration drm postscript logrotate matroska pulseaudio qt5 qt6 threads x264 x265 vaapi vdpau vulkan zstd"
USE="$USE device-mapper hwloc gles2 lm-sensors lvm pam pipewire screencast xdg unwind wayland"
USE="$USE -bluetooth -kwallet -policykit -systemd"
## AMDGPU ##
VIDEO_CARDS="amdgpu radeonsi"
INPUT_DEVICES="libinput"
## apt cache ##
#http_proxy="http://A300:3142"
MAKEOPTS="-j10 -l5"
#EMERGE_DEFAULT_OPTS="--quiet-build" # load-average=0.9"
#EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg-exclude 'sys-kernel/gentoo-sources virtual/*'"
# Turn on logging - see http://gentoo-en.vfose.ru/wiki/Gentoo_maintenance. #
PORTAGE_ELOG_CLASSES="info warn error log qa"
# Echo messages after emerge, also save to /var/log/portage/elog #
PORTAGE_ELOG_SYSTEM="echo save"
FEATURES="fixlafiles parallel-fetch split-elog buildsyspkg protect-owned unknown-features-filter unknown-features-warn splitdebug"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo" |
Thanks. _________________ ______________________________________________
MSI X570 | AMD 5600X | 32GB Ram | AMD RX5500
Last edited by shrike on Wed Mar 27, 2024 5:00 pm; edited 1 time in total |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1660
|
Posted: Wed Mar 27, 2024 3:58 pm Post subject: |
|
|
This is an experimental patch included with gentoo-sources.
As it appears broken, disable CONFIG_SCHED_ALT in the config. If you desire later and it is fixed, then it can be reeneabled. |
|
Back to top |
|
|
shrike Apprentice
Joined: 20 Feb 2004 Posts: 187 Location: Closer to home
|
Posted: Wed Mar 27, 2024 5:00 pm Post subject: |
|
|
That was it.
Thanks grknight!! _________________ ______________________________________________
MSI X570 | AMD 5600X | 32GB Ram | AMD RX5500 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|