Recent Problems: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
mNo edit summary
Tgurr (talk | contribs)
mNo edit summary
Line 54: Line 54:


== Emerge: error: C compiler cannot create executables ==
== Emerge: error: C compiler cannot create executables ==
z.B.: Beim Emergen von sys-apps/sandbox
e.g. while emerging sys-apps/sandbox
{{Code|Error message|
{{Code|Error message|
<pre>
<pre>

Revision as of 11:50, 18 July 2011

Listed are issues which need your attention and manual fixing.

2009

Using 10.0 profile and x11-libs/libxcb upgrade

Be sure to run revdep-rebuild afterwards, in my case a total of 66 packaged needed a rebuild.

# revdep-rebuild

Portage preserve-libs feature and e2fsprogs/util-linux upgrade

Portage keeps complaining about preserved libs, even after multiple runs of emerge @preserved-rebuild.

# emerge @preserved-rebuild
# rm /lib/libuuid*
# rm /lib/libblkid*
# emerge util-linux --oneshot

Warning notice about broken symlinks during upgrade of app-misc/ca-certificates

Code: Error message
 * Broken symlink for a certificate at /etc/ssl/certs/class3.pem
 * Broken symlink for a certificate at /etc/ssl/certs/root.pem
 * Broken symlink for a certificate at /etc/ssl/certs/UTN_USERFirst_Object_Root_CA.pem
 * Broken symlink for a certificate at /etc/ssl/certs/QuoVadis_Root_Certification_Authority.pem
 * You MUST remove the above broken symlinks
 * Otherwise any SSL validation that use the directory may fail!
 * To batch-remove them, run:
 * find -L /etc/ssl/certs/ -type l -exec rm {} +

Do as you've been told and run:

# find -L /etc/ssl/certs/ -type l -exec rm {} +
# emerge ca-certificates --oneshot

2007

bash error message

Code: Error message
>>> No outdated packages were found on your system.
 * Regenerating GNU info directory index...
 * Processed 87 info files; 1 errors.
install-info: No such file or directory for /usr/share/info/bashref.info.gz

bashref.info.gz was replaced by a tar.bz2 version bashref.info.bz2, thus you can safely delete the older symlink.

# rm /usr/share/info/bashref.info.gz

Emerge: error: C compiler cannot create executables

e.g. while emerging sys-apps/sandbox

Code: Error message
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

This problem arises if you've once had eselect-compiler installed on your system. It was buggy and has been deprecated for now (use gcc-config). You can solve this issue by manually removing all left over files created by eselect-compiler. To identify all of them:

# find /usr/bin | xargs strings -f 2> /dev/null | grep "Unable to determine executable" | cut -d : -f 1
Code: Example Output
/usr/bin/gccbug
/usr/bin/x86_64-pc-linux-gnu-gcov
/usr/bin/x86_64-pc-linux-gnu-gccbug
/usr/bin/gcov
/usr/bin/protoize
/usr/bin/unprotoize
/usr/bin/i686-pc-linux-gnu-gfortran
/usr/bin/i686-pc-linux-gnu-gccbug
/usr/bin/i686-pc-linux-gnu-gcov
/usr/bin/i686-pc-linux-gnu-protoize
/usr/bin/i686-pc-linux-gnu-unprotoize
/usr/bin/i686-pc-linux-gnu-c++
/usr/bin/i686-pc-linux-gnu-cpp
/usr/bin/i686-pc-linux-gnu-g++
/usr/bin/i686-pc-linux-gnu-gcc
/usr/bin/i686-pc-linux-gnu-cc
/usr/bin/x86_64-pc-linux-gnu-protoize
/usr/bin/x86_64-pc-linux-gnu-unprotoize
# gcc-config -l
# gcc-config <most recent gcc version>
# source /etc/profile

avahi-daemon not able to start

Code: Error message
 * Caching service dependencies ...          [ ok ]
 * Starting avahi-daemon ...                 [ !! ]
Timeout reached while wating for return value
Could not receive return value from daemon process.
# avahi-daemon

cap_set_proc() failed: Operation not permitted

You need to enable following kernel option.

Linux Kernel Configuration: Kernel .config
Security options  --->
 [*] Enable different security models
  <*>    Default Linux Capabilities

KDE: When inserting a CD nothing happens

If you still own a ATA/IDE CD/DVD-ROM drive you need to enable the "legacy /proc/ide/ support" kernel option.