You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I built the ros_base docker image, I had to remove the "bluetooth" word from these lines :
RUN echo "dev-lang/python sqlite bluetooth readline" >> $EPREFIX/etc/portage/package.use
RUN EXTRA_ECONF="--enable-optimizations --with-lto" $PREFIXED emerge python:2.7[sqlite,bluetooth,readline] python:3.6[sqlite,bluetooth,readline]
I also had to add --autounmask-keep-masks option to the following command (deduced from what the emerge build system was telling me) :
RUN $PREFIXED emerge dev-util/cmake
And finally had to change the cmake version in this command to 3.13.5 :
RUN echo ">dev-util/cmake-3.12.3" >> /tmp/gentoo/etc/portage/package.mask
Then I docker-cp-ed the gentoo folder on my host machine, went into it, and launched : ./startprefix
Got this message :
bash: eval: line 31: syntax error near unexpected token `newline'bash: eval: line 31: `Usage: lesspipe <file>'
Which did not prevent me from entering the prefix so I guess everything is fine then ?
When looking a bit into it, it seems the bash command on my host .bashrc :
Unfortunately removing bluetooth support can be painful cause it's part of the standard library and random libraries later on may depend on being able to import it (even though they may not even use it). So in principle... it's not good to take it out.
About cmake, makes sense to update it if it builds. But we need to see if the rest of ros_base builds with a newer cmake.
The bash eval error you get is normal. It does not break anything, just that bit doesn't work. If you want to use it in your machine, you could just remove that from the startprefix script.
Hi !
When I built the ros_base docker image, I had to remove the "bluetooth" word from these lines :
I also had to add --autounmask-keep-masks option to the following command (deduced from what the emerge build system was telling me) :
RUN $PREFIXED emerge dev-util/cmake
And finally had to change the cmake version in this command to 3.13.5 :
Then I docker-cp-ed the gentoo folder on my host machine, went into it, and launched : ./startprefix
Got this message :
Which did not prevent me from entering the prefix so I guess everything is fine then ?
When looking a bit into it, it seems the bash command on my host .bashrc :
is causing this error message, but since its just a comfort command, I guess its not a problem.
The text was updated successfully, but these errors were encountered: