The deprecation warning was fixed in libcamera upstream in 
https://github.com/kbingham/libcamera/commit/19652e502

The build still fails with that fix due to

'FAILED: src/libcamera/libcamera.so.0.1.0.p/object.cpp.o 
c++ -Isrc/libcamera/libcamera.so.0.1.0.p -Isrc/libcamera -I../src/libcamera 
-Iinclude -I../include -Iinclude/libcamera -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror 
-std=c++14 -Wno-unused-parameter -include config.h -g -O2 
'-ffile-prefix-map=/<<BUILDDIR>>/libcamera-0~git20200629+e7aa92a=.' -flto=auto 
-ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
src/libcamera/libcamera.so.0.1.0.p/object.cpp.o -MF 
src/libcamera/libcamera.so.0.1.0.p/object.cpp.o.d -o 
src/libcamera/libcamera.so.0.1.0.p/object.cpp.o -c ../src/libcamera/object.cpp
In file included from ../src/libcamera/object.cpp:15:
../src/libcamera/object.cpp: In member function 
‘libcamera::Object::notifyThreadMove()’:
../include/libcamera/internal/message.h:57:47: error: array subscript ‘const 
struct InvokeMessage[0]’ is partly outside array bounds of ‘struct Message[1]’ 
[-Werror=array-bounds]
   57 |         Semaphore *semaphore() const { return semaphore_; }
      |                                               ^~~~~~~~~~
../src/libcamera/object.cpp:217:17: note: while referencing ‘msg’
  217 |         Message msg(Message::ThreadMoveMessage);
      |                 ^~~
cc1plus: all warnings being treated as errors'

Failing build on warnings is probably not we want on the package or we
will get similar issues again as libraries deprecated functions or
compiler change, which aren't enough of a reason to break a package
build, let's disable Werror instead

** Changed in: libcamera (Ubuntu)
   Importance: Undecided => High

** Changed in: libcamera (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1931958

Title:
  0~git20200629+e7aa92a-8 is FTFBS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1931958/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to