Your message dated Sat, 21 Sep 2024 22:36:07 +0000
with message-id <[email protected]>
and subject line Bug#1078202: fixed in restfuldb 0.16.0+dfsg-1.1
has caused the Debian Bug report #1078202,
regarding restfuldb: FTBFS with Perl 5.40: test failures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1078202: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078202
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: restfuldb
Version: 0.16.0+dfsg-1
Severity: important
User: [email protected]
Usertags: perl-5.40-transition
Tags: sid trixie patch

This package fails to build from source with Perl 5.40 (currently in
experimental.)

  tests/cases/HTMLGenerator.pm_001.sh:               FAILED:
  0a1
  > Attempt to call undefined import method with arguments ("$VERSION") via 
package "RestfulDB::Version" (Perhaps you forgot to load the package?) at 
<script_name> line <line_no>.
  
This is fallout from a new Perl warning:

  
https://metacpan.org/dist/perl/view/pod/perldelta.pod#Calling-the-import-method-of-an-unknown-package-produces-a-warning

Proposed patch attached, this fixes it for me.

A full build log is at

  
https://perl.debian.net/rebuild-logs/perl-5.40-throwaway/restfuldb_0.16.0%2Bdfsg-1/restfuldb_0.16.0%2Bdfsg-1_amd64-2024-08-08T07%3A45%3A41Z.build

-- 
Niko Tyni   [email protected]
From: Niko Tyni <[email protected]>
Date: Thu, 8 Aug 2024 08:40:04 +0100
X-Dgit-Generated: 0.16.0+dfsg-1 6d05da4077a1b5fa329265880b0f52cfe07a6717
Subject: Fix RestfulDB::Version import

RestfulDB::Version does not export $VERSION.

This warns with newer versions of Perl (5.40 or so):

  Attempt to call undefined import method with arguments ("$VERSION") via package "RestfulDB::Version" (Perhaps you forgot to load the package?) at <script_name> line <line_no>.

---

diff --git a/lib/HTMLGenerator.pm b/lib/HTMLGenerator.pm
index de1f4a1..189af78 100644
--- a/lib/HTMLGenerator.pm
+++ b/lib/HTMLGenerator.pm
@@ -46,7 +46,7 @@ use RestfulDB::SQL qw(
     is_integer
     is_text
 );
-use RestfulDB::Version qw( $VERSION );
+use RestfulDB::Version;
 use POSIX qw(strftime);
 use List::MoreUtils qw(uniq);
 use List::Util qw( any );

--- End Message ---
--- Begin Message ---
Source: restfuldb
Source-Version: 0.16.0+dfsg-1.1
Done: gregor herrmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
restfuldb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated restfuldb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 16 Sep 2024 23:54:25 CEST
Source: restfuldb
Binary: 
Architecture: source
Version: 0.16.0+dfsg-1.1
Distribution: unstable
Urgency: medium
Maintainer: Andrius Merkys <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description: 
Closes: 1078202
Changes:
 restfuldb (0.16.0+dfsg-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix "FTBFS with Perl 5.40: test failures": add patch from Niko Tyni to fix
     import with Perl 5.40.
     (Closes: #1078202)
Checksums-Sha256: 
 5a2d070a684d510b069a147d82bac8cb41e428d527f2e5ab51b6bfe10c239251 3216 
restfuldb_0.16.0+dfsg-1.1.dsc
 8f4267521636f86bfe11733e224e77fef60f2245895f0272aa0fcaa46f3a1d18 7320 
restfuldb_0.16.0+dfsg-1.1.debian.tar.xz
 800e2d341c6e5608ce7b584a5b3cd417c0c3ba8137e481777aaaaec4a3f02478 12105 
restfuldb_0.16.0+dfsg-1.1_sourceonly.buildinfo
Checksums-Sha1: 
 f9b326ab3e71c672f1af3c06ac9e59bf047ea1a8 3216 restfuldb_0.16.0+dfsg-1.1.dsc
 4911681451ff63a5560097bf998315460fd530b3 7320 
restfuldb_0.16.0+dfsg-1.1.debian.tar.xz
 5688b2c33d6848ea7e85cb09204f24cd2f2c4c85 12105 
restfuldb_0.16.0+dfsg-1.1_sourceonly.buildinfo
Files: 
 132fad7055d0ff2bd53c15a8b8179fc1 3216 web optional 
restfuldb_0.16.0+dfsg-1.1.dsc
 5a9b0689cd6e111ef0cc12e3c8d53d5b 7320 web optional 
restfuldb_0.16.0+dfsg-1.1.debian.tar.xz
 fae28881d088b678e201a00d5aea0f3d 12105 - - 
restfuldb_0.16.0+dfsg-1.1_sourceonly.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmboqRFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYuDw//Zzl1M3cEdA7UfDuHf79giiezKMqUq2hzMkXdH4GqTG5aOrPdtgjDsfw3
v9Y0MghLiIMbrsSOiYCh3HeCT8zpit7fvXYg2hiCLIXNv1YYqPvYaLYK8rE0S06+
q1LdoBmv26eh+PKFzc4tPAfvi1bmQynN3UR+lCX7iDPoJ4r31qaeyiuRe2WECfRM
j8M8WTf4E34hs4P1NhgcTASe4v8+FiHz6F3w5sWxSIN+hMTqoY5NOFrgOub9COhu
Ifl4dmrr6DYKkqrr+pcNC64QXc06LMVm1eEVB0zQir0hH0j2XOjbXdywj43tlezH
hGuUNjz5rd2PHhSBpBx5CrOBv9D+fVkRVWXDY60rYjVCDlKfLcjMBLHmOzkePmnq
NWXWdo0S7LsB7x6sDMe+97Kwl7Q8tgcttyCSeyOgo8j+Bn9uJ1foigkDEpXti1ym
p9OAKWJ7Amcx1QGr1k0v6zWtk2+N5Hrcdl4aBIL/xShQ5rlmFHb6y18nwJ7IChba
c1yP+XPW61oLcxCfaEe7AVSA0dgeF/fnph6eQTFyZUrxeUtXuWdbOSR/gVh2ZFFp
XhGzfE96Ciian/Jx0rGLW24XusKxddR1Fofq2dvD42EjH8LTfzueuiPj/cdFMmaN
O4nNR60dHmd3RX8YwP7JrzbenRooILoE9U5bUqCPIud5hayEQEI=
=myjI
-----END PGP SIGNATURE-----

Attachment: pgpDFiX0JA8SB.pgp
Description: PGP signature


--- End Message ---

Reply via email to