from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

87641

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Portage magic

/var/log/emerge.log is well-known as the central reporitory of information about all emerge activity going on in system.

Lesser known are some tricks you can do with the content of that log file. For example, when you start an upgrade, you generally don't know how much time it will take to finish compiling. You probably don't remember how long your last mplayer installation took, but Portage does, and if you'd decipher the Unix time stamps in /var/log/emerge.log, you'd get a pretty good idea, too.

Or you could let app-portage/genlop do it for you. Emerge (the unstable, ~arch version of) genlop with:

Code Listing 1: Emerge genlop

#emerge -av genlop

Now run a pretended world upgrade and pipe it to genlop for an estimation of your upgrade schedule:

Code Listing 2: Estimate upgrade time

#emerge -pu world | genlop --pretend 
These are the pretended packages: (this may take a while; wait...) 
 
 * media-libs/tiff 
 * x11-base/xorg-x11 
 * app-sci/stellarium 
 * app-arch/gzip 
 * dev-libs/libIDL 
 * net-www/mozilla-firefox 
 * sys-boot/lilo 
 * app-doc/abs-guide 
 * app-arch/unarj 
 * app-emulation/wine 
 * app-admin/sudo 
 
Estimated update time: 4 hours, 38 minutes.

A look at the mechanism explains how Portage can double as an oracle. It uses the statistics stored in the emerge.log file, take an average of compilation times for given packages, and summarize the results. There are some uncertainties, of course, for example if you use the CCACHE feature, then compile times for a minor version bump may be much faster than the original package took compiling the first time. On the other hand, if an application has been extended with new features, the old average compile time can be shorter than the version you're about to emerge.

Another brilliant feature of genlop is its --current option, the perfect companion to the estimated compile-time from --pretend:

Code Listing 3: How much time spent since the beginning of an emerge

# genlop --current 
 * app-portage/splat-0.07  
       current merge time: 12 seconds.

Now you can say how long time you have to wait.

From http://www.gentoo.org/news/en/gwn/20041122-newsletter.xml

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-08-14
firewalld - 2.5.1
Ebuild name:

net-firewall/firewalld-2.5.1

Description

Firewall daemon with D-Bus interface providing a dynamic firewall

Added to portage

2026-08-14

lsp-mode - 9999
Ebuild name:

app-emacs/lsp-mode-9999

Description

Emacs client/library for the Language Server Protocol

Added to portage

2026-08-14

ruff - 0.16.3
Ebuild name:

dev-util/ruff-0.16.3

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-08-14

uutils-coreutils - 0.10.0
Ebuild name:

sys-apps/uutils-coreutils-0.10.0

Description

GNU coreutils rewritten in Rust

Added to portage

2026-08-14

2026-08-13
acl - 2.4.0
Ebuild name:

virtual/acl-2.4.0

Description

Virtual for acl support (sys/acl.h)

Added to portage

2026-08-13

aiohttp-socks - 0.12.0
Ebuild name:

dev-python/aiohttp-socks-0.12.0

Description

SOCKS proxy connector for aiohttp

Added to portage

2026-08-13

ansible-compat - 26.8.0
Ebuild name:

dev-python/ansible-compat-26.8.0

Description

Contains functions that facilitate working with various versions o

Added to portage

2026-08-13

apache-arrow - 25.0.1-r1
Ebuild name:

dev-libs/apache-arrow-25.0.1-r1

Description

A cross-language development platform for in-memory data

Added to portage

2026-08-13

bcachefs-tools - 1.39.1
Ebuild name:

sys-fs/bcachefs-tools-1.39.1

Description

Tools for bcachefs

Added to portage

2026-08-13

boto3 - 1.43.70
Ebuild name:

dev-python/boto3-1.43.70

Description

The AWS SDK for Python

Added to portage

2026-08-13

botocore - 1.43.70
Ebuild name:

dev-python/botocore-1.43.70

Description

Low-level, data-driven core of boto 3

Added to portage

2026-08-13

bpf-linker - 0.11.0
Ebuild name:

dev-util/bpf-linker-0.11.0

Description

Simple BPF static linker

Added to portage

2026-08-13

braintree - 4.46.0
Ebuild name:

dev-python/braintree-4.46.0

Description

Braintree Python Library

Added to portage

2026-08-13

caffe2 - 2.12.0-r3
Ebuild name:

sci-ml/caffe2-2.12.0-r3

Description

A deep learning framework

Added to portage

2026-08-13

charset-normalizer - 3.5.0
Ebuild name:

dev-python/charset-normalizer-3.5.0

Description

The Real First Universal Charset Detector

Added to portage

2026-08-13

clang - 23.1.0_rc3
Ebuild name:

dev-python/clang-23.1.0_rc3

Description

Python bindings for llvm-core/clang

Added to portage

2026-08-13

clang - 23.1.0_rc3
Ebuild name:

llvm-core/clang-23.1.0_rc3

Description

C language family frontend for LLVM

Added to portage

2026-08-13

clang-common - 23.1.0_rc3
Ebuild name:

llvm-core/clang-common-23.1.0_rc3

Description

Common files shared between multiple slots of clang

Added to portage

2026-08-13

compiler-rt - 23.1.0_rc3
Ebuild name:

llvm-runtimes/compiler-rt-23.1.0_rc3

Description

Compiler runtime library for clang (built-in part)

Added to portage

2026-08-13

compiler-rt-sanitizers - 23.1.0_rc3
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-23.1.0_rc3

Description

Compiler runtime libraries for clang (sanitizers &

Added to portage

2026-08-13

datasets - 5.0.1-r2
Ebuild name:

sci-ml/datasets-5.0.1-r2

Description

Access and share datasets for Audio, Computer Vision, and NLP tasks

Added to portage

2026-08-13

discord - 1.0.153
Ebuild name:

net-im/discord-1.0.153

Description

All-in-one voice and text chat for gamers

Added to portage

2026-08-13

dolphin - 2606a
Ebuild name:

games-emulation/dolphin-2606a

Description

Gamecube and Wii game emulator

Added to portage

2026-08-13

flang - 23.1.0_rc3
Ebuild name:

llvm-core/flang-23.1.0_rc3

Description

LLVM's Fortran frontend

Added to portage

2026-08-13

flang-rt - 23.1.0_rc3
Ebuild name:

llvm-runtimes/flang-rt-23.1.0_rc3

Description

LLVM's Fortran runtime

Added to portage

2026-08-13

flatpak - 1.18.1
Ebuild name:

sys-apps/flatpak-1.18.1

Description

Linux application sandboxing and distribution framework

Added to portage

2026-08-13

glibc - 2.43-r3
Ebuild name:

sys-libs/glibc-2.43-r3

Description

GNU libc C library

Added to portage

2026-08-13

glibc - 2.44-r1
Ebuild name:

sys-libs/glibc-2.44-r1

Description

GNU libc C library

Added to portage

2026-08-13

httpx-socks - 0.13.0
Ebuild name:

dev-python/httpx-socks-0.13.0

Description

Proxy (HTTP, SOCKS) transports for httpx

Added to portage

2026-08-13

hypothesis - 6.165.4
Ebuild name:

dev-python/hypothesis-6.165.4

Description

A library for property based testing

Added to portage

2026-08-13

intel-microcode - 20260812_p20260813
Ebuild name:

sys-firmware/intel-microcode-20260812_p20260813

Description

Intel IA32/IA64 microcode update data

Added to portage

2026-08-13

libclc - 23.1.0_rc3
Ebuild name:

llvm-runtimes/libclc-23.1.0_rc3

Description

OpenCL C library

Added to portage

2026-08-13

libcxx - 23.1.0_rc3
Ebuild name:

llvm-runtimes/libcxx-23.1.0_rc3

Description

New implementation of the C++ standard library, targeting C++11

Added to portage

2026-08-13

libcxxabi - 23.1.0_rc3
Ebuild name:

llvm-runtimes/libcxxabi-23.1.0_rc3

Description

Low level support for a standard C++ library

Added to portage

2026-08-13

libgcc - 23.1.0_rc3
Ebuild name:

llvm-runtimes/libgcc-23.1.0_rc3

Description

Compiler runtime library for clang, compatible with libgcc_s

Added to portage

2026-08-13

liblore - 0.9.0
Ebuild name:

dev-python/liblore-0.9.0

Description

Shared library for public-inbox / lore.kernel.org access

Added to portage

2026-08-13

libunwind - 23.1.0_rc3
Ebuild name:

llvm-runtimes/libunwind-23.1.0_rc3

Description

C++ runtime stack unwinder from LLVM

Added to portage

2026-08-13

lit - 23.1.0_rc3
Ebuild name:

dev-python/lit-23.1.0_rc3

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-08-13

lld - 23.1.0_rc3
Ebuild name:

llvm-core/lld-23.1.0_rc3

Description

The LLVM linker (link editor)

Added to portage

2026-08-13

lldb - 23.1.0_rc3
Ebuild name:

llvm-core/lldb-23.1.0_rc3

Description

The LLVM debugger

Added to portage

2026-08-13

llvm - 23.1.0_rc3
Ebuild name:

dev-ml/llvm-23.1.0_rc3

Description

OCaml bindings for LLVM

Added to portage

2026-08-13

llvm - 23.1.0_rc3
Ebuild name:

llvm-core/llvm-23.1.0_rc3

Description

Low Level Virtual Machine

Added to portage

2026-08-13

llvm-common - 23.1.0_rc3
Ebuild name:

llvm-core/llvm-common-23.1.0_rc3

Description

Common files shared between multiple slots of LLVM

Added to portage

2026-08-13

lsp-treemacs - 0.5
Ebuild name:

app-emacs/lsp-treemacs-0.5

Description

Integration between lsp-mode and treemacs

Added to portage

2026-08-13

lsp-ui - 8.0.1
Ebuild name:

app-emacs/lsp-ui-8.0.1

Description

UI modules for lsp-mode

Added to portage

2026-08-13

lsp-ui - 9.0.0
Ebuild name:

app-emacs/lsp-ui-9.0.0

Description

UI modules for lsp-mode

Added to portage

2026-08-13

mattermost-desktop-bin - 6.2.3_rc2
Ebuild name:

net-im/mattermost-desktop-bin-6.2.3_rc2

Description

Mattermost Desktop application

Added to portage

2026-08-13

mattermost-desktop-bin - 6.3.0
Ebuild name:

net-im/mattermost-desktop-bin-6.3.0

Description

Mattermost Desktop application

Added to portage

2026-08-13

mlir - 23.1.0_rc3
Ebuild name:

llvm-core/mlir-23.1.0_rc3

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2026-08-13

opam - 2.5.2
Ebuild name:

dev-ml/opam-2.5.2

Description

A source-based package manager for OCaml

Added to portage

2026-08-13

opam-common - 2.5.2
Ebuild name:

dev-ml/opam-common-2.5.2

Description

Core libraries for opam

Added to portage

2026-08-13

opam-installer - 2.5.2
Ebuild name:

dev-ml/opam-installer-2.5.2

Description

Core installer for opam packages

Added to portage

2026-08-13

openmp - 23.1.0_rc3
Ebuild name:

llvm-runtimes/openmp-23.1.0_rc3

Description

OpenMP runtime libraries for LLVM/clang compiler

Added to portage

2026-08-13

openmp-amdgcn-amd-amdhsa - 23.1.0_rc3
Ebuild name:

llvm-runtimes/openmp-amdgcn-amd-amdhsa-23.1.0_rc3

Description

OpenMP target library for amdgcn devices

Added to portage

2026-08-13

openmp-nvptx64-nvidia-cuda - 23.1.0_rc3
Ebuild name:

llvm-runtimes/openmp-nvptx64-nvidia-cuda-23.1.0_rc3

Description

OpenMP target library for nvptx64 devices

Added to portage

2026-08-13

openmp-spirv64-intel - 23.1.0_rc3
Ebuild name:

llvm-runtimes/openmp-spirv64-intel-23.1.0_rc3

Description

OpenMP target library for spirv64 Intel devices

Added to portage

2026-08-13

polly - 23.1.0_rc3
Ebuild name:

llvm-core/polly-23.1.0_rc3

Description

Polyhedral optimizations for LLVM

Added to portage

2026-08-13

pyproject-fmt - 2.27.1
Ebuild name:

dev-python/pyproject-fmt-2.27.1

Description

Format your pyproject.toml file

Added to portage

2026-08-13

pytest-lazy-fixtures - 1.4.1
Ebuild name:

dev-python/pytest-lazy-fixtures-1.4.1

Description

Allows you to use fixtures in @pytest.mark.parametrize

Added to portage

2026-08-13

python - 3.10.21
Ebuild name:

dev-lang/python-3.10.21

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-08-13

python - 3.11.16
Ebuild name:

dev-lang/python-3.11.16

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-08-13

python - 3.12.14
Ebuild name:

dev-lang/python-3.12.14

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-08-13

python-discovery - 1.5.2
Ebuild name:

dev-python/python-discovery-1.5.2

Description

Python interpreter discovery

Added to portage

2026-08-13

python-engineio - 4.13.5
Ebuild name:

dev-python/python-engineio-4.13.5

Description

Python implementation of the Engine.IO realtime server

Added to portage

2026-08-13

python-tests - 3.12.14
Ebuild name:

dev-python/python-tests-3.12.14

Description

Test modules from dev-lang/python

Added to portage

2026-08-13

pythran - 0.19.0_rc1
Ebuild name:

dev-python/pythran-0.19.0_rc1

Description

Ahead of Time compiler for numeric kernels

Added to portage

2026-08-13

pyzotero - 1.13.5
Ebuild name:

dev-python/pyzotero-1.13.5

Description

A Python client for the Zotero API

Added to portage

2026-08-13

repo - 2.65
Ebuild name:

dev-vcs/repo-2.65

Description

Google tool for managing git, particularly multiple repos

Added to portage

2026-08-13

root - 6.40.02
Ebuild name:

sci-physics/root-6.40.02

Description

C++ data analysis framework and interpreter from CERN

Added to portage

2026-08-13

rsync - 3.5.0
Ebuild name:

net-misc/rsync-3.5.0

Description

File transfer program to keep remote files into sync

Added to portage

2026-08-13

rw - 0.10
Ebuild name:

sci-mathematics/rw-0.10

Description

Compute rank-width decompositions of graphs

Added to portage

2026-08-13

shadow - 4.20.2
Ebuild name:

sys-apps/shadow-4.20.2

Description

Utilities to deal with user accounts

Added to portage

2026-08-13

sqlglot - 30.17.0
Ebuild name:

dev-python/sqlglot-30.17.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-08-13

types-setuptools - 84.0.0.20260812
Ebuild name:

dev-python/types-setuptools-84.0.0.20260812

Description

Typing stubs for setuptools

Added to portage

2026-08-13

typing-inspection - 0.4.4
Ebuild name:

dev-python/typing-inspection-0.4.4

Description

Runtime typing introspection tools

Added to portage

2026-08-13

uftrace - 0.19
Ebuild name:

dev-util/uftrace-0.19

Description

Function (graph) tracer for user-space

Added to portage

2026-08-13

xrootd - 5.9.7
Ebuild name:

net-libs/xrootd-5.9.7

Description

Extended ROOT remote file server

Added to portage

2026-08-13

xrootd - 6.1.1
Ebuild name:

net-libs/xrootd-6.1.1

Description

Extended ROOT remote file server

Added to portage

2026-08-13

xxhash - 4.0.0
Ebuild name:

dev-python/xxhash-4.0.0

Description

Python binding for the xxHash library

Added to portage

2026-08-13

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 68.2 ms