problem with rebuilding package from source

Asked by Andrei

When I tries to rebuild the package on nvidia xavier device (ubuntu 18) I have next error:

```
dh_install -pgstreamer1.0-plugins-bad
dh_install: Cannot find (any matches for) "debian/tmp/usr/share/gst-plugins-bad/1.0/" (tried in ., debian/tmp)
dh_install: gstreamer1.0-plugins-bad missing files: debian/tmp/usr/share/gst-plugins-bad/1.0/
dh_install: missing files, aborting
/usr/share/cdbs/1/rules/debhelper.mk:235: recipe for target 'binary-install/gstreamer1.0-plugins-bad' failed
make: *** [binary-install/gstreamer1.0-plugins-bad] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
```

I manually checked `debian/tmp/usr/share/gst-plugins-bad` folder and see that it doesn't exist. How I can fix that?

`lsb_release -a` output:

```
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
```

steps for reproduce:

```
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gst-plugins-bad1.0/1.14.5-0ubuntu1~18.04.1/gst-plugins-bad1.0_1.14.5-0ubuntu1~18.04.1.dsc
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gst-plugins-bad1.0/1.14.5-0ubuntu1~18.04.1/gst-plugins-bad1.0_1.14.5.orig.tar.xz
wget https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gst-plugins-bad1.0/1.14.5-0ubuntu1~18.04.1/gst-plugins-bad1.0_1.14.5-0ubuntu1~18.04.1.debian.tar.xz

dpkg -x gst-plugins-bad1.0_1.14.5-0ubuntu1~18.04.1.dsc

cd gst-plugins-bad1.0-1.14.5
dpkg-buildpackage -rfakeroot -b
```

Also there was some additional problem with c++ standard for gst-plugins-bad/ext/openexr - there is explicitly set 98 standard, but compiler can't compile it only with 11 standard. After I changed the standard to 11 all compiled fine

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gst-plugins-bad1.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

https://packages.ubuntu.com/source/bionic/gst-plugins-bad1.0
Link for source code for this package.
1.14.0-1ubuntu1 I an not seeing the 1.14.5-0ubuntu1 version.
Is this from a PPA? The version I am seeing is from the repository.
Here is the per-compiled package as a reference:
https://packages.ubuntu.com/bionic/gstreamer1.0-plugins-bad
There is a different version being developed in GitLab.
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad

Revision history for this message
Andrei (aliaukovich) said :
#2

Thank for quick response.

> 1.14.0-1ubuntu1 I an not seeing the 1.14.5-0ubuntu1 version.
Is this from a PPA? The version I am seeing is from the repository.

I downloaded sources from the page:
https://launchpad.net/ubuntu/+source/gst-plugins-bad1.0/1.14.5-0ubuntu1~18.04.1

Can you help with this problem?

Provide an answer of your own, or ask Andrei for more information if necessary.

To post a message you must log in.