Opened 11 years ago

Closed 3 years ago

#39541 closed defect (fixed)

gimp2 @2.8.6_0 +help_browser +python27 +quartz build fails

Reported by: dstrubbe (David Strubbe) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: dstrubbe (David Strubbe)
Port: gimp2 py27-pygtk

Description

gimp2 fails to upgrade for me, from gimp2 @2.8.4_6+help_browser+python27+quartz on MacOS 10.8.4 with XCode 4.6.3. I have py27-pygtk @2.24.0_1+quartz active, but it cannot find a header file which I assume from the name is supposed to come from that port. However, it is not listed in "port contents py27-pygtk." So, something seems wrong with gimp2 dependencies, or with the contents of py27-pygtk port.

:info:build gimpuimodule.c:26:10: fatal error: 'pygtk/pygtk.h' file not found
:info:build #include <pygtk/pygtk.h>
:info:build          ^
:info:build 1 warning generated.
:info:build 1 warning generated.
:info:build 1 warning and 1 error generated.
:info:build make[4]: *** [gimpuimodule.lo] Error 1

Attachments (1)

main.log (600.6 KB) - added by dstrubbe (David Strubbe) 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by dstrubbe (David Strubbe)

Attachment: main.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: devans@… removed
Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Status: newassigned

comment:3 Changed 10 years ago by dstrubbe (David Strubbe)

I looked some more into this problem, and discovered that it went away when I reinstalled py27-pygtk+quartz. The file pygtk/pygtk.h is supposed to be provided by that port, but it was not in my initial installation for some reason, so there doesn't seem to be a problem with gimp2, just with py27-pygtk. I saved 'port contents' from the initial one and compared to the new one and found all of these extra files in the new one. This seems to be a persistent problem with py-pygtk, as I found almost exactly the same report in ticket #16322. I believe that py*-pygtk is not making reproducible builds, and sometimes just doesn't install some of the files.

>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/pygtk-2.0/pygtk/pygtk.h
106a107,127
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.pyc
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.pyo
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.la
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_gtk.so
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_lazyutils.py
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_lazyutils.pyc
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/_lazyutils.pyo
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/compat.py
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/compat.pyc
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/compat.pyo
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/deprecation.py
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/deprecation.pyc
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/deprecation.pyo
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/glade.la
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/glade.so
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/keysyms.py
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/keysyms.pyc
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/keysyms.pyo
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtkunixprint.la
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtkunixprint.so
112a134,171
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.10.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.12.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.14.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.16.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.18.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.20.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.22.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-2.24.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-base-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-base.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gdk.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.10-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.10.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.12-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.12.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.14-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.14.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.16-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.16.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.18-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.18.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.20-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.20.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.22-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.22.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.24-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-2.24.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-base-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-base.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-extrafuncs.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtk.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtkunixprint-2.12.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtkunixprint-2.14.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtkunixprint-base-types.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/gtkunixprint-base.defs
>   /opt/local/Library/Frameworks/Python.framework/Versions/2.7/share/pygtk/2.0/defs/libglade.defs

comment:4 Changed 10 years ago by dstrubbe (David Strubbe)

Cc: dstrubbe@… added

Cc Me!

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

This ticket is eight years old, and relates to a MUCH older version of GIMP. Apparently the problem was also resolved when uninstalling and reinstalling port dependencies. Closing.

Note: See TracTickets for help on using tickets.