[pkg-wine-party] Further adventures in building Wine (1.9.4) on Debian

Adam Baxter voltagex at voltagex.org
Sun Feb 21 10:59:59 UTC 2016


Hi all,
Since 1.9.4 was released I thought I'd try it out to see if my
favourite games worked any better. Turns out this was an all day task.
apt-get install git-buildpackage. The last time I tried this was 1.7.32.

gbp clone git://anonscm.debian.org/pkg-wine/wine.git # turns out if
you use git://git.debian.org, the python script just hangs forever. I
should probably log a bug.

# Build chroots
DIST=sid ARCH=i386 git pbuilder create
DIST=sid ARCH=amd64 git pbuilder create

admin at ip-172-30-0-73:~/wine$ ./debian/rules
sed s/VERSION/-development/g < debian/control.in > debian/control
make: pkg-config: Command not found

# that's an odd error.

sudo apt-get -y install pkg-config

admin at ip-172-30-0-73:~/wine$ ./debian/rules
make: 'debian/control' is up to date.

admin at ip-172-30-0-73:~/wine$ ./debian/rules
sed s/VERSION/-development/g < debian/control.in > debian/control
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found

# surely I don't need gstreamer on the host system if I'm building in
a chroot. I'll ignore it for now

admin at ip-172-30-0-73:~/wine$ ARCH=i386 DIST=sid gbp buildpackage
--git-pbuilder --git-ignore-new
gbp:error: upstream/1.9.3 is not a valid treeish

admin at ip-172-30-0-73:~/wine$ dch -v 1.9.4-local
admin at ip-172-30-0-73:~/wine$ git add debian/changelog && git commit
admin at ip-172-30-0-73:~/wine$ ARCH=i386 DIST=sid gbp buildpackage
--git-pbuilder --git-ignore-new --git-upstream-tag=wine-1.9.4
gbp:info: wine-development_1.9.4.orig.tar.gz does not exist, creating
from 'wine-1.9.4'

Building with cowbuilder for distribution sid, architecture i386
W: /home/admin/.pbuilderrc does not exist
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>=
9.20151220) dh-autoreconf libxi-dev libxt-dev libxmu-dev libx11-dev
libxext-dev libxrandr-dev libxcursor-dev libxrender-dev libxkbfile-dev
libxxf86vm-dev libxxf86dga-dev libxinerama-dev libgl1-mesa-dev
libglu1-mesa-dev libxcomposite-dev libxml-simple-perl flex bison quilt
oss4-dev sharutils khronos-api unicode-data (>= 8.0-1~) libpng-dev
libssl-dev libxml2-dev libgsm1-dev libjpeg-dev libtiff-dev libpcap-dev
libpulse-dev liblcms2-dev libldap2-dev libxslt1-dev unixodbc-dev
libcups2-dev libopenal-dev libdbus-1-dev freeglut3-dev libmpg123-dev
libasound2-dev libosmesa6-dev libgnutls28-dev libncurses5-dev
libfreetype6-dev (>= 2.5.1) libfontconfig1-dev libgstreamer1.0-dev
ocl-icd-opencl-dev
W: Unmet build-dependency in source
dpkg-buildpackage: source package wine-development
dpkg-buildpackage: source version 1.9.4-local
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Debian <admin at ip-172-30-0-73>
 dpkg-source --before-build wine
dpkg-source: info: applying makefile.patch
dpkg-source: info: applying kfreebsd.patch
dpkg-source: info: applying sfnt2fon.patch
dpkg-source: info: applying manpages.patch
dpkg-source: info: applying disable/shlib-exit-calls.patch
dpkg-source: info: applying disable/external-installers.patch
dpkg-source: info: applying generate/opengl.patch
dpkg-source: info: applying generate/unicode.patch
patching file tools/make_unicode
Hunk #1 FAILED at 21.
Hunk #3 FAILED at 2376.
Hunk #4 FAILED at 2389.
3 out of 4 hunks FAILED
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/libs/wine/cptable.c
|+++ b/libs/wine/cptable.c
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'generate/unicode.patch' is correctly
applied by quilt, use 'quilt refresh' to update it
dpkg-source: info: restoring quilt backup files for generate/unicode.patch
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E
-b -B .pc/generate/unicode.patch/ --reject-file=- <
wine/debian/patches/generate/unicode.patch gave error exit status 1
dpkg-buildpackage: error: dpkg-source --before-build wine gave error
exit status 2


# Removed the broken patch, updated series

admin at ip-172-30-0-73:~/wine$ ARCH=i386 DIST=sid git-pbuilder login
--save-after-login
# installed builddeps for wine-development

admin at ip-172-30-0-73:~/wine$ ARCH=i386 DIST=sid gbp buildpackage
--git-pbuilder --git-ignore-new --git-upstream-tag=wine-1.9.4
Building with cowbuilder for distribution sid, architecture i386
W: /home/admin/.pbuilderrc does not exist
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>=
9.20151220) ... # rest are same as above
dh clean --parallel --with autoreconf
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
dh: unable to load addon autoreconf: Can't locate
Debian/Debhelper/Sequence/autoreconf.pm in @INC (you may need to
install the Debian::Debhelper::Sequence::autoreconf module) (@INC
contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2
/usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20
/usr/share/perl/5.20 /usr/local/lib/site_perl .) at (eval 11) line 2.
BEGIN failed--compilation aborted at (eval 11) line 2.

debian/rules:87: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
gbp:error: 'git-pbuilder' failed: it exited with 2

# huh? Didn't I already install these?

admin at ip-172-30-0-73:~/wine$ ARCH=i386 DIST=sid git-pbuilder login
--save-after-login
sudo: unable to resolve host ip-172-30-0-73
 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.15858
  forking: cp -al /var/cache/pbuilder/base-sid-i386.cow
/var/cache/pbuilder/build//cow.15858
I: removed stale ilistfile /var/cache/pbuilder/build//cow.15858/.ilist
 -> Invoking pbuilder
  forking: pbuilder login --buildplace
/var/cache/pbuilder/build//cow.15858 --no-targz --internal-chrootexec
chroot /var/cache/pbuilder/build//cow.15858 cow-shell
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: entering the shell
root at ip-172-30-0-73:/# apt-get install debhelper
Reading package lists... Done
Building dependency tree
Reading state information... Done
debhelper is already the newest version (9.20160115).




That's as far as I got. I'd appreciate any help, otherwise I'll just
wait for packages in experimental.

Thanks again for your patience,
Adam Baxter



More information about the pkg-wine-party mailing list