ludovic.bre...@insalien.org writes:

> The packages gnat, gnat-3.2, gnat-3.3 and several Ada library packages
> provide Ada Library Information (*.ali) files to accompany the compiled
> (static and shared) libraries.  The Ada compiler requires these files to
> be read-only for all users; otherwise, it tries to recompile the
> corresponding source files, and fails because it cannot place the object
> files in the same directory as the *.ali files.

> The Policy should state that all packages that install *.ali files must
> ensure they are read-only for all users.  For now, the Ada packages use
> post-installation scripts for this, thus bypassing checks made by
> lintian and linda.  See bugs #226879 and #227162.

> I propose the following addition to Section 8.4 "Development files":

> "If the package provides Ada Library Information (*.ali) files for use
> with GNAT, these files must be read-only for all users."

About six years ago, you filed this bug against Policy, and I see there's
also a Lintian check:

Tag: bad-permissions-for-ali-file
Severity: normal
Certainty: certain
Info: Ada Library Information (*.ali) files are required to be read-only
 (mode 0444) by GNAT. 
 .
 If at least one user can write the *.ali file, GNAT considers whether
 or not to recompile the corresponding source file.  Such recompilation
 would fail because normal users don't have write permission on the
 files.  Moreover, such recompilation would defeat the purpose of
 library packages, which provide *.a and *.so libraries to link against).

I wanted to double-check with you that this requirement is still the case
before proposing the Policy patch given how much time has gone by.  Is
this still current and correct information?

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to