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
1
vote
1 answer

Segfault on mongodb extension 1.1.2/1.1.3-dev with PHP 7 FPM under gentoo

I am heaving a strange problem under gentoo. Mongodb extension is working fine in apache2 and cli, but fpm fails to start: /etc/init.d/php-fpm restart * Testing PHP FastCGI Process Manager configuration ... [30-Jan-2016 13:59:47] NOTICE:…
1
vote
2 answers

delete version of all packages in a file

i have two files packages32.txt - packages64.txt and now i want the diffrence between files so i think delete the versions is better way.…
Silvio
  • 123
  • 1
  • 9
1
vote
2 answers

Bash Copy multiple lines in seperate files

i have one file with follow entries, is very long so show few examples: media-libs/gd fontconfig xpm media-sound/audacious -gtk gtk3 net-analyzer/wireshark -gtk3 -ssl -qt4 qt5 lua geoip kerberos adns net-dialup/ppp -gtk I need to…
Silvio
  • 123
  • 1
  • 9
1
vote
0 answers

gentoo at vmware, DnD and resizing aren't working

Drag and Drop isnt work, resizing too. Only copy-paste is work sometimes. I thought that it is becouse vmblock errors, but after "emerge vmware-modules" vmblock errors gone and problem still exists. Host OS - Windows. al .cache # equery list -i…
1
vote
0 answers

create bootable USB (<2GB) with modified linux RT-Kernel

The 2GB threshold comes from the fact, that the machine I am working on only supports SD (not SDHC) which are max 2GB big. So far I have managed to compile the kernel with my adjusted kernel config and applied RT-Patch. But I am stuck trying to get…
David Schumann
  • 13,380
  • 9
  • 75
  • 96
1
vote
0 answers

Gentoo Installation - verifying cryptographic signature and checksum on Windows (GPG4Win)

I decided to install Gentoo and it is suggested to verify the cryptographic signature of downloaded files and the checksum. So I went through 100 pages of PGP4Win manual, trying to figured out how to import keys and validate the signature. I have…
refooo
  • 11
  • 4
1
vote
1 answer

what's wrong with this nested while loop in bash?

As shown below, first loop aims at reading steps from a text file while the second loop is intended to accept an option from user according to what user has seen on the screen, and do something, say configuring package.use or something else, and…
Tao Wang
  • 186
  • 1
  • 18
1
vote
1 answer

What's wrong with this while loop multiple condition in bash

The multiple condition as shown below, it's working fine with the ideal text file, but the actual output of my code should have some extra lines. while loop multiple condition: while read -r line && ([[ ! "${line/"[ebuild"}" = "${line}" ]] && [[ -n…
Tao Wang
  • 186
  • 1
  • 18
1
vote
1 answer

How to select an option inside of while loop in bash

Package names are stored in a text file and grouped by row symbol #step{1,2,3...}, what I'd like to do is : step1)to execute emerge --pretend package, step2) manually collect USE flags from pretendedly emerging execution result shown on the screen,…
Tao Wang
  • 186
  • 1
  • 18
1
vote
1 answer

Gentoo: Install a separate newer version of python without upgrading the os or the current python version

Currently I have python version 2.5.2 When I run this command: emerge -a python:2.7 I get this message Calculating dependencies... done! emerge: there are no ebuilds to satisfy "dev-lang/python:2.7". Could you please tell me what is the best way…
Karim Mtl
  • 1,223
  • 3
  • 11
  • 39
1
vote
0 answers

Why is nginx's configuration different on Gentoo?

I was recently hired as DevOps Engineer and I have to familiarize myself with Nginx. I gave it a try a little while ago, installing it on my personal server (running on Debian) and playing with it. But when I installed it on Gentoo (Everyone at work…
1
vote
0 answers

Can't add java overlay via layman

Can't add java overlay via layman. Some other GIT overlays works fine, some don't. For example yac and twister work, tocaro and vps don't work. Layman version: app-portage/layman-2.0.0-r3 Agnes liso # layman -a java * Adding overlay,... *…
Jan Fryblik
  • 19
  • 1
  • 2
1
vote
0 answers

Chroot environment complain about cross compiling (gentoo stage3 mips)

I took the stage3 (experimental mips32 - stage3-mips32-20140904.tar.bz2) Gentoo tarball and put it on my Ubuntu14x64. I set binfmt in cooperation with qemu to support mips binaries, mounted /dev, /proc and so on and chrooted to the unpacked tarball.…
milkpirate
  • 267
  • 1
  • 18
1
vote
1 answer

Cannot cd into the filesystems directory in Gentoo Linux

I am attempting to cd into the filesystems directory as the title suggests. I was attempting to post an image but I do not yet have the reputation to do so. Am I missing a certain command? I am guessing you just cd into it but maybe I am wrong. I…
NaughtyBear
  • 113
  • 2
  • 8
1
vote
1 answer

Why is openvpn responding with "could not read Auth username from stdin?"

Just did an update on my system and for some reason I can no longer log into my VPN service. I'm running gentoo. Here's my /etc/openvpn/openvpn.conf. client dev tun proto udp remote myvpnguys.com 1194 resolv-retry…
Ender
  • 1,652
  • 2
  • 25
  • 50