[Home]

Summary:ASTERISK-18141: "make menuselect" in 1.8.5.0 does not alphabetically sort options
Reporter:Richard Miller (ulogic)Labels:
Date Opened:2011-07-14 22:54:21Date Closed:2011-07-27 15:17:25
Priority:MinorRegression?
Status:Closed/CompleteComponents:General
Versions:1.8.5.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) menuselect.tar
( 1) sort-order.diff
Description:"make menuselect" in version 1.8.5.0 no longer sorts the options.  This was not the case in the the prior version 1.8.4.4.  This makes it difficult to compare build options between versions.  It is most apparent when selecting Applications, Channel Drivers, Codec Translators, and Dialplan Functions.
Comments:By: Sean Bright (seanbright) 2011-07-27 10:27:42.168-0500

Can you take a screenshot (if possible)?  I'm seeing everything sorted (except compiler flags).

By: Richard Miller (ulogic) 2011-07-27 12:41:54.782-0500

I tried "make menuselect" on 4 different machines.  The two old ones using Fedora 5 and SuSE 10.1 with GCC 4.1 don't exhibit the problem.  The two newer ones using Fedora 14 and SuSE 11.4 with GCC 4.5 have the problem.  The attached archive has 4 screenshots from each of the Fedora and SuSE machines because of different ncurses implementations.

By: Tilghman Lesher (tilghman) 2011-07-27 13:36:18.180-0500

The options are explicitly sorted by most-used-first.  It's not an alpha-sort.  This is intentional.

By: Sean Bright (seanbright) 2011-07-27 13:41:32.266-0500

Could you try the attached patch?  Do a `make distclean` before testing.  I doubt it will work but it's worth a shot.

By: Leif Madsen (lmadsen) 2011-07-27 14:14:58.656-0500

Works for me!

By: Richard Miller (ulogic) 2011-07-27 14:17:58.308-0500

The patch corrected the problem in both the Fedora 14 and SuSE 11.4 distros.  Thanks!