Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Persistent revdep-rebuild issues: gcc and libgcj.la
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
termite
Guru
Guru


Joined: 06 May 2007
Posts: 466

PostPosted: Fri Jul 25, 2008 11:40 am    Post subject: Reply with quote

Old thread, old bug. Problem still exists with gcc-4.3.1-r1 on amd64. One symlink (the second one mentioned in the last post) solved the problem, but that's not a real solution. This bug is over two years old!
Back to top
View user's profile Send private message
tgnb
Apprentice
Apprentice


Joined: 16 Apr 2002
Posts: 206
Location: New York, NY

PostPosted: Mon Oct 13, 2008 6:24 pm    Post subject: Reply with quote

yep same here. symlink fixed it (for gcc-4.3.2) but problem still happens
Code:
sudo ln -s /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libgcj.la /usr/lib/libgcj.la
Back to top
View user's profile Send private message
friesia
Tux's lil' helper
Tux's lil' helper


Joined: 23 Mar 2007
Posts: 132

PostPosted: Thu Nov 06, 2008 7:09 am    Post subject: gcc 4.3.2 with gcj USE flag Reply with quote

After adding gcj USE flag to gcc, revdep-rebuild always wishes to rebuild gcc. I've done that a few times. Why is that?

Code:

$ 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
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 51% ]  *   broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
 *   broken /usr/lib64/gcj-4.3.2-9/libjvm.la (requires /usr/lib/../lib64/libgcj.la)
[ 96% ]  *   broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *  !!! /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la not owned by any package is broken !!!
 *   /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la -> (none)
 *   /usr/lib64/gcj-4.3.2-9/libjvm.la -> sys-devel/gcc
 *   /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la -> sys-devel/gcc
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot --pretend sys-devel/gcc:4.3

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.3.2
 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.


$ emerge --info
Portage 2.2_rc13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2melf x86_64)
=================================================================                                           
System uname: Linux-2.6.27-gentoo-r2melf-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5           
Timestamp of tree: Tue, 04 Nov 2008 15:30:01 +0000                                                           
app-shells/bash:     3.2_p39                                                                                 
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                       
dev-lang/python:     2.5.2-r8                                                                               
dev-python/pycrypto: 2.0.1-r6                                                                               
dev-util/cmake:      2.6.2                                                                                   
sys-apps/baselayout: 2.0.0                                                                                   
sys-apps/openrc:     0.3.0-r1                                                                               
sys-apps/sandbox:    1.2.18.1-r3                                                                             
sys-devel/autoconf:  2.13, 2.63                                                                             
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                   
sys-devel/binutils:  2.19                                                                                   
sys-devel/gcc-config: 1.4.0-r4                                                                               
sys-devel/libtool:   2.2.6a                                                                                 
virtual/os-headers:  2.6.27-r2                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                 
CFLAGS="-O2 -pipe -march=native -mtune=native"                                                               
CHOST="x86_64-pc-linux-gnu"                                                                                 
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"                                                                                     
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"                                                             
CXXFLAGS="-O2 -pipe -march=native -mtune=native"                                                                               
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB ru ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/myover/combined"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr chasen cjk cli cracklib crypt csscups directfb djvu dri dts dvd dvdr encode exif fbcon ffmpeg flac fortran ftp gdbm geoip gif glitz gpm gtk hal iconv idn imap immqt-bc isdnlog jabber java jpeg kde kdeprefix lame libcaca matroska midi mmx mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt4 raw readline reflection session spell spl sse sse2ssl svg sysfs tcpd truetype truetype-fonts type1-fonts unicode usb vorbis wavpack x264 xcomposite xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB ru ja" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



I've got java-overlay here, but it's the same without it. It's only virtual/jdk installed from there.
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7058

PostPosted: Thu Nov 06, 2008 7:31 am    Post subject: Reply with quote

It is a bug.
Back to top
View user's profile Send private message
doro1211
Guru
Guru


Joined: 06 Jun 2004
Posts: 303

PostPosted: Tue Nov 11, 2008 3:24 am    Post subject: Reply with quote

Still happening. I had to mak the symlink as well to prevent the continuous rebuilding.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 720
Location: 2074/SYD/NSW/AU

PostPosted: Fri Dec 19, 2008 8:26 am    Post subject: revdep-rebuild post new gcc - problems with circulars Reply with quote

I can't seem to settle the system since upping gcc - witness the last steps - mind the system is running stable - just can't get the revdep-rebuild to complete:

Code:

>>> Installing sys-devel/gcc-4.3.2
 * Switching native-compiler to i686-pc-linux-gnu-4.3.2 ...                                                                              [ ok ]

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.


 * Messages for package sys-devel/gcc-4.1.2:

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

 * Messages for package sys-devel/gcc-4.3.2:

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 10 info files.
 * Build finished correctly. Removing temporary files...
 *
 * You can re-run revdep-rebuild to verify that all libraries and binaries
 * are fixed. If some inconsistency remains, it can be orphaned file, deep
 * dependency, binary package or specially evaluated library.
rm: cannot remove `5_order.rr': No such file or directory
eddy actions # revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 49% ]  *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcjawt.la (requires /usr/lib/lib-gnu-java-awt-peer-gtk.la)
 *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgij.la (requires /usr/lib/libgcj.la)
 *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/libgcj.la)
 *   broken /usr/lib/gcj-4.3.2-9/libjvm.la (requires /usr/lib/libgcj.la)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcjawt.la -> sys-devel/gcc
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgij.la -> sys-devel/gcc
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libgij.la -> sys-devel/gcc
 *   /usr/lib/gcj-4.3.2-9/libjvm.la -> sys-devel/gcc
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 *
 * Warning: Failed to resolve package order.
 * Will merge in arbitrary order
 *
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
and/or /etc/portage/package.unmask to unmask it
.....
 * All prepared. Starting rebuild
emerge --oneshot  sys-devel/gcc:4.1
sys-devel/gcc:4.3


It goes around and around like this - quite a time consumer building this to no avail/ I am not sure what might be masked, missing or broken:

Code:

eddy actions # emerge --info
Portage 2.1.6.1 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.6.1-r0, 2.6.26-gentoo-r4-eddy-alpha i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r4-eddy-alpha-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.0
Timestamp of tree: Wed, 17 Dec 2008 21:30:10 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa audacious berkdb bzip2 cddb cdrw cli cpufreq cracklib crypt cups dbus dri fortran ftp gcj gdbm gif glitz gpm gtk hal iconv ipv4 isdnlog java jpeg madwifi midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection session spl srt sse sse2 sse3 ssl svg sysfs tcpd tiff unicode v4l2 vim vim-syntax vorbis wifi win32codecs wma x86 xcb xcomposite xinerama xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


TIA
Will
_________________
\\'
ab extra
ab aeterno
a posse ad esse
ad fontes
\\'
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7058

PostPosted: Fri Dec 19, 2008 8:41 am    Post subject: Reply with quote

Merged the above post.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum