Package Details: perl-wx 0.9932-6

Git Clone URL: https://aur.archlinux.org/perl-wx.git (read-only, click to copy)
Package Base: perl-wx
Description: Interface to the wxWidgets cross-platform GUI toolkit
Upstream URL: https://metacpan.org/dist/Wx
Licenses: GPL, PerlArtistic
Submitter: None
Maintainer: swiftgeek
Last Packager: swiftgeek
Votes: 60
Popularity: 0.001525
First Submitted: 2007-09-20 07:29 (UTC)
Last Updated: 2023-02-08 12:29 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »

sl1pkn07 commented on 2023-02-06 19:46 (UTC) (edited on 2023-02-06 19:58 (UTC) by sl1pkn07)

EDIT: seems perl-alien-wxwidgets is broken in some point and I not care update. fixed on my side

sorry the noise

greetings

EDIT2: nope:

/usr/bin/c++ -pthread   -c -I. -I.. -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2  -I. -I. -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2   -I. -I../.. -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2  -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto   -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.36/core_perl/CORE" -DWXPL_EXT -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__   -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__    -DWXPL_EXT -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__   XRC.c
XRC.c: In function 'void XS_Wx__XmlResource_GetDomain(PerlInterpreter*, CV*)':
XRC.c:942:33: error: cannot convert 'const wxString' to 'const wxChar*' {aka 'const wchar_t*'} in assignment
  942 |         RETVAL = THIS->GetDomain();
      |                  ~~~~~~~~~~~~~~~^~
      |                                 |
      |                                 const wxString
make[2]: *** [Makefile:347: XRC.o] Error 1

swiftgeek commented on 2023-02-06 09:36 (UTC) (edited on 2023-02-06 20:25 (UTC) by swiftgeek)

Builds and passes check(). (with and without perl-wx being installed in the system)

If you don't like running check() you can disable it in makepkg.conf or just for this package with makepkg --nocheck

swiftgeek commented on 2023-02-06 08:41 (UTC) (edited on 2023-02-06 08:52 (UTC) by swiftgeek)

adv most likely refers to /usr/lib/libwx_gtk3u_adv-3.2.so

/usr/lib/perl5/5.34/vendor_perl/Alien/wxWidgets/Config/gtk2_3_0_5_uni_gcc_3_4.pm still had libwx_gtk2u_adv-3.0.so inside as adv


I have manually added to /usr/lib/perl5/5.36/vendor_perl/Alien/wxWidgets/Config/gtk_3_2_1_uni_gcc_3_4.pm following section:

                            'adv' => {
                                       'dll' => 'libwx_gtk3u_adv-3.2.so',
                                       'link' => '-lwx_gtk3u_adv-3.2'
                                     },

and it starts building but this is not good enough

Similar issue with wxLua https://github.com/pkulchenko/wxlua/issues/4

Yinameah commented on 2022-12-31 10:23 (UTC)

I'm also having this error :

No such 'link' library: 'adv' at ....

I don't know the first think about perl, so it's difficult to understand what's going on, but I'm available to try things if that can help

micwoj92 commented on 2022-08-29 09:22 (UTC)

I'm getting different error

==> Starting build()...
No such 'link' library: 'adv' at /home/micwoj92/perl-wx/src/Wx-0.9932/build/Wx/build/MakeMaker.pm line 212.

======================================================================
For installation instructions and further help please see
docs/INSTALL.pod

For command line switches help use:
perl Makefile.PL --help
======================================================================

==> ERROR: A failure occurred in build().
    Aborting...

bartus commented on 2022-07-17 16:56 (UTC) (edited on 2022-07-17 16:58 (UTC) by bartus)

Does this package need some specially primed env to build?

I've tried it on both my local installation and in extra-x86_64-build: both failed.

$ extra-x86_64-build -r /tmp/perl-wx/build -- -I /home/_pacman_cache/aur/perl-alien-wxwidgets-0.69-1-any.pkg.tar.zst -I /home/_pacman_cache/aur/perl-extutils-xspp-0.18-2-any.pkg.tar.zst
...
Writing MYMETA.yml and MYMETA.json
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx
Writing MYMETA.yml and MYMETA.json

======================================================================
wxWidgets minimum supported version 2.007001 is missing.
You will need to re-run Makefile.PL after it is installed.
You must install wxWidgets using Alien::wxWidgets.
======================================================================

======================================================================
For installation instructions and further help please see
docs/INSTALL.pod

For command line switches help use:
perl Makefile.PL --help
======================================================================

==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make: *** [Makefile:1175: Makefile] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /tmp/perl-wx/build/extra-x86_64/bartus/build

bkb commented on 2022-07-17 11:14 (UTC)

All these wx things are basically broken. Some needs a newer version, some needs the old one. A long chain of dependency made it impossible to even switch from old to new or new to old, without uninstalling nearly the OS

The_Snapdragon commented on 2022-07-16 00:13 (UTC)

Because of the update of wxwidgets this package can no longer be compiled

yochananmarqos commented on 2022-07-03 18:20 (UTC)

@Alad: Aha! I had actually downloaded that patch earlier, but completely forgot to try it.

Alad commented on 2022-07-03 18:13 (UTC) (edited on 2022-07-03 18:14 (UTC) by Alad)

I found some patches from Fedora, especially this one:

https://src.fedoraproject.org/rpms/perl-Wx/raw/f36/f/gtk3.patch

Upstream is dead as far as I can see

edit: builds fine with the gtk3.patch 👍