Hello Mentors,
I'm trying to build mplayer in sbuild to upload another version, https://salsa.debian.org/multimedia-team/mplayer/-/tree/next?ref_type=heads (note that it can be build in salsa CI)
$sbuild --source
this usually works, but now it fails with
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0002_mplayer_debug_printf.patch
dpkg-source: info: applying 0201_PATH_MAX_HURD.patch
dpkg-source: info: applying 0202_glibc-2.27.patch
dpkg-source: info: applying 0203_generic-arch-fallback.patch
dpkg-source: info: applying 0204_fix-ftbfs-jack-ffmpeg7.patch dpkg-buildpackage: info: source package mplayer
dpkg-buildpackage: info: source version 2:1.5+svn38674-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Lorenzo Puliti <plorenzo@disroot.org> dpkg-checkbuilddeps: error: unmet build
dependencies: nasm dpkg-buildpackage: error: build
dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: hint:
satisfy build dependencies with your package manager frontend
then I tested
(this is schroot)
sbuild-shell unstable-amd64-sbuild
(inside the chroot)
#apt-get install nasm #works fine
#apt-get -s build-dep mplayer # installs 460 new packages, but still no issues
then I tested with a fresh chroot tar and unshare, same error..
I have no clues why sbuild fails, any idea?
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Mentors,<br>
Hello Mentors,
I'm trying to build mplayer in sbuild to upload another version, https://salsa.debian.org/multimedia-team/mplayer/-/tree/next?ref_typ
e=heads (note that it can be build in salsa CI)
$sbuild --source
this usually works, but now it fails with
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying 0002_mplayer_debug_printf.patch
dpkg-source: info: applying 0201_PATH_MAX_HURD.patch
dpkg-source: info: applying 0202_glibc-2.27.patch
dpkg-source: info: applying 0203_generic-arch-fallback.patch
dpkg-source: info: applying 0204_fix-ftbfs-jack-ffmpeg7.patch dpkg-buildpackage: info: source package mplayer
dpkg-buildpackage: info: source version 2:1.5+svn38674-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Lorenzo Puliti <plorenzo@disroot.org> dpkg-checkbuilddeps: error: unmet build
dependencies: nasm dpkg-buildpackage: error: build
dependencies/conflicts unsatisfied; aborting dpkg-buildpackage:
hint: satisfy build dependencies with your package manager frontend
I have been bit by this before, and it wasn’t apparent to me what the problem was until someone kindly explained it to me.
The answer is that you need to install nasm on your main system,
because all the packages listed in the build-depends have to be
installed to run the clean target, which happens on your main system
before sbuild starts the chroot.
Probably you had it installed on your main system at some point in
the past and it was recently removed.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:39:03 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,060 |
Messages: | 6,416,673 |