Re: Ignore extra version numbers in WX_CONFIG_CHECK (PR #23289)

25 views
Skip to first unread message

Bernard Cafarelli

unread,
Feb 22, 2023, 1:54:33 PM2/22/23
to wx-...@googlegroups.com, Subscribed

Spotted with filezilla 3.63 and wxWidgests 3.2.2.1 on Gentoo Linux: https://bugs.gentoo.org/895642


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/23289/c1440623265@github.com>

VZ

unread,
Feb 22, 2023, 7:23:30 PM2/22/23
to wx-...@googlegroups.com, Subscribed

Thanks for the PR but I don't quite understand the problem, as wx-config does not return the fourth version component here:

$ git checkout v3.2.2.1
$ ./configure --without-subdirs >/dev/null
$ ./wx-config --version
3.2.2

and I don't understand how could it do it considering that this component is only part of WX_SUBVERSION which is not used in wx-config -- could you please explain how does this happen in Gentoo? Does it use any patches to wx-config by chance?

I think we could still apply the proposed patch as I don't think it can do any harm, but it seems a bit weird to do it when it looks like it shouldn't be needed, so I'd like to have more details please.

Thanks in advance!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/23289/c1441046724@github.com>

Bernard Cafarelli

unread,
Feb 23, 2023, 3:24:03 AM2/23/23
to wx-...@googlegroups.com, Subscribed

Interesting, thanks! This does come from somewhere in Gentoo build:

# Git tag checkout
% ./wx-config --version
3.2.2
# Gentoo build in progress
/var/tmp/portage/x11-libs/wxGTK-3.2.2.1/work/wxWidgets-3.2.2.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --docdir=/usr/share/doc/wxGTK-3.2.2.1 --htmldir=/usr/share/doc/wxGTK-3.2.2.1/html --with-zlib=sys --with-expat=sys --enable-compat30 --with-sdl --with-liblzma --enable-webrequest --disable-precomp-headers --libdir=${prefix}/lib64 --enable-graphics_ctx --with-gtkprint --enable-gui --with-gtk=3 --with-libpng=sys --with-libjpeg=sys --with-regex=sys --without-gnomevfs --enable-mediactrl --disable-webview --with-libnotify --with-opengl --with-libtiff=sys --disable-secretstore --enable-spellcheck --disable-tests --enable-wayland
[...]
% /var/tmp/portage/x11-libs/wxGTK-3.2.2.1/work/wxWidgets-3.2.2.1-abi_x86_64.amd64/wx-config --version
3.2.2.1

I did not see patches relating to versioning, but the ebuild itself may change, let me dig further (and report to wxWidgets downstream maintainers)


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/23289/c1441363522@github.com>

Bernard Cafarelli

unread,
Mar 31, 2023, 12:55:15 PM3/31/23
to wx-...@googlegroups.com, Subscribed

Closed #23289.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/23289/issue_event/8900102240@github.com>

Bernard Cafarelli

unread,
Mar 31, 2023, 12:55:15 PM3/31/23
to wx-...@googlegroups.com, Subscribed

Thanks for comments here, Gentoo bug https://bugs.gentoo.org/895982 is now fixed and reports proper versions (tested with filezilla).
I do not think this PR itself brings a lot when wx-config reports expected versions so closing it


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/23289/c1492263363@github.com>

Reply all
Reply to author
Forward
0 new messages