From Gentoo Wiki
Jump to:navigation Jump to:search

Create a todo template

Wiki needs a pretty todo template for block section todo lists...

Perhaps something like:

{{Todo|1=First todo item.2=Second todo item.3=Third todo item.}}


Packages required to be installed in Termux (GitHub) for Gentoo Prefix to run:

root #pkg


Packages required to be installed in Cygwin for Gentoo Prefix to run:

root #wget gcc-core make


  • Devmanual should be added to the sites drop down menu...

Bound to fail

Using too high a MAKEOPS value and --jobs set to 4 (or some other N), is a bad idea when compiling source in tmpfs or when Gentoo has been allocated only a small partition to PORTAGE_TMPDIR. In the example below the following default values are set in make.conf:

FILE /etc/portage/make.conf
EMERGE_DEFAULT_OPTS="--jobs=4 --keep-going=y"
root #emerge --update --deep --newuse --changed-deps=y --with-bdeps=y --verbose --keep-going=y --tree --backtrack=2000 --verbose-conflicts @world
>>> Emerging (1 of 205) www-client/firefox-72.0.2::gentoo
>>> Emerging (2 of 205) mail-client/thunderbird-68.4.2::gentoo
>>> Emerging (3 of 205) www-client/chromium-80.0.3987.87::gentoo
>>> Emerging (4 of 205) app-office/libreoffice-

The previous example is bound to result in job failure output similar to the following:

>>> Emerging (3 of 205) www-client/chromium-80.0.3987.87::gentoo
>>> Jobs: 0 of 205 complete, 4 running            Load avg: 21.0, 29.6, 38.7Exception in callback PipeLogger._output_handler(13)
handle: <Handle PipeLogger._output_handler(13)>
Traceback (most recent call last):
  File "/usr/lib64/python3.6/asyncio/", line 145, in _run
  File "/usr/lib64/python3.6/site-packages/portage/util/_async/", line 124, in _output_handler
OSError: [Errno 28] No space left on device
> /usr/lib64/python3.6/site-packages/portage/util/_eventloop/>None
-> pdb.set_trace()

Why does this happen?

The above occurs as explained in the OSError output from Portage: OSError: [Errno 28] No space left on device

In other words, space runs out in the directory Portage uses for compilation (PORTAGE_TMPDIR).

The fastest solution

Run CTRL+c to close the Python interpreter, then do whatever is appropriate to obtain more disk space. Typically this can look like running eclean and purging any failed compilations from Portage's TMPDIR:

root #eclean -d distfiles
root #eclean -d distfiles
root #rm -rfv /var/tmp/portage/*

Finally, resuming the emerge with a smaller MAKEOPTS or jobs value (or both!) should work around the build failure:

root #MAKEOPTS="-j8" emerge --resume --jobs=1

Building stages with clang

Reddit discussion here.

This Debian sites keeps a nice list of packages that are successfully built with LLVM/Clang.

Graphics stack debugging

  • Write an in-depth article on debugging a present day graphics stack on Linux. Cover areas such as:
    • Screen tearing tests.
    • Debugging variables.
    • Hardware acceleration vs. software acceleration.

Testing apps on Wayland with Weston

Switch to another vt (use chvt), and issue:

user $weston-launch

Then try to open the application on Weston.


Be more clear about necessary binary blob firmware for various Wi-Fi chipsets (especially the Intel iwlwifi variants).

Captive portals

Explain how to access Cisco (and other) captive portals.

Add information on enabling FreeSync on AMDGPU

Resolve PPC bootloader installation instructions

Handbook probably needs to be migrated from yaboot to GRUB2. See discussion on Handbook_Talk:PPC/Installation/Bootloader.

Pending testing with VOID Linux on a separate HDD. 11/16/2020

Add networking setup example to the Handbooks using ip command

Transision the Handbook to use the ip command with CIDR format rather than ifconfig.

Finish new Gentoo wallpapers

  • Add new wallpapers to www.g.o.
  • Work on getting a resize script for common supported display resolutions.
    • Consider mobile device resolutions.
  • Upload wallpapers sources (with attribution) to Gentoo's GitHub and gitweb.g.o.
  • Finish imagemagick resize script for end user reproducability.
    • See this tutorial for possible options.
    • Pseudo-code from Robin: $SRC -> parallel(for each $RESOLUTIONS[]: resample, render signet at $POS; save)

Terminology update: Overlay -> ebuild repository

Figure out how to address the following articles (man pages will also need updated):

Layman references:

  • PORTDIR_OVERLAY variable.
  • layman-overlay-maker command.

Continue work on:

Add new recentchanges bot to #gentoo-wiki


Right now I'm researching mw-bot (source).

Code for a similar recentchanges output:

$wiki $encoded_wiki_page $action $fullurl - User: $username - Summary: $summary

Waiting on a response to issue 62 to add a new wiki to the bot's @recentchanges command.

TODO: write a module to watch recent changes for sopel.

Close all open discussions in the Handbook namespace

As I continue to clean up our docs in 2017, I am rapidly working to close out all open discussions in the Handbook namespace. Will move this section to Completed tasks when finished.

In Unix, what do some obscurely named commands stand for?

Link this somewhere:

Someone please work on these. Someone. ANYONE?! PLEASE!!

  • GitLab - Clean up article: meld it into proper article layout/formatting according to wiki Guidelines, review for correctness.
    • Work on bringing GitLab to Gentoo. This would be of use to infra as a GitHub fall back (since GitHub isn't nicely open source).
    • Start with a Gentoo-based container (if necessary), and build from there.