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:

86527

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-07-04
forbiddenfruit - 0.1.4-r1
Ebuild name:

dev-python/forbiddenfruit-0.1.4-r1

Description

Patch built-in Python objects

Added to portage

2026-07-04

intellij-idea - 2026.1.4
Ebuild name:

dev-util/intellij-idea-2026.1.4

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2026-07-04

libmemcached-awesome - 1.1.4-r1
Ebuild name:

dev-libs/libmemcached-awesome-1.1.4-r1

Description

a C/C++ memcached client library

Added to portage

2026-07-04

mod_wsgi - 6.0.5
Ebuild name:

www-apache/mod_wsgi-6.0.5

Description

An Apache2 module for running Python WSGI applications

Added to portage

2026-07-04

pylibmc - 1.6.3-r3
Ebuild name:

dev-python/pylibmc-1.6.3-r3

Description

Libmemcached wrapper written as a Python extension

Added to portage

2026-07-04

pyquery - 2.0.1-r1
Ebuild name:

dev-python/pyquery-2.0.1-r1

Description

A jQuery-like library for python

Added to portage

2026-07-04

pytest-expect - 1.1.0-r3
Ebuild name:

dev-python/pytest-expect-1.1.0-r3

Description

pytest plugin that stores test expectations by saving the set of

Added to portage

2026-07-04

virtualbox - 7.2.12
Ebuild name:

app-emulation/virtualbox-7.2.12

Description

Family of powerful x86 virtualization products for enterprise and h

Added to portage

2026-07-04

virtualbox-additions - 7.2.12
Ebuild name:

app-emulation/virtualbox-additions-7.2.12

Description

CD image containing guest additions for VirtualBox

Added to portage

2026-07-04

virtualbox-extpack-oracle - 7.2.12
Ebuild name:

app-emulation/virtualbox-extpack-oracle-7.2.12

Description

PUEL extensions for VirtualBox

Added to portage

2026-07-04

virtualbox-guest-additions - 7.2.12
Ebuild name:

app-emulation/virtualbox-guest-additions-7.2.12

Description

VirtualBox kernel modules and user-space tools for

Added to portage

2026-07-04

virtualbox-guest-modules - 7.2.12
Ebuild name:

app-emulation/virtualbox-guest-modules-7.2.12

Description

Kernel Modules for Virtualbox Guest Additions

Added to portage

2026-07-04

virtualbox-kvm - 7.2.12_pre20260201
Ebuild name:

app-emulation/virtualbox-kvm-7.2.12_pre20260201

Description

Family of powerful x86 virtualization products for

Added to portage

2026-07-04

virtualbox-modules - 7.2.12
Ebuild name:

app-emulation/virtualbox-modules-7.2.12

Description

Kernel Modules for Virtualbox

Added to portage

2026-07-04

zlib-ng - 1.0.0-r1
Ebuild name:

dev-python/zlib-ng-1.0.0-r1

Description

Drop-in replacement for zlib and gzip modules using zlib-ng

Added to portage

2026-07-04

zope-testing - 6.2
Ebuild name:

dev-python/zope-testing-6.2

Description

Zope testing helpers

Added to portage

2026-07-04

2026-07-03
awkward - 2.10.0
Ebuild name:

dev-python/awkward-2.10.0

Description

Manipulate JSON-like data with NumPy-like idioms

Added to portage

2026-07-03

awkward-cpp - 54
Ebuild name:

dev-python/awkward-cpp-54

Description

CPU kernels and compiled extensions for Awkward Array

Added to portage

2026-07-03

awscli - 1.45.40
Ebuild name:

app-admin/awscli-1.45.40

Description

Universal Command Line Environment for AWS

Added to portage

2026-07-03

bitwarden-desktop-bin - 2026.6.0
Ebuild name:

app-admin/bitwarden-desktop-bin-2026.6.0

Description

Bitwarden password manager desktop client

Added to portage

2026-07-03

boto3 - 1.43.40
Ebuild name:

dev-python/boto3-1.43.40

Description

The AWS SDK for Python

Added to portage

2026-07-03

botocore - 1.43.40
Ebuild name:

dev-python/botocore-1.43.40

Description

Low-level, data-driven core of boto 3

Added to portage

2026-07-03

candy - 6.1.8
Ebuild name:

net-vpn/candy-6.1.8

Description

A reliable, low-latency, and anti-censorship virtual private network

Added to portage

2026-07-03

certbot - 5.6.0
Ebuild name:

app-crypt/certbot-5.6.0

Description

Let's Encrypt client to automate deployment of X.509 certificates

Added to portage

2026-07-03

clamav - 0.103.12-r5
Ebuild name:

app-antivirus/clamav-0.103.12-r5

Description

Clam Anti-Virus Scanner

Added to portage

2026-07-03

coverage - 7.15.0
Ebuild name:

dev-python/coverage-7.15.0

Description

Code coverage measurement for Python

Added to portage

2026-07-03

croniter - 6.2.3
Ebuild name:

dev-python/croniter-6.2.3

Description

Python module to provide iteration for datetime object

Added to portage

2026-07-03

derper - 1.100.0
Ebuild name:

net-vpn/derper-1.100.0

Description

DERP server for tailscale network

Added to portage

2026-07-03

dune - 3.23.1
Ebuild name:

dev-ml/dune-3.23.1

Description

A composable build system for OCaml

Added to portage

2026-07-03

faudio - 26.07
Ebuild name:

app-emulation/faudio-26.07

Description

Accuracy-focused XAudio reimplementation for open platforms

Added to portage

2026-07-03

filezilla - 3.70.6
Ebuild name:

net-ftp/filezilla-3.70.6

Description

FTP client with lots of useful features and an intuitive interface

Added to portage

2026-07-03

fitsio - 1.4.0
Ebuild name:

dev-python/fitsio-1.4.0

Description

Python library to read from and write to FITS files

Added to portage

2026-07-03

framework_tool - 0.6.5
Ebuild name:

app-laptop/framework_tool-0.6.5

Description

Tool to control Framework Computer systems

Added to portage

2026-07-03

fzssh - 1.3.0
Ebuild name:

net-libs/fzssh-1.3.0

Description

A SSH/SFTP library based on libfilezilla

Added to portage

2026-07-03

itsdangerous - 2.2.0-r1
Ebuild name:

dev-python/itsdangerous-2.2.0-r1

Description

Various helpers to pass trusted data to untrusted environments and

Added to portage

2026-07-03

libfilezilla - 0.56.1
Ebuild name:

dev-libs/libfilezilla-0.56.1

Description

C++ library offering some basic functionality for platform-independent

Added to portage

2026-07-03

libmd - 1.2.0
Ebuild name:

app-crypt/libmd-1.2.0

Description

Message Digest functions from BSD systems

Added to portage

2026-07-03

libmodbus - 3.2.0
Ebuild name:

dev-libs/libmodbus-3.2.0

Description

Modbus library which supports RTU communication over a serial line or a TC

Added to portage

2026-07-03

libscrypt - 1.22-r3
Ebuild name:

app-crypt/libscrypt-1.22-r3

Description

Shared library to implement the scrypt algorithm

Added to portage

2026-07-03

libscrypt - 1.22-r3
Ebuild name:

app-crypt/libscrypt-1.22-r3

Description

Shared library to implement the scrypt algorithm

Added to portage

2026-07-03

libupnp - 2.0.2
Ebuild name:

net-libs/libupnp-2.0.2

Description

An Portable Open Source UPnP Development Kit

Added to portage

2026-07-03

lsp-treemacs - 0.5
Ebuild name:

app-emacs/lsp-treemacs-0.5

Description

Integration between lsp-mode and treemacs

Added to portage

2026-07-03

nattka - 0.4.3
Ebuild name:

app-portage/nattka-0.4.3

Description

A New Arch Tester Toolkit -- open-source stable-bot replacement

Added to portage

2026-07-03

nerdctl - 2.3.4
Ebuild name:

app-containers/nerdctl-2.3.4

Description

Docker-compatible CLI for containerd, with support for Compose

Added to portage

2026-07-03

netifrc - 0.7.13-r1
Ebuild name:

net-misc/netifrc-0.7.13-r1

Description

Gentoo Network Interface Management Scripts

Added to portage

2026-07-03

netifrc - 0.7.14-r1
Ebuild name:

net-misc/netifrc-0.7.14-r1

Description

Gentoo Network Interface Management Scripts

Added to portage

2026-07-03

openpgp-keys-acl - 20260702
Ebuild name:

sec-keys/openpgp-keys-acl-20260702

Description

OpenPGP keys used by sys-apps/acl

Added to portage

2026-07-03

openrc - 0.63.3
Ebuild name:

sys-apps/openrc-0.63.3

Description

OpenRC manages the services, startup and shutdown of a host

Added to portage

2026-07-03

pjproject - 2.17-r1
Ebuild name:

net-libs/pjproject-2.17-r1

Description

Open source SIP, Media, and NAT Traversal Library

Added to portage

2026-07-03

puppet - 8.10.0-r1
Ebuild name:

app-admin/puppet-8.10.0-r1

Description

A system automation and configuration management software

Added to portage

2026-07-03

pycargoebuild - 0.16.0
Ebuild name:

app-portage/pycargoebuild-0.16.0

Description

A generator for Rust/Cargo ebuilds written in Python

Added to portage

2026-07-03

pymdown-extensions - 11.0.1
Ebuild name:

dev-python/pymdown-extensions-11.0.1

Description

Extensions for Python Markdown

Added to portage

2026-07-03

python-ironicclient - 6.2.0
Ebuild name:

dev-python/python-ironicclient-6.2.0

Description

Python bindings for the Ironic API

Added to portage

2026-07-03

python-utils - 4.0.0
Ebuild name:

dev-python/python-utils-4.0.0

Description

Collection of small Python functions & classes

Added to portage

2026-07-03

qmmp - 2.3.3
Ebuild name:

media-sound/qmmp-2.3.3

Description

Qt-based audio player with winamp/xmms skins support

Added to portage

2026-07-03

qmmp-plugin-pack - 2.3.1
Ebuild name:

media-plugins/qmmp-plugin-pack-2.3.1

Description

Set of extra plugins for Qmmp

Added to portage

2026-07-03

qpdfview - 0.5_p20260701
Ebuild name:

app-text/qpdfview-0.5_p20260701

Description

Tabbed document viewer

Added to portage

2026-07-03

rar - 7.23
Ebuild name:

app-arch/rar-7.23

Description

RAR compressor/uncompressor

Added to portage

2026-07-03

slack - 4.50.143
Ebuild name:

net-im/slack-4.50.143

Description

Team collaboration tool

Added to portage

2026-07-03

smartdns - 48.2
Ebuild name:

net-dns/smartdns-48.2

Description

A local DNS server returns the fastest access results

Added to portage

2026-07-03

stevedore - 5.9.0
Ebuild name:

dev-python/stevedore-5.9.0

Description

Manage dynamic plugins for Python applications

Added to portage

2026-07-03

subrandr - 1.4.0
Ebuild name:

media-libs/subrandr-1.4.0

Description

Subtitle rendering library for rendering non-ASS subtitles

Added to portage

2026-07-03

ttyrec - 1.2.0.0
Ebuild name:

app-misc/ttyrec-1.2.0.0

Description

ttyrec provides tools to record and replay a terminal session

Added to portage

2026-07-03

typing-extensions - 4.16.0
Ebuild name:

dev-python/typing-extensions-4.16.0

Description

Backported and Experimental Type Hints for Python 3.7+

Added to portage

2026-07-03

unrar - 7.2.7
Ebuild name:

app-arch/unrar-7.2.7

Description

Uncompress rar files

Added to portage

2026-07-03

wcmatch - 10.2.1
Ebuild name:

dev-python/wcmatch-10.2.1

Description

Wildcard/glob file name matcher

Added to portage

2026-07-03

yq-go - 4.53.3
Ebuild name:

app-misc/yq-go-4.53.3

Description

yq is a lightweight and portable command-line YAML, JSON and XML processor

Added to portage

2026-07-03

zsh-completions - 0.36.0
Ebuild name:

app-shells/zsh-completions-0.36.0

Description

Additional completion definitions for Zsh

Added to portage

2026-07-03

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