[MacPorts] #34204: avahi upgrade fails
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- I just tried to upgrade avahi, but it fails: {{{ ---> Configuring avahi Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for avahi is at: /opt/macports-test/var/macports/logs/_opt_macports- test_var_macports_sources_rsync.macports.org_release_ports_net_avahi/avahi/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} Peeking into the log reveals: {{{ :info:configure checking for /opt/macports-test/bin/python2.7 extension module directory... /opt/macports- test/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site- packages :info:configure checking for python module gtk... no :info:configure configure: error: Could not find Python module gtk :info:configure shell command " cd "/opt/macports-test/var/macports/build /_opt_macports- test_var_macports_sources_rsync.macports.org_release_ports_net_avahi/avahi/work/avahi-0.6.31" && ./configure --prefix=/opt/macports-test --disable-autoipd --disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --with-distro=darwin --enable-compat-libdns_sd --disable-gtk3 --disable-xmltoman --enable- introspection=no --disable-tests " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for avahi): org.macports.install org.macports.configure org.macports.build org.macports.destroot :notice:configure Log for avahi is at: /opt/macports- test/var/macports/logs/_opt_macports- test_var_macports_sources_rsync.macports.org_release_ports_net_avahi/avahi/main.log }}} that python's gtk module cannot be found. Installed is, however, py27-gtk: {{{ $ port installed py*gtk The following ports are currently installed: py27-gtk @2.22.0_1 (active) }}} which obviously doesn't get found. -- Ticket URL: <https://trac.macports.org/ticket/34204> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- Comment(by mk@…): There was a time that I installed avahi w/o gtk like this {{{ sudo port install avahi@no_gtk }}} but the current port doesn't seem to do anything about it, since the above error message concerning Python being not able to find gtk appears in both cases... -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- Comment(by pixilla@…): The no_gtk variant was converted to the modern style gtk variant and made it a default, so the equivalent of "+no_gtk" would be "-gtk". I guess I could have provided a stub variant for a while. -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- Comment(by mk@…): Yep, I eventually had a look into the portfile. :-) But I couldn't run {{{ sudo port install avahi@-gtk }}} for some reason. gtk is the DEFAULT VARIANT... Wondering whether it is actually possible to disable it by the above line. -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- Comment(by pixilla@…): Drop the @ which is used for specifying a specific version of an installed port. {{{ port info avahi -gtk }}} -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- Comment(by mk@…): Ooohhhh, my goodness... What a mistake. Thanks, Brad!!! :-) That ran through no problem. Looks like one needs to take care with no_gtk variants. Looks like one needs to eradicate all these in order to let -gtk work fine, right? Apart from that I guess this ticket could be seen as closed. -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails -----------------------------+---------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: avahi -----------------------------+---------------------------------------------- Comment(by pixilla@…): Replying to [comment:5 mk@…]:
Looks like one needs to take care with no_gtk variants. Looks like one needs to eradicate all these in order to let -gtk work fine, right?
If you have no_gtk in variants.conf you can probably just add "-gtk" as well. I made the change because MacPorts has a preference to move away from "no_variant" style and instead setting "default_variants +variant". -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34204: avahi upgrade fails ------------------------------+--------------------------------------------- Reporter: mk@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: avahi | ------------------------------+--------------------------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/34204#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts