Gentoo Linux – my personally customized make.conf
/etc/make.conf
See official documentation of USE flags or other features of Gentoo Portage.
# /etc/make.conf (Gentoo Linux) # Portage USE Flags USE="symlink x86 cxx X qt4 art kde kdeprefix gnome gtk opengl sdl mono java java6 \ perl pcre ruby php tokenizer python webkit examples subversion latex xml xsl \ cdr dvd dvdr dvdread alsa -oss hal dbus firefox mozilla javascript ssl ipv6 \ icq jabber msn yahoo gimp gif jpeg jpeg2k png pdf musicbrainz mad mp3 ogg vorbis\ aac asf a52 avi ffmpeg xvid quicktime live mjpeg mpeg xine xinerama wmp real \ realmedia theora win32codecs -apache apache2 mysql mysqli embedded vhosts \ readline recode bash-completion vim-syntax samba netboot rdesktop encode \ bluetooth ieee1394 wifi usb pcmcia ipv6 -cups gzip zlib truetype unicode \ mmx sse sse2 sse3 xcb -3dfx -voodoo3 -emacs nptl lcms battery mng -dso" # Allow non-stable packages ACCEPT_KEYWORDS="~x86" AUTOCLEAN="yes" # Processor optimizations (Intel Core 2 Duo) CFLAGS="-mtune=core2 -march=core2 -msse3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" # Allow parallel compilation on both cores (Intel Core 2 Duo) MAKEOPTS="-j3" # Show colored output even when piped NOCOLOR="no" # This prevents some merge colission (see http://bugs.gentoo.org/) FEATURES="ccache buildpkg distlocks metadata-tranfer parallel-fetch sandbox sfperms \ strict unmerge-orphans userfetch -distcc" CHOST="i686-pc-linux-gnu" # Directory of overlay ebuilds PORTDIR_OVERLAY="/usr/local/overlay" PORTAGE_ECLASS_WARNING_ENABLE="0" # List of mirror servers (to download packages from) GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ \ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ \ http://distfiles.gentoo.org \ http://www.ibiblio.org/pub/Linux/distributions/gentoo" # List of sync servers (emerge --sync) SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" # Input devices (to prevent some evdev/hal/Xorg problems) INPUT_DEVICES="evdev keyboard mouse synaptics" VIDEO_CARDS="intel i810 vesa" # Languages support (English, Czech) LINGUAS="en cs"
Emerge Portage – Multiple package instances within a single package resulting slot conflict

As usual at least once a month, I came across a bug in The Portage Tree of Gentoo Linux.
root@v-teq-laptop $ emerge -Dup world # --deep --update --pretend !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: sys-libs/readline:0 ('ebuild', '/', 'sys-libs/readline-5.2_p13', 'merge') pulled in by =sys-libs/readline-5* required by ('ebuild', '/', 'dev-lang/ghc-6.8.2', 'merge') (and 16 more) ('installed', '/', 'sys-libs/readline-6.0', 'nomerge') pulled in by sys-libs/readline:0 required by world sys-libs/readline required by system sys-libs/readline required by world (and 13 more) It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
To get rid of such package conflict you have to add package name into package.mask file. And even better is to put there only one version of those conflicted packages.
There you can see example solution of this kind of bug:
echo ">=sys-libs/readline-6.0" >> /etc/portage/package.mask
