[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#175353: general: *-pic packages violate FHS



Package: general
Version: N/A; reported 2003-01-04
Severity: serious
Justification: Policy 10.1.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mklibs expects _pic.map files to be stored in /usr/lib alongside the
library. These files appear to be architecture independent, and are
plain text (indeed, they are build scripts for the GNU linker). 

/lib is allowed to contain:
	o object files,
	o libraries,
	o internal binaries that are not intended to be executed directly by users or shell scripts.
	o subdirectories with architecture-dependent data exclusively used an application

The correct place for these files is /usr/share or /usr/src:
	[/usr/share]
		"The /usr/share hierarchy is for all read-only architecture
		 independent data files."
	[/usr/src]
		"Any non-local source code should be placed in this
		 subdirectory."

I'd suggest /usr/share as best; while they are source code, they're
pretty small snippets of it. I suggest putting them all in a common
directory like "/usr/share/mklibs", "/usr/share/ldmaps",
"/usr/share/picmap", etc.

mklibs would, of course, need to be modified to look in the new
location.

- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bohr 2.4.16 #2 SMP Wed Nov 28 05:25:00 EST 2001 i686
Locale: LANG=en_US, LC_CTYPE=en_US

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+F14x+z+IwlXqWf4RAsbdAJ4gpGtI5jz9v0rKFD2UWN+/eWRlUwCcDBRi
iUIlYN/ow1Vltz5fUK0VyCw=
=FoNo
-----END PGP SIGNATURE-----



Reply to: