Opened 11 years ago

Closed 11 years ago

#39880 closed defect (duplicate)

gnumeric 1.10.17_4 has ispell/aspell conflict

Reported by: beany_kelly@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: aspell Cc: cooljeanius (Eric Gallager)
Port: gnumeric

Description

My attempt to "port upgrade outdated" just failed for the gnumeric package. Here's the screen output:

$ sudo port upgrade gnumeric

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid

--->  Computing dependencies for aspell
Error: Unable to exec port: Can't install aspell because conflicting ports are installed: ispell

This looks similar to reported bug #31722, but I do *not* have enchant installed on my system. The diff from the port upgrade for gnumeric only shows that "goffice" being replaced by "goffice08", but "goffice08" apparently installed without problems.

Change History (9)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

This looks similar to reported bug #31722, but I do *not* have enchant installed on my system.

Enchant is now getting pulled in as a recursive dependency via yelp:

Local-Admins-MacBook-Pro:~ root# port rdeps gnumeric
The following ports are dependencies of gnumeric @1.10.17_4+python27+universal:
...
  yelp
...
    webkit-gtk
...
      enchant
        aspell

The diff from the port upgrade for gnumeric only shows that "goffice" being replaced by "goffice08", but "goffice08" apparently installed without problems.

I assume you're talking about r108290 when you mention the "diff". However, its dependency, yelp, is what has changed here, by now depending on webkit-gtk: r107296

What version are all of your relevant installed ports here? You can find this with the following:

port installed gnumeric
port installed yelp
port installed webkit-gtk
port installed ispell

(I'd include Enchant, but you said you didn't have that installed, so I'll trust you on that...)

comment:2 Changed 11 years ago by beany_kelly@…

Hi. Sorry for the incomplete version info before. For reference, my machine is a 2009 Macbook Pro, running 10.8.4. Having just done a selfupdate, I'm on Macports 2.2.0. As for the specific ports you queried above,

$ port installed gnumeric
The following ports are currently installed:
  gnumeric @1.10.17_2+python27
  gnumeric @1.10.17_3+python27 (active)

$ port installed yelp
None of the specified ports are installed.

$ port installed webkit-gtk
None of the specified ports are installed.

$ port installed ispell
The following ports are currently installed:
  ispell @3.3.02_2 (active)

$ port installed enchant
None of the specified ports are installed.

That is, none of enchant, yelp, or webkit-gtk are (apparently installed on my system). So it's a bit more indirect than that ...

Version 1, edited 11 years ago by beany_kelly@… (previous) (next) (diff)

comment:3 in reply to:  2 ; Changed 11 years ago by c.herbig@…

Replying to beany_kelly@…:

ETA: I can see now from "port deps gnumeric" that yelp is a runtime (rather than build) dependency of gnumeric. Is it possible that yelp only became a dependency with the current version of gnumeric (1.10.17_4)?

Yes. You can remove that line from the portfile if you wish (you just won't be able to use the built in help). Yelp depends on webkit-gtk, which depends on a lot of other things, enchant being one.

Or actually, since you're already at 1.10.17_3, there really isn't a need to even upgrade it to 1.10.17_4

Last edited 11 years ago by c.herbig@… (previous) (diff)

comment:4 in reply to:  3 ; Changed 11 years ago by beany_kelly@…

Replying to c.herbig@…:

Replying to beany_kelly@…:

ETA: I can see now from "port deps gnumeric" that yelp is a runtime (rather than build) dependency of gnumeric. Is it possible that yelp only became a dependency with the current version of gnumeric (1.10.17_4)?

Yes. You can remove that line from the portfile if you wish (you just won't be able to use the built in help). Yelp depends on webkit-gtk, which depends on a lot of other things, enchant being one.

I don't know how to edit portfiles in this manner. It sounds a bit messy.

Or actually, since you're already at 1.10.17_3, there really isn't a need to even upgrade it to 1.10.17_4

Ah, but that spoils the simplicity of the "port upgrade outdated" maintenance paradigm. If I want to *avoid* upgrading just this one package, I have to do all the later (alphabetically) port upgrades by hand.

In fact, my temporary solution has been to uninstall gnumeric altogether. I don't remember why I needed it in the first case, and this is too much hassle. I'm CCed on the "make aspell optional in enchant" ticket (#39592).

comment:5 in reply to:  4 Changed 11 years ago by c.herbig@…

Replying to beany_kelly@…:

Ah, but that spoils the simplicity of the "port upgrade outdated" maintenance paradigm. If I want to *avoid* upgrading just this one package, I have to do all the later (alphabetically) port upgrades by hand.

True, it's not a long term solution, but I don't know what else to recommend at the moment.

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

Cc: egall@… added

Cc Me!

comment:7 in reply to:  4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to beany_kelly@…:

I don't know how to edit portfiles in this manner. It sounds a bit messy.

To edit the gnumeric portfile in your favorite editor (as indicated by the EDITOR environment variable), run:

sudo port edit gnumeric

Ah, but that spoils the simplicity of the "port upgrade outdated" maintenance paradigm. If I want to *avoid* upgrading just this one package, I have to do all the later (alphabetically) port upgrades by hand.

You could run:

sudo port upgrade outdated and not gnumeric

comment:8 Changed 11 years ago by c.herbig@…

Since the bug is actually #39592, is it alright to close this ticket now?

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

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