New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31499 (new defect)

Opened 20 months ago

Last modified 12 months ago

Pallet fails to list ports based on case sensitivity?

Reported by: jeremydouglass@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: Pallet

Description (last modified by macsforever2000@…) (diff)

I just installed a fresh MacPorts 2.0.3 install on a new MacBook Pro running Lion 10.7.1.

I then installed imagemagick and Pallet.

'port installed' lists imagemagick as installed:

  ...
  gperf @3.0.4_2 (active)
  help2man @1.40.4_1 (active)
  imagemagick @6.7.2-0_0+q16 (active)
  jpeg @8c_0 (active)
  lame @3.98.4_0 (active)
  ...

However Pallet does not. Searching or sorting for 'state is installed' lists:

...

  gperf
  help2man
  jpeg
  lame
  ...

...elsewhere, ImageMagick (not 'imagemagick') is listed as not installed. My guess is that this is a case sensitivity issue. If MacPorts allows 'imagemagick' to be installed and then lists it, then either macports should enforce correct case on install (ImageMagick) or else Pallet should be able to recognize case-insensitive matches to the installed list.

Change History

comment:1 Changed 20 months ago by macsforever2000@…

  • Owner changed from macports-tickets@… to juanger@…
  • Keywords installed search case sensitivity removed
  • Description modified (diff)

In the future, please Cc the maintainer(s) and use WikiFormatting.

comment:2 follow-up: ↓ 3 Changed 19 months ago by ryandesign@…

MacPorts does not allow "imagemagick" to be installed. If you say "sudo port install imagemagick", "ImageMagick" will be installed.

comment:3 in reply to: ↑ 2 Changed 19 months ago by jeremydouglass@…

Replying to ryandesign@…:

MacPorts does not allow "imagemagick" to be installed. If you say "sudo port install imagemagick", "ImageMagick" will be installed.

Did you actually read the description above? If you say "sudo port install imagmagick", then yes, ImageMagick is installed. *However* the case-insensitive form is recorded and reported back by "port intalled." So "port installed" reports "imagemagick". while Pallet fails to match it against "ImageMagick."

One could either argue that:
a) this is a bug, MacPorts should ignore "sudo port installed imagemagick" with some "port does not exist" error on case-sensitive operating systems, or
b) this is a bug, MacPorts should process "sudo port intalled imagemagick" but then install it such that "port installed" returns "ImageMagick",
c) this is a bug, the MacPorts behavior is just fine, and Pallet should correctly correlate whatever "port installed" reports, regardless of case

...but whichever way, it is a bug.

comment:4 Changed 19 months ago by jeremydouglass@…

...sorry, wrong tone. Thank you for clarifying the command that caused this behavior -- I should have included it in the original report.

comment:5 Changed 12 months ago by ryandesign@…

  • Owner changed from juanger@… to macports-tickets@…

juanger has retired.

Note: See TracTickets for help on using tickets.