On 26/05/2009 20:18, Emanuele Pucciarelli wrote:
> On Tue, May 26, 2009 at 20:59, Lubos Kosco<Lubos.Kosco at sun.com>  wrote:
>    
>> When will we get build dependencies auto installed ?
>>      
>
> (Sorry, I forgot to "reply to all"?)
>
> In the previous version, my not extensive testing showed that changes
> to dependencies required an extra trigger to be installed ? you had to
> re-submit the spec file. For example, if you uploaded a package with
> build dependencies (available in either pending or release ? not sure
> about contrib), *without* adding versions to them, the first build
> would fail and the second (and following) would work. If you removed
> any BuildRequires lines, the required packages would be still there in
> the build that ensued, but would be missing from the second onwards.
>
> I noticed this behaviour with both Callweaver and Falcon.
> Nevertheless, I haven't gone through build logs to verify whether this
> would work or not for other packages? so the general theory could be
> easily disproved. Even if it were disproved, the fact that this has
> happened should be a hint as to what is not working correctly now.
>
>    

Hmm, that's interesting. I've not noticed this myself.

To explain this whole problem, for the record ;)

Currently the build zones are nevada based. When you create a zone it 
copies all of the packages (or at least most of them) into the zone that 
are on the global zone. This is bad because we want to start with a zone 
that has as few packages as possible, then, install the dependencies we 
need and then kick off the build. So, we don't find dependencies that we 
have that we don't know we have. Secondly, when any of the dependencies 
you define are SUNW* then it freaks out completely - the packages are 
already installed in svr4 format.

The fix for all of this is to switch the build machines to opensolaris 
to we get a pure IPS environment. This allows us to (easily) start with 
a minimised build zone and to install the dependencies in a more 
consistent way.

_Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/sourcejuicer-discuss/attachments/20090526/4ee73d83/attachment.html>

Reply via email to