Re: [gentoo-user] UFO: 'No. You make ME a sandwich.'

2017-10-30 Thread Vadim A. Misbakh-Soloviov
> check-if-root:
>   @if test `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup; then 
> \
>   echo; \
>   echo 'No. You make ME a sandwich.'; \
>   echo; \
>   exit 1; \
>   fi

That code means "if current user is root and it is not a docker/lxc container 
then fail".

Libreoffice maintainers just warns you that you shouldn't run build process 
under root (so, add "userpriv sandbox usersandbox" and so on to the FEATURES).

and the sandwitch is just reference to the https://www.xkcd.com/149/



Re: [gentoo-user] UFO: 'No. You make ME a sandwich.'

2017-10-30 Thread Jean-Christophe Bach
Hello,

* Helmut Jarausch  [30.10.2017. @11:59:09 -]:

> Hi,
> when trying to re-emerge libreoffice I get the strange message
> No. You make ME a sandwich.
> Has anybody seen this before?

Really ?! I have never seen this message, but it remindsme that: 
https://xkcd.com/149/

Maybe the message is a joke from developers? (would it mean that there is an 
issue with root rights?)

Regards,

JC


signature.asc
Description: PGP signature


Re: [gentoo-user] UFO: 'No. You make ME a sandwich.'

2017-10-30 Thread Alexander Kapshuk
On Mon, Oct 30, 2017 at 1:59 PM, Helmut Jarausch  wrote:

> Hi,
> when trying to re-emerge libreoffice I get the strange message
> No. You make ME a sandwich.
> Has anybody seen this before?
> This occurs after having re-emerge 3500 packages from an
> emerge --emptyworld
>
> Many thanks for some hints,
> Helmut
>
>
You probably want to contact the libreoffice maintainers about this.
The code that generates the message you were asking about seems to be this:

https://raw.githubusercontent.com/LibreOffice/core/master/Makefile.in

check-if-root:
@if test `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup; then 
\
echo; \
echo 'No. You make ME a sandwich.'; \
echo; \
exit 1; \
fi


[gentoo-user] UFO: 'No. You make ME a sandwich.'

2017-10-30 Thread Helmut Jarausch
Hi,
when trying to re-emerge libreoffice I get the strange message
No. You make ME a sandwich.
Has anybody seen this before?
This occurs after having re-emerge 3500 packages from an
emerge --emptyworld

Many thanks for some hints,
Helmut