Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12010

Re: problem with swt4-gtk update

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeds.phibee-telecom.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.debian.maint.java
Subject Re: problem with swt4-gtk update
Date Tue, 29 Dec 2020 01:10:02 +0100
Message-ID <BraKm-5IP-15@gated-at.bofh.it> (permalink)
References <Br9lg-4vH-17@gated-at.bofh.it>
X-Original-To Emmanuel Bourg <ebourg@apache.org>
X-Mailbox-Line From debian-java-request@lists.debian.org Tue Dec 29 00:08:29 2020
Old-Return-Path <sudipm.mukherjee@gmail.com>
X-Amavis-Spam-Status No, score=-7.179 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j9AqcJSPuCPBUg//5nX87cpODaWRsAOEVqTmPv1TNH0=; b=TLp5YM+Q4CEEms0uNZ7EofpG0YVXyLo6DuoGBHmssLiUNiGGUn/fSl15+5JvWED6is zhpJD5Y3Z9dzNP8F5Gm/cObRyQFbtKtdKc5XjAnf9L3l5CAfwZ/0QAB7gk/cEQ0paZq0 QXZ/X8JHivNmQDzRr3WQk1K4319RyNTOKtvuUo7/YwxuA4UibuFXUwKOykMo+4WJMqjr ShHhC6T4hp1KkcvUbPYv/mP9n+9A/JdcvZjAgyue4hyAS4gyPi7WdFytAan1QIv361Y6 UItIQFaP2ZC5frAPy5//k6xNHtmBmk7jmJs/sK4SlKcQzL3vowfCPW+scr/g0BMevQvS ktWw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j9AqcJSPuCPBUg//5nX87cpODaWRsAOEVqTmPv1TNH0=; b=rZhI7z5pH+tCAaLyLr3IkK82U7ZU8d5wqikDl3vY/fIGu8fNqnv23woUEdOSdOYRLZ oanJWz46fNQmDkvK0KR0J/jG1QgpYcp5T3EkRy2vTp2NfMRRe4KZpdCIxrTHTV+2CWJn FTPmbbcTYLTHFuh8BWCmx23VbzeKXCBTHvBViDipFcvJvi6HOadaELow0nHwBzk2Uv/H uy0WD18pI23rOae9yGkMKD0XFxsmtWCureRO+IjHkwmCHXRVE3r5jXKfr1+yPfS7a0zv YCHweD3CEz/41Tl6177jf2JZE2fFfdzp3MCPYoh+qcLKB3t/96FmEcH+fX9AoaHdMe1S 2FJQ==
X-Gm-Message-State AOAM531+J3kztrSuBbJ7VLC3j0jM66nwSodsDgdlBrFoFs67/H+fpsLr Ng35L1VfjvibJ1e/t6hnvKbSLbWZ5e+SZiQRmPs=
X-Google-SMTP-Source ABdhPJzn6o5GEReczjjpFsC8Svc8Z9DZP9mNaMJv8X6L+A0eDCSUrOtz9d0RMu6d5X9Bcbl0NL3zvUhgpZ8J6zymLf0=
X-Received by 2002:a25:3206:: with SMTP id y6mr66534790yby.127.1609200493654; Mon, 28 Dec 2020 16:08:13 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/22636
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/CADVatmMosuB9dTXk9Maj6-Kaov-ywfqmwtifeD2QQm1o_=Kx+w@mail.gmail.com
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Java <debian-java@lists.debian.org>, Jakub Adam <jakub.adam@ktknet.cz>
X-Original-Date Tue, 29 Dec 2020 00:07:37 +0000
X-Original-Message-ID <CADVatmMosuB9dTXk9Maj6-Kaov-ywfqmwtifeD2QQm1o_=Kx+w@mail.gmail.com>
X-Original-References <CADVatmMpF9CvyVBm7+5RbCeD12dHrrDSAVREd+7V_1bn3SiJFA@mail.gmail.com>
Xref csiph.com linux.debian.maint.java:12010

Show key headers only | View raw


Hi Emmanuel,

On Mon, Dec 28, 2020 at 10:33 PM Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
>
> Hi Emmanuel,
>
> With the latest update of swt4-gtk to 4.18.0-1 I am seeing a problem
> in loading the library. After a little debugging it seems its not
> finding a symbol.
>
> /usr/lib/jni/libswt-pi3-gtk-4940r23.so: undefined symbol:
> gdk_texture_new_from_file
>
> Then it tries to find "/usr/lib/jni/libswt-pi4-gtk.so" which is not
> present and so the application fails.
>
> Any ideas?

'gdk_texture_new_from_file' is from gtk4 and the below patch will fix
the problem.
Do you want me to go ahead with this change ?


diff --git a/debian/rules b/debian/rules
index 803ce85a..f23618c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@

 include /usr/share/dpkg/pkg-info.mk

-export DEB_CFLAGS_MAINT_APPEND=-fPIC
+export DEB_CFLAGS_MAINT_APPEND=-fPIC -DNO_gdk_1texture_1new_1from_1file
 DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/buildflags.mk
 CFLAGS+=$(CPPFLAGS)


-- 
Regards
Sudip

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-28 23:40 +0100
  Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:10 +0100
    Re: problem with swt4-gtk update Thorsten Glaser <t.glaser@tarent.de> - 2020-12-29 01:20 +0100
      Re: problem with swt4-gtk update Thorsten Glaser <t.glaser@tarent.de> - 2020-12-29 01:40 +0100
        Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:50 +0100
          Re: problem with swt4-gtk update Emmanuel Bourg <ebourg@apache.org> - 2020-12-29 08:30 +0100
      Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:40 +0100

csiph-web