[csw-maintainers] surprising set of packages when build spans 2 days

Dagobert Michelsen dam at opencsw.org
Fri Mar 1 14:21:32 CET 2013


Hi Peter,

Am 26.02.2013 um 19:27 schrieb Peter FELECAN <pfelecan at opencsw.org>:
> Dagobert Michelsen <dam at opencsw.org> writes:
>> Am 26.02.2013 um 13:19 schrieb pfelecan <pfelecan at opencsw.org>:
>>> As we can see, all the architecture neutral packages, infix "all",
>>> are duplicated. This is not only a waste of space but also of
>>> time: it means that for each platform they are generated
>>> even though once is enough.
>> 
>> This is only true if you build both architectures at the same time.
> 
> Yes: "platforms" target which is the most frequent use case, isn't it?
> 
>> Ideally they should be the same between sparc and i386, so if you
>> build both sparc and i386 on the same day, yes, it gets rewritten.
> 
> From the outside they are not the same...
> 
>> It could be excluded from all but the first requested arch, but
>> up to now it was not an issue.
> 
> This is quite simple to test: start before midnight and instrument a
> recipe such as to wait until after midnight at the end of the packaging.
> 
>>> Can this be optimized by generating only once the "all" packages
>>> when using the "platforms" target?
>>> 
>>> I don't know which is the effect of this on the packages upload
>>> but I'll test it very soon.
>> 
>> You will get collisions, so just throw away the packages from one arch
>> with archall.
> 
> Thanks. I'll remove one set of architecture neutral packages.


I have created a ticket so I don't forget it when I next work on the code:
  https://sourceforge.net/apps/trac/gar/ticket/75


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list