Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3817

Summary: app-text/noweb places executables in /usr/lib
Product: Gentoo Linux Reporter: Mark Fenner <mfenner>
Component: New packagesAssignee: Dan Armak (RETIRED) <danarmak>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Fenner 2002-06-17 12:59:48 UTC
I believe noweb was installed with lyx-1.2.0. 
 
It appears that its ebuild is 100%.  My /usr/lib directory has several 
executables owned by the noweb package including: 
 
mfenner [550] % qpkg -f /usr/lib/toascii 
app-text/noweb * 
bacon:/usr/lib 
mfenner [551] % qpkg -f /usr/lib/tohtml 
app-text/noweb * 
bacon:/usr/lib 
mfenner [552] % qpkg -f /usr/lib/toroff 
app-text/noweb * 
 
as well as several others.  This is primarily an aesthetic concern but we 
should keep things neat. 
 
Regards, 
Mark Fenner
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-06-22 11:22:01 UTC
Hm. The noweb makefiles explicitly put some executables in $PREFIX/bin and 
others in $PREFIX/lib. Therefore we should ask ourselves: 
1) why? or: what's the distinction? 
2) what'll happen if we put everything in $PREFIX/bin? 
As to (1) the developers should be asked. I'll do that. As to (2) we should 
test it. Only I don't use noweb myself, if you do I'd appreciate testing. 
Otherwise I'll have to look for a test file. Anyway I'll "investigate" :-) 
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-07-18 09:48:26 UTC
Quoting from the FHS: 
--- 
4.7 /usr/lib : Libraries for programming and packages 
4.7.1 Purpose 
/usr/lib includes object files, libraries, and internal binaries that are not 
intended to be executed directly by users or shell scripts. 
--- 
So this is legal, since they are presumably internal libraries. 
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-07-18 09:48:53 UTC
I meant internal binaries, of course. 
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-07-26 11:25:04 UTC
...Therefore I'm closing this, the situation is fhs-compliant and correct 
though rather ugly.