diff mbox series

[1/1] package/swig: bump to version 4.3.0

Message ID 20241101180635.1028681-1-james.hilliard1@gmail.com
State New
Headers show
Series [1/1] package/swig: bump to version 4.3.0 | expand

Commit Message

James Hilliard Nov. 1, 2024, 6:06 p.m. UTC
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/swig/swig.hash | 2 +-
 package/swig/swig.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Arnout Vandecappelle Nov. 4, 2024, 8:11 p.m. UTC | #1
Hi James,

On 01/11/2024 19:06, James Hilliard wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
>   package/swig/swig.hash | 2 +-
>   package/swig/swig.mk   | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/swig/swig.hash b/package/swig/swig.hash
> index 21590c422a..9c1dbcc2fc 100644
> --- a/package/swig/swig.hash
> +++ b/package/swig/swig.hash
> @@ -1,5 +1,5 @@
>   # Locally computed:
> -sha256  2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b  swig-4.1.1.tar.gz
> +sha256  f7203ef796f61af986c70c05816236cbd0d31b7aa9631e5ab53020ab7804aa9e  swig-4.3.0.tar.gz
>   sha256  f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e  LICENSE
>   sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSE-GPL
>   sha256  7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2  LICENSE-UNIVERSITIES
> diff --git a/package/swig/swig.mk b/package/swig/swig.mk
> index ad585c3f97..7e84bdd431 100644
> --- a/package/swig/swig.mk
> +++ b/package/swig/swig.mk
> @@ -4,8 +4,8 @@
>   #
>   ################################################################################
>   
> -SWIG_VERSION_MAJOR = 4.1
> -SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
> +SWIG_VERSION_MAJOR = 4.3
> +SWIG_VERSION = $(SWIG_VERSION_MAJOR).0

  I've tried building libselinux and python-pylibfdt after this bump, and both 
give me an error like this:

2024-11-04T21:03:55 libfdt/libfdt_wrap.c: In function ‘_wrap_fdt_get_property_w’:
2024-11-04T21:03:55 libfdt/libfdt_wrap.c:6829:19: error: too few arguments to 
function ‘SWIG_Python_AppendOutput’
2024-11-04T21:03:55 6829 |       resultobj = SWIG_Python_AppendOutput(resultobj, 
buff);
2024-11-04T21:03:55 |                   ^~~~~~~~~~~~~~~~~~~~~~~~
2024-11-04T21:03:55 libfdt/libfdt_wrap.c:1259:1: note: declared here
2024-11-04T21:03:55 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* 
obj, int is_void) {
2024-11-04T21:03:55 | ^~~~~~~~~~~~~~~~~~~~~~~~


  Now, I haven't investigated too much, and I haven't done a clean build so that 
may be the problem (though I don't immediately see how). But I just wanted to 
check: have you build-tested a bunch of packages that use swig?

  Regards,
  Arnout


>   SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
>   HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
>   HOST_SWIG_CONF_OPTS = \
James Hilliard Nov. 4, 2024, 9:02 p.m. UTC | #2
On Mon, Nov 4, 2024 at 1:11 PM Arnout Vandecappelle <arnout@mind.be> wrote:
>
>   Hi James,
>
> On 01/11/2024 19:06, James Hilliard wrote:
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> > ---
> >   package/swig/swig.hash | 2 +-
> >   package/swig/swig.mk   | 4 ++--
> >   2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/package/swig/swig.hash b/package/swig/swig.hash
> > index 21590c422a..9c1dbcc2fc 100644
> > --- a/package/swig/swig.hash
> > +++ b/package/swig/swig.hash
> > @@ -1,5 +1,5 @@
> >   # Locally computed:
> > -sha256  2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b  swig-4.1.1.tar.gz
> > +sha256  f7203ef796f61af986c70c05816236cbd0d31b7aa9631e5ab53020ab7804aa9e  swig-4.3.0.tar.gz
> >   sha256  f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e  LICENSE
> >   sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSE-GPL
> >   sha256  7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2  LICENSE-UNIVERSITIES
> > diff --git a/package/swig/swig.mk b/package/swig/swig.mk
> > index ad585c3f97..7e84bdd431 100644
> > --- a/package/swig/swig.mk
> > +++ b/package/swig/swig.mk
> > @@ -4,8 +4,8 @@
> >   #
> >   ################################################################################
> >
> > -SWIG_VERSION_MAJOR = 4.1
> > -SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
> > +SWIG_VERSION_MAJOR = 4.3
> > +SWIG_VERSION = $(SWIG_VERSION_MAJOR).0
>
>   I've tried building libselinux and python-pylibfdt after this bump, and both
> give me an error like this:
>
> 2024-11-04T21:03:55 libfdt/libfdt_wrap.c: In function ‘_wrap_fdt_get_property_w’:
> 2024-11-04T21:03:55 libfdt/libfdt_wrap.c:6829:19: error: too few arguments to
> function ‘SWIG_Python_AppendOutput’
> 2024-11-04T21:03:55 6829 |       resultobj = SWIG_Python_AppendOutput(resultobj,
> buff);
> 2024-11-04T21:03:55 |                   ^~~~~~~~~~~~~~~~~~~~~~~~
> 2024-11-04T21:03:55 libfdt/libfdt_wrap.c:1259:1: note: declared here
> 2024-11-04T21:03:55 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject*
> obj, int is_void) {
> 2024-11-04T21:03:55 | ^~~~~~~~~~~~~~~~~~~~~~~~
>
>
>   Now, I haven't investigated too much, and I haven't done a clean build so that
> may be the problem (though I don't immediately see how). But I just wanted to
> check: have you build-tested a bunch of packages that use swig?

Hmm, I think I had only tested one or two packages, I'll take a look.

>
>   Regards,
>   Arnout
>
>
> >   SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
> >   HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
> >   HOST_SWIG_CONF_OPTS = \
>
diff mbox series

Patch

diff --git a/package/swig/swig.hash b/package/swig/swig.hash
index 21590c422a..9c1dbcc2fc 100644
--- a/package/swig/swig.hash
+++ b/package/swig/swig.hash
@@ -1,5 +1,5 @@ 
 # Locally computed:
-sha256  2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b  swig-4.1.1.tar.gz
+sha256  f7203ef796f61af986c70c05816236cbd0d31b7aa9631e5ab53020ab7804aa9e  swig-4.3.0.tar.gz
 sha256  f53abaeed775018d519a1b9615f0ca17894772bd9ca21c2a156bf340ac41c13e  LICENSE
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSE-GPL
 sha256  7f50d942373a871211c5efee03f3db2f9efd1cff1002b0ef8e3748baa611a5c2  LICENSE-UNIVERSITIES
diff --git a/package/swig/swig.mk b/package/swig/swig.mk
index ad585c3f97..7e84bdd431 100644
--- a/package/swig/swig.mk
+++ b/package/swig/swig.mk
@@ -4,8 +4,8 @@ 
 #
 ################################################################################
 
-SWIG_VERSION_MAJOR = 4.1
-SWIG_VERSION = $(SWIG_VERSION_MAJOR).1
+SWIG_VERSION_MAJOR = 4.3
+SWIG_VERSION = $(SWIG_VERSION_MAJOR).0
 SWIG_SITE = http://downloads.sourceforge.net/project/swig/swig/swig-$(SWIG_VERSION)
 HOST_SWIG_DEPENDENCIES = host-bison host-pcre2
 HOST_SWIG_CONF_OPTS = \