View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 581
|
Posted: Wed Nov 27, 2024 8:46 am Post subject: gcc-14 - cannot build sys-apps/lm-sensors |
|
|
Code: |
>>> Emerging (487 of 718) sys-apps/lm-sensors-3.6.0-r1::gentoo
* lm-sensors-3.6.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.6.62-gentoo-x86_64
* Checking for suitable kernel configuration options ... [ ok ]
>>> Unpacking source...
>>> Unpacking lm-sensors-3.6.0.tar.gz to /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work
>>> Preparing source in /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0 ...
* Applying lm-sensors-3.5.0-sensors-detect-gentoo.patch ...
patching file prog/detect/sensors-detect
Hunk #1 succeeded at 2994 (offset 18 lines).
Hunk #2 succeeded at 3068 (offset 18 lines).
patching file prog/detect/sensors-detect
Hunk #1 succeeded at 7365 (offset 27 lines).
Hunk #2 succeeded at 7376 (offset 27 lines).
patching file prog/detect/sensors-detect
Hunk #1 succeeded at 7379 (offset 27 lines).
Hunk #2 succeeded at 7420 (offset 27 lines).
Hunk #3 succeeded at 7438 (offset 27 lines).
Hunk #4 succeeded at 7464 (offset 27 lines).
Hunk #5 succeeded at 7500 (offset 27 lines).
Hunk #6 succeeded at 7555 (offset 27 lines). [ ok ]
* Applying lm-sensors-3.6.0-no-which.patch ... [ ok ]
* Applying lm-sensors-3.6.0-w83627ehf-nct6775.patch ... [ ok ]
* Will copy sources from /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0
* abi_x86_64.amd64: copying to /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0-abi_x86_64.amd64
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0 ...
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile
make -j2 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ LD=x86_64-pc-linux-gnu-ld AR=x86_64-pc-linux-gnu-ar
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/data.c | \
sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/data.ld`/Module.mk' @' > lib/data.ld
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/general.c | \
sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname lib/general.ld`/Module.mk' @' > lib/general.ld
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/error.c | \
sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/error.ld`/Module.mk' @' > lib/error.ld
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/access.c | \
sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname lib/access.ld`/Module.mk' @' > lib/access.ld
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/sysfs.c | \
sed -e 's@^\(.*\)\.o:@lib/sysfs.ld lib/sysfs.lo: Makefile '`dirname lib/sysfs.ld`/Module.mk' @' > lib/sysfs.ld
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/init.c | \
sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/init.ld`/Module.mk' @' > lib/init.ld
/usr/bin/bison
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/data.c | \
sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/data.ad`/Module.mk' @' > lib/data.ad
bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/error.c | \
sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/error.ad`/Module.mk' @' > lib/error.ad
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/general.c | \
sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname lib/general.ad`/Module.mk' @' > lib/general.ad
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/access.c | \
sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname lib/access.ad`/Module.mk' @' > lib/access.ad
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/init.c | \
sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/init.ad`/Module.mk' @' > lib/init.ad
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/sysfs.c | \
sed -e 's@^\(.*\)\.o:@lib/sysfs.ad lib/sysfs.ao: Makefile '`dirname lib/sysfs.ad`/Module.mk' @' > lib/sysfs.ad
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/conf-parse.c | \
sed -e 's@^\(.*\)\.o:@lib/conf-parse.ad lib/conf-parse.ao: Makefile '`dirname lib/conf-parse.ad`/Module.mk' @' > lib/conf-parse.ad
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensors/chips.c | \
sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makefile '`dirname prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensors/main.c | \
sed -e 's@^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: Makefile '`dirname prog/sensors/main.rd`/Module.mk' @' > prog/sensors/main.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensord/args.c | \
sed -e 's@^\(.*\)\.o:@prog/sensord/args.rd prog/sensord/args.ro: Makefile '`dirname prog/sensord/args.rd`/Module.mk' @' > prog/sensord/args.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensord/chips.c | \
sed -e 's@^\(.*\)\.o:@prog/sensord/chips.rd prog/sensord/chips.ro: Makefile '`dirname prog/sensord/chips.rd`/Module.mk' @' > prog/sensord/chips.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensord/lib.c | \
sed -e 's@^\(.*\)\.o:@prog/sensord/lib.rd prog/sensord/lib.ro: Makefile '`dirname prog/sensord/lib.rd`/Module.mk' @' > prog/sensord/lib.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensord/rrd.c | \
sed -e 's@^\(.*\)\.o:@prog/sensord/rrd.rd prog/sensord/rrd.ro: Makefile '`dirname prog/sensord/rrd.rd`/Module.mk' @' > prog/sensord/rrd.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensord/sense.c | \
sed -e 's@^\(.*\)\.o:@prog/sensord/sense.rd prog/sensord/sense.ro: Makefile '`dirname prog/sensord/sense.rd`/Module.mk' @' > prog/sensord/sense.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/sensord/sensord.c | \
sed -e 's@^\(.*\)\.o:@prog/sensord/sensord.rd prog/sensord/sensord.ro: Makefile '`dirname prog/sensord/sensord.rd`/Module.mk' @' > prog/sensord/sensord.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/dump/util.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/util.rd prog/dump/util.ro: Makefile '`dirname prog/dump/util.rd`/Module.mk' @' > prog/dump/util.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/dump/isadump.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: Makefile '`dirname prog/dump/isadump.rd`/Module.mk' @' > prog/dump/isadump.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/dump/isaset.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/isaset.rd prog/dump/isaset.ro: Makefile '`dirname prog/dump/isaset.rd`/Module.mk' @' > prog/dump/isaset.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe prog/dump/superio.c | \
sed -e 's@^\(.*\)\.o:@prog/dump/superio.rd prog/dump/superio.ro: Makefile '`dirname prog/dump/superio.rd`/Module.mk' @' > prog/dump/superio.rd
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/conf-parse.c | \
sed -e 's@^\(.*\)\.o:@lib/conf-parse.ld lib/conf-parse.lo: Makefile '`dirname lib/conf-parse.ld`/Module.mk' @' > lib/conf-parse.ld
/usr/bin/flex
flex -Psensors_yy -t -Cfe -8 lib/conf-lex.l > lib/conf-lex.c
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/conf-lex.c | \
sed -e 's@^\(.*\)\.o:@lib/conf-lex.ld lib/conf-lex.lo: Makefile '`dirname lib/conf-lex.ld`/Module.mk' @' > lib/conf-lex.ld
x86_64-pc-linux-gnu-gcc -M -MG -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe lib/conf-lex.c | \
sed -e 's@^\(.*\)\.o:@lib/conf-lex.ad lib/conf-lex.ao: Makefile '`dirname lib/conf-lex.ad`/Module.mk' @' > lib/conf-lex.ad
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c lib/data.c -o lib/data.lo
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c lib/general.c -o lib/general.lo
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c lib/error.c -o lib/error.lo
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c lib/access.c -o lib/access.lo
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c lib/init.c -o lib/init.lo
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c lib/sysfs.c -o lib/sysfs.lo
lib/sysfs.c: In function ‘find_bus_type’:
lib/sysfs.c:637:36: warning: ‘/class/i2c-adapter/i2c-’ directive output may be truncated writing 23 bytes into a region of size between 1 and 255 [-Wformat-truncation=]
637 | "%s/class/i2c-adapter/i2c-%d/device",
| ^~~~~~~~~~~~~~~~~~~~~~~
In function ‘classify_device’,
inlined from ‘find_bus_type’ at lib/sysfs.c:739:9:
lib/sysfs.c:637:33: note: directive argument in the range [-32768, 32767]
637 | "%s/class/i2c-adapter/i2c-%d/device",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from lib/sensors.h:25,
from lib/data.h:25,
from lib/sysfs.c:34:
In function ‘snprintf’,
inlined from ‘classify_device’ at lib/sysfs.c:636:4,
inlined from ‘find_bus_type’ at lib/sysfs.c:739:9:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 32 and 291 bytes into a destination of size 255
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
lib/sysfs.c: In function ‘sensors_read_dynamic_chip’:
lib/sysfs.c:408:38: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=]
408 | snprintf(path, NAME_MAX, "%s/%s", device, attr);
| ^~
In function ‘snprintf’,
inlined from ‘sensors_get_attr_mode’ at lib/sysfs.c:408:2,
inlined from ‘sensors_read_dynamic_chip’ at lib/sysfs.c:533:6:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 255
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
lib/sysfs.c: In function ‘sensors_read_sysfs_chips’:
lib/sysfs.c:840:41: warning: ‘/device’ directive output may be truncated writing 7 bytes into a region of size between 1 and 255 [-Wformat-truncation=]
840 | snprintf(linkpath, NAME_MAX, "%s/device", path);
| ^~~~~~~
In function ‘snprintf’,
inlined from ‘sensors_add_hwmon_device’ at lib/sysfs.c:840:2,
inlined from ‘sysfs_foreach_classdev’ at lib/sysfs.c:98:9,
inlined from ‘sensors_read_sysfs_chips’ at lib/sysfs.c:870:8:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 8 and 262 bytes into a destination of size 255
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.lo
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -fpic -D_REENTRANT -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -Wno-shadow -Wno-undef -Wno-unused -Wno-missing-prototypes -Wno-sign-compare -c lib/conf-lex.c -o lib/conf-lex.lo
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--version-script=lib/libsensors.map -Wl,-soname,libsensors.so.5 -o lib/libsensors.so.5.0.0 lib/data.lo lib/general.lo lib/error.lo lib/access.lo lib/init.lo lib/sysfs.lo lib/conf-parse.lo lib/conf-lex.lo -lc -lm
rm -f lib/libsensors.so.5
ln -sf libsensors.so.5.0.0 lib/libsensors.so.5
rm -f lib/libsensors.so
ln -sf libsensors.so.5.0.0 lib/libsensors.so
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c prog/sensors/main.c -o prog/sensors/main.ro
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c prog/sensors/chips.c -o prog/sensors/chips.ro
x86_64-pc-linux-gnu-gcc -Wl,-rpath,/usr/local/lib -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c prog/sensord/args.c -o prog/sensord/args.ro
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c prog/sensord/chips.c -o prog/sensord/chips.ro
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c prog/sensord/rrd.c -o prog/sensord/rrd.ro
prog/sensord/rrd.c: In function ‘rrdInit’:
prog/sensord/rrd.c:302:40: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
302 | ret = rrd_create(argc, (char**) argv);
| ^
prog/sensord/rrd.c:302:40: error: passing argument 2 of ‘rrd_create’ from incompatible pointer type [-Wincompatible-pointer-types]
302 | ret = rrd_create(argc, (char**) argv);
| ^~~~~~~~~~~~~
| |
| char **
In file included from prog/sensord/rrd.c:44:
/usr/include/rrd.h:158:5: note: expected ‘const char **’ but argument is of type ‘char **’
158 | const char **);
| ^~~~~~~~~~~~~
prog/sensord/rrd.c: In function ‘rrdUpdate’:
prog/sensord/rrd.c:458:42: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
458 | if ((ret = rrd_update(3, (char **) /* WEAK */ argv))) {
| ^
prog/sensord/rrd.c:458:42: error: passing argument 2 of ‘rrd_update’ from incompatible pointer type [-Wincompatible-pointer-types]
458 | if ((ret = rrd_update(3, (char **) /* WEAK */ argv))) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char **
/usr/include/rrd.h:179:5: note: expected ‘const char **’ but argument is of type ‘char **’
179 | const char **);
| ^~~~~~~~~~~~~
make: *** [Makefile:226: prog/sensord/rrd.ro] Error 1
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -O3 -march=native -mtune=native -fomit-frame-pointer -pipe -c prog/sensord/lib.c -o prog/sensord/lib.ro
* ERROR: sys-apps/lm-sensors-3.6.0-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-apps/lm-sensors-3.6.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/lm-sensors-3.6.0-r1::gentoo'`.
* The complete build log is located at '/var/log/portage/build/sys-apps/lm-sensors-3.6.0-r1:20241127-084227.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0-abi_x86_64.amd64'
* S: '/var/tmp/portage/sys-apps/lm-sensors-3.6.0-r1/work/lm-sensors-3-6-0'
>>> Failed to emerge sys-apps/lm-sensors-3.6.0-r1, Log file:
|
Code: |
g64 ~ # emerge --info sys-apps/lm-sensors
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop/gnome, gcc-14, glibc-2.40-r5, 6.6.62-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.6.62-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.40
KiB Mem: 16389464 total, 4803944 free
KiB Swap: 16777212 total, 16772568 free
Timestamp of repository gentoo: Sun, 24 Nov 2024 23:50:32 +0000
Head commit of repository gentoo: eb65bf7df4f898e146d6a3064f6dbefda2b1e13b
Timestamp of repository arrans-overlay: Sun, 24 Nov 2024 16:18:33 +0000
Head commit of repository arrans-overlay: d186379618d5e50c205e0afef46e3c817a22309a
Timestamp of repository pentoo: Fri, 22 Nov 2024 20:33:59 +0000
Head commit of repository pentoo: 5c24b4cfda4ceee8420a139d50c8694184f10ebc
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.5.2::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin: 1.81.0-r100::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 14.2.1_p20241116::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: -1000
volatile: False
sync-git-verify-commit-signature: yes
arrans-overlay
location: /var/db/repos/arrans-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/arrans-overlay.git
masters: gentoo
volatile: False
pentoo
location: /var/db/repos/pentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/pentoo.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
DISTDIR="/var/cache/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="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe"
GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord crypt cups dbus dri dts dvd dvdr eds egl elogind encode evo exif flac gdbm gdk-pixbuf gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic authn_anon authn_core authn_dbm authn_file authz_core 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 http2 include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest auth_form authn_dbd authz_dbd cern_meta dbd dumpio ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_hcheck proxy_html proxy_http proxy_http2 proxy_scgi proxy_uwsgi proxy_wstunnel ratelimit remoteip reqtimeout session session_cookie session_crypto session_dbd slotmem_shm substitute version watchdog xml2enc" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput evdev synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="WebAssembly DirectX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu dummy fbdev intel nouveau radeon radeonsi vesa i915 qxl vmware d3d12 virgl" 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, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
Package Settings
=================================================================
sys-apps/lm-sensors-3.6.0-r1::gentoo was built with the following:
USE="contrib sensord (-selinux) -static-libs" ABI_X86="(64) -32 (-x32)"
|
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
user Apprentice
Joined: 08 Feb 2004 Posts: 212
|
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3910
|
Posted: Wed Nov 27, 2024 9:28 am Post subject: |
|
|
USE="sensord" is the cause.
gcc:13 builds fine here.
from forum
CFLAGS="${CFLAGS} -std=gnu89" USE="contrib sensord" mrg sys-apps/lm-sensors
Plz note a newer -std value could work, not tested.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2456
|
Posted: Wed Nov 27, 2024 10:57 am Post subject: |
|
|
Same fix s for cdc in your other thread. |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 581
|
Posted: Wed Nov 27, 2024 11:02 am Post subject: |
|
|
i was 100% around 1200 pkgs compiled with gcc-13
i am trying to look for how many pkg does not work with gcc-14
i would like to know when will gentoo go to gcc-15
coz other distro already gcc-15
though i dunno if they just did -fpermissive for unmaintained pkg or src
so actually i am looking for gentoo dev teams or upstream capabilities around gcc-15 or future else gcc version upgrade activities
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9307
|
Posted: Wed Nov 27, 2024 11:23 am Post subject: |
|
|
honeymak wrote: | coz other distro already gcc-15 |
No. "other distro" providing gcc-15 right now is a completely different thing to have its users build all packages with gcc-15. |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2456
|
Posted: Wed Nov 27, 2024 3:09 pm Post subject: |
|
|
honeymak wrote: |
i am trying to look for how many pkg does not work with gcc-14 |
What's the idea behind this exercise?
honeymak wrote: | i would like to know when will gentoo go to gcc-15
coz other distro already gcc-15
though i dunno if they just did -fpermissive for unmaintained pkg or src |
No, they did not. They may only provide gcc-15, but the packages were build with 13, most probably. At best - some with 13 and some with 14.
honeymak wrote: | so actually i am looking for gentoo dev teams or upstream capabilities around gcc-15 or future else gcc version upgrade activities
:wink: :roll: :oops: :cry: :twisted: |
Again, what's the idea behind that? What is it that you want gcc-15 for?
Best Regards,
Georgi |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1984
|
Posted: Wed Nov 27, 2024 3:13 pm Post subject: |
|
|
It's not released yet and won't be for many months, although preparations have already begun on our end of course.
As for the bug itself (please file bugs on bugs.gentoo.org for failures when it's clear what the cause is), this is bug 928898 and fixed in 3.6.2. |
|
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
|
|