Opened 11 years ago
Closed 5 years ago
#39303 closed defect (fixed)
avahi @0.6.31 fails to upgrade to revision 8
Reported by: | nonstop.server@… | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | cooljeanius (Eric Gallager), chrstphrchvz (Christopher Chavez) | |
Port: | avahi |
Description
Port avahi fails to upgrade from version 0.6.31_7 to 0.6.31_8 with error message:
checking for /opt/local/bin/python2.7 extension module directory... /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages checking for python module gtk... no configure: error: Could not find Python module gtk Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_avahi/avahi/work/avahi-0.6.31" && ./configure --prefix=/opt/local --disable-autoipd --disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --with-distro=darwin --enable-compat-libdns_sd --disable-gtk3 --disable-xmltoman --enable-introspection --disable-tests Exit code: 1 Error: org.macports.configure for port avahi returned: configure failure: command execution failed DEBUG: Error code: NONE
Current installed version for avahi was already installed with variant +gtk on my system.
% port installed name:avahi The following ports are currently installed: avahi @0.6.31_7+gtk+python27+x11 (active)
The following gtk ports are installed on my system:
% port installed name:gtk The following ports are currently installed: bzr-gtk @0.100.0_3 (active) gtk-doc @1.18_0+python27 (active) gtk2 @2.24.18_1+x11 (active) py27-pygtk @2.24.0_1+x11 (active)
Version Information:
Mac OS Version: ProductName: Mac OS X ProductVersion: 10.5.8 BuildVersion: 9L31a Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 Xcode Version: Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 Macports Version: Version: 2.1.3
Attachments (4)
Change History (14)
Changed 11 years ago by nonstop.server@…
comment:1 follow-up: 3 Changed 11 years ago by cooljeanius (Eric Gallager)
Changed 11 years ago by nonstop.server@…
Attachment: | config.log.bz2 added |
---|
comment:3 Changed 11 years ago by nonstop.server@…
Replying to egall@…:
Sure, my config.log has been attached.
comment:4 Changed 11 years ago by mf2k (Frank Schima)
Cc: | pixilla@… removed |
---|---|
Owner: | changed from macports-tickets@… to pixilla@… |
comment:5 Changed 11 years ago by khepler
Leopard/PPC system here.
Avahi built fine yesterday. Macports detected py27-pygtk as a broken binary and rebuilt it after avahi successfully upgraded. Now Macports detects avahi as a broken binary and fails to detect pygtk module.
I'm seeing a similar error as comment 8 in #12966:
Python 2.7.5 (default, May 20 2013, 02:09:58) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gtk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module> from gtk import _gtk File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cairo/__init__.py", line 1, in <module> from _cairo import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cairo/_cairo.so, 2): Symbol not found: _cairo_xlib_surface_get_width Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cairo/_cairo.so Expected in: /opt/local/lib/libcairo.2.dylib >>>
So far my workaround is to build avahi with -gtk variant.
Update: My problem appeared to be because python27 and its modules (py27-pygtk, py27-cairo) were built with different versions of GCC. I rebuilt python27 and py27-cairo with identical configure.compiler values and avahi now detects pygtk, builds and installs.
comment:6 Changed 11 years ago by nonstop.server@…
This is also an issue with avahi 0.6.31 revision 9, main and config logfiles have been attached.
Changed 11 years ago by nonstop.server@…
Attachment: | main_r108416.log.bz2 added |
---|
Changed 11 years ago by nonstop.server@…
Attachment: | config_r108416.log.bz2 added |
---|
comment:7 Changed 6 years ago by mf2k (Frank Schima)
Owner: | pixilla deleted |
---|---|
Status: | new → assigned |
See #57827
comment:8 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
The portfile for avahi
has since had a few changes and has been updated to 0.7, is this issue still present?
comment:9 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:10 Changed 5 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
No response from reporter.
hm, could you include your
config.log
as well?Edit: this might be #34271, but it'd still be a good idea to check the
config.log
to be sure...