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:

89296

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-10-18
freeciv - 3.2.6
Ebuild name:

games-strategy/freeciv-3.2.6

Description

Multiplayer strategy game (Civilization Clone)

Added to portage

2026-10-18

gallery-dl - 1.32.17
Ebuild name:

net-misc/gallery-dl-1.32.17

Description

Download image galleries and collections from several image hosting sit

Added to portage

2026-10-18

graphql - 0.1.2
Ebuild name:

app-emacs/graphql-0.1.2

Description

GraphQL utilities

Added to portage

2026-10-18

graphviz-dot-mode - 0.4.2_p20250925
Ebuild name:

app-emacs/graphviz-dot-mode-0.4.2_p20250925

Description

Emacs mode for editing and previewing Graphviz dot grap

Added to portage

2026-10-18

libzip - 1.12.1
Ebuild name:

dev-libs/libzip-1.12.1

Description

Library for manipulating zip archives

Added to portage

2026-10-18

luau - 0.743
Ebuild name:

dev-lang/luau-0.743

Description

Gradually typed embeddable scripting language derived from Lua

Added to portage

2026-10-18

rocm-core - 10.1.0
Ebuild name:

dev-libs/rocm-core-10.1.0

Description

Library that provides ROCm release version and install path information

Added to portage

2026-10-18

rocm-device-libs - 10.1.0
Ebuild name:

dev-libs/rocm-device-libs-10.1.0

Description

Radeon Open Compute Device Libraries

Added to portage

2026-10-18

roct-thunk-interface - 10.1.0
Ebuild name:

dev-libs/roct-thunk-interface-10.1.0

Description

Radeon Open Compute Thunk Interface

Added to portage

2026-10-18

sddm - 0.21.0_p20260819-r1
Ebuild name:

x11-misc/sddm-0.21.0_p20260819-r1

Description

Simple Desktop Display Manager

Added to portage

2026-10-18

2026-10-17
aioquic - 1.7.0
Ebuild name:

dev-python/aioquic-1.7.0

Description

An implementation of QUIC and HTTP/3

Added to portage

2026-10-17

alephone-durandal - 20260930-r1
Ebuild name:

games-fps/alephone-durandal-20260930-r1

Description

Aleph One - Marathon 2 (Durandal)

Added to portage

2026-10-17

alephone-infinity - 20260930-r1
Ebuild name:

games-fps/alephone-infinity-20260930-r1

Description

Aleph One - Marathon Infinity

Added to portage

2026-10-17

alephone-marathon - 20260930-r1
Ebuild name:

games-fps/alephone-marathon-20260930-r1

Description

Aleph One - Marathon (M1A1)

Added to portage

2026-10-17

ast-serialize - 0.13.1
Ebuild name:

dev-python/ast-serialize-0.13.1

Description

Python bindings for mypy AST serialization

Added to portage

2026-10-17

aws-crt-cpp - 0.44.0
Ebuild name:

dev-cpp/aws-crt-cpp-0.44.0

Description

C++ wrapper around the aws-c-* libraries

Added to portage

2026-10-17

awscrt - 0.38.0
Ebuild name:

dev-python/awscrt-0.38.0

Description

A common runtime for AWS Python projects

Added to portage

2026-10-17

berkeleydb - 18.1.16
Ebuild name:

dev-python/berkeleydb-18.1.16

Description

Python bindings for Oracle Berkeley DB

Added to portage

2026-10-17

btrfs-assistant - 3.0.0
Ebuild name:

app-admin/btrfs-assistant-3.0.0

Description

GUI management tool to make managing a Btrfs filesystem easier

Added to portage

2026-10-17

claude-code - 2.1.301
Ebuild name:

dev-util/claude-code-2.1.301

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-10-17

cli-helpers - 2.15.2
Ebuild name:

dev-python/cli-helpers-2.15.2

Description

Python helpers for common CLI tasks

Added to portage

2026-10-17

cnijfilter2 - 6.90
Ebuild name:

net-print/cnijfilter2-6.90

Description

IJ Printer Driver

Added to portage

2026-10-17

createrepo_c - 1.2.5
Ebuild name:

app-arch/createrepo_c-1.2.5

Description

C implementation of createrepo

Added to portage

2026-10-17

darktable - 5.6.2
Ebuild name:

media-gfx/darktable-5.6.2

Description

A virtual lighttable and darkroom for photographers

Added to portage

2026-10-17

distlib - 0.4.4
Ebuild name:

dev-python/distlib-0.4.4

Description

Low-level components of distutils2/packaging

Added to portage

2026-10-17

django-otp - 1.7.5
Ebuild name:

dev-python/django-otp-1.7.5

Description

Django framework adding two-factor authentication using one-time passwo

Added to portage

2026-10-17

elasticsearch - 9.5.5
Ebuild name:

app-misc/elasticsearch-9.5.5

Description

Free and Open, Distributed, RESTful Search Engine

Added to portage

2026-10-17

fastapi - 0.143.3
Ebuild name:

dev-python/fastapi-0.143.3

Description

High performance framework, easy to learn, fast to code, ready for produ

Added to portage

2026-10-17

ggml - 0.27.0
Ebuild name:

sci-ml/ggml-0.27.0

Description

Tensor library for machine learning

Added to portage

2026-10-17

graphviz-dot-mode - 0.4_p20181118
Ebuild name:

app-emacs/graphviz-dot-mode-0.4_p20181118

Description

Emacs mode for editing and previewing Graphviz dot graphs

Added to portage

2026-10-17

graphviz-dot-mode - 0.5.0
Ebuild name:

app-emacs/graphviz-dot-mode-0.5.0

Description

Emacs mode for editing and previewing Graphviz dot graphs

Added to portage

2026-10-17

groovy-emacs-modes - 2.1
Ebuild name:

app-emacs/groovy-emacs-modes-2.1

Description

Groovy major mode, grails minor mode, and a groovy inferior mode

Added to portage

2026-10-17

hypothesis - 6.170.1
Ebuild name:

dev-python/hypothesis-6.170.1

Description

A library for property based testing

Added to portage

2026-10-17

incus - 7.0.2
Ebuild name:

app-containers/incus-7.0.2

Description

Modern, secure and powerful system container and virtual machine manager

Added to portage

2026-10-17

jellyfin-bin - 12.2-r1
Ebuild name:

www-apps/jellyfin-bin-12.2-r1

Description

Jellyfin puts you in control of managing and streaming your media

Added to portage

2026-10-17

jsonpath-ng - 1.11.0
Ebuild name:

dev-python/jsonpath-ng-1.11.0

Description

Python JSONPath Next-Generation

Added to portage

2026-10-17

kde-cli-tools - 6.8.0-r1
Ebuild name:

kde-plasma/kde-cli-tools-6.8.0-r1

Description

Tools based on KDE Frameworks 6 to better interact with the syste

Added to portage

2026-10-17

libmodulemd - 2.15.3
Ebuild name:

sys-libs/libmodulemd-2.15.3

Description

C Library for manipulating Fedora Modularity metadata files

Added to portage

2026-10-17

mkl - 2026.2.0.881
Ebuild name:

sci-libs/mkl-2026.2.0.881

Description

Intel Math Kernel Library

Added to portage

2026-10-17

mu - 1.14.4-r1
Ebuild name:

net-mail/mu-1.14.4-r1

Description

Set of tools to deal with Maildirs, in particular, searching and indexing

Added to portage

2026-10-17

mumps - 5.8.2
Ebuild name:

sci-libs/mumps-5.8.2

Description

MUltifrontal Massively Parallel sparse direct matrix Solver

Added to portage

2026-10-17

ncspot - 1.5.0
Ebuild name:

media-sound/ncspot-1.5.0

Description

ncurses Spotify client written in Rust using librespot

Added to portage

2026-10-17

nrpe - 4.1.3
Ebuild name:

net-analyzer/nrpe-4.1.3

Description

Nagios Remote Plugin Executor

Added to portage

2026-10-17

objgraph - 3.7.0
Ebuild name:

dev-python/objgraph-3.7.0

Description

Draws Python object reference graphs with graphviz

Added to portage

2026-10-17

ollama - 0.40.5
Ebuild name:

sci-ml/ollama-0.40.5

Description

Get up and running with Llama 3, Mistral, Gemma, and other language models

Added to portage

2026-10-17

openntpd - 7.9_p1-r1
Ebuild name:

net-misc/openntpd-7.9_p1-r1

Description

Lightweight NTP server ported from OpenBSD

Added to portage

2026-10-17

pecl-memcached - 3.4.0-r1
Ebuild name:

dev-php/pecl-memcached-3.4.0-r1

Description

Interface PHP with memcached via libmemcached library

Added to portage

2026-10-17

pillow - 13.0.0
Ebuild name:

dev-python/pillow-13.0.0

Description

Python Imaging Library (fork)

Added to portage

2026-10-17

pkgcore - 0.12.47
Ebuild name:

sys-apps/pkgcore-0.12.47

Description

a framework for package management

Added to portage

2026-10-17

pkginfo - 1.13.3
Ebuild name:

dev-python/pkginfo-1.13.3

Description

Provides an API for querying the distutils metadata written in a PKG-INFO

Added to portage

2026-10-17

platformio - 6.2.0-r1
Ebuild name:

dev-embedded/platformio-6.2.0-r1

Description

An open source ecosystem for IoT development

Added to portage

2026-10-17

portalocker - 4.4.1
Ebuild name:

dev-python/portalocker-4.4.1

Description

A library for Python file locking

Added to portage

2026-10-17

pyqt-builder - 1.20.1
Ebuild name:

dev-python/pyqt-builder-1.20.1

Description

The PEP 517 compliant PyQt build system

Added to portage

2026-10-17

rocm-cmake - 10.1.0
Ebuild name:

dev-build/rocm-cmake-10.1.0

Description

Radeon Open Compute CMake Modules

Added to portage

2026-10-17

s2n-tls - 1.7.12
Ebuild name:

dev-libs/s2n-tls-1.7.12

Description

s2n-tls is a C99 implementation of the TLS/SSL protocols

Added to portage

2026-10-17

sdl3-image - 3.4.8
Ebuild name:

media-libs/sdl3-image-3.4.8

Description

A simple library to load images of various formats as SDL surfaces

Added to portage

2026-10-17

sphinx-autodoc-typehints - 3.17.1
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.17.1

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-10-17

spidermonkey - 140.17.0
Ebuild name:

dev-lang/spidermonkey-140.17.0

Description

Mozilla's JavaScript engine written in C and C++

Added to portage

2026-10-17

spidermonkey - 153.5.0
Ebuild name:

dev-lang/spidermonkey-153.5.0

Description

Mozilla's JavaScript engine written in C and C++

Added to portage

2026-10-17

sqlalchemy - 2.0.55
Ebuild name:

dev-python/sqlalchemy-2.0.55

Description

Python SQL toolkit and Object Relational Mapper

Added to portage

2026-10-17

sqlalchemy - 2.1.5
Ebuild name:

dev-python/sqlalchemy-2.1.5

Description

Python SQL toolkit and Object Relational Mapper

Added to portage

2026-10-17

ssh-audit - 3.9.0_p20261011
Ebuild name:

net-analyzer/ssh-audit-3.9.0_p20261011

Description

SSH server auditing (banner, key exchange, encryption, mac,

Added to portage

2026-10-17

superqt - 0.9.0
Ebuild name:

dev-python/superqt-0.9.0

Description

Missing widgets and components for PyQt/PySide

Added to portage

2026-10-17

union - 6.8.0-r1
Ebuild name:

kde-plasma/union-6.8.0-r1

Description

Style engine providing a unified style description to separate output sty

Added to portage

2026-10-17

wine-vanilla - 11.20
Ebuild name:

app-emulation/wine-vanilla-11.20

Description

Free implementation of Windows(tm) on Unix, without external patch

Added to portage

2026-10-17

zchunk - 1.5.4
Ebuild name:

app-arch/zchunk-1.5.4

Description

File format designed for highly efficient deltas with good compression

Added to portage

2026-10-17

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