Your message dated Sun, 06 May 2007 21:41:56 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#325374: dia: FTBFS: could not find pygtk module
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dia
Version: 0.94.0-12
Severity: normal
Tags: patch

When building 'dia' in a clean unstable chroot,
I get the following error:

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... X11 connection rejected because of wrong 
authentication.
no
configure: error: could not find pygtk module
make: *** [build-stamp] Error 1

Regards
Andreas Jochens

diff -urN ../tmp-orig/dia-0.94.0/configure.in ./configure.in
--- ../tmp-orig/dia-0.94.0/configure.in 2004-08-17 15:03:26.000000000 +0000
+++ ./configure.in      2005-08-27 17:54:47.000000000 +0000
@@ -401,7 +401,6 @@
 
 if test "x$with_python" != xno; then
   AM_PATH_PYTHON(1.5.2)
-  AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(could not find pygtk module)])
   AM_CHECK_PYTHON_HEADERS
   AM_CHECK_PYTHON_LIB
 
diff -urN ../tmp-orig/dia-0.94.0/configure ./configure
--- ../tmp-orig/dia-0.94.0/configure    2004-08-18 15:36:58.000000000 +0000
+++ ./configure 2005-08-27 17:55:42.000000000 +0000
@@ -25277,44 +25277,6 @@
 echo "${ECHO_T}looks good" >&6
 
 
-py_mod_var=`echo gtk'_' | sed 'y%./+-%__p_%'`
-echo "$as_me:$LINENO: checking for python module gtk" >&5
-echo $ECHO_N "checking for python module gtk... $ECHO_C" >&6
-if eval "test \"\${py_cv_mod_$py_mod_var+set}\" = set"; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
-prog="
-import sys
-try:
-        import gtk
-except ImportError:
-        sys.exit(1)
-except:
-        sys.exit(0)
-sys.exit(0)"
-if $PYTHON -c "$prog" 1>&5 2>&5
-  then
-    eval "py_cv_mod_$py_mod_var=yes"
-  else
-    eval "py_cv_mod_$py_mod_var=no"
-  fi
-
-fi
-
-py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
-if test "x$py_val" != xno; then
-  echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-  else
-  echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-  { { echo "$as_me:$LINENO: error: could not find pygtk module" >&5
-echo "$as_me: error: could not find pygtk module" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
 echo "$as_me:$LINENO: checking for headers required to compile python 
extensions" >&5
 echo $ECHO_N "checking for headers required to compile python extensions... 
$ECHO_C" >&6
 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`


--- End Message ---
--- Begin Message ---
Version: 0.96.1-2

Andreas Jochens wrote:
>> there was no activity on this bug since 2005. Can you still reproduce
>> this problem with the new dia version >=0.96.1-2 in Debian? Otherwise, I
>> would like to close this bug.
> 
> No, I can not reproduce it with the new version. Please close the bug.

Thanks for the note. Doing so now.

Roland

--- End Message ---

Reply via email to