Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 182882
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Connon <richard.connon@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
revdep-rebuild-rewrite_no-verinfo-fix_against_r438.patch rrr_no-verinfo-fix_against_r438.patch patch Michael A. Smith 2007-09-14 16:53 0000 1.12 KB Details | Diff
revdep-rebuild-rewrite_no-verinfo-fix_against_r438.patch rrr_no-verinfo-fix_against_r438.patch patch Michael A. Smith 2007-09-14 20:23 0000 1.34 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182882 depends on: Show dependency tree
Bug 182882 blocks: 170220
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-22 11:14 0000
Running revdep-rebuild always gives the following missing version information:

  broken /usr/lib64/libswt-awt-gtk-3345.so (no version information available)
  broken /usr/lib/libswt-awt-gtk-3345.so (no version information available)

Allowing it to rebuild swt makes no difference.


Reproducible: Always

Steps to Reproduce:
1.emerge dev-java/swt-3.3_rc4
2.run revdep-rebuild

------- Comment #1 From Petteri Räty 2007-06-22 13:37:39 0000 -------
It's valid for them to not have any version information as they are never used
directly but instead loaded by swt Java code. I think we should add exclude
rules for them.

------- Comment #2 From Richard Connon 2007-06-22 13:57:27 0000 -------
They definitely need to be changed so that revdep-rebuild ignores them.

------- Comment #3 From Vlastimil Babka (Caster) 2007-06-22 14:20:58 0000 -------
What's output of 'ldd /usr/lib64/libswt-awt-gtk-3345.so' ?
I wonder why it doesn't happen on x86

------- Comment #4 From Petteri Räty 2007-06-22 16:45:53 0000 -------
(In reply to comment #3)
> What's output of 'ldd /usr/lib64/libswt-awt-gtk-3345.so' ?
> I wonder why it doesn't happen on x86
> 

True as they are not versioned in the current versions either and
revdep-rebuild doesn't complain.

------- Comment #5 From Richard Connon 2007-06-22 16:55:58 0000 -------
Output:

/usr/lib64/libswt-awt-gtk-3345.so:
/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libjawt.so: no version information
available (required by /usr/lib64/libswt-awt-gtk-3345.so)
        libjawt.so => /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libjawt.so
(0x00002ae2ac86f000)
        libc.so.6 => /lib/libc.so.6 (0x00002ae2ac970000)
        libawt.so => /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libawt.so
(0x00002ae2acbab000)
        libjava.so => /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libjava.so
(0x00002ae2acdd6000)
        libjvm.so => /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/server/libjvm.so
(0x00002ae2acefb000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libmlib_image.so =>
/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libmlib_image.so (0x00002ae2ad69f000)
        libXm.so.3 => /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libXm.so.3
(0x00002ae2ad7fb000)
        libXp.so.6 => /usr/lib/libXp.so.6 (0x00002ae2adbaa000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x00002ae2adcb2000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00002ae2ade13000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00002ae2adf1d000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ae2ae038000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00002ae2ae14a000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ae2ae250000)
        libm.so.6 => /lib/libm.so.6 (0x00002ae2ae457000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ae2ae5ad000)
        libverify.so => /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libverify.so
(0x00002ae2ae6b1000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00002ae2ae7c5000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002ae2ae8dc000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ae2ae9f6000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ae2aeafa000)

------- Comment #6 From Vlastimil Babka (Caster) 2007-06-24 10:46:11 0000 -------
Do you have the file /etc/revdep-rebuild/60-java ? If yes, can you post its
contents?

I get this, wonder why not found, libjawt.so is well in ld.so.conf:
# ldd /usr/lib/libswt-awt-gtk-3345.so
        linux-gate.so.1 =>  (0xb7f32000)
        libjawt.so => not found
        libc.so.6 => /lib/libc.so.6 (0xb7dc4000)
        /lib/ld-linux.so.2 (0x80000000)

------- Comment #7 From Richard Connon 2007-06-24 12:15:09 0000 -------
/etc/revdep-rebuild/60-java:

# The VM dynamically loads these at runtime so they will end up as missing
# but actually work just fine. See for example
# https://bugs.gentoo.org/show_bug.cgi?id=152039
#
# This file should only have files the are used by things like swt. If there
# are "broken" links inside the jre itself, the jre should install it's own
# control file.

LD_LIBRARY_MASK="libjvm.so libjawt.so"

------- Comment #8 From Petteri Räty 2007-06-24 20:33:36 0000 -------
(In reply to comment #6)
> 
> I get this, wonder why not found, libjawt.so is well in ld.so.conf:
> # ldd /usr/lib/libswt-awt-gtk-3345.so
>         linux-gate.so.1 =>  (0xb7f32000)
>         libjawt.so => not found

We are probably seeing bug 173915.

------- Comment #9 From Vlastimil Babka (Caster) 2007-06-24 21:18:24 0000 -------
(In reply to comment #8)
> We are probably seeing bug 173915.

Don't think so, I have gen-1 env file.

------- Comment #10 From Petteri Räty 2007-06-24 21:34:55 0000 -------
(In reply to comment #9)
> (In reply to comment #8)
> > We are probably seeing bug 173915.
> 
> Don't think so, I have gen-1 env file.
> 

betelgeuse@pena ~ $ ldd /usr/lib/libswt-awt-gtk-3236.so
        linux-gate.so.1 =>  (0xb7fd9000)
        libjawt.so => not found
        libc.so.6 => /lib/libc.so.6 (0xb7e94000)
        /lib/ld-linux.so.2 (0x80000000)

yep it's not found

What version of gentoolkit do you have installed?

------- Comment #11 From Richard Connon 2007-06-25 14:50:20 0000 -------
If it was me you're asking I have 0.2.4_pre5

------- Comment #12 From Vlastimil Babka (Caster) 2007-07-17 18:44:39 0000 -------
Some more stuff to try after consultation with Flameeyes :)

ldd -v /usr/lib/libswt-awt-gtk-3345.so
nm -D /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/libjawt.so

In any case, a revdep-rebuild control file should mask it if we put
/usr/lib/libswt-awt-gtk-3345.so to it (any idea if it uses wildcards so we
don't have to determine the internal version in ebuild?). But I think that if
LD_LIBRARY_MASK="libjawt.so" in /etc/revdep-rebuild/ prevents rebuilds that
would happen because of "libjawt.so => not found", it should also prevent
rebuilds coming from "/path/to/libjawt.so: no version information
available (required by $anything)"

------- Comment #13 From Paul Varner 2007-07-17 21:15:02 0000 -------
For the original reporter, for now the following will keep revdep-rebuild from
complaining:

env SEARCH_DIRS_MASK="/usr/lib*/libswt-*.so" revdep-rebuild

You can also place SEARCH_DIRS_MASK="/usr/lib*/libswt-*.so" in your
/etc/make.conf file until this is fixed.

------- Comment #14 From Michael A. Smith 2007-09-14 16:53:21 0000 -------
Created an attachment (id=130929) [details]
rrr_no-verinfo-fix_against_r438.patch

This is a patch against revision 438 of revdep-rebuild-rewrite at
http://sources.gentoo.org/viewcvs.py/gentoolkit/trunk/src/revdep-rebuild/revdep-rebuild-rewrite?rev=438

If I did it right, it should only list items found in "$LIST.3_ldd_errors"
where the line matches 'no version information available' and the item does not
match anything in LD_LIBRARY_MASK.

Please test. Have a nice day. :)

------- Comment #15 From Michael A. Smith 2007-09-14 20:23:37 0000 -------
Created an attachment (id=130941) [details]
rrr_no-verinfo-fix_against_r438.patch

Slightly less broken.

------- Comment #16 From Paul Varner 2007-09-18 21:19:17 0000 -------
$ svn commit -m 'Updated fix for revdep-rebuild to ignore libraries in
LD_LIBRARY_MASK, when checking for "no version information available" errors
(Bug #182882)'
Sending        revdep-rebuild/revdep-rebuild-rewrite
Transmitting file data .
Committed revision 441.

------- Comment #17 From Paul Varner 2007-09-27 00:19:56 0000 -------
Fixed in gentoolkit-0.2.4_rc1

------- Comment #18 From Billy DeVincentis 2007-12-12 02:28:43 0000 -------
That  version  has  a  broken  revdep-rebuild,  useless  currently,  a  better 
solution
1-  create  70swt  text  file  in  /etc/revdep-rebuild
2-  insert  the  following

SEARCH_DIRS_MASK="/usr/lib*/libswt-awt*.so"

above  recommendation  will  mask  other  libraries,  my  solution  only  masks
 the  problem  library

------- Comment #19 From Jakub Moc (RETIRED) 2008-01-31 12:45:20 0000 -------
*** Bug 208289 has been marked as a duplicate of this bug. ***

------- Comment #20 From Jakub Moc (RETIRED) 2008-01-31 13:01:20 0000 -------
*** Bug 208293 has been marked as a duplicate of this bug. ***

------- Comment #21 From Jan Rüegg 2008-02-13 21:10:08 0000 -------
I have still got the same problem:

[ 100% ]                 
 *   broken /usr/lib64/libswt-awt-gtk-3347.so (no version information
available)
 * Generated new /root/.revdep-rebuild.3_rebuild

 * Assigning files to packages
 *   /usr/lib64/libswt-awt-gtk-3347.so -> dev-java/swt


with gentoolkit 0.2.4_pre7

*  app-portage/gentoolkit
      Latest version available: 0.2.4_pre7
      Latest version installed: 0.2.4_pre7

------- Comment #22 From Vlastimil Babka (Caster) 2008-02-24 11:28:56 0000 -------
For the record, it works for me in gentoolkit 0.2.4_rc2

------- Comment #23 From Jan Rüegg 2008-02-25 13:58:10 0000 -------
Suddenly works for me too... Never mind, lealing it as FIXED

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug