Questions tagged [gentoo]

For programming problems that are specific to the Gentoo Linux distribution.

Gentoo Linux (/ˈdʒɛntuː/ jen-too)
Gentoo is a computer operating system built on top of the Linux kernel and based on the Portage package management system, distributed as free and open source software.

Unlike a conventional software distribution, the user compiles the source code locally according to their chosen configuration.

Where source-code is available, Portage (the package manager of Gentoo) normally supplies no precompiled binaries, continuing in the tradition of the ports collection. Although for convenience, some software packages (such as Mozilla Firefox and LibreOffice) are also available as precompiled binaries for various architectures where compiling would otherwise be very time consuming.

The development project and its products are named after the fastest-swimming penguin, the Gentoo, to reflect the potential speed improvements of machine-specific optimization. Gentoo package management is designed to be modular, portable, easy to maintain, flexible, and optimized for the user's machine. Gentoo describes itself as a meta-distribution, "because of its near-unlimited adaptability", in that the majority of users have configurations and sets of installed programs which are unique to themselves.

Official Site: http://www.gentoo.org/

316 questions
3
votes
1 answer

How to write a Gentoo ebuild file , with LINGUAS support

I wanted to write a ebuild for some binary package , it contains a folder for different languages , its structure is: ls /path/po: de fr ja zh_CN zh_TW I think it's easy to do it , but the document provided by Gentoo is really limited , how…
daisy
  • 22,498
  • 29
  • 129
  • 265
3
votes
5 answers

How can I sandbox filesystem activity, particularly writes?

Gentoo has a feature in portage, that prevents and logs writes outside of the build and packaging directories. Checkinstall is able to monitor writes, and package up all the generated files after completion. Autotools have the DESTDIR macro that…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
3
votes
2 answers

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 v8 ebuild, v8 failed to compile with didactic-duck…
3
votes
0 answers

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 ccache directory is mounted on /dev/sda2, which…
UEForce
  • 71
  • 1
  • 5
3
votes
1 answer

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 library libmysqlclient_r.so: libmysqlclient_r.so:…
DevilaN
  • 1,317
  • 10
  • 21
3
votes
2 answers

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 base system, it tries to compile libgpg-error and…
ufk
  • 30,912
  • 70
  • 235
  • 386
3
votes
1 answer

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.desktop. Following the instructions here I tried…
Mark Wolfman
  • 163
  • 1
  • 8
3
votes
1 answer

Gentoo No rule to make target 'olddefconfig'

I have been following this guide from the gentto wiki to install Gentoo. I have hit a bit of a roadblock though which looks reasonably simple but I am having trouble figuring it out. On this page:…
John
  • 219
  • 1
  • 4
  • 15
3
votes
2 answers

#include – build fails after switching from <> to ""

A commit in the C implementation of the Nokogumbo gem is causing the build to fail on Gentoo Linux, however, the modification is minor and shouldn't cause any trouble. Unfortunately, I know next to zilch about C. Here's the…
svoop
  • 3,318
  • 1
  • 23
  • 41
3
votes
1 answer

Crypt-SSLeay can't verify hostnames

I am not Perl guy at all. But for circumstances I have to deploy perl script on new gentoo server. Script works nicely on several other servers that were configured by another guy. So new one server I've installed by myself and have different…
3
votes
2 answers

gentoo geoip installation

I try to install the geoip extension through SSH on my gentoo server. I did: emerge Geo-IP : OK pecl install geoip : OK geoiplookup www.bbc.co.uk : gives me GeoIP Country Edition: GB, United Kingdom GeoIP City Edition, Rev 1: GB, N7, Tadworth,…
yarek
  • 11,278
  • 30
  • 120
  • 219
3
votes
0 answers

QEMU with KVM, issue with Windows recognizing the virtual environment

I'm running Gentoo right now, I'm using QEMU with KVM support to run a Windows VM, I need to because they're forcing us to use a proprietary CAD software at university (sadly enough). They gave us a license for a year, however when I activate it, it…
Giorgio DT
  • 71
  • 3
3
votes
1 answer

Why won't shell-local download stage3?

I am working on a template located here. In the provision section I have: "provisioners": [ { "type": "shell-local", "command": "wget http://distfiles.gentoo.org/releases/amd64/autobuilds/{{user `stage3-date`}}/stage3-amd64-{{user…
John Mercier
  • 1,637
  • 3
  • 20
  • 44
3
votes
1 answer

Can't find ogg with PkgConfig

I'm trying to build secondlife viewer but fail on: Building 'Second Life Test' Version 3.8.5.34241 -- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "0.29") -- checking for module 'ogg' -- package 'ogg' not found I've…
cnd
  • 32,616
  • 62
  • 183
  • 313
3
votes
0 answers

Can packer download and cache external files?

I have a packer project for gentoo which downloads the iso through packer and the stage3 file in a script. The iso is cached by packer and I would like to get the stage3 cached as well. This way the stage3 is not downloaded every time the box is…
John Mercier
  • 1,637
  • 3
  • 20
  • 44