As I don't need to compile gstreamer from source anymore, this bug doesn't 
affect me anymore. 
However, I think there is still an issue there. Using the latest Ubuntu docker 
image one gets compilation errors.

Way to reproduce:
docker -it --rm ubuntu /bin/bash
In the container:
 sed -i '/deb-src/s/^# //' /etc/apt/sources.list && apt update
 apt install dpkg-dev devscripts
 apt install build-essential
 apt source gstreamer1.0-plugins-bad
 apt build-dep gstreamer1.0-plugins-bad
 cd gst-plugins-bad1.0-1.16.2/
 debuild -us -uc

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I../../gst-libs -I../../gst-libs -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DGST_USE_UNSTABLE_API 
-fno-strict-aliasing -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall 
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations 
-Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security 
-Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
-Wno-multichar -Wnested-externs -g -fvisibility=hidden 
-I/usr/include/openjpeg-2.3 -g -O2 
-fdebug-prefix-map=/gst-plugins-bad1.0-1.16.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wno-error -c gstopenjpegenc.c  -fPIC -DPIC -o 
.libs/libgstopenjpeg_la-gstopenjpegenc.o
make[4]: *** [Makefile:926: libgstopenexr_la-gstopenexrdec.lo] Error 

** Changed in: gst-plugins-bad1.0 (Ubuntu)
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gst-plugins-bad1.0 in
Ubuntu.
https://bugs.launchpad.net/bugs/1931609

Title:
  gstreamer1.0-plugins-bad compilation from sources: missing cuda.h

Status in gst-plugins-bad1.0 package in Ubuntu:
  New

Bug description:
  Try to compile gst-plugins-bad1.0 from sources returns the error on
  Ubuntu 20.04 LTS:

  /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../gst-libs -I../../gst-libs 
-pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -DGST_USE_UNSTABLE_API 
-fno-strict-aliasing  -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -Wall 
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations 
-Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security 
-Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress 
-Wno-multichar -Wnested-externs   -g    -fvisibility=hidden -pthread 
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread 
-I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 
-fdebug-prefix-map=/tmp/gst/gst-plugins-bad1.0-1.16.2=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wno-error -c -o 
libgstbluez_la-gstavrcputil.lo `test -f 'gstavrcputil.c' || echo 
'./'`gstavrcputil.c
  In file included from nvcuvid.h:38,
                   from gstnvdec.h:33,
                   from gstnvdec.c:32:
  cuviddec.h:39:10: fatal error: cuda.h: File not found
     39 | #include <cuda.h>
        |          ^~~~~~~~
  compilation terminated

  Steps to reproduce:
  apt source gstreamer1.0-plugins-bad
  sudo apt install  build-essential
  sudo apt build-dep  gstreamer1.0-plugins-bad
  cd gst-plugins-bad1.0-1.16.2/
  debuild -us -uc

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: gstreamer1.0-plugins-bad (not installed)
  ProcVersionSignature: Ubuntu 5.4.0-74.83-generic 5.4.114
  Uname: Linux 5.4.0-74-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.18
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: GNOME
  Date: Thu Jun 10 18:06:15 2021
  InstallationDate: Installed on 2018-04-05 (1162 days ago)
  InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 
(20180228)
  SourcePackage: gst-plugins-bad1.0
  UpgradeStatus: Upgraded to focal on 2020-10-28 (225 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gst-plugins-bad1.0/+bug/1931609/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to