mplayer: Debian daily-build.sh fails
Posted: Mon Jan 16, 2012 11:40 am
[PROBLEM]
According to mplayer's README file, I should be able to create a .deb package of mplayer/mencoder by executing:
On my recent Debian Squeeze 6.0.3 system, I got the following error message instead:
Thanks to an entry on the Debian user mailing list, I tried installing the "devscripts" package:
Running "debian/daily-build.sh" again, looked better - but there were lots of unmet build dependencies:
According to mplayer's README file, I should be able to create a .deb package of mplayer/mencoder by executing:
Code: Select all
debian/daily-build.sh -b
[SOLUTION]34577
rm: cannot remove `debian/changelog': No such file or directory
debian/daily-build.sh: 18: dch: not found
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
tail: cannot open `debian/changelog' for reading: No such file or directory
dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1
Thanks to an entry on the Debian user mailing list, I tried installing the "devscripts" package:
Code: Select all
apt-get install devscripts
So, I've copy/pasted the unmet dependency package names to "apt-get install" and tried it again:34577
rm: cannot remove `debian/changelog': No such file or directory
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package mplayer
dpkg-buildpackage: source version 2:1.0~svn34577
dpkg-buildpackage: source changed by Rooker. <rooker@das-werkstatt.com>
dpkg-buildpackage: host architecture i386
dpkg-source -i -I.svn --before-build mplayer-svn
dpkg-checkbuilddeps: Unmet build dependencies: docbook-xml docbook-xsl ladspa-sdk libenca-dev libaa1-dev libasound2-dev libaudio-dev libcaca-dev libcdparanoia-dev | libcdparanoia0-dev libbluray-dev libdirectfb-dev libdts-dev libesd0-dev libfaad-dev libfribidi-dev libgif-dev libgl1-mesa-dev libgtk2.0-dev libjack-dev liblircclient-dev liblivemedia-dev liblzo2-dev libmpcdec-dev libncurses5-dev libopenal-dev libpulse-dev libsdl1.2-dev | libsdl1.1-dev libsmbclient-dev libspeex-dev libsvga1-dev libtheora-dev (>= 1.0~beta1) libvorbisidec-dev libx264-dev (>= 2:0.115~) libxext-dev libxinerama-dev libxv-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev libvdpau-dev vstream-client-dev xsltproc
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
NOTE: Debian Squeeze didn't have libbluray-dev, and libjack-dev would collide with jack2.34577
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package mplayer
dpkg-buildpackage: source version 2:1.0~svn34577
dpkg-buildpackage: source changed by Rooker <rooker@das-werkstatt.com>
dpkg-buildpackage: host architecture i386
dpkg-source -i -I.svn --before-build mplayer-svn
dpkg-checkbuilddeps: Unmet build dependencies: libbluray-dev libjack-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)