Bug#325374: dia: FTBFS: could not find pygtk module

Andreas Jochens aj at andaco.de
Sun Aug 28 12:01:19 UTC 2005


Hello,

thank you for looking at this and for your quick reply.

On 05-Aug-28 11:00, Roland Stigge wrote:
> Hi,
> 
> Roland Stigge wrote:
> > The severity "normal" seems to be fine since most people building dia
> > (including the buildds) don't have this problem.
> 
> I wonder how this problem can occur at all. Even when building from a
> Linux tty console (without X), it works fine for me. I think you are
> building under X with a strange X access configuration. And I wonder if
> we should drop the pygtk check at all because it is there for a reason.

I can reliably reproduce the problem on at least three different
machines running the current 'unstable' distribution by executing
the following simple script:

#!/bin/sh
CHROOT=chroot.sid

debootstrap --include=libstdc++6,gcc-4.0-base \
 sid $CHROOT http://ftp.debian.org/debian

( echo "deb http://ftp.debian.org/debian unstable main"; \
  echo "deb-src http://ftp.debian.org/debian unstable main" ) \
  > $CHROOT/etc/apt/sources.list

chroot $CHROOT sh -c "apt-get -y update; apt-get -y update;\
 DEBIAN_FRONTEND=noninteractive apt-get -y build-dep dia; \
 apt-get -y source dia; \
 cd dia-0.94.0; \
 dpkg-buildpackage -b"

What am I doing wrong here? Does the build rely on an external X
server running outside the chroot?

Regards
Andreas Jochens





More information about the Pkg-gnome-maintainers mailing list