First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 82596
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Olivier Castan <castan.o@free.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 82596 depends on: Show dependency tree
Bug 82596 blocks:
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: 2005-02-19 10:14 0000
Porgrams using swt (azureus for example...) can't start because there are
unresolved symbols in /usr/lib/libswt-gnome-gtk-3106.so
"ldd /usr/lib/libswt-gnome-gtk-3106.so" says libswt-gnome-gtk-3106.so is
statically linked... but nm shows unresolved symbols.
In fact it's a small problem in the ebuild :
$ grep gnome_lib /usr/portage/dev-java/swt/swt-3.1.ebuild
            gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0
libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e
"s:-Wl,--export-dynamic:--export-dynamic:"`
                -e "s:\`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0
libgnomeui-2.0\`:${gnome_libs}:" \

... gnome_lib is defined and gnome_libs used !

Here is the patch :

--- /usr/portage/dev-java/swt/swt-3.1.ebuild.old        2005-02-18
22:25:26.000000000 +0100
+++ /usr/portage/dev-java/swt/swt-3.1.ebuild    2005-02-18 22:25:59.000000000
+0100
@@ -53,7 +53,7 @@

 src_compile() {
        if use gnome ; then
-           gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0
libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e
"s:-Wl,--export-dynamic:--export-dynamic:"`
+           gnome_libs=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0
libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e
"s:-Wl,--export-dynamic:--export-dynamic:"`
        fi

        gtk_libs=`pkg-config --libs gtk+-2.0 | sed -e
"s:-Wl,--export-dynamic:--export-dynamic:"`



Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Jan Brinkmann (RETIRED) 2005-02-19 11:12:17 0000 -------
thanks for your report, fixed in cvs.

------- Comment #2 From Aarcane 2005-05-12 16:29:40 0000 -------
This problem seems to be in dev-java/swt-3.0-r2 as well as of may 12, 2005.

First Last Prev Next    No search results available      Search page      Enter new bug