Opened 2 years ago

#20480 new defect

menuconfig missing packages when using variants and submenus

Reported by: openwrt@… Owned by: developers
Priority: normal Milestone:
Component: other Version: Trunk
Keywords: Cc:


Due to the way tmp/ is generated, if one does not use package names that ensure all menu items of a particular variants are not sorted together, then tmp/ mixes different submenus together (since the generator puts the items in this file in lexical sort order) and that causes the mixed up items not to appear on menuconfig (the config system requires all submenu items to be grouped together).

For instance:

If you have sane-libs-backend-abaton and sane-libs-backend-abaton-ssl (and so for abaton, canon, etc), then the packages will be in tmp/ in *sort* order and not grouped so that all the -ssl entries are together. Because of that, the submenu which depend on e.g. sane and sane-ssl, will not display since all items for sane and all items for sane-ssl are not grouped under their respective toplevel but are instead intermixed.

At the moment the work around I use in the package feed I am working on (which has things like better nut packaging, resurrects and freshens sane, cups, and hplip and other goodies) is to make sure the package names are like:

sane-libs-backends-abaton and sane-z-ssl-libs-backend-abaton and sane and sane-z-ssl, so that all items for a particular variant sort together.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.