DEBUG: Executing shell function do_compile
NOTE: make -j 64
make  all-recursive
make[1]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build'
Making all in gphoto-m4
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/gphoto-m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/gphoto-m4'
Making all in contrib
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/contrib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/contrib'
Making all in doc
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/doc'
Making all in gphoto2
make[2]: Entering directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/gphoto2'
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-actions.o `test -f 'actions.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`actions.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-foreach.o `test -f 'foreach.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`foreach.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-gp-params.o `test -f 'gp-params.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`gp-params.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-spawnve.o `test -f 'spawnve.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`spawnve.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-main.o `test -f 'main.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`main.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-version.o `test -f 'version.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`version.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-range.o `test -f 'range.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`range.c
aarch64-yoe-linux-clang  -mcpu=cortex-a57+crc   --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/gphoto2-2.5.32/gphoto2 -I..  -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE  -I../../sources/gphoto2-2.5.32 -I../../sources/gphoto2-2.5.32/gphoto2 -ITOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot/usr/include/gphoto2 -DLOCALEDIR=\"/usr/share/locale\" -D_GPHOTO2_INTERNAL_CODE       -O2 -g   -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/sources/gphoto2-2.5.32=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build=/usr/src/debug/gphoto2/2.5.32  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot=  -ffile-prefix-map=TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/recipe-sysroot-native=  -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion -g -c -o gphoto2-shell.o `test -f 'shell.c' || echo '../../sources/gphoto2-2.5.32/gphoto2/'`shell.c
../../sources/gphoto2-2.5.32/gphoto2/main.c:258:7: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  258 |                                 s = strrchr (name, '.');
      |                                   ^ ~~~~~~~~~~~~~~~~~~~
../../sources/gphoto2-2.5.32/gphoto2/main.c:275:7: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  275 |                                 s = strrchr (name, '.');
      |                                   ^ ~~~~~~~~~~~~~~~~~~~
../../sources/gphoto2-2.5.32/gphoto2/main.c:701:4: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
  701 |         s = strrchr (filename, '/');
      |           ^ ~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
make[2]: *** [Makefile:872: gphoto2-main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build/gphoto2'
make[1]: Leaving directory 'TOPDIR/build/tmp/work/cortexa57-yoe-linux/gphoto2/2.5.32/build'
make[1]: *** [Makefile:476: all-recursive] Error 1
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
make: *** [Makefile:408: all] Error 2

Error details

Submitted on:
21/04/26 22:58
Error type:
Recipe
Task:
do_compile
Recipe:
gphoto2
Recipe version:
2.5.32-r0
Machine:
qemuarm64
Distro:
yoe
Build system:
aarch64-linux
Target system:
aarch64-yoe-linux
Host distro:
universal/debian-13
Branch:
HEAD
Commit:
6aa92a2f5b1ec2ad079b1a5823551c30e12ef9bd
Build:
#236678
Submitter:
info@yoedistro.org
Similar errors:
1
Open a bug