jack2015 / openpli-dreambox-oe-core

Build environment based on OpenPLi-homebuild (develop branch).
GNU General Public License v3.0
1 stars 1 forks source link

elfutils-native-0.188-r0 do_compile: oe_runmake failed #5

Closed elhawaryna closed 10 months ago

elhawaryna commented 1 year ago

ERROR: elfutils-native-0.188-r0 do_compile: oe_runmake failed ERROR: elfutils-native-0.188-r0 do_compile: ExecutionError('/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/temp/run.do_compile.2616393', 1, None, None) ERROR: Logfile of failure stored in: /home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/temp/log.do_compile.2616393 Log data follows: | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_compile | NOTE: make -j 4 | make --no-print-directory all-recursive | Making all in config | make[2]: Nothing to be done for 'all'. | Making all in lib | make[2]: Nothing to be done for 'all'. | Making all in libelf | make[2]: Nothing to be done for 'all'. | Making all in libcpu | make[2]: Nothing to be done for 'all'. | Making all in backends | make[2]: Nothing to be done for 'all'. | Making all in libebl | make[2]: Nothing to be done for 'all'. | Making all in libdwelf | make[2]: Nothing to be done for 'all'. | Making all in libdwfl | gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.188/libdwfl -I.. -I. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/lib -I.. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/libdwfl/../libelf -I../../elfutils-0.188/libdwfl/../libebl -I../../elfutils-0.188/libdwfl/../libdw -I../../elfutils-0.188/libdwfl/../libdwelf -I../../elfutils-0.188/libdwfl/../debuginfod -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -Os -pipe -Wno-error=stringop-overflow -c -o gzip.o ../../elfutils-0.188/libdwfl/gzip.c | gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.188/libdwfl -I.. -I. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/lib -I.. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/libdwfl/../libelf -I../../elfutils-0.188/libdwfl/../libebl -I../../elfutils-0.188/libdwfl/../libdw -I../../elfutils-0.188/libdwfl/../libdwelf -I../../elfutils-0.188/libdwfl/../debuginfod -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -Os -pipe -Wno-error=stringop-overflow -c -o relocate.os -fPIC -DPIC -DSHARED -DSYMBOL_VERSIONING ../../elfutils-0.188/libdwfl/relocate.c | gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.188/libdwfl -I.. -I. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/lib -I.. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/libdwfl/../libelf -I../../elfutils-0.188/libdwfl/../libebl -I../../elfutils-0.188/libdwfl/../libdw -I../../elfutils-0.188/libdwfl/../libdwelf -I../../elfutils-0.188/libdwfl/../debuginfod -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -Os -pipe -Wno-error=stringop-overflow -c -o dwfl_module_build_id.os -fPIC -DPIC -DSHARED -DSYMBOL_VERSIONING ../../elfutils-0.188/libdwfl/dwfl_module_build_id.c | gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.188/libdwfl -I.. -I. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/lib -I.. -I../../elfutils-0.188/libdwfl -I../../elfutils-0.188/libdwfl/../libelf -I../../elfutils-0.188/libdwfl/../libebl -I../../elfutils-0.188/libdwfl/../libdw -I../../elfutils-0.188/libdwfl/../libdwelf -I../../elfutils-0.188/libdwfl/../debuginfod -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/home/elhawary/Desktop/openpli-dreambox-oe-core/build/tmp/work/x86_64-linux/elfutils-native/0.188-r0/recipe-sysroot-native/usr/include -Os -pipe -Wno-error=stringop-overflow -c -o dwfl_module_report_build_id.os -fPIC -DPIC -DSHARED -DSYMBOL_VERSIONING ../../elfutils-0.188/libdwfl/dwfl_module_report_build_id.c | In function ‘bigger_buffer’, | inlined from ‘__libdw_gunzip’ at ../../elfutils-0.188/libdwfl/gzip.c:374:12: | ../../elfutils-0.188/libdwfl/gzip.c:96:9: error: pointer may be used after ‘realloc’ [-Werror=use-after-free] | 96 | b = realloc (state->buffer, more -= 1024); | | ^~~~~~~~~ | ../../elfutils-0.188/libdwfl/gzip.c:94:13: note: call to ‘realloc’ here | 94 | char *b = realloc (state->buffer, more); | | ^~~~~~~~~ | cc1: all warnings being treated as errors | make[2]: [Makefile:705: gzip.o] Error 1 | make[2]: Waiting for unfinished jobs.... | make[1]: [Makefile:526: all-recursive] Error 1 | make: [Makefile:442: all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (virtual:native:/home/elhawary/Desktop/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/elfutils/elfutils_0.188.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 570 tasks of which 565 didn't need to be rerun and 1 failed.

Summary: 1 task failed: virtual:native:/home/elhawary/Desktop/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/elfutils/elfutils_0.188.bb:do_compile Summary: There were 2 ERROR messages, returning a non-zero exit code. make: *** [Makefile:106: image] Error 1

jack2015 commented 1 year ago

https://github.com/jack2015/openpli-dreambox-oe-core/commit/e360e33f94155d87bc73c542354446d86e475d90