Public bug reported: ppc64el build is failing[1] on jammy:
FAILED: src/libcamera/base/libcamera-base.so.0.0.0.p/object.cpp.o c++ -Isrc/libcamera/base/libcamera-base.so.0.0.0.p -Isrc/libcamera/base -I../src/libcamera/base -Iinclude -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -Wshadow -include config.h -g -O3 '-ffile-prefix-map=/<<BUILDDIR>>/libcamera-0~git20211108+1b30992b623e=.' -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DLIBCAMERA_BASE_PRIVATE -MD -MQ src/libcamera/base/libcamera-base.so.0.0.0.p/object.cpp.o -MF src/libcamera/base/libcamera-base.so.0.0.0.p/object.cpp.o.d -o src/libcamera/base/libcamera-base.so.0.0.0.p/object.cpp.o -c ../src/libcamera/base/object.cpp In file included from ../src/libcamera/base/object.cpp:13: ../src/libcamera/base/object.cpp: In member function ‘libcamera::Object::notifyThreadMove()’: ../include/libcamera/base/message.h:58:47: error: array subscript ‘const struct InvokeMessage[0]’ is partly outside array bounds of ‘struct Message[1]’ [-Werror=array-bounds] 58 | Semaphore *semaphore() const { return semaphore_; } | ^~~~~~~~~~ ../src/libcamera/base/object.cpp:272:17: note: while referencing ‘msg’ 272 | Message msg(Message::ThreadMoveMessage); | ^~~ cc1plus: all warnings being treated as errors I filed an upstream bug[2] about it too. 1. https://launchpadlibrarian.net/576601418/buildlog_ubuntu-jammy-ppc64el.libcamera_0~git20211108+1b30992b623e-3_BUILDING.txt.gz 2. https://bugs.libcamera.org/show_bug.cgi?id=106 ** Affects: libcamera (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs update-excuse update-excuses -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1955767 Title: FTBFS on ppc64el: array subscript is partly outside array bounds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libcamera/+bug/1955767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs