[haiku-development] Re: Build System renames downloaded packages?

-------- Original-Nachricht --------
> Datum: Fri, 26 Jun 2009 16:54:58 +0200
> Von: Salvatore Benedetto <emitrax@xxxxxxxxx>

> while trying to build an Haiku image at work, where I have a nice
> proxy, I had to download manually the optional packages I needed
> one by one.
> 
> Both Vim and Yasm (and maybe some others) were not found
> by the build system, so I had a look at the rules involved and found
> out that the InstallOptionalHaikuImagePackage rule, looks for
> vim-7.2-gcc2-20090531 on the machine, but it downloads (I downloaded)
> $(baseURL)/vim-7.2-gcc2-haiku-2009-05-31.zip, which would obviously
> did not match. So I renamed the package in the
> InstallOptionalHaikuImagePackage
> rule and it worked.
> 
> Renè though, told me that somewhere the build system renames the
> downloaded packages, so under the assumption that he doesn't lie :-) ,
> I'm wondering why this happens and if it is wanted behavior as it makes
> manual download pointless.

This mechanism allows to prevent name clashes between different optional 
packages, since there' no reason why the names of zip files at different URLs 
must differ. You may blame the ones not matching the 
InstallOptionalHaikuImagePackage download name with the name of the zip file 
where it was possible.

CU, Ingo

Other related posts: