build fails after repo sync with the latest code.

45 views
Skip to first unread message

Vaishali Dhakate

unread,
Jan 28, 2022, 7:36:32 AM1/28/22
to openxt
Dear openxt Team,
I am working on getting the Synchronizer and openxt client device to work. I am till the point where in the logs I can get the downloading repo , but it remains at 0% download and nothing further also disk download is going in a infinite circle of processing.
Thinking I should get the latest code. I have repo sync the openxt and after that I have this build error.
Regards
Vaisahli
openxt@debian9n2:~/openxt-workspace/openxt/bordel$ ./bordel -i a docker build openxt-container
NOTE: Unable to use interactive mode for this terminal, using fallback
NOTE: Started PRServer with DBfile: /home/build/openxt/build-a/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41621, PID: 30
Parsing recipes: 100% |###############################################################################################################################################| Time: 0:11:38
Parsing of 2911 .bb files complete (0 cached, 2911 parsed). 7062 targets, 359 skipped, 4 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "debian-10"
TARGET_SYS           = "x86_64-oe-linux"
MACHINE              = "openxt-installer"
DISTRO               = "openxt-main"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 = "master:dabd41819563ec63fc5bd5fd0f4af64230e58130"
meta-oe              
meta-python          
meta-networking      
meta-gnome          
meta-multimedia      
meta-filesystems    
meta-xfce            = "master:ab9fca485e13f6f2f9761e1d2810f87c2e4f060a"
meta-intel           = "dunfell:87984115eb6ed1a4c17204629dcb100f6b76fe82"
meta-java            = "dunfell:eeb136c64ecaa364d4e332d0182865dc65f2a83b"
meta-selinux         = "dunfell:1fba53261bb8d7d3a5dcf238e388811cbb15219b"
xenclient-oe         = "master:61f10ed8ae2604bb0ed5acb1d3ae5ffe8cf9fc3c"
meta-openxt-ocaml-platform = "master:c9af37047fd85f87baea6128c36d4f288d6df8ca"
meta-openxt-haskell-platform = "master:61e1dd28584653a018f12c678cf0626c70005249"
meta-virtualization  = "dunfell:c4f156fa93b37b2428e09ae22dbd7f5875606f4d"
meta-qt5             = "dunfell:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
meta-vglass          = "master:3bccf21d3b7aaab2de94516ca8fcb14a36afcf44"

Initialising tasks: 100% |############################################################################################################################################| Time: 0:00:08
Sstate summary: Wanted 1626 Found 0 Missed 1626 Current 57 (0% match, 3% complete)
NOTE: Executing Tasks
NOTE: Running task 278 of 4679 (/home/build/openxt/build-a/layers/openembedded-core/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_compile)
NOTE: recipe libgcc-9.3.0-r0: task do_compile: Started
ERROR: libgcc-9.3.0-r0 do_compile: oe_runmake failed
ERROR: libgcc-9.3.0-r0 do_compile: Execution of '/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/run.do_compile.240' failed with exit code 1
ERROR: Logfile of failure stored in: /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/log.do_compile.240
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 1 MULTIBUILDTOP=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/gcc-9.3.0/build.x86_64-oe-linux.x86_64-oe-linux/x86_64-oe-linux/libgcc/
| # If this is the top-level multilib, build all the other
| # multilibs.
| x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0=/usr/src/debug/libgcc/9.3.0-r0 -fdebug-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0=/usr/src/debug/libgcc/9.3.0-r0 -fdebug-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot-native= -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -mlong-double-80  -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic -mlong-double-80  -I. -I. -I/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/gcc-9.3.0/build.x86_64-oe-linux.x86_64-oe-linux/x86_64-oe-linux/libgcc/../.././gcc -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/. -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../gcc -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../include -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
| In file included from /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot/usr/include/sys/types.h:227,
|                  from ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../gcc/tsystem.h:90,
|                  from ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/libgcc2.c:27:
| /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot/usr/include/bits/pthreadtypes.h:88:34: error: field '__data' has incomplete type
|    88 |   struct __pthread_rwlock_arch_t __data;
|       |                                  ^~~~~~
| make: *** [Makefile:498: _muldi3.o] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/run.do_compile.240:1 exit 1 from 'exit 1'
| ERROR: Execution of '/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/run.do_compile.240' failed with exit code 1
NOTE: recipe libgcc-9.3.0-r0: task do_compile: Failed
ERROR: Task (/home/build/openxt/build-a/layers/openembedded-core/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 279 tasks of which 278 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/build/openxt/build-a/layers/openembedded-core/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
build-manifest command "MACHINE=openxt-installer bitbake xenclient-installer-image" failed.

Jason Andryuk

unread,
Jan 28, 2022, 8:30:50 AM1/28/22
to Vaishali Dhakate, openxt
On Fri, Jan 28, 2022 at 7:36 AM Vaishali Dhakate
<vaishali...@networkmarvels.com> wrote:
> | In file included from /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot/usr/include/sys/types.h:227,
> | from ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../gcc/tsystem.h:90,
> | from ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/libgcc2.c:27:
> | /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot/usr/include/bits/pthreadtypes.h:88:34: error: field '__data' has incomplete type
> | 88 | struct __pthread_rwlock_arch_t __data;
> | | ^~~~~~
> | make: *** [Makefile:498: _muldi3.o] Error 1


Hi, Vaisahli

I haven't seen this error before. The builder succeeded yesterday:
https://openxt.ainfosec.com/buildbot/#/builders/20/builds/118

Maybe try clearing out libgcc and glibc (which provides libpthread)
Enter the container and run:
MACHINE=openxt-installer bitbake glibc libgcc -c cleansstate
(You may have to `source ~/openxt/build-a/build_env` first).

Then you can re-run the build and hopefully it straightens itself out.

Regards,
Jason
Reply all
Reply to author
Forward
0 new messages