Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141467 - revdep-rebuild keep complaining gcc broken
Summary: revdep-rebuild keep complaining gcc broken
Status: RESOLVED DUPLICATE of bug 125728
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 21:59 UTC by Ng, Wey-Han
Modified: 2006-09-13 21:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ng, Wey-Han 2006-07-22 21:59:35 UTC
Whenever I run revdep-rebuild (gentoolkit-0.2.2), it will complain about lib-org-w3c-dom.la and lib-org-xml-sax.la requires /usr/lib/libgcj.la. Then it tries to rebuild gcc.

A find shows that libgcj.la is present but not in /usr/lib. Instead libgcj.la is in /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/

Workaround:
1. make symbolic link of libgcj.* in /usr/lib
2. revdep-rebuild don't complain anymore

I've check that both these set of lib belongs to gcc. Something is wrong for these two sets of lib not finding each other in the gcc ebuild.

emerge --info output:
---------------------
home / # emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14-hardened-r8 i686)
=================================================================
System uname: 2.6.14-hardened-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mymirror.asiaosc.org/gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.twaren.net/Linux/Gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 Xaw3d acpi alsa apache2 arts authdaemond berkdb bitmap-fonts bzip2 bzlib calendar cdr cli cpdflib crypt ctype curl curlwrappers dlloader eds emacs emboss exif fam gcj gif gtk gtk2 imlib ipv6 isdnlog java jpeg ldap libg++ libwww mcal memlimit motif mysql mysqli ncurses nls nptl opengl pam pcre pdflib perl php pic plotutils png posix prelude python qt qt3 qt4 readline reflection ruby sasl sdl session spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vhosts xml xorg zeo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

home / # 
---------------------

Find output:
------------
home / # find /usr/lib -name "libgcj*"
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.la
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.so.5.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/security/libgcj.security
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.so.5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.spec
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcj.a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/gcj/libgcj-config.h
/usr/lib/pkgconfig/libgcj.pc
home / # 
--------------

revdep-rebuild output:
----------------------
home ~ # revdep-rebuild -p
Configuring search environment for revdep-rebuild

Environment mismatch from previous run, deleting temporary files...

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la)
  broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot -p =sys-devel/gcc-3.4.6-r1 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-3.4.6-r1  
Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
home ~ # 
----------------------
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 01:45:00 UTC

*** This bug has been marked as a duplicate of 125728 ***