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:

83383

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-02-20
2026-02-19
aegisub - 3.4.2-r3
Ebuild name:

media-video/aegisub-3.4.2-r3

Description

Advanced subtitle editor

Added to portage

2026-02-19

awscli - 1.44.42
Ebuild name:

app-admin/awscli-1.44.42

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-19

badkeys - 0.0.17
Ebuild name:

app-crypt/badkeys-0.0.17

Description

Check cryptographic keys for known weaknesses

Added to portage

2026-02-19

bibletime - 3.2.0
Ebuild name:

app-text/bibletime-3.2.0

Description

Qt Bible-study application using the SWORD library

Added to portage

2026-02-19

boehm-gc - 8.2.12
Ebuild name:

dev-libs/boehm-gc-8.2.12

Description

The Boehm-Demers-Weiser conservative garbage collector

Added to portage

2026-02-19

boto3 - 1.42.52
Ebuild name:

dev-python/boto3-1.42.52

Description

The AWS SDK for Python

Added to portage

2026-02-19

botocore - 1.42.52
Ebuild name:

dev-python/botocore-1.42.52

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-19

cantor - 25.12.2-r1
Ebuild name:

kde-apps/cantor-25.12.2-r1

Description

Interface for doing mathematics and scientific computing

Added to portage

2026-02-19

capstone - 6.0.0_alpha7
Ebuild name:

dev-libs/capstone-6.0.0_alpha7

Description

disassembly/disassembler framework + bindings

Added to portage

2026-02-19

cattrs - 26.1.0
Ebuild name:

dev-python/cattrs-26.1.0

Description

Composable complex class support for attrs and dataclasses

Added to portage

2026-02-19

ceph - 20.1.1-r1
Ebuild name:

sys-cluster/ceph-20.1.1-r1

Description

Ceph distributed filesystem

Added to portage

2026-02-19

chrome-binary-plugins - 145.0.7632.109
Ebuild name:

www-plugins/chrome-binary-plugins-145.0.7632.109

Description

Binary plugins from Google Chrome for use in Chrom

Added to portage

2026-02-19

chromedriver-bin - 145.0.7632.109
Ebuild name:

www-apps/chromedriver-bin-145.0.7632.109

Description

WebDriver for Chrome

Added to portage

2026-02-19

chromium - 145.0.7632.109
Ebuild name:

www-client/chromium-145.0.7632.109

Description

Open-source version of Google Chrome web browser

Added to portage

2026-02-19

cli-helpers - 2.10.1
Ebuild name:

dev-python/cli-helpers-2.10.1

Description

Python helpers for common CLI tasks

Added to portage

2026-02-19

droidcam - 2.1.5
Ebuild name:

media-video/droidcam-2.1.5

Description

Use your phone or tablet as webcam with a v4l device driver and app

Added to portage

2026-02-19

dropbox - 242.4.5815
Ebuild name:

net-misc/dropbox-242.4.5815

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2026-02-19

filelock - 3.24.3
Ebuild name:

dev-python/filelock-3.24.3

Description

A platform independent file lock for Python

Added to portage

2026-02-19

google-api-core - 2.30.0
Ebuild name:

dev-python/google-api-core-2.30.0

Description

Core Library for Google Client Libraries

Added to portage

2026-02-19

google-chrome - 145.0.7632.109
Ebuild name:

www-client/google-chrome-145.0.7632.109

Description

The web browser from Google

Added to portage

2026-02-19

haproxy - 3.0.17
Ebuild name:

net-proxy/haproxy-3.0.17

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-02-19

haproxy - 3.2.13
Ebuild name:

net-proxy/haproxy-3.2.13

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-02-19

haproxy - 3.3.4
Ebuild name:

net-proxy/haproxy-3.3.4

Description

A TCP/HTTP reverse proxy for high availability environments

Added to portage

2026-02-19

iosevka - 33.3.6
Ebuild name:

media-fonts/iosevka-33.3.6

Description

Slender typeface for code, from code

Added to portage

2026-02-19

iosevka - 34.1.0
Ebuild name:

media-fonts/iosevka-34.1.0

Description

Slender typeface for code, from code

Added to portage

2026-02-19

kaffeine - 2.1.0_pre20260210
Ebuild name:

media-video/kaffeine-2.1.0_pre20260210

Description

Media player with digital TV support by KDE

Added to portage

2026-02-19

kmscon - 9.3.2
Ebuild name:

sys-apps/kmscon-9.3.2

Description

KMS/DRM based virtual Console Emulator

Added to portage

2026-02-19

libdolbyb - 1.0.1
Ebuild name:

media-libs/libdolbyb-1.0.1

Description

Treat audio recordings similar to Dolby B noise reduction codecs

Added to portage

2026-02-19

libquotient - 0.9.6.1
Ebuild name:

net-libs/libquotient-0.9.6.1

Description

Qt-based SDK to develop applications for Matrix

Added to portage

2026-02-19

libtmux - 0.53.1
Ebuild name:

dev-python/libtmux-0.53.1

Description

Typed library that provides an ORM wrapper for tmux, a terminal multiplex

Added to portage

2026-02-19

libunwind - 1.8.3
Ebuild name:

sys-libs/libunwind-1.8.3

Description

Portable and efficient API to determine the call-chain of a program

Added to portage

2026-02-19

libvpx - 1.16.0
Ebuild name:

media-libs/libvpx-1.16.0

Description

WebM VP8 and VP9 Codec SDK

Added to portage

2026-02-19

luajit - 2.1.1770848219
Ebuild name:

dev-lang/luajit-2.1.1770848219

Description

Just-In-Time Compiler for the Lua programming language

Added to portage

2026-02-19

maturin - 1.12.3
Ebuild name:

dev-util/maturin-1.12.3

Description

Build and publish crates with pyo3, rust-cpython and cffi bindings

Added to portage

2026-02-19

microsoft-edge - 145.0.3800.58
Ebuild name:

www-client/microsoft-edge-145.0.3800.58

Description

The web browser from Microsoft

Added to portage

2026-02-19

microsoft-edge-beta - 145.0.3800.58
Ebuild name:

www-client/microsoft-edge-beta-145.0.3800.58

Description

The web browser from Microsoft

Added to portage

2026-02-19

microsoft-edge-dev - 146.0.3856.9
Ebuild name:

www-client/microsoft-edge-dev-146.0.3856.9

Description

The web browser from Microsoft

Added to portage

2026-02-19

mkdocs-material - 9.7.2
Ebuild name:

dev-python/mkdocs-material-9.7.2

Description

A Material Design theme for MkDocs

Added to portage

2026-02-19

nerd-icons - 0.1.0
Ebuild name:

app-emacs/nerd-icons-0.1.0

Description

Emacs Nerd Font Icons Library

Added to portage

2026-02-19

openstackdocstheme - 3.5.0-r1
Ebuild name:

dev-python/openstackdocstheme-3.5.0-r1

Description

Theme and extension support for Sphinx documentation

Added to portage

2026-02-19

opentelemetry-cpp - 1.25.0
Ebuild name:

dev-cpp/opentelemetry-cpp-1.25.0

Description

The OpenTelemetry C++ Client

Added to portage

2026-02-19

opera - 127.0.5778.76
Ebuild name:

www-client/opera-127.0.5778.76

Description

A fast and secure web browser

Added to portage

2026-02-19

opera-developer - 129.0.5812.0
Ebuild name:

www-client/opera-developer-129.0.5812.0

Description

A fast and secure web browser

Added to portage

2026-02-19

oslo-log - 8.1.0
Ebuild name:

dev-python/oslo-log-8.1.0

Description

OpenStack logging config library, configuration for all openstack project

Added to portage

2026-02-19

packer - 1.14.3
Ebuild name:

dev-util/packer-1.14.3

Description

A tool to create identical machine images for multiple platforms

Added to portage

2026-02-19

parse - 1.21.1
Ebuild name:

dev-python/parse-1.21.1

Description

Parse strings using a specification based on the Python format() syntax

Added to portage

2026-02-19

psycopg - 3.3.3
Ebuild name:

dev-python/psycopg-3.3.3

Description

PostgreSQL database adapter for Python

Added to portage

2026-02-19

pyproject-fmt - 2.16.1
Ebuild name:

dev-python/pyproject-fmt-2.16.1

Description

Format your pyproject.toml file

Added to portage

2026-02-19

recurring-ical-events - 3.8.1
Ebuild name:

dev-python/recurring-ical-events-3.8.1

Description

Repeat ICalendar events by RRULE, RDATE and EXDATE

Added to portage

2026-02-19

remmina - 1.4.42
Ebuild name:

net-misc/remmina-1.4.42

Description

A GTK+ RDP, SPICE, VNC and SSH client

Added to portage

2026-02-19

rust - 1.94.0_beta20260213
Ebuild name:

dev-lang/rust-1.94.0_beta20260213

Description

Systems programming language originally developed by Mozilla

Added to portage

2026-02-19

rust-bin - 1.94.0_beta20260213
Ebuild name:

dev-lang/rust-bin-1.94.0_beta20260213

Description

Added to portage

2026-02-19

rust-common - 1.94.0_beta20260213
Ebuild name:

dev-lang/rust-common-1.94.0_beta20260213

Description

Common files shared between multiple slots of Rust

Added to portage

2026-02-19

rust-std - 1.94.0_beta20260213
Ebuild name:

sys-devel/rust-std-1.94.0_beta20260213

Description

Rust standard library, standalone (for crossdev)

Added to portage

2026-02-19

signal-desktop-bin - 7.89.0
Ebuild name:

net-im/signal-desktop-bin-7.89.0

Description

Allows you to send and receive messages of Signal Messenger on you

Added to portage

2026-02-19

simdjson - 4.3.0
Ebuild name:

dev-libs/simdjson-4.3.0

Description

SIMD accelerated C++ JSON library

Added to portage

2026-02-19

sox - 14.4.5.1
Ebuild name:

media-sound/sox-14.4.5.1

Description

The swiss army knife of sound processing programs

Added to portage

2026-02-19

sox - 14.7.0.9
Ebuild name:

media-sound/sox-14.7.0.9

Description

The swiss army knife of sound processing programs

Added to portage

2026-02-19

spawn - 26.0.0-r1
Ebuild name:

dev-ada/spawn-26.0.0-r1

Description

Simple API to spawn processes

Added to portage

2026-02-19

sphinx-autodoc-typehints - 3.6.3
Ebuild name:

dev-python/sphinx-autodoc-typehints-3.6.3

Description

Type hints support for the Sphinx autodoc extension

Added to portage

2026-02-19

tavern - 3.2.0
Ebuild name:

dev-python/tavern-3.2.0

Description

A tool, library, and Pytest plugin for testing RESTful APIs

Added to portage

2026-02-19

tox - 4.39.0
Ebuild name:

dev-python/tox-4.39.0

Description

virtualenv-based automation of test activities

Added to portage

2026-02-19

webkit-gtk - 2.50.5-r410
Ebuild name:

net-libs/webkit-gtk-2.50.5-r410

Description

Open source web browser engine

Added to portage

2026-02-19

webkit-gtk - 2.50.5-r600
Ebuild name:

net-libs/webkit-gtk-2.50.5-r600

Description

Open source web browser engine

Added to portage

2026-02-19

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