Opened 10 years ago

Closed 4 years ago

#42630 closed defect (fixed)

avahi @0.6.31_12: fails to configure

Reported by: petrrr Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pixilla (Bradley Giesbrecht), cooljeanius (Eric Gallager), chrstphrchvz (Christopher Chavez)
Port: avahi

Description

I cannot update avahi because it fails on the configure step. I am running on OS X 10.8, MacPorts 2.2.1, Xcode 4.6.2, Build version 4H1003

main.log attached

Attachments (1)

avahi.main.log (147.3 KB) - added by petrrr 10 years ago.

Download all attachments as: .zip

Change History (14)

Changed 10 years ago by petrrr

Attachment: avahi.main.log added

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Is your cairo installed with the +quartz variant, like your gtk2 is?

comment:2 Changed 10 years ago by petrrr

It is not! I thought it was, but the cairo @1.12.16_2+universal+x11, seems to have been installed at some point later ...

petr% port installed gtk2 cairo
The following ports are currently installed:
  cairo @1.12.16_2+quartz+x11
  cairo @1.12.16_2+universal+x11 (active)
  cairo @1.12.16_2+x11
  gtk2 @2.24.22_1+quartz (active)
  gtk2 @2.24.22_1+x11

So I probably need to fix this, but what will I break then?

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

You can install cairo +x11+quartz (and even +universal, if you have to). That should fix it.

comment:4 in reply to:  2 Changed 10 years ago by cooljeanius (Eric Gallager)

Replying to Peter.Danecek@…:

It is not! I thought it was, but the cairo @1.12.16_2+universal+x11, seems to have been installed at some point later ...

petr% port installed gtk2 cairo
The following ports are currently installed:
  cairo @1.12.16_2+quartz+x11
  cairo @1.12.16_2+universal+x11 (active)
  cairo @1.12.16_2+x11
  gtk2 @2.24.22_1+quartz (active)
  gtk2 @2.24.22_1+x11

So I probably need to fix this, but what will I break then?

Unlike most other things with both +quartz and +x11 variants, cairo's +quartz and +x11 variants can both be selected simultaneously. So I would not worry about it breaking anything.

comment:5 Changed 10 years ago by petrrr

I actually tried to reactivate cairo @1.12.16_2+quartz+x11. But rev-upgrade reverted the change, so I am now rebuilding with +universal, to see if this makes the trick.

Anyway, if it is save to have +quartz+x11 variant, why not make it the default, so that is can serve almost all ports or does this involves too many dependencies?

comment:6 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 10 years ago by petrrr

Okay I build with cairo with +quartz+x11+universal variants and now also avahi builds fine. So basically it is only the depencency handling which might be somewhat cleaner.

Thanks for helping with this!

Last edited 10 years ago by petrrr (previous) (diff)

comment:8 in reply to:  7 Changed 10 years ago by cooljeanius (Eric Gallager)

Replying to Peter.Danecek@…:

So basically it is only the depencency handling which might be somewhat cleaner.

Which in other words means using require_active_variants for cairo as well. Avahi already checks the variants of gtk2 with require_active_variants, so it should be easy just to do likewise with cairo.
(Of course it would be easier if #126 ever gets fixed, but that looks like that will never happen...)

Thanks for helping with this!

You're welcome!

comment:9 Changed 10 years ago by petrrr

I realize the pixilla dropped maintainership. So what to do about this ticket? Anyone willing to commit the proposed change before this ticket is closed?

comment:10 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Attaching a patch to the ticket will be helpful.

comment:11 Changed 5 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:12 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:13 Changed 4 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

No response from reporter. Assuming the update fixed this.

Note: See TracTickets for help on using tickets.