[Lsb-infrastructure] [Bug 1944] Memoize::NDBM_File should be exclude from Perl modules

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Sun Feb 17 23:36:56 PST 2008


http://bugs.linuxbase.org/show_bug.cgi?id=1944





--- Comment #1 from Denis Silakov <silakov at ispras.ru>  2008-02-17 23:36:54 ---
Created an attachment (id=804)
 --> (http://bugs.linuxbase.org/attachment.cgi?id=804)
Corrected get_perl_modules.sql

Well, simply there is one more field to be taken into account - ILMappearedin.
It stores LSB version where the module appeared in specification and is empty
for artifacts never been included in LSB.

The attached sql simply gets all modules ever been included in LSB and solves
the problem described here. But actually the combination of appearedin and
withdrawnin fields allows us to generate lists corresponding to different LSB
versions. For example, the following query should be performed to generate
module list for 3.2:

select ILMname from InterpretedLanguageModule
where ILMlanguage in (select ILid from InterpretedLanguage where ILname =
'Perl')
and ILMappearedin<>'' and ILMappearedin <= '3.2'
and (ILMwithdrawnin is NULL or ILMwithdrawnin > '3.2');

Thus, you can easily generate appchk-perl for different LSB versions from the
same sources, simply changing the argument given to the query.

Moreover, current tools support multiple LSB versions - you can take a look at
elfchk, for example, and at its mkmodlist, which generates 'modules.c' file
with lists of LSB submodules for given LSB versions.


-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-infrastructure mailing list