! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Build error in pyexobinding.c building on 4.4, FC5 (using installer)
Status:
CLOSED: INVALID

Comments

Description greg 2007-01-25 01:26:02 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7
Build Identifier: 

(note - there is no 4.4 version available in the pulldown here on bugzilla)

See log below:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/u/gbell/local_root/include -I/usr/include -I/opt/include -DHAVE_GNUC_VISIBILITY -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/u/gbell/local_root/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -I/opt/bin/../python-2.2.3/include/python2.2 -I/u/gbell/local_root/include -I/usr/include -I/opt/include -O2 -pipe -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -MT _exo_la-exomodule.lo -MD -MP -MF .deps/_exo_la-exomodule.Tpo -c exomodule.c  -fPIC -DPIC -o .libs/_exo_la-exomodule.o
pyexobinding.c: In function 'pyexo_binding_is_bound':
pyexobinding.c:294: warning: return makes pointer from integer without a cast
pyexobinding.c: In function 'pyexo_binding_transform':
pyexobinding.c:333: error: 'PyGILState_STATE' undeclared (first use in this function)
pyexobinding.c:333: error: (Each undeclared identifier is reported only once
pyexobinding.c:333: error: for each function it appears in.)
pyexobinding.c:333: error: expected ';' before 'state'
pyexobinding.c:338: error: 'state' undeclared (first use in this function)
pyexobinding.c: In function 'pyexo_mutual_binding_is_bound':
pyexobinding.c:513: warning: return makes pointer from integer without a cast
pyexobinding.c: In function 'pyexo_mutual_binding_transform':
pyexobinding.c:552: error: 'PyGILState_STATE' undeclared (first use in this function)
pyexobinding.c:552: error: expected ';' before 'state'
pyexobinding.c:557: error: 'state' undeclared (first use in this function)
pyexobinding.c: In function 'pyexo_mutual_binding_rtransform':
pyexobinding.c:595: error: 'PyGILState_STATE' undeclared (first use in this function)
pyexobinding.c:595: error: expected ';' before 'state'
pyexobinding.c:600: error: 'state' undeclared (first use in this function)
gmake[4]: *** [_exo_la-pyexobinding.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/u/gbell/local_root/include -I/usr/include -I/opt/include -DHAVE_GNUC_VISIBILITY -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/u/gbell/local_root/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -I/opt/bin/../python-2.2.3/include/python2.2 -I/u/gbell/local_root/include -I/usr/include -I/opt/include -O2 -pipe -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -MT _exo_la-exomodule.lo -MD -MP -MF .deps/_exo_la-exomodule.Tpo -c exomodule.c -o _exo_la-exomodule.o >/dev/null 2>&1
gmake[4]: Leaving directory `/tmp/xfce4-4.4.0-installer/exo/python'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/xfce4-4.4.0-installer/exo/python'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/xfce4-4.4.0-installer/exo/python'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/xfce4-4.4.0-installer/exo'
gmake: *** [all] Error 2
!! Failed to build exo, see the errors above
!! for details on the problem.


Reproducible: Always

Steps to Reproduce:
sh ./xfce4-4.4.0-installer.run
Password:
Verifying file integrity... OK.
Extracting the installer... OK.
Checking for usable C compiler... gcc
Checking for usable C++ compiler... g++
Checking for GNU make... gmake
Checking for package config tool... pkg-config
Checking for GLib (GModule) >= 2.6.0... detected 2.10.1 in /usr
Checking for Gtk+ >= 2.6.0... detected 2.8.20 in /usr
Compiling installer-gui... OK (ignored warnings)
Running installer-gui...

only odd thing i did was tell it to install in /home/me/local_root
Comment 1 Benedikt Meurer editbugs 2007-01-25 10:02:57 CET
Which version of Python and PyGTK is installed?
Comment 2 greg 2007-01-25 21:30:46 CET
Python 2.2.3 (#1, Sep  9 2003, 17:55:52)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-113)] on linux2

and

pygtk2-devel-2.8.4-1.1
Comment 3 greg 2007-02-12 01:03:30 CET
Just a note that this problem eventually went away.  Not sure why... after installing some other stuff (which shouldn't have impacted Python/PythonGTK) the installation GUI just worked.  hmmm....
Comment 4 Benedikt Meurer editbugs 2007-02-12 18:56:42 CET
Dunno maybe it build with some old python headers in place.

Bug #2816

Reported by:
greg
Reported on: 2007-01-25
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information