Opened 6 years ago

Closed 6 years ago

#56694 closed defect (duplicate)

avahi-0.7_3 fails to configure

Reported by: tehcog (tehcog) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc: iqgrande
Port: avahi

Description

Jun 19 15:42:28 NerdCenter --->  Attempting to fetch avahi-0.7_3+gtk+gtk3+x11.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/avahi
Jun 19 15:42:29 NerdCenter --->  Verifying checksums for avahi
Jun 19 15:42:29 NerdCenter --->  Extracting avahi
Jun 19 15:42:29 NerdCenter --->  Applying patches to avahi
Jun 19 15:42:29 NerdCenter --->  Configuring avahi
Jun 19 15:42:41 NerdCenter Error: Failed to configure avahi, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_avahi/avahi/work/avahi-0.7/config.log
Jun 19 15:42:41 NerdCenter Error: Failed to configure avahi: configure failure: command execution failed
Jun 19 15:42:41 NerdCenter Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_avahi/avahi/main.log for details.

Looks like it cant find gdbm:

:info:configure checking for python module gdbm... no
:info:configure configure: error: Could not find Python module gdbm
:info:configure 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.7" && ./configure --prefix=/opt/local --disable-autoipd --disable-silent-rules --disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --with-distro=darwin --enable-compat-libdns_sd --disable-xmltoman --disable-tests --with-avahi-priv-access-group=admin --with-avahi-user=_avahi --with-avahi-group=_avahi --enable-introspection 
:info:configure Exit code: 1
:error:configure Failed to configure avahi, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_avahi/avahi/work/avahi-0.7/config.log
:error:configure Failed to configure avahi: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_avahi/avahi/main.log for details.

However,

xxx::xxx { ~ }-> port installed | grep gdbm
  gdbm @1.15_0 (active)
  py27-gdbm @2.7.15_0 (active)

Attachments (2)

main.log (39.4 KB) - added by tehcog (tehcog) 6 years ago.
main.log
config.log (203.6 KB) - added by tehcog (tehcog) 6 years ago.
config.log

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by tehcog (tehcog)

Attachment: main.log added

main.log

Changed 6 years ago by tehcog (tehcog)

Attachment: config.log added

config.log

comment:1 Changed 6 years ago by iqgrande

Cc: iqgrande added

comment:2 Changed 6 years ago by iqgrande

I also wanted to note that avahi port did not require py*-gdbm so when I saw that error I manually installed py27-gdbm and that did not solve the problem. I am unable to do a import gdbm or import dbm.gnu from MacPorts Python 2.7 and 3.6 (I get the following error).

>>> import dbm.gnu
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/dbm/gnu.py", line 3, in <module>
    from _gdbm import *
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/_gdbm.cpython-36m-darwin.so, 2): Library not loaded: /opt/local/lib/libgdbm.5.dylib
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/_gdbm.cpython-36m-darwin.so
  Reason: image not found

Moreover, after trying the overall Avahi upgrade which failed, I now have the following.

--->  Found 5 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 py36-gdbm @3.6.5
 py27-gdbm @2.7.15
 avahi @0.7+gtk+gtk3+x11
 pulseaudio @11.1+x11
 perl5.24 @5.24.4

This is the 2nd system of mine where this has happened. One of the systems is on the latest macOS Sierra while the other is on the latest macOS High Sierra.

comment:3 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.