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

Roland Stigge stigge at antcom.de
Sun Aug 28 13:13:14 UTC 2005


Hi Andreas,

Andreas Jochens wrote:
> 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?

For me, this works fine here:

[...]
checking for math.h... yes
checking for isinf in -lm... yes
checking if C compiler accepts -Wall... yes
checking if C compiler accepts -Wunused... yes
checking if C compiler accepts -Wmissing-prototypes... yes
checking if C compiler accepts -Wmissing-declarations... yes
checking if C compiler accepts -finline-functions... yes
checking if C compiler accepts -fstrict-aliasing... yes
checking for db2html... no
checking for python... /usr/bin/python
checking if Python version >= 1.5.2... okay
checking local Python configuration... checking for  script directory...
/usr/lib/python2.3/site-packages
checking for  extension module directory... /usr/lib/python2.3/site-packages
looks good
checking for python module gtk... yes
checking for headers required to compile python extensions... found
checking for libpython2.3.a... found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/pixmaps/Makefile
[...]

I also built with X down.

Are there any special details in your environment? Please shut down your
X and try from a tty console. Does anything change?

bye,
  Roland





More information about the Pkg-gnome-maintainers mailing list