Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895642 - net-ftp/filezilla-3.63.1 fails to compile due to wxWidgets version
Summary: net-ftp/filezilla-3.63.1 fails to compile due to wxWidgets version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL: https://github.com/wxWidgets/wxWidget...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 03:08 UTC by Nathan Zachary
Modified: 2023-02-22 19:00 UTC (History)
2 users (show)

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


Attachments
build log (file_895642.txt,15.70 KB, text/plain)
2023-02-22 17:14 UTC, Nathan Zachary
Details
config log (file_895642.txt,48.29 KB, text/plain)
2023-02-22 17:15 UTC, Nathan Zachary
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Zachary 2023-02-21 03:08:57 UTC
When attempting to merge =net-ftp/filezilla-3.63.1, the configure phase fails with:

checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 3.0.4 (--unicode=yes --universal=no)... ./configure: line 19556: test: 3.1: integer expression expected
./configure: line 19559: test: 3.1: integer expression expected
no (version 3.2.2.1 is not new enough)
configure: error: 
    The requested wxWidgets build couldn't be found.
    
    The configuration you asked for FileZilla requires a wxWidgets
    build with the following settings:
        --unicode=yes --universal=no
    but such build is not available.

    To see the wxWidgets builds available on this system, please use
    'wx-config --list' command. To use the default build, returned by
    'wx-config --selected-config', use the options with their 'auto'
    default values.

    If you still get this error, then check that 'wx-config' is
    in path, the directory where wxWidgets libraries are installed
    (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
    or equivalent variable and wxWidgets version is 3.0.4 or above.


even though an appropriate version is available:

eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk3-unicode-3.0-gtk3
  [2]   gtk3-unicode-3.2-gtk3 *


emerge --info x11-libs/wxGTK
Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1, gcc-12.2.0, glibc-2.36-r7, 6.1.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.12-gentoo-x86_64-AMD_Ryzen_Threadripper_3960X_24-Core_Processor-with-glibc2.36
KiB Mem:   131795372 total, 120918632 free
KiB Swap:     262140 total,    262140 free
Timestamp of repository gentoo: Tue, 21 Feb 2023 01:30:01 +0000
Head commit of repository gentoo: 6371dca10b4767737fe3926b25215fc99e734b68
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p1::gentoo, 3.11.2_p1::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.0::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_GB"
MAKEOPTS="-j48"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X acl alsa amd64 bzip2 cli crypt cups dbus dri elogind exif ffmpeg flac fortran gdbm gif harfbuzz iconv icu ipv6 jpeg libglvnd libnotify libsamplerate libtirpc lm-sensors multilib ncurses nls nptl ogg openmp pam pcre pdf png postproc postscript readline savedconfig seccomp session spell split-usr ssl startup-notification svg test-rust theora tiff truetype udev udisks unicode usb v4l vorbis webp xattr xcb xcrypt zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

x11-libs/wxGTK-3.0.5.1-r1::gentoo was built with the following:
USE="X libnotify tiff -debug -doc -gstreamer -opengl (-pch) -sdl -test -webkit" ABI_X86="(64) -32 (-x32)"
FEATURES="usersandbox userpriv assume-digests unmerge-orphans sandbox pid-sandbox fixlafiles binpkg-logs binpkg-dostrip parallel-fetch buildpkg-live userfetch config-protect-if-modified strict ebuild-locks sfperms binpkg-docompress news distlocks unknown-features-warn ipc-sandbox multilib-strict network-sandbox usersync xattr qa-unresolved-soname-deps unmerge-logs protect-owned preserve-libs merge-sync"


x11-libs/wxGTK-3.2.2.1::gentoo was built with the following:
USE="X libnotify lzma spell tiff -curl -debug -doc -gnome-keyring -gstreamer -opengl (-pch) -sdl -test -wayland -webkit" ABI_X86="(64) -32 (-x32)"
FEATURES="multilib-strict preserve-libs protect-owned config-protect-if-modified binpkg-dostrip binpkg-docompress binpkg-logs parallel-fetch network-sandbox usersandbox buildpkg-live unmerge-logs merge-sync userpriv news userfetch strict ebuild-locks usersync xattr sfperms ipc-sandbox fixlafiles unmerge-orphans qa-unresolved-soname-deps pid-sandbox assume-digests sandbox unknown-features-warn distlocks"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-22 17:03:01 UTC
Please always attach the full build.log. config.log may be useful here too.
Comment 2 Nathan Zachary 2023-02-22 17:14:32 UTC
Created attachment 853932 [details]
build log
Comment 3 Nathan Zachary 2023-02-22 17:15:22 UTC
Created attachment 853934 [details]
config log
Comment 4 Nathan Zachary 2023-02-22 17:15:39 UTC
Sorry about that, Sam.  I should know better.
Comment 5 Bernard Cafarelli gentoo-dev 2023-02-22 18:37:33 UTC
Thanks for the report, I see this failure too now, while 3.63.0 and 3.63.1 were installing fine

OK this is caused by the wxGTK versioning (and extra .1 in "3.2.2.1"), the m4 file needs a fix to ignore the rest of the version in checks. Working on a fix
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-22 18:38:20 UTC
(In reply to Nathan Zachary from comment #4)
> Sorry about that, Sam.  I should know better.

No worries!
Comment 7 Bernard Cafarelli gentoo-dev 2023-02-22 18:56:13 UTC
I will create a filezilla ticket once wxWidgets upstream comments on that fix, in the meantime pushing it in tree
Comment 8 Larry the Git Cow gentoo-dev 2023-02-22 19:00:46 UTC
The bug has been closed via the following commit(s):

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

commit b74372d2f26ea0096a563f4455aee1aacb657163
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2023-02-22 18:56:21 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-02-22 19:00:44 +0000

    net-ftp/filezilla: handle new wxGTK versioning
    
    Closes: https://bugs.gentoo.org/895642
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/filezilla-3.63.1-wxversion.patch         | 28 ++++++++++++++++++++++
 net-ftp/filezilla/filezilla-3.63.1.ebuild          |  1 +
 2 files changed, 29 insertions(+)