← Back to team overview

desktop-packages team mailing list archive

[Bug 829470] Re: Xvfb fails with empty /var/lib/xkb, causing build failures

 

In fakeroot 1.16-1, Debian added a patch to add access() support, to fix
debian bug #629956.

However, this broke apt (debian bug #630591) and other stuff (debian bug
#630129), and so the patch was reverted in fakeroot 1.17-1:

  http://packages.qa.debian.org/f/fakeroot/news/20110818T113211Z.html

As a workaround, you can make pygtk succeed via the LD_PRELOAD trick:

  G_HOME=/ PYTHON=/usr/bin/python$* LD_PRELOAD="" xvfb-run -s "-screen 0
1280x1024x24 -noreset" $(MAKE) -C build-$* check

The real solution is to pull fakeroot 1.17-1 and get rid of fakeroot's
bugged access().

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygtk in Ubuntu.
https://bugs.launchpad.net/bugs/829470

Title:
  Xvfb fails with empty /var/lib/xkb, causing build failures

Status in “fakeroot” package in Ubuntu:
  Triaged
Status in “pygtk” package in Ubuntu:
  Invalid
Status in “fakeroot” source package in Oneiric:
  Triaged
Status in “pygtk” source package in Oneiric:
  Invalid

Bug description:
  pygtk version 2.24.0-2 failed to build in oneiric
  Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2709047

  Details about the rebuild:
  http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

  Direct link to the build log: https://launchpad.net/ubuntu/+archive
  /test-rebuild-20110816/+build/2709047/+files/buildlog_ubuntu-
  oneiric-i386.pygtk_2.24.0-2_FAILEDTOBUILD.txt.gz

  This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
  Excerpt 7519 lines into the build log:

  	done
  # finally, install files from DESTDIR in the per-package dirs
  dh_install
  # install rtupdate script to handle Python default runtime change
  install -d debian/python-gtk2-dev/usr/share/python/runtime.d
  install debian/python-gtk2-dev.rtupdate debian/python-gtk2-dev/usr/share/python/runtime.d
  for i in $(find debian/python-*-dbg -name '*.so'); do \
  	  b=$(basename $i .so); \
  	  mv $i $(dirname $i)/${b}_d.so; \
  	done
  dh_testdir
  G_HOME=/ PYTHON=/usr/bin/python2.6 xvfb-run -s "-screen 0 1280x1024x24 -noreset" /usr/bin/make -C build-2.6 check
  xvfb-run: error: Xvfb failed to start
  make: *** [build-2.6/check-stamp] Error 1
  dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2
  ******************************************************************************
  Build finished at 20110818-0818
  FAILED [dpkg-buildpackage died]
  Purging chroot-autobuild/build/buildd/pygtk-2.24.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fakeroot/+bug/829470/+subscriptions


References