Opened 9 years ago

Closed 9 years ago

#49604 closed defect (invalid)

bison-runtime and bison conflict

Reported by: akimd (Akim Demaille) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: bison

Description

Hi!

In the process of migrating to El Capitan, restore-ports fails with:

--->  Activating bison @3.0.4_0
Error: org.macports.activate for port bison returned: Image error: /opt/local/share/locale/ast/LC_MESSAGES/bison-runtime.mo is being used by the active bison-runtime port.  Please deactivate this port first, or use 'port -f activate bison' to force the activation.
Error: Failed to install bison
Please see the log file for port bison for details:
    /opt/local/var/macports/logs/_Users_akim_src_ports_devel_bison/bison/main.log
Error: The following dependencies were not installed: bison

The bison-runtime should be a dependency of bison, imho. So bison should not try to install bison-runtime.mo.

Thanks!

Change History (3)

comment:1 in reply to:  description Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; mww@… openmaintainer@… removed
Owner: changed from macports-tickets@… to mww@…

Replying to akim.demaille@…:

--->  Activating bison @3.0.4_0
Error: org.macports.activate for port bison returned: Image error: /opt/local/share/locale/ast/LC_MESSAGES/bison-runtime.mo is being used by the active bison-runtime port.  Please deactivate this port first, or use 'port -f activate bison' to force the activation.
Error: Failed to install bison
Please see the log file for port bison for details:
    /opt/local/var/macports/logs/_Users_akim_src_ports_devel_bison/bison/main.log
Error: The following dependencies were not installed: bison

The bison-runtime should be a dependency of bison, imho. So bison should not try to install bison-runtime.mo.

bison-runtime already is a dependency of bison. This problem should not be happening.

I see you're trying to activate bison @3.0.4_0, which is out of date. The current version is @3.0.4_1. So try installing that instead by running "sudo port selfupdate" and "sudo port install bison".

comment:2 Changed 9 years ago by akimd (Akim Demaille)

Oh... Sorry, I had not noticed that I had a local Portfile for Bison 3.0.4 that was hiding the official one :( Even though the official one had a higher version number.

I apologize for the noise. This ticket should be closed.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Great, I'm glad you found the solution.

Note: See TracTickets for help on using tickets.