DEBUG: Executing shell function do_compile
NOTE: make -j 10 -l 64
make  -C src all
make[1]: Entering directory 'TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10/src'
arm-yoe-linux-gnueabi-clang  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot -o libfaketime.o -c  -O2 -g  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot-native=  -pipe -std=gnu99 -Wall -Wextra -Werror -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"'  -Wno-tautological-pointer-compare   libfaketime.c
arm-yoe-linux-gnueabi-clang  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot -o libfaketimeMT.o -c  -O2 -g  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot-native=  -pipe -std=gnu99 -Wall -Wextra -Werror -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"'  -Wno-tautological-pointer-compare  -DPTHREAD_SINGLETHREADED_TIME libfaketime.c
arm-yoe-linux-gnueabi-clang  -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot -o faketime  -O2 -g  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot-native=  -pipe -std=gnu99 -Wall -Wextra -Werror -DFAKE_PTHREAD -DFAKE_STAT -DFAKE_UTIME -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'/usr/local'"' -DLIBDIRNAME='"'/lib/faketime'"'  -Wno-tautological-pointer-compare   faketime.c -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10=/usr/src/debug/libfaketime/0.9.10  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/recipe-sysroot-native=  -Wl,-z,relro,-z,now -fuse-ld=bfd  -lpthread -Wl,--version-script=libfaketime.map -lrt
libfaketime.c:2509:38: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 2509 |       else if (NULL != (tmp_time_fmt = strchr(user_faked_time, 'i')))
      |                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfaketime.c:2509:38: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
 2509 |       else if (NULL != (tmp_time_fmt = strchr(user_faked_time, 'i')))
      |                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:156: libfaketime.o] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
make[1]: *** [Makefile:156: libfaketimeMT.o] Error 1
make[1]: Leaving directory 'TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/sources/libfaketime-0.9.10/src'
make: *** [Makefile:8: all] Error 2
ERROR: oe_runmake failed
WARNING: TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/temp/run.do_compile.628522:166 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/temp/run.do_compile.628522, line 166
	#2: die, TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/temp/run.do_compile.628522, line 150
	#3: oe_runmake, TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/temp/run.do_compile.628522, line 145
	#4: do_compile, TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/temp/run.do_compile.628522, line 140
	#5: main, TMPDIR/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libfaketime/0.9.10/temp/run.do_compile.628522, line 179

Error details

Submitted on:
21/11/25 17:28
Error type:
Recipe
Task:
do_compile
Recipe:
libfaketime
Recipe version:
0.9.10-r0
Machine:
qemuarm
Distro:
yoe
Build system:
x86_64-linux
Target system:
arm-yoe-linux-gnueabi
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
e0f652f17d79222ea853e0bce7f428aa1e69c2ce
Build:
#221035
Submitter:
ab@rdk
Similar errors:
0
Open a bug