Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936607 - net-p2p/biglybt-3.6.0.0: Loading SWT Libraries failed - no swt-cairo-gtk-4962r3 in java.library.path
Summary: net-p2p/biglybt-3.6.0.0: Loading SWT Libraries failed - no swt-cairo-gtk-4962...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-24 23:13 UTC by Anthony Brown
Modified: 2024-08-14 08:54 UTC (History)
4 users (show)

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


Attachments
cairo patch (cairo.patch,438 bytes, patch)
2024-07-25 08:24 UTC, gentoo-setan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Brown 2024-07-24 23:13:55 UTC
;;Issues: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Loading SWT Libraries failed. Typical causes:

(1) swt.jar is not for your os architecture (amd64).  You can get a new swt.jar (Min Version: 4.9) from http://eclipse.org/swt

(2) No write access to '/tmp'. SWT will extract libraries contained in the swt.jar to this dir.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

	no swt-cairo-gtk-4962r3 in java.library.path: /usr/lib64/swt:/lib64
	no swt-cairo-gtk in java.library.path: /usr/lib64/swt:/lib64
	no swt-cairo in java.library.path: /usr/lib64/swt:/lib64
	Can't load library: /root/.swt/lib/linux/x86_64/libswt-cairo-gtk-4962r3.so

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Comment 1 Greg Kubaryk 2024-07-24 23:21:59 UTC
What Gentoo package are you attempting to file a bug for? We need a build.log and emerge --info from that.
Comment 2 Volkmar W. Pogatzki 2024-07-25 06:31:47 UTC
it should have dev-java/swt:4.27[cairo] in CP_DEPEND
Comment 3 gentoo-setan 2024-07-25 08:24:03 UTC
Created attachment 898290 [details, diff]
cairo patch

Please try rebuiding with this and see if this works
Comment 4 gentoo-setan 2024-07-25 08:25:05 UTC
rebuilding with this patch*
It simply adds cairo use flag to the CP_DEPEND, as Pogadzki suggested.
Comment 5 Anthony Brown 2024-07-25 14:50:29 UTC
i will know within the next 24 hours im currently 
building qtcreator and waiting for a hardware module
test : ) my sound driver... 
Ill set up a local ebuild host and try it thataway :)
Comment 6 Volkmar W. Pogatzki 2024-08-02 07:32:25 UTC
(In reply to gentoo-setan from comment #3)
> Created attachment 898290 [details, diff] [details, diff]
> cairo patch
> 
> Please try rebuiding with this and see if this works

Is this patch meant to be applied by a dev or will you create a PR?
Comment 7 gentoo-setan 2024-08-02 07:44:30 UTC
> Is this patch meant to be applied by a dev or will you create a PR?

I assume this patch works and that's why you are asking.
Assuming that you ask if this should be merged by a dev or with my PR,
I will make a PR for it.

The important thing is: does it fix the issue?
Comment 8 Volkmar W. Pogatzki 2024-08-02 07:53:11 UTC
(In reply to gentoo-setan from comment #7)
> > Is this patch meant to be applied by a dev or will you create a PR?
> 
> I assume this patch works and that's why you are asking.
> Assuming that you ask if this should be merged by a dev or with my PR,
> I will make a PR for it.
> 
> The important thing is: does it fix the issue?

Why not test it yourself. 
Can you reproduce the issue before the change and can you reproduce it after?
Comment 9 Anthony Brown 2024-08-03 16:23:59 UTC
i assume that means its portages problem per-ebuild
is it saying build this this way and while
if you go up the tree such as swt-cairo cairo-gtk
it says Specifically FOR biglybt is
it not linking swt-cairo cairo-gtk?:
Comment 10 Anthony Brown 2024-08-03 16:25:07 UTC
because it HAS built the predecession like as asked what
Comment 11 Larry the Git Cow gentoo-dev 2024-08-14 08:54:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3310cadc1d7cf74519643c677351f95abc6750

commit 7d3310cadc1d7cf74519643c677351f95abc6750
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-08-14 08:28:01 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-08-14 08:53:23 +0000

    net-p2p/biglybt: CP_DEPEND on swt:4.27[cairo]
    
    Closes: https://bugs.gentoo.org/936607
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/38143
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 net-p2p/biglybt/{biglybt-3.6.0.0.ebuild => biglybt-3.6.0.0-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)