You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Damjan Jovanovic <da...@apache.org> on 2019/01/16 01:28:53 UTC
Re: getuid.so
Great work, thank you Jim!
On Wed, Jan 16, 2019 at 3:29 AM Jim Jagielski <ji...@jagunet.com> wrote:
> OK, so I've been doing some digging and it looks like the reason for the
> above is because we need to fool epm (and dpkg et. al.) into thinking we
> are root in order to correctly build the DEB packages.
>
> The problem is that this is really, really system specific and even OS
> version specific.
>
> Most Linux have 'fakeroot' which is the canonical (no pun intended) way of
> doing this. Sooooo I'll be patching trunk (and AOO42X) to look for
> 'fakeroot' and use that if available. If not, then we takes our chances w/
> getuid.
>
> Cheers!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>
Re: getuid.so
Posted by Jim Jagielski <ji...@jaguNET.com>.
No doubt, something in the underlying implementation of __lxstat64 has
changed for those CentOS and Debian platforms that is causing
our hack to not work.
> On Jan 15, 2019, at 8:28 PM, Damjan Jovanovic <da...@apache.org> wrote:
>
> Great work, thank you Jim!
>
> On Wed, Jan 16, 2019 at 3:29 AM Jim Jagielski <ji...@jagunet.com> wrote:
>
>> OK, so I've been doing some digging and it looks like the reason for the
>> above is because we need to fool epm (and dpkg et. al.) into thinking we
>> are root in order to correctly build the DEB packages.
>>
>> The problem is that this is really, really system specific and even OS
>> version specific.
>>
>> Most Linux have 'fakeroot' which is the canonical (no pun intended) way of
>> doing this. Sooooo I'll be patching trunk (and AOO42X) to look for
>> 'fakeroot' and use that if available. If not, then we takes our chances w/
>> getuid.
>>
>> Cheers!
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
>> For additional commands, e-mail: dev-help@openoffice.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org