Wednesday, June 27, 2012

wine-unstable on debian stable ?

I got stuck trying to backport wine-unstable on debian/stable today:

$ apt-get source wine-unstable
$ dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package wine-unstable
dpkg-buildpackage: source version 1.5.0-1
dpkg-buildpackage: source changed by Michael Gilbert <mgilbert@debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build wine-unstable-1.5.0
 fakeroot debian/rules clean
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
sed -e 's/\(wine[a-z0-9_-]*\)/\1-unstable/g' \
   -e 's/\(gecko[a-z0-9_-]*\)-unstable/\1/' \
   -e 's/wine-doc-unstable/wine-doc/g' debian/control.in > debian/control
touch control-stamp
dh_testdir
dh_testdir
rm -f install-arch64-stamp build-arch64-stamp configure-arch64-stamp
rm -f install-arch32-stamp build-arch32-stamp configure-arch32-stamp
rm -rf build64
rm -rf build32
dh_testdir
bash debian/clean-install.sh "-unstable"
rm -f install-arch-stamp build-indep-stamp configure-ia32-stamp control-stamp
rm -rf lib32 debian/libwine-unstable
dh_clean
# can't rm debian/control here because it'd break dpkg-buildpackage.
 dpkg-source -b wine-unstable-1.5.0
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building wine-unstable using existing wine-unstable_1.5.0.orig.tar.gz
dpkg-source: info: building wine-unstable in wine-unstable_1.5.0-1.diff.gz
dpkg-source: warning: the diff modifies the following upstream files:
 Make.vars.in
 dlls/Makedll.rules.in
 dlls/wineps.drv/Makefile.in
 dlls/winex11.drv/xfont.c
 libs/wine/Makefile.in
 loader/wine.man.in
 tools/Makefile.in
 tools/winedump/Makefile.in
 tools/winedump/search.c
dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
dpkg-source: info: building wine-unstable in wine-unstable_1.5.0-1.dsc
 debian/rules build
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
sed -e 's/\(wine[a-z0-9_-]*\)/\1-unstable/g' \
   -e 's/\(gecko[a-z0-9_-]*\)-unstable/\1/' \
   -e 's/wine-doc-unstable/wine-doc/g' debian/control.in > debian/control
touch control-stamp
dh_testdir
touch build-indep-stamp
 fakeroot debian/rules binary
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
DEB_HOST_MULTIARCH is not a supported variable name at /usr/bin/dpkg-architecture line 226.
# Create transitional packages
dh_testdir
dh_testdir
dh_testroot
dh_testroot
dh_installdirs -i
# create installation directories
dh_installdirs -s
dh_installdirs: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_testdir
bash debian/doclink.sh libwine-unstable
dh_installdocs -plibwine-unstable
dh_testroot
dh_installdocs -i
dh_installchangelogs -plibwine-unstable
dh_installdocs: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_installchangelogs -i
dh_installchangelogs: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_compress -i
dh_compress: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_fixperms -i
dh_fixperms: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_installdeb -i
dh_installdeb: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_gencontrol -i
dh_gencontrol: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_md5sums -i
dh_compress -s
dh_md5sums: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_builddeb -i
dh_builddeb: You asked that all arch in(dep) packages be built, but there are none of that type.
dh_fixperms -s
dh_installdeb -s
dh_gencontrol -s
dh_md5sums -s
dh_builddeb -s
dpkg-deb: warning: 'debian/wine-unstable/DEBIAN/control' contains user-defined field 'Multi-Arch'
dpkg-deb: building package `wine-unstable' in `../wine-unstable_1.5.0-1_amd64.deb'.
dpkg-deb: warning: ignoring 1 warning about the control file(s)

 dpkg-genchanges  >../wine-unstable_1.5.0-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build wine-unstable-1.5.0
dpkg-buildpackage: full upload (original source is included)

solution:

$ dget -u http://dev.carbon-project.org/debian/wine-unstable/wine-unstable_1.5.5-0.1.dsc   

And then simply fix gcc-4.5 -> gcc-4.5 if building on amd64 :)

No comments: