Versionv47-14-gf2705cc
Revision258
Size5.2 MB
LicenseBSD-3-Clause
Confinementstrict
Basecore22

Tool to test a Gentoo ebuild and its dependencies


This is a tool to test a Gentoo ebuild and its dependencies. The idea is
that the ebuild is emerged in a clean (and current) stage3 Docker container.

  • Installation

This snap uses the docker snap and needs to be connected via

snap connect ebuildtester:docker-executables docker:docker-executables


  • Usage

We are going to assume that the user has a local git clone of the portage
tree in

/usr/local/git/gentoo


We have added a new ebuild and would like to verify that the build
dependencies are all correct. We can build the package (ATOM) with:

ebuildtester \
   --portage-dir /usr/local/git/gentoo \
   --atom ATOM \
   --use USE1 USE2


where we have specified two USE flags, USE1 and USE2. The ebuildtester
command will now create a docker container and start installing the ATOM.
All specified dependencies will be installed as well.

For a full list of supported options run

ebuildtester --help

Update History

v47-10-g7dbdc4f (253)v47-14-gf2705cc (258)
20 Jan 2026, 21:53 UTC
v47-10-g7dbdc4f (253)
13 Dec 2025, 09:47 UTC

Published16 May 2022, 15:56 UTC

Last updated20 Jan 2026, 21:43 UTC

First seen13 Dec 2025, 09:47 UTC