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

Bug 258111

Summary: media-tv/wis-go7007 abusing ${ROOT}
Product: Gentoo Linux Reporter: Thilo Bangert (RETIRED) (RETIRED) <bangert>
Component: New packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED FIXED    
Severity: normal CC: media-tv, pierre42d
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 258096    
Attachments: fix typo

Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-02-08 12:36:19 UTC
Some notes on ROOT:

* The idea behind ROOT is that one can build a system with ROOT=/somewhere and
then chroot into it or tar up /somewhere as a system image. It is not designed
to allow the user to run /somewhere/usr/bin/foo.

* ROOT can't be used correctly in src_*, since ROOT might be different when
merging a binary package. For example, a binary package might be built with
ROOT=/ and then installed onto a system using ROOT=/somewhere.

* ROOT isn't used for library dependencies. When building, libraries, headers
etc. on / have to be used. Cross-compiling etc is done by configuring the
toolchain correctly, not by hacking ebuilds in a way that breaks binary
packages.

See also the discussion on bug #167285 for more info.
Comment 1 SÅ‚awomir Nizio 2011-09-22 18:39:29 UTC
This seems to be fixed now.
Comment 2 SÅ‚awomir Nizio 2011-09-22 19:00:35 UTC
Created attachment 287435 [details]
fix typo

There's a typo (insinto"blah....", so space).
It's quick to fix and somewhat related to this bug so I'll post it here.
Comment 3 Pacho Ramos gentoo-dev 2012-04-29 12:52:50 UTC
+  29 Apr 2012; Pacho Ramos <pacho@gentoo.org> wis-go7007-0.9.8-r3.ebuild:
+  Fix typo, bug #258111#c2.
+