Opened 13 years ago

Last modified 3 years ago

#31499 new defect

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: ksammons@…
Port: Pallet

Description (last modified by mf2k (Frank Schima))

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 (7)

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

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

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

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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 13 years 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 13 years 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 years ago by ryandesign (Ryan Carsten Schmidt)

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

juanger has retired.

comment:6 Changed 9 years ago by jmroot (Joshua Root)

Cc: ksammons@… added

comment:7 Changed 3 years ago by kencu (Ken)

This ancient ticket refers (more or less) to a version of Pallet that no longer exists.

Pallet is presently broken, and has been for about 10 years.

The current best shot at building something would be to start with the github repo at <https://github.com/macports/pallet.git>

Note: See TracTickets for help on using tickets.