Questions tagged [gentoo]
For programming problems that are specific to the Gentoo Linux distribution.
316
questions
0
votes
0
answers
44
views
why would vulkan graphics not work despite vulkan compute working?
When I run vkcube, I get this:
Selected GPU 0: NVIDIA GeForce RTX 4070, type: DiscreteGpu
Could not find both graphics and present queues
But when I run vulkaninfo --summary, I get this:
==========
...
0
votes
0
answers
53
views
Dependency error when trying to install Blender on Gentoo
I am trying to install Blender on gentoo using emerge, this is the error message i recieve:
sudo emerge --ask media-gfx/blender
* IMPORTANT: 16 news items need reading for repository 'gentoo'.
* ...
0
votes
1
answer
564
views
libEGL warning: MESA-LOADER: failed to open crocus
My Gentoo Linux UI shows me this error on my PC (which has Intel GPU & Nvidia GPU both).
libEGL warning: MESA-LOADER: failed to open crocus: /usr/lib64/dri/crocus_dri.so: cannot open shared object ...
0
votes
0
answers
136
views
Compilation error when trying to build R Studio server on gentoo server
I am trying to build and install RStudio server on my gentoo server. getting error:
CMake Error at src/gwt/CMakeLists.txt:70 (message):
ant not found (required to build GWT)
snapshot of compilation ...
0
votes
1
answer
1k
views
Unlocking multiple LUKS-encrypted volumes with a single password at boot (Gentoo, encrypted ZFS root, genkernel initramfs)
With this post I am sharing a solution with the community.
I have a Gentoo system installed on a ZFS pool consisting of multiple encrypted devices. It is normally decrypted at boot as described in ...
0
votes
0
answers
120
views
Distcc blocks ip when using portage
distcc[20890] (dcc_get_hostlist) read hosts from environment
distcc[20890] (dcc_parse_hosts) found localhost token "localhost"
distcc[20890] (dcc_parse_hosts) found tcp token "192.168.0....
0
votes
1
answer
435
views
Compiling kernel module without kernel headers
I am developing a kernel module and need to compile it for an older version of Gentoo that I don't have the headers for. The Linux kernel version is 4.14.34 and I have the source for that, with the ...
1
vote
0
answers
207
views
How to access chrome dev tools on a chromebook from another machine
I recently followed many guides about how to get the chromebook into dev mode, allow modifications by making the linux OS writable and how the forwarding works. Also opened the firewall to allow any ...
1
vote
2
answers
1k
views
Gentoo Linux: Docker container doesn't start: cgroup v2
I've the issue that my Gentoo system (Kernel 5.4.97) docker container do not start.
I tried following command:
docker run kubler/mariadb
The error message is:
docker: Error response from daemon: OCI ...
2
votes
1
answer
1k
views
all-the-icons not working correctly (already ran all-the-icons-install-fonts)
I am currently running emacs on Gentoo linux. My intention was to use all-the-icons ivy (I also downloaded all-the-icons-ivy). Unfortunately, all the icons come out confusing.
I have already run all-...
1
vote
3
answers
5k
views
Doas keeps asking me for password [closed]
I installed Doas as a replacement for sudo on my Gentoo machine. I followed the documentation here and my /etc/doas.conf looks like this:
permit persist :wheel
I have also restarted the system. ...
0
votes
1
answer
190
views
emerge --search $MY_PACKAGE is not working well
I could search a certain program (ex:htop) by emerge in Gentoo linux.
$ emerge --search sys-process/htop
[ Results for search key : sys-process/htop ]
Searching...
* sys-process/htop
Latest ...
0
votes
1
answer
398
views
ldc2 -static fails ld.gold error cannot find -lphobos2-ldc -ldruntime-ldc
tl;dr LDC compiles and links fine until the -static flag is used, then ld.gold cannot find the phobos or druntime libraries.
OS: Gentoo 64-bit
Kernel: 5.4.48
DMD version: 2.090
LDC2 version: 1.20.1 (...
3
votes
2
answers
1k
views
Installing V8 required by rstan on gentoo
is there a way to install rstan on a Gentoo amd64 system? rstan depends on v8-r (https://cran.r-project.org/web/packages/V8/index.html), which depends on a v8 installation. I haven't found a working ...
4
votes
1
answer
411
views
Install ElasticSearch on Gentoo
Trying install ElasticSearch on Gentoo, but there are a lot of errors happened. Is there any way to install ES not from source code for common linux distribution, but using some package manager like ...
1
vote
1
answer
495
views
creating a proper kubeconfig file for a 2 node gentoo linux kubernetes cluster
I have two servers at my home with Gentoo Linux ~amd64.I would like to install Kubernetes on them to play with it a bit.
Gentoo now packages all the Kubernetes related dependencies under one package ...
3
votes
0
answers
4k
views
ccache failed to create temp files in /var/cache/ccache/ , permission denied. On Gentoo Linux
System Info:
OS : Gentoo Linux x86_64
Kernel : Linux 5.4.38
CPU : Intel core i7-7820HQ
RAM : 16GiB
CC : GCC 9.3.0
This problem always happens when I install the emerge software.
My ...
3
votes
1
answer
107
views
How to find out what tries to load libmysqlclient_r.so library
I am using clang-9 with mysql-connector-c++8.
After mysql-connector-c++ upgrade from 1.1.12 to 8.x and running function in my app: get_driver_instance() an exception is being thrown:
"Couldn't load ...
0
votes
1
answer
79
views
How can I see my pc specs like this photo? [closed]
enter image description here
With this OS icon ?
0
votes
1
answer
60
views
Bluetooth connected but not usable on startup
My BT keyboard is Filco 61. I can pair and connect it with my Gentoo system. But after a restart, the keyboard appears to be not usable, even though the system shows it is connected.
I have to ...
1
vote
2
answers
998
views
How can I list installed masked packages in Gentoo?
Every now and then when updating my Gentoo Linux system, I get the message The following installed packages are masked. These are typically packages that are no longer developped and that I would ...
5
votes
1
answer
2k
views
How to use system installed packages?
I am trying to write script, which should use Portage API. But Portage python package doesn't available in PyPi, but even if it were available that would not make any sense, because it should be used ...
0
votes
1
answer
225
views
How can I concatenate an output from xargs in a variable?
On the code bellow I need to provide a complete output on the variable "depend" before moving to the next loop. Also, testing the command "equery" manually I have seen that after a number of arguments ...
0
votes
0
answers
107
views
How to connect from one server to another server`s postgresql database by configuring firewall
I am trying to connect from Ubuntu 16.04 server to Gentoo server`s Postgresql database. But i cannot connect to it. Ubuntu server has internet with static Ip: 93.154.53.88. In my Gentoo server has Ip:...
0
votes
1
answer
911
views
Gentoo: Cannot add python_targets_python3_7 to pip emerge
I am unable to add python_targets_python3_7 to my pip emerge.
I have added it to /etc/portage/package.use/dev-python
cat /etc/portage/package.use/dev-python
dev-python/pip python_targets_python3_7 ...
0
votes
0
answers
612
views
Python on Gentoo is missing sqlite
I use a Gentoo-based Docker image for CI with multiple versions of Python. Recently, I've started experiencing errors because one tool (coveralls) requires sqlite, which is missing. sqlite is part of ...
2
votes
1
answer
3k
views
Podman (libpod) fails to run while mounting shm with SELinux context
I am currently trying out Podman on Gentoo Linux:
# grep -i selinux /usr/src/linux-4.19.82-gentoo/.config
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
...
0
votes
0
answers
48
views
Diaspora (Ruby) run Error, Maybe PATH Problem? "uninitialized constant TurboDevAssets (NameError)"
I try to migrate diaspora from a damaged debian 8 to another gentoo. I want to be able to can run diaspora before I deploy the web server. I crashes because of Ruby Errors, maybe kind of PATH errors.
...
10
votes
4
answers
3k
views
In IntelliJ IDEA on Gentoo, how do I attach the rust stdlib sources since gentoo does not use rustup?
I am using IntelliJ's rust plugin (version 0.2.0.2114-182) with IDEA (2018.2.3).
There is a yellow bar at the top of my editor window that says "cannot attach stdlib sources automatically without ...
1
vote
1
answer
936
views
Pyaudio does not recognize ReSpeaker usb microphones InputChannels
I have connected an USB microphone (ReSpeaker 4 Mic Array (UAC1.0)) to my Gentoo linux machine.
I would like to use that usb microphone for recording with pyaudio.
Pyaudio detects the USB device but ...
1
vote
0
answers
227
views
Compile and run C programs with Gentoo linux on Gem5 full system simulation x86
I have run gem5 full system simulation for x86 successfully. I mounted the image as follows:
sudo mount -o loop,offset=32256 linux-x86.img tempdisk
and copied a hello world program in there. I then ...
5
votes
1
answer
3k
views
Raspberry Pi 3 Model B: How to change the Byte Order to Big Endian?
I have a Raspberry Pi 3 Model B and I switched from the 32-bit Raspbian to the 64-bit Gentoo Linux as I wanted to test some 64-bit applications. Now, I want to test an application which would access ...
3
votes
2
answers
2k
views
gawk error when compiling libgpg-error in crossdev armv7a environment
I have gentoo ~amd64 installed
and I'm trying to create a crossdev environment for armv7a-hardfloat-linux-gnueabi.
my CFLAGS are `CCFLAGS="-O2 -pipe -fomit-frame-pointer".
when I try to compile the ...
1
vote
2
answers
161
views
SSL not available in watson-developer-cloud example microphone-speech-to-text.py
Hello i try to get the following example running:
microphone-speech-to-text
I run this python script on Gentoo Linux device with a Python 2.7.6.
The device is connected to the internet via a mobile ...
-3
votes
1
answer
2k
views
No wireless connection in Gentoo
I'm new to Gentoo and I have been trying to use wifi. With livecd and minimal install, it works perfectly. However, after installation, I just have ethernet. I've recompiled the kernel for the drivers ...
1
vote
0
answers
170
views
Is anyone ever encounter this type of PHP file encryption? i want to know the source of encryptor
So i'm fixing my client's web that based on laravel. After i opened it, every controller and model look like this. For example this is one of model file from laravel.
<?php /* ucode version 1.0.0 *...
1
vote
0
answers
99
views
virtualbox execution error with "cannot send events to objects owned by a different thread.." message
I just upgrade my gentoo systems. Every time I upgrade Virtualbox always has a problem.
After search related questions same as mine, I can not resolve.
Once I execute Virtualbox, the program stops ...
2
votes
1
answer
419
views
Gentoo package mask not working with exact version number
I installed mysql-5.6.42 on a Gentoo system. There's a newer version 5.7.24, but I don't want to upgrade for that version. So I masked the package under /etc/portage/package.mask
=dev-db/mysql-5.6.42
...
2
votes
2
answers
84
views
Is there a faster way to pull all my previously single-USE flags into /etc/portage/make.conf?
When I used to emerge my software I was using USE instead of adding the flags to my /etc/portage/make.conf file. (Example: sudo USE="djvu postscript synctex magic" emerge --ask app-text/{zathura,...
0
votes
1
answer
747
views
Pepper robot datetime rtc is out. thus cannot sync apps from app store (SSL auth failed)
In a nutshell the sync for Pepper is not running between Pepper and Aldebaran. It gives an error that it cannot connect to server, please reboot.
Once rebooted the same error exists. So I debugged ...
22
votes
4
answers
21k
views
Installing the R-package "rgeos" on linux: geos-config not found or not executable
I am running R 3.4.1 on gentoo.
When i try to install the 'rgeos' package, i get this:
> install.packages("rgeos")
Installing package into ‘/home/jody/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ ...
2
votes
1
answer
54
views
Build from the same extracted package with emerge?
In gentoo is it possible to build again a package, with the already extracted package?
So for example the source is extracted at a location. I don't want it to be extracted again, but instead use the ...
1
vote
0
answers
434
views
version `GLIBCXX_3.4.21' not found on Gentoo
I've updated my gem file of wkhtmltopdf-binary-edge into 0.12.5 and when I try to export to pdf in my gentoo machine (Working with EngineYard) I get the following error:
/data/frontend/shared/...
1
vote
1
answer
307
views
Build a project containing git submodules from source package of a GitHub release
I want to pull a tar.gz source code package of a GitHub release and build from it. The problem is, said package doesn't contain the contents of the submodules, and it isn't a full git repository, so I ...
0
votes
1
answer
51
views
Portable chrome on gentoo
I'm currently building an module for Drupal 7, which requires the functionality of taking an screenshot of another website and delivering this to the user. For doing this i'm using an php wrapper for ...
0
votes
1
answer
301
views
PostgreSQL deleting a tablespace without running service
During a reset procedure, we need to reset the PostgreSQL database (on Gentoo) as well, this means clearing a given database completely. During this time we have access to the filesystem only. As ...
0
votes
1
answer
238
views
Gentoo install mod_proxy_balancer
I installed in Apache in Gentoo and i need to use it like a proxy but i am unable to install mod_proxy_balancer. If i restart apache it display the following:
apache2 has detected an error in ...
0
votes
1
answer
245
views
Installing Gentoo on HP DL380 G4 fails at installing Kernel sources
I'm trying to install Gentoo amd64 on an HP DL380 G4. I've managed to get to the Configuring the Linux Kernel section in the Gentoo Installation Handbook. After using this command:
emerge --ask sys-...
3
votes
1
answer
3k
views
xdg-settings not setting default-web-browser in gentoo
I'm trying to get xdg-open to using chromium to open urls instead of firefox. I noticed that xdg-settings get default-web-browser returns chromium.desktop when it should be chromium-browser-chromium....
0
votes
1
answer
333
views
Gentoo install multiple packages in one command
Is it possible to install all sub packages within a specific package in a single command.
Something along the lines of "emerge sys-apps/*" (obviously this doesn't work it is just an example to help ...