Jump to content

Photo

revdep-rebuild issue

- - - - -

Best Answer zarec99 , 02 December 2015 - 02:31 AM

thanks cardinal ,after adding LDPATH="/usr/lib" to /etc/env.d/99gentoolkit-env  ,revdep-rebuild is ok 

Go to the full post »


5 replies to this topic

#1
zarec99

zarec99

    Newbie

  • Members
  • Pip
  • 2 posts

Hello ,i have a issue with revdep-rebuild ,when i finish recompiling packages which revdep-rebuild showed me as broken ,i run again revdep-rebuild i see same packages which are recompiled before 

Could you help me?

 

 

-----------------------

 * Configuring search environment for revdep-rebuild

 * Temporary cache files are located in /var/cache/revdep-rebuild
 
revdep-rebuild environment:
SEARCH_DIRS="/bin
/lib
/opt/bin
/sbin
/usr/bin
/usr/i686-pc-linux-gnu/gcc-bin/4.9.3
/usr/i686-pc-linux-gnu/lib
/usr/lib
/usr/libexec
/usr/lib/gcc/i686-pc-linux-gnu/4.8.5
/usr/lib/gcc/i686-pc-linux-gnu/4.8.5/32
/usr/lib/gcc/i686-pc-linux-gnu/4.9.3
/usr/lib/gcc/i686-pc-linux-gnu/4.9.3/32
/usr/liblinear.so
/usr/lib/OpenCL/vendors/nvidia
/usr/lib/opengl/xorg-x11/lib
/usr/local/lib
/usr/sbin"
SEARCH_DIRS_MASK="/lib/modules"
LD_LIBRARY_MASK="libjava.so
libjvm.so
libodbcinst.so
libodbc.so"
PORTAGE_ROOT="/"
EMERGE_OPTIONS=""
ORDER_PKGS="1"
FULL_LD_PATH="1"
 
 * 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
[ 46% ]  *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libcaf_single.la (requires -lm)
 *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libcilkrts.la (requires -lpthread)
 *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libcilkrts.la (requires -ldl)
 *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libgfortranbegin.la (requires -lm)
 *   broken /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libquadmath.la (requires -lm)
[ 65% ]  *   broken /usr/lib/libdb-4.8.la (requires -lpthread)
 *   broken /usr/lib/libdb_cxx-4.8.la (requires -lpthread)
 *   broken /usr/lib/libdb_stl-4.8.la (requires -lpthread)
[ 68% ]  *   broken /usr/lib/libltdl.la (requires -ldl)
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libcaf_single.la -> sys-devel/gcc
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libcilkrts.la -> sys-devel/gcc
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libgfortranbegin.la -> sys-devel/gcc
 *   /usr/lib/gcc/i686-pc-linux-gnu/4.9.3/libquadmath.la -> sys-devel/gcc
 *   /usr/lib/libdb-4.8.la -> sys-libs/db
 *   /usr/lib/libdb_cxx-4.8.la -> sys-libs/db
 *   /usr/lib/libdb_stl-4.8.la -> sys-libs/db
 *   /usr/lib/libltdl.la -> dev-libs/libltdl
 * 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 --complete-graph=y --oneshot  --verbose --pretend dev-libs/libltdl:0 sys-devel/gcc:4.9 sys-libs/db:4.8
 
These are the packages that would be merged, in order:
 
Calculating dependencies... done!
[ebuild   R    ] dev-libs/libltdl-2.4.6::gentoo  USE="-static-libs" 0 KiB
[ebuild   R    ] sys-devel/gcc-4.9.3:4.9::gentoo  USE="cxx fortran nls openmp (-altivec) -doc -go -graphite (-hardened) (-libssp) (-multilib) (-multislot) -objc -objc++ (-sanitize) -vanilla" 0 KiB
[ebuild   R    ] sys-libs/db-4.8.30-r2:4.8::gentoo  USE="cxx -doc -examples -java -tcl {-test}" 0 KiB
 


#2
sputnik

sputnik

    Advanced Member

  • Members
  • PipPipPip
  • 117 posts

<deleted>



#3
cardinal

cardinal

    Advanced Member

  • Members
  • PipPipPip
  • 252 posts
I have the same problem on a x86 stable install with revdep-rebuild claiming broken libtool archive files of sudo.
[ 83% ]  *   broken /usr/lib/sudo/group_file.la (requires -ldl)
 *   broken /usr/lib/sudo/sudoers.la (requires -lpam)
 *   broken /usr/lib/sudo/sudoers.la (requires -ldl)
 *   broken /usr/lib/sudo/sudoers.la (requires -lz)
 *   broken /usr/lib/sudo/system_group.la (requires -ldl)
[ 95% ]  *   broken /usr/libexec/sudo/libsudo_util.la (requires -ldl)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib/sudo/group_file.la -> app-admin/sudo
 *   /usr/lib/sudo/sudoers.la -> app-admin/sudo
 *   /usr/lib/sudo/system_group.la -> app-admin/sudo
 *   /usr/libexec/sudo/libsudo_util.la -> app-admin/sudo

No problem on my x86_64 current install which uses the same version of gentoolkit and sudo.
The Mike Allen a.k.a. sputnik fix in his closed unfixed bug report: https://bugs.funtoo.org/browse/FL-1171
LDPATH="/usr/lib" to /etc/env.d/99gentoolkit-env
Stopped the errors on my system.
  • edps likes this

#4
zarec99

zarec99

    Newbie

  • Members
  • Pip
  • 2 posts
✓  Best Answer

thanks cardinal ,after adding LDPATH="/usr/lib" to /etc/env.d/99gentoolkit-env  ,revdep-rebuild is ok 



#5
sputnik

sputnik

    Advanced Member

  • Members
  • PipPipPip
  • 117 posts

Yes, as you can see I started to refer to that bug, but hesitated because I wasn't sure it was the same thing and didn't want to give misleading info.  Thought I'd wait and see what others had found.

I am at a loss as to how it is impossible to reproduce this bug, it's been there a long time, one x86 machine, two armvte5 machines, one of them with a fresh, clean newly installed rootfs, and a couple of months ago I got an armv7a machine, again, fresh, clean install, problem right out of the box.

Thankfully the workaround solves it without harm it seems.  I believe /etc/env.d/99local is a more appropriate place for the statement, as it is suggested that all local environment changes are added to that file, so you can keep track of what YOU have added, also negating the risk of overwrite with an update, and this _should be a temporary workaround.

Oh, that's Mike JOHNSON, not that I care, it's just the worldly name someone assigned to me, has nothing to do with me.

 

https://en.wikipedia..._J._Johnson,_Jr.

Saluga's shtick as Ray J. Johnson is to become annoyed when addressed as "Mr. Johnson", exclaiming in a loud voice, "My name is Raymond J. Johnson, Jr. Now you can call me Ray, or you can call me J, or you can call me Johnny, or you can call me Sonny, or you can call me Junie, or you can call me Junior; now you can call me Ray J, or you can call me RJ, or you can call me RJJ, or you can call me RJJ Jr." ultimately ending with, "but you doesn't hasta call me Johnson!"



#6
edps

edps

    Newbie

  • Members
  • Pip
  • 4 posts
  • LocationRio de Janeiro, Brazil

Works for me too! thanks guys! :)





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users