Ticket #605 (closed ebuild-defect: upstream)

Opened 21 months ago

Last modified 21 months ago

LINGUAS flags ordered alphabetically

Reported by: civilian Owned by:
Priority: Sometime Milestone:
Component: clients/paludis Version: 0.26.2
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

Some ebuilds depend on the order of the LINGUAS flags to determine language settings. Paludis orders the LINGUAS flags alphabetically causing problems for these ebuilds.

Change History

Changed 21 months ago by ciaranm

  • status changed from new to closed
  • resolution set to upstream

Ebuild bug. LINGUAS, USE etc aren't supposed to be in any particular order.

Changed 21 months ago by civilian

  • status changed from closed to reopened
  • resolution upstream deleted

Can you at least add a command line option to disable alphabetical use flags sorting? (Since no one is willing to change the ebuilds)

Changed 21 months ago by ciaranm

  • status changed from reopened to closed
  • resolution set to upstream

No. There's no well defined ordering available, so Paludis uses an entirely arbitrary ordering that happens to correspond to what C++ operator< does on a string. Consider the following, for example:

*/* linguas: en
foo/* linguas: -* fr de
foo/bar linguas: es
>=foo/bar-2.3 linguas: it
<=foo/bar-2.5 linguas: -it cn

Changed 21 months ago by civilian

Surely good program design can fix this kind of problem.

Changed 21 months ago by ciaranm

Er, no. Use flags are, by their very definition, merely simple boolean switches. This is a bad ebuild design issue.

Note: See TracTickets for help on using tickets.