Bug#954335: lintian confuses Fortran and Modula-2 modules

2020-03-21 Thread Alastair McKinstry


On 20/03/2020 13:21, Matthias Klose wrote:
> On 3/20/20 2:15 PM, Felix Lechner wrote:
>> Hi Matthias,
>>
>> On Fri, Mar 20, 2020 at 5:57 AM Matthias Klose  wrote:
>>> so please differentiate between Fortran and Modula-2 modules.
>> I have had some issues differentiating gfortran modules (#948033). In
>> which folders do they usually reside, please?
>>
>> Also, why are they not all named md.gz, as in libcoarrays-dev?
> CCing Alastair. He's behind the Fortran policies.
>
> Currently Modula-2 modules can only be found in the lib*gm2 packages. Nothing
> else is packaged using Modula-2.

Fortran modules should be in either:

/usr/lib/$ARCH/fortran/$compiler_version

with $compiler_version currently either gfortran-mod-15 or flang-mod-34

or, the traditional include directories /usr/include/* o

The files *.md.gz are docs, (markdown format), not modules.


-- 
Alastair McKinstry, , , 
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered. 



Bug#954335: lintian confuses Fortran and Modula-2 modules

2020-03-20 Thread Felix Lechner
Hi,

> gzip: stdout: Broken pipe

This commit reduces the program error to a misidentification:


https://salsa.debian.org/lintian/lintian/-/commit/5b0bff88afd220ecee71897fa0cb2227f14d10dc

The search should also be restricted to expected locations for
gfortran modules. Please do not close the bug just yet!

Kind regards
Felix Lechner



Bug#954335: lintian confuses Fortran and Modula-2 modules

2020-03-20 Thread Matthias Klose
On 3/20/20 2:15 PM, Felix Lechner wrote:
> Hi Matthias,
> 
> On Fri, Mar 20, 2020 at 5:57 AM Matthias Klose  wrote:
>>
>> so please differentiate between Fortran and Modula-2 modules.
> 
> I have had some issues differentiating gfortran modules (#948033). In
> which folders do they usually reside, please?
> 
> Also, why are they not all named md.gz, as in libcoarrays-dev?

CCing Alastair. He's behind the Fortran policies.

Currently Modula-2 modules can only be found in the lib*gm2 packages. Nothing
else is packaged using Modula-2.



Bug#954335: lintian confuses Fortran and Modula-2 modules

2020-03-20 Thread Felix Lechner
Hi Matthias,

On Fri, Mar 20, 2020 at 5:57 AM Matthias Klose  wrote:
>
> so please differentiate between Fortran and Modula-2 modules.

I have had some issues differentiating gfortran modules (#948033). In
which folders do they usually reside, please?

Also, why are they not all named md.gz, as in libcoarrays-dev?

Kind regards
Felix Lechner



Bug#954335: lintian confuses Fortran and Modula-2 modules

2020-03-20 Thread Matthias Klose
Package: lintian

running lintian on a gcc-10 build, I see

gzip: stdout: Broken pipe

gzip:
/tmp/temp-lintian-lab-i1Mvu3Lp4j/pool/g/gcc-10/libgm2-10-dev_10-20200320-1_amd64_binary/unpacked/usr/lib/gcc/x86_64-linux-gnu/10/m2/m2cor/Debug.mod:
not in gzip format


and then continues with:

libgm2-10-dev:
ESC]8;;https://lintian.debian.org/tags/gfortran-module-does-not-declare-version.htmlESC\gfortran-module-does-not-declare-versionESC]8;;ESC
\ usr/lib/gcc/x86_64-linux-gnu/10/m2/m2cor/Debug.mod

so please differentiate between Fortran and Modula-2 modules.