[Slackbuilds-users] Updates - 20240210.1

Luiz Carlos Ramos lramos.prof at yahoo.com.br
Tue Feb 13 13:21:48 UTC 2024


On Tue, Feb 13, 2024 at 06:50:21AM +0700, Willy Sudiarto Raharjo wrote:
> > My diagnosis is that the configure script from filezilla found an
> > incompatible version when running wx-config. It has found a version 3.0
> > "config" (actually, I'm not sure what this component really is) which
> > belongs to wxGTK3 (3.0.5), when it should get the version 3.2.4 from
> > wxWidgets (3.2.4).
> > 
> > I could work around this applying the patch below to
> > filezilla.Slackbuild, which makes the configure script grab the correct
> > "config":
> > 
> > diff --git a/network/filezilla/filezilla.SlackBuild b/network/filezilla/filezilla.SlackBuild
> > index b986f14f0a..639e14ff78 100644
> > --- a/network/filezilla/filezilla.SlackBuild
> > +++ b/network/filezilla/filezilla.SlackBuild
> > @@ -86,7 +86,7 @@ find -L . \
> >   # Needed for gcc >= 10.x
> >   patch -p1 < $CWD/interface_Mainfrm_h_include_list.patch
> > 
> > -WX_CONFIG_NAME=/usr/lib${LIBDIRSUFFIX}/wx/config/gtk3-unicode-3.0 \
> > +WX_CONFIG_NAME=/usr/lib${LIBDIRSUFFIX}/wx/config/gtk3-unicode-3.2 \
> >   ./configure \
> >     --prefix=/usr \
> >     --libdir=/usr/lib${LIBDIRSUFFIX} \
> 
> did you recently rebuild any other wx* package besides wxWidgets?
> that could explain why wx-config point you to the incorrect location as
> those packages have race condition. Whoever comes last will be the one
> pointed whenever any packages are locating wx-config.
> 
Nope, gtk3-unicode-3.2 is the last one:

[user at host:/home/user] $ ls -l /usr/lib64/wx/config/
total 144
-rwxr-xr-x 1 root root 43401 out 14  2021 gtk2-unicode-release-2.8
-rwxr-xr-x 1 root root 48498 fev 21  2022 gtk3-unicode-3.0
-rwxr-xr-x 1 root root 50854 nov 18 15:19 gtk3-unicode-3.2

(gtk3-unicode-3.2 is the one installed alongside wxWidgets;
gtk3-unicode-3.0 is the one from wxGTK3)

By the other side, I wouldn't be happy to depend on a race condition
here (and in any other case).

Going more deep, as far as I could learn, this version of filezilla
requires this component to be 3.2.1 or newer (see filezilla's
./configure, line 19640). So I would not force ./configure to use
gtk3-unicode-3.0 with the env variable WX_CONFIG_NAME; I think it
wouldn't find anything different from 3.0, which doesn't satisfy the
requirement.

By the way, how the build run in systems other than mine?

Tks,
Luiz


> -- 
> Willy Sudiarto Raharjo
> 





More information about the SlackBuilds-users mailing list