Opened 17 months ago

Closed 3 months ago

#66461 closed defect (worksforme)

port installs graphviz instead of graphviz-devel on PPC Leoprad, Mac OS X 10.5.8

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.8.0
Keywords: leopard ppc Cc: ryandesign (Ryan Carsten Schmidt), mascguy (Christopher Nielsen)
Port: graphviz-devel

Description

I am reorganising the installed ports in order to get rid of requested variants when they are already the default variants. Maybe I made a mistake by selfupdateing this morning before continuing. After forcibly uninstalling graphviz (was deactivated before) and graphviz-devel port has its own ideas and tries to install graphviz instead of graphviz-devel when I ask it to:

port -vds install graphviz-devel +gdk_pixbuf +poppler +rsvg

Attachments (2)

main.log (213.9 KB) - added by ballapete (Peter "Pete" Dyballa) 17 months ago.
Main.log from PPC Leopard
install gtk2 gtk3.png (2.9 KB) - added by ballapete (Peter "Pete" Dyballa) 17 months ago.
Screenshot of the compile command used in GNU Emacs

Download all attachments as: .zip

Change History (8)

Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

I encountered a similar inability to follow my orders when invoked port to install gttk2 gtk3 before going to sleep. Before I had both packages uninstalled. At daylight I fouund out that gtk2 had been installed with a requested_variants flag that I want to get rid of:

pete 194 /\ port -v installed gtk2
The following ports are currently installed:
  gtk2 @2.24.33_3+x11 (active) requested_variants='+x11' platform='darwin 9' archs='ppc' date='2022-12-13T04:18:55+0100'

I'll attach the compile command used in GNU Emacs as a screenshot.

Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: install gtk2 gtk3.png added

Screenshot of the compile command used in GNU Emacs

comment:2 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

The first issue (installing graphviz-devel installs graphviz) is #55393. If you want the +rsvg variant, install graphviz-devel without the +rsvg variant first.

The second issue (gtk2 installed with the +x11 variant marked requested) should only happen if you requested the +x11 variant. You showed in the image that you did not request it on the command line. Did you perhaps request it in variants.conf?

comment:3 Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

No. These are the files on Leoprad:

-r--r--r-- 1 root admin 461  1. Sep 2014  /opt/local/etc/macports/variants.conf
-rw-r--r-- 1 root admin 461 26. Feb 2015  /opt/mports/trunk/base/doc/variants.conf

All the examples are left as comments:

# $Id: variants.conf 106817 2013-06-08 20:54:25Z larryv@macports.org $

# MacPorts system-wide global variants configuration file.

# Any variants listed here are applied to all port builds. As on the
# command line, variants may be either enabled (+) or disabled (-), and
# unsupported variants are simply ignored.
#
# Each line must be a space- or tab-delimited list of zero or more
# variants.
#
# Example:
#   -x11 +no_x11 +quartz
#   +gcc48
#   +universal
# $Id: variants.conf 106817 2013-06-08 20:54:25Z larryv@macports.org $

# MacPorts system-wide global variants configuration file.

# Any variants listed here are applied to all port builds. As on the
# command line, variants may be either enabled (+) or disabled (-), and
# unsupported variants are simply ignored.
#
# Each line must be a space- or tab-delimited list of zero or more
# variants.
#
# Example:
#   -x11 +no_x11 +quartz
#   +gcc48
#   +universal

comment:4 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Ok, then I can't explain that, and I can't reproduce it on my system.

comment:5 Changed 3 months ago by ballapete (Peter "Pete" Dyballa)

This ticket could be closed.

comment:6 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign mascguy added; ryandesign@… mascguy@… removed
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.