New Upstream Snapshot - libinline-python-perl

Ready changes

Summary

Merged new upstream version: 0.57+git20221213.1.8a10b69 (was: 0.57).

Resulting package

Built on 2023-01-19T21:19 (took 2m21s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots libinline-python-perl-dbgsymapt install -t fresh-snapshots libinline-python-perl

Lintian Result

Diff

diff --git a/Makefile.PL b/Makefile.PL
index 7d1a1b4..407451c 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -310,12 +310,6 @@ sub special_non_windows_check_shared_static_libs {
 
     if (shared_lib_priority($ref)) {
         $ref->{libpython} = $ref->{ldlib};
-        my $shared_lib = File::Spec->catfile($ref->{libpath}, $ref->{libpython});
-        if (!-f $shared_lib) {
-            # Special case for pyenv. The shared library exists in $LIBDIR instead of in
-            #   $LIBPL
-            $ref->{libpath} = get_config_var($ref, "LIBDIR");
-        }
         $ref->{rpath} = $ref->{libpath};
     }
     else {
@@ -340,9 +334,14 @@ sub special_non_windows_check_shared_static_libs {
                         . "WARNING: This is known to not work on linux.\n";
                 }
             }
-            $ref->{libpath} = get_config_var($ref, "LIBDIR");
             $ref->{libpython} = $ref->{ldlib};
-            $ref->{rpath} = $ref->{libpath};
+            my $shared_lib = File::Spec->catfile($ref->{libpath}, $ref->{libpython});
+            if (!-f $shared_lib) {
+                $ref->{libpath} = get_config_var($ref, "LIBDIR");
+            }
+            else {
+                $ref->{rpath} = $ref->{libpath};
+            }
         }
     }
 }
@@ -363,6 +362,9 @@ sub shared_lib_priority {
 sub check_static_library_ok {
     my ($ref) = @_;
 
+    my $static_lib = File::Spec->catfile($ref->{libpath}, $ref->{libpython});
+    return 0 if (!-f $static_lib);
+
     # We should check if the static library was compiled with -fPIC, or else
     #  we cannot create a shared Python.so from it.
     #  TODO: It seem like it is possible to build python with --enable-shared
diff --git a/debian/changelog b/debian/changelog
index f7d7515..dff05a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libinline-python-perl (0.57+git20221213.1.8a10b69-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 19 Jan 2023 21:17:26 -0000
+
 libinline-python-perl (0.57-1) unstable; urgency=medium
 
   * Import upstream version 0.57.
diff --git a/perlmodule.h b/perlmodule.h
index 1d336f4..8ec36c3 100644
--- a/perlmodule.h
+++ b/perlmodule.h
@@ -76,6 +76,8 @@ extern PyObject * newPerlSub_object(PyObject *, PyObject *, SV *);
 extern PyObject * newPerlMethod_object(PyObject*, PyObject*, SV*);
 extern PyObject * newPerlCfun_object(PyObject* (*)(PyObject *, PyObject *));
 
+extern void initperl(void);
+
 #ifdef __cplusplus
 }
 #endif

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/f5/d9d57d556a6e36174e05e1ea874d9f92a85f6c.debug
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.36/Inline/Python.pm
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.36/Inline/Python.pod
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.36/auto/Inline/Python/Python.so

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/f0/ff73d54b106cbbdea83e5587eddaa0d32c4c20.debug
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.34/Inline/Python.pm
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.34/Inline/Python.pod
-rw-r--r--  root/root   /usr/lib/x86_64-linux-gnu/perl5/5.34/auto/Inline/Python/Python.so

Control files of package libinline-python-perl: lines which differ (wdiff format)

  • Depends: perl (>= 5.34.0-5), perlapi-5.34.0, 5.36.0-7), perlapi-5.36.0, libc6 (>= 2.34), libpython3.10 2.4), libpython3.11 (>= 3.10.0), 3.11.0), libinline-perl

Control files of package libinline-python-perl-dbgsym: lines which differ (wdiff format)

  • Build-Ids: f0ff73d54b106cbbdea83e5587eddaa0d32c4c20 f5d9d57d556a6e36174e05e1ea874d9f92a85f6c

More details

Full run details