Comment 1 for bug 1911471

Revision history for this message
Roman Tsisyk (rtsisyk) wrote : Re: [Bug 1911471] [NEW] tarantool: FTBFS on arm64: fiber.c:47:10: fatal error: x86intrin.h: No such file or directory

Hi Brian,

Thanks for the update!

Unfortunately, the ARM64 support in Tarantool is temporarily broken.
I had a talk with the team and they promised to ARM support in Q1 2021.

Can we disable ARM64 for now?

On Wed, Jan 13, 2021 at 10:40 PM Brian Murray
<email address hidden> wrote:
>
> Public bug reported:
>
> Imported from Debian bug http://bugs.debian.org/976587:
>
> Source: tarantool
> Version: 2.6.0-1
> Severity: important
> Justification: FTBFS on arm64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20201205 ftbfs-bullseye
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on arm64 (I don't know if it also fails on amd64).
>
> Relevant part (hopefully):
> > cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/src/lib/core && /usr/bin/cc -DCORO_ASM -DLUAJIT_SMART_STRINGS=1 -DNDEBUG -DNVALGRIND -DNVALGRIND=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/src -I/<<PKGBUILDDIR>>/src/lib -I/<<PKGBUILDDIR>>/src/lib/small -I/<<PKGBUILDDIR>>/src/lib/small/third_party -I/<<PKGBUILDDIR>>/src/lib/core -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/third_party/zstd/lib -I/<<PKGBUILDDIR>>/third_party/zstd/lib/common -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/third_party -I/<<PKGBUILDDIR>>/third_party -I/<<PKGBUILDDIR>>/third_party/coro -I/<<PKGBUILDDIR>>/third_party/luajit/src -I/<<PKGBUILDDIR>>/third_party/libyaml/include -I/<<PKGBUILDDIR>>/src/lib/msgpuck -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/build/curl/dest/include -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/third_party/decNumber -I/<<PKGBUILDDIR>>/third_party/libutil_freebsd -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2 -o CMakeFiles/core.dir/fiber.c.o -c /<<PKGBUILDDIR>>/src/lib/core/fiber.c
> > /<<PKGBUILDDIR>>/src/lib/core/fiber.c:47:10: fatal error: x86intrin.h: No such file or directory
> > 47 | #include <x86intrin.h> /* __rdtscp() */
> > | ^~~~~~~~~~~~~
> > compilation terminated.
> > make[3]: *** [src/lib/core/CMakeFiles/core.dir/build.make:137: src/lib/core/CMakeFiles/core.dir/fiber.c.o] Error 1
>
> The full build log is available from:
> http://qa-logs.debian.net/2020/12/05/tarantool_2.6.0-1_unstable.log
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> If you reassign this bug to another package, please marking it as 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
>
> If you fail to reproduce this, please provide a build log and diff it with me
> so that we can identify if something relevant changed in the meantime.
>
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
>
> ** Affects: tarantool (Ubuntu)
> Importance: High
> Status: Triaged
>
> ** Affects: tarantool (Debian)
> Importance: Undecided
> Status: New
>
>
> ** Tags: hirsute update-excuse
>
> ** Bug watch added: Debian Bug tracker #976587
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976587
>
> ** Changed in: tarantool (Debian)
> Remote watch: None => Debian Bug tracker #976587
>
> ** Tags added: update-excuse
>
> ** Tags added: hirsute
>
> ** Changed in: tarantool (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: tarantool (Ubuntu)
> Status: New => Triaged
>
> --
> You received this bug notification because you are subscribed to
> tarantool in Ubuntu.
> https://bugs.launchpad.net/bugs/1911471
>
> Title:
> tarantool: FTBFS on arm64: fiber.c:47:10: fatal error: x86intrin.h: No
> such file or directory
>
> Status in tarantool package in Ubuntu:
> Triaged
> Status in tarantool package in Debian:
> New
>
> Bug description:
> Imported from Debian bug http://bugs.debian.org/976587:
>
> Source: tarantool
> Version: 2.6.0-1
> Severity: important
> Justification: FTBFS on arm64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20201205 ftbfs-bullseye
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on arm64 (I don't know if it also fails on amd64).
>
> Relevant part (hopefully):
> > cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/src/lib/core && /usr/bin/cc -DCORO_ASM -DLUAJIT_SMART_STRINGS=1 -DNDEBUG -DNVALGRIND -DNVALGRIND=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/src -I/<<PKGBUILDDIR>>/src/lib -I/<<PKGBUILDDIR>>/src/lib/small -I/<<PKGBUILDDIR>>/src/lib/small/third_party -I/<<PKGBUILDDIR>>/src/lib/core -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/third_party/zstd/lib -I/<<PKGBUILDDIR>>/third_party/zstd/lib/common -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/third_party -I/<<PKGBUILDDIR>>/third_party -I/<<PKGBUILDDIR>>/third_party/coro -I/<<PKGBUILDDIR>>/third_party/luajit/src -I/<<PKGBUILDDIR>>/third_party/libyaml/include -I/<<PKGBUILDDIR>>/src/lib/msgpuck -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/build/curl/dest/include -I/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/third_party/decNumber -I/<<PKGBUILDDIR>>/third_party/libutil_freebsd -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/no-pie-compile.specs -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -O2 -g -DNDEBUG -ggdb -O2 -o CMakeFiles/core.dir/fiber.c.o -c /<<PKGBUILDDIR>>/src/lib/core/fiber.c
> > /<<PKGBUILDDIR>>/src/lib/core/fiber.c:47:10: fatal error: x86intrin.h: No such file or directory
> > 47 | #include <x86intrin.h> /* __rdtscp() */
> > | ^~~~~~~~~~~~~
> > compilation terminated.
> > make[3]: *** [src/lib/core/CMakeFiles/core.dir/build.make:137: src/lib/core/CMakeFiles/core.dir/fiber.c.o] Error 1
>
> The full build log is available from:
> http://qa-logs.debian.net/2020/12/05/tarantool_2.6.0-1_unstable.log
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> If you reassign this bug to another package, please marking it as 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
>
> If you fail to reproduce this, please provide a build log and diff it with me
> so that we can identify if something relevant changed in the meantime.
>
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/tarantool/+bug/1911471/+subscriptions

--
WBR,
  Roman Tsisyk <email address hidden>