New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 672528 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

autotest-deps-ltp package fails to build sometimes

Project Member Reported by manojgupta@chromium.org, Dec 8 2016

Issue description

chromeos-base/autotest-deps-ltp did not build first time in build packages phase.
It did get built on retry at end which probably means a missing dependency in ebuild.
I have not observed this with gcc builds or on trybot builds so maybe there is a race condition with its dependencies.



autotest-deps-ltp-0.20150119-r14: x86_64-cros-linux-gnu-clang -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -clang-syntax -g -O2 -fno-strict-aliasing -pipe -Wall -W -O2 -pipe -O2 -pipe -march=corei7 -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -clang-syntax -Wold-style-definition  -I/build/falco/tmp/portage/chromeos-base/autotest-deps-ltp-0.20150119-r14/work/autotest-deps-ltp-0.20150119/testcases/kernel/include -I../../../../include -I../../../../include -Wl,-O1 -Wl,-O2 -Wl,--as-needed  -L../../../../lib  timer_getoverrun01.c   -lltp -o timer_getoverrun01
autotest-deps-ltp-0.20150119-r14: ^[[1mtimer_getoverrun01.c:64:7: ^[[0m^[[0;1;35mwarning: ^[[0m^[[1mimplicit declaration of function
autotest-deps-ltp-0.20150119-r14:       'ltp_syscall' is invalid in C99 [-Wimplicit-function-declaration]^[[0m
autotest-deps-ltp-0.20150119-r14:         TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
autotest-deps-ltp-0.20150119-r14: ^[[0;1;32m             ^
autotest-deps-ltp-0.20150119-r14: ^[[0m1 warning generated.
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:64: error: undefined reference to 'ltp_syscall'
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:72: error: undefined reference to 'ltp_syscall'
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:81: error: undefined reference to 'ltp_syscall'
autotest-deps-ltp-0.20150119-r14: clang-4.0: ^[[0;1;31merror: ^[[0mlinker command failed with exit code 1 (use -v to see invocation)^[[0m
autotest-deps-ltp-0.20150119-r14: make[4]: *** [<builtin>: timer_getoverrun01] Error 1


Failed chromeos-base/autotest-deps-ltp-0.20150119-r14 (in 11m19.3s), retrying later.



 
Description: Show this description
ltp has few system deps, and that code isn't from the system, so i doubt missing deps in the ebuild is related

it might be a parallel build issue though as iirc ltp_syscall is from a generated header
Cc: vapier@chromium.org
Failed in toolchain waterfall build today:

https://uberchromegw.corp.google.com/i/chromeos/builders/x86-llvm-next-toolchain/builds/108

From BuildPackages log:

autotest-deps-ltp-0.20150119-r14: i686-pc-linux-gnu-clang -O2 -march=i686 -pipe -O2 -pipe -march=atom -mtune=atom -mfpmath=sse -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -clang-syntax -g -O2 -fno-strict-aliasing -pipe -Wall -W -O2 -march=i686 -pipe -O2 -pipe -march=atom -mtune=atom -mfpmath=sse -g -fno-exceptions -fno-unwind-tables   -fno-asynchronous-unwind-tables  -clang-syntax -clang-syntax -Wold-style-definition  -I/build/x86-alex/tmp/portage/chromeos-base/autotest-deps-ltp-0.20150119-r14/work/autotest-deps-ltp-0.20150119/testcases/kernel/include -I../../../../include -I../../../../include -Wl,-O1 -Wl,-O2 -Wl,--as-needed  -L../../../../lib  timer_getoverrun01.c   -lltp -o timer_getoverrun01
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:64:7: warning: implicit declaration of function
autotest-deps-ltp-0.20150119-r14:       'ltp_syscall' is invalid in C99 [-Wimplicit-function-declaration]
autotest-deps-ltp-0.20150119-r14:         TEST(ltp_syscall(__NR_timer_create, CLOCK_REALTIME, &ev, &timer));
autotest-deps-ltp-0.20150119-r14:              ^
autotest-deps-ltp-0.20150119-r14: 1 warning generated.
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:64: error: undefined reference to 'ltp_syscall'
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:72: error: undefined reference to 'ltp_syscall'
autotest-deps-ltp-0.20150119-r14: timer_getoverrun01.c:81: error: undefined reference to 'ltp_syscall'
autotest-deps-ltp-0.20150119-r14: clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)

(https://uberchromegw.corp.google.com/i/chromeos/builders/x86-llvm-next-toolchain/builds/108/steps/BuildPackages%20%5Bafdo_use%5D/logs/stdio)


Components: Tests OS>Kernel
Labels: -Pri-3 -Build-Toolchain Pri-2
Summary: autotest-deps-ltp package fails to build sometimes (was: autotest-deps-ltp fails building first time on llvm-next locally)
Status: WontFix (was: Untriaged)
Haven't seen this in a while so closing.

Sign in to add a comment