Source: gst-plugins-bad1.0
Severity: important
Version: 1.26.20-2
Control: found -1 1.28.0-1
X-Debbugs-CC: [email protected]
Control: affects -1 +src:zxing-cpp
Control: forwarded -1 
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4893

Dear Debian gst-plugins-bad1.0 package maintainer,

Your package fails to build from source when building against zxing-cpp 3.0.0
(currently in Debian Experimental). It is partly due to the upstream usage
of deprecated API as you can find in 
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4893 ,
and also partly with unreasonable error as shown below:

[1107/1640] c++ -Iext/zxing/libgstzxing.so.p -Iext/zxing -I../ext/zxing -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -Wno-non-virtual-dtor -fvisibility=hidden -fno-strict-aliasing -Wformat-nonliteral -Waddress -Wformat -Wformat-security -Wimplicit-fallthrough=3 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wno-multichar -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wvla -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/gst-plugins-bad1.0-1.28.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DZX_USE_UTF8 -MD -MQ ext/zxing/libgstzxing.so.p/gstzxing.cpp.o -MF ext/zxing/libgstzxing.so.p/gstzxing.cpp.o.d -o ext/zxing/libgstzxing.so.p/gstzxing.cpp.o -c ../ext/zxing/gstzxing.cpp
FAILED: [code=1] ext/zxing/libgstzxing.so.p/gstzxing.cpp.o
c++ -Iext/zxing/libgstzxing.so.p -Iext/zxing -I../ext/zxing -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -Wno-non-virtual-dtor -fvisibility=hidden -fno-strict-aliasing -Wformat-nonliteral -Waddress -Wformat -Wformat-security -Wimplicit-fallthrough=3 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wno-multichar -Wpointer-arith -Wredundant-decls -Wshift-negative-value -Wtype-limits -Wundef -Wvla -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/gst-plugins-bad1.0-1.28.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -DZX_USE_UTF8 -MD -MQ ext/zxing/libgstzxing.so.p/gstzxing.cpp.o -MF ext/zxing/libgstzxing.so.p/gstzxing.cpp.o.d -o ext/zxing/libgstzxing.so.p/gstzxing.cpp.o -c ../ext/zxing/gstzxing.cpp
../ext/zxing/gstzxing.cpp:65:10: fatal error: ReadBarcode.h: No such file or 
directory
   65 | #include "ReadBarcode.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.


This should not happen because the header file is present both in
zxing-cpp 2.3.0-5 (in Testing/Unstable) and zxing-cpp 3.0.0+. More
investigation might be needed.

Thanks,
Boyuan Yang

Reply via email to