Red Hat Bugzilla – Bug 87520
Graphical config tool does not see last package in ecos.db
Last modified: 2007-04-18 12:52:31 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET
Description of problem:
The graphical configuration tool (as supplied with 2.0b1) does not see the
last 'package' entry in the ecos.db file.
In the 2.0b1 repository, the last package (not target) entry is 'Allied Telesyn
TS1000 ethernet driver'. But if you select:
build->Packages from the menu and attempt to add the package it is not listed
under the 'Available packages'.
If you now add a new package using the package administration tool (the lwip
package for example), then when you select build->packages the 'Allied Telesyn
TS1000 ethernet driver' is now listed but the 'lwip' package is not.
This is seen on a Win2K PC running Cygwin.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Start the graphical config tool and select Build->Packages from the menu.
2. In the available packages window look for the 'Allied Telesyn TS1000
ethernet driver' (the last package in the 2.0b1 ecos.db file). It is not there.
3. In the available packages window look for the 'Flash memory support for
Allied Telesyn TS1000 ...' (the 2nd to last package in the 2.0b1 ecos.db
file). It is there.
4. Close the graphical config tool and hand edit the ecos.db file to swap round
the order of the 2 packages.
5. Repeat steps 1 to 3 to see the ethernet driver package is now seen, but the
FLASH support package is not.
Problem reproduced, identified and (trivially) fixed. A 'for' loop which
populates the packages lists in the packages dialog was terminating
prematurely. I have checked the fix in to anonCVS and it should appear in the
eCos 2.0 final release.
Thanks for the clear and concise bug report!