public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] splitting build deps out from depends
@ 2005-07-01 16:25 Brian D. Harring
  2005-07-01 17:49 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 51+ messages in thread
From: Brian D. Harring @ 2005-07-01 16:25 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-core, gentoo-embedded, gentoo-portage

[-- Attachment #1: Type: text/plain, Size: 2450 bytes --]

Hola.

Quick statement of terminology- 
x-compile == cross compiling, building arm crap on an x86, building up 
a x-compile target in a subdirectory of / (fex)


Currently, we pretty much leave out the big dogs of build depends from 
ebuilds- basically we rely on the profile to require a suitable 
toolchain.  Couple of issues with this though-

1) Deps aren't complete for an ebuild.
2) Merging a php or python lib that doesn't require compilation 
   doesn't require a full toolchain, distutils/pear or make mainly.  
   So autoassuming a c/c++ toolchain is required isn't accurate.
3) For automatically handling x-compile deps, without this info bound 
   to an ebuild, portage will _never_ be able to know what 
   dependencies are x-compile targets, and what deps must be natively 
   merged.

So... why don't we add a new DEPEND, BDEPEND (build depends), that 
holds atoms of what is required to actually build the package, 
literally, what executes on the box to build that package.

Still would have DEPEND, since (using diffball as an example) building 
it doesn't execute anything from bzip2/libz, it just builds against 
those atoms.

Aside from the goal of having complete dependencies, BDEPEND can be 
used by portage to know what needs to be built native to that box, vs 
what is an x-compiled dependency.  So... we could actually do a full 
stategraph covering x-compile deps, and the actual x-compile 
toolchain.

Thing is, it's an extra bit ebuild devs have to deal with.  So get out 
your pitchforks/torches and throw in your two cents on the extra bit 
of effort required from ebuild devs.  In the circles where this idea 
developed in, it solves some nasty portage issues (iow, it's useful to 
us for addressing a hard problem and supplying further functionality).

Re: backwards compatibility, profile's holding the toolchain pretty 
much covers up the fact BDEPEND is missing from the tree; it's a non 
issue, only an issue if you're cross compiling (spanky's x-compile 
work mostly gets around this afaik, although it's something of abuse 
of portage), or if your profile doesn't specify a full toolchain.
In other words, those who fall into the two scenarios above are 
already dealing with this issue, so there really isn't a concern of 
backwards compatibility.

Either way, kindly chuck in your two cents (preferably on -dev ml, 
since this is cross posted).
~harring


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2005-07-09 19:23 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 16:25 [gentoo-dev] splitting build deps out from depends Brian D. Harring
2005-07-01 17:49 ` Mike Frysinger
2005-07-01 18:03   ` Diego 'Flameeyes' Pettenò
2005-07-01 18:11   ` Brian D. Harring
2005-07-01 18:30     ` Mike Frysinger
2005-07-01 18:42       ` Brian D. Harring
2005-07-01 18:46         ` Brian D. Harring
2005-07-01 18:53         ` Diego 'Flameeyes' Pettenò
2005-07-01 19:10           ` Brian D. Harring
2005-07-01 20:25           ` Paul de Vrieze
2005-07-05  9:39         ` Martin Schlemmer
2005-07-07 11:56           ` John Myers
2005-07-07 19:44             ` Kito
2005-07-07 20:45               ` Diego 'Flameeyes' Pettenò
2005-07-09  9:28           ` Jason Stubbs
2005-07-01 18:37     ` Diego 'Flameeyes' Pettenò
2005-07-01 22:59   ` Drake Wyrm
2005-07-02  1:16     ` Kito
2005-07-04  0:18       ` Brian D. Harring
2005-07-09  9:28         ` Jason Stubbs
2005-07-05 10:48     ` Martin Schlemmer
2005-07-05 23:17       ` Brian Jackson
2005-07-06  1:46         ` Martin Schlemmer
2005-07-06  1:59           ` Brian Jackson
2005-07-06  2:39             ` Martin Schlemmer
2005-07-06 17:08               ` Brian D. Harring
2005-07-07 13:29                 ` Martin Schlemmer
2005-07-09  9:28                 ` Jason Stubbs
2005-07-09  9:45                   ` Diego 'Flameeyes' Pettenò
2005-07-09  9:28       ` Jason Stubbs
2005-07-09 10:17         ` Martin Schlemmer
2005-07-09  9:28   ` Jason Stubbs
2005-07-09  9:47     ` Diego 'Flameeyes' Pettenò
2005-07-09 10:20       ` Martin Schlemmer
2005-07-09 11:45         ` Diego 'Flameeyes' Pettenò
2005-07-09 12:01           ` Martin Schlemmer
2005-07-09 12:08             ` Diego 'Flameeyes' Pettenò
2005-07-09 12:37               ` Stephen Bennett
2005-07-09 12:41               ` Martin Schlemmer
2005-07-09 12:46                 ` Diego 'Flameeyes' Pettenò
2005-07-09 13:05                   ` Martin Schlemmer
2005-07-09 13:11                     ` Diego 'Flameeyes' Pettenò
2005-07-09 14:10                       ` Martin Schlemmer
2005-07-09 19:19                         ` Kito
2005-07-01 17:58 ` Diego 'Flameeyes' Pettenò
2005-07-01 18:35 ` Maurice van der Pot
2005-07-01 18:45   ` Brian D. Harring
2005-07-01 18:56     ` Maurice van der Pot
2005-07-01 19:12       ` Brian D. Harring
2005-07-01 19:19         ` Maurice van der Pot
2005-07-02  3:48   ` [gentoo-dev] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox