Thanks it worked out well.

libsndio-dev was specified as a package that the installed libsdl2-dev
depended on to compile ffmpeg.

This problem was discovered while packaging ffmpeg first and then packaging
obs-studio to add nvenc support to obs-studio.

Even in Debian Buster, after ffmpeg packaging to add nvenc support to
obs-studio, I was puzzled because there has never been a problem with the
libsndio-dev package during the obs-studio packaging process.

Why did obs-studio have a problem with the libsndio-dev package in the
process of upgrading from Debian Buster to Bullseye?

A set of problems have been solved, but for someone like me who wants to
compile ffmpeg and obs-studio sequentially, this problem seems to need a
separate guide (whether wiki or source package).
------------------------------------------------------------------------
------------------------------------
There is a future society, but my future is not what others do.
Dept. of Information Science, Graduate School, Korea National Open
University


2021년 9월 2일 (목) 오전 2:36, Sebastian Ramacher <sramac...@debian.org>님이 작성:

> Control: tags -1 moreinfo
>
> On 2021-09-02 01:43:08 +0900, jiho lee wrote:
> > Package: obs-studio
> > Version: 26.1.2+dfsg1-2
> >
> > Hello.
> >
> > This time, I downloaded obs-studio from Debian bullseye with the apt
> > source command and tried to package it with the debuild command, but a
> > dh_missing error occurs.
> >
> > System: Debian Bullseye
> > Platform: x86_64
> > Commands:
> > sudo apt build-dep obs-studio
> > debuild -us -uc -b
> >
> > Expected Result:
> > You must have a packaged deb file.
> >
> > Failed Result:
> >    dh_strip_nondeterminism
> >    dh_compress
> >    dh_fixperms
> >    dh_missing
> > dh_missing: warning: usr/lib/x86_64-linux-gnu/obs-plugins/sndio.so
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/ar-SA.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/ca-ES.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/cs-CZ.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/da-DK.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/de-DE.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/el-GR.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/en-GB.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/en-US.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/es-ES.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/et-EE.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/fa-IR.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/fi-FI.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/fr-FR.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/gl-ES.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/hu-HU.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/id-ID.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/it-IT.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/ja-JP.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/ka-GE.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning:
> > usr/share/obs/obs-plugins/sndio/locale/kab-KAB.ini exists in
> > debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/ko-KR.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/nl-NL.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/pl-PL.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/pt-BR.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/pt-PT.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/ru-RU.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/sk-SK.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/sl-SI.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/sv-SE.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/tr-TR.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/uk-UA.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/zh-CN.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: warning: usr/share/obs/obs-plugins/sndio/locale/zh-TW.ini
> > exists in debian/tmp but is not installed to anywhere
> > dh_missing: error: missing files, aborting
> >         The following debhelper tools have reported what they
> > installed (with files per package)
> >          * dh_install: libobs-dev (11), libobs0 (27), obs-plugins
> > (12), obs-studio (31)
> >          * dh_installdocs: libobs-dev (0), libobs0 (0), obs-plugins
> > (0), obs-studio (0)
> >          * dh_installman: libobs-dev (0), libobs0 (0), obs-plugins
> > (0), obs-studio (1)
> >         If the missing files are installed by another tool, please
> > file a bug against it.
> >         When filing the report, if the tool is not part of debhelper
> > itself, please reference the
> >         "Logging helpers and dh_missing" section from the
> > "PROGRAMMING" guide for debhelper (10.6.3+).
> >           (in the debhelper package:
> /usr/share/doc/debhelper/PROGRAMMING.gz)
> >         Be sure to test with dpkg-buildpackage -A/-B as the results
> > may vary when only a subset is built
> >         If the omission is intentional or no other helper can take
> > care of this consider adding the
> >         paths to debian/not-installed.
> >
> >         Remember to be careful with paths containing
> > "x86_64-linux-gnu", where you might need to
> >         use a wildcard or (assuming compat 13+) e.g.
> > ${DEB_HOST_MULTIARCH} in debian/not-installed
> >         to ensure it works on all architectures (see #961104).
> > make: *** [debian/rules:11: binary] Error 25
> > dpkg-buildpackage: error: debian/rules binary subprocess returned exit
> status 2
> > debuild: fatal error at line 1182:
> > dpkg-buildpackage -us -uc -ui -b failed
> >
> >
> > It's the first time I've seen a package downloaded from apt source
> > fail to compile, so I'm posting it as a bug report.
>
> It looks like you have libsndio-dev installed, so you're not building in
> a clean chroot.
>
> Cheers
>
> >
> > ------------------------------------------------------------------------
> > ------------------------------------
> > There is a future society, but my future is not what others do.
> > Dept. of Information Science, Graduate School, Korea National Open
> > University
>
> --
> Sebastian Ramacher
>

Reply via email to