[aur-general] avoid usage of fakeroot: always use of build() and package() (Was: application as a TU)

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Sat Nov 21 12:44:25 EST 2009


hollunder at gmx.at wrote:
> On Sat, 21 Nov 2009 14:24:58 -0300
> Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar> wrote:
>
>   
>> Andrea Scarpino wrote:
>>     
>>> Why do you use package() function when the package isn't a splitted
>>> package?
>>>
>>>   
>>>       
>> Hello :)
>>
>> Using both build() and package() is not necessary condition for use
>> only with splitted packages, its avoid to use the fakeroot on building
>> process that is not needed in 99% of packages.
>>
>> Good luck!
>>
>>     
>
> Sorry, but I consider the use of fakeroot a good thing, it helps
> to reveal errors while packaging/creating the PKGBUILD at least. Don't
> know why it should be avoided.
>
>   
fakeroot make a table of function pointers for many file manipulation
calls, like open(), close(), chmod() and etc -> overhead, slowdowns
(small of course)
During the build process file perms are not necessary to be "tracked",
or at least in 99% of packages. Only during the install process is only
needed.

If you have an example that breaks this, please let me know ;)

-- 
Gerardo Exequiel Pozzi ( djgera )
http://www.djgera.com.ar
KeyID: 0x1B8C330D
Key fingerprint = 0CAA D5D4 CD85 4434 A219  76ED 39AB 221B 1B8C 330D




More information about the aur-general mailing list