** Description changed:

+ [ Impact ]
+ 
+ * The debcheckout and the chdist tools produce a whole slew of perl
+ deprecation warnings when run. Not only is this annoying, but it causes
+ confusion when an actual failure occurs in the tools.
+ 
+ * In addition, the current devscripts package FTBFS on noble because of
+ changes in black, etc.
+ 
+ [ Test Plan ]
+ 
+ * To reproduce the issue, just run "debcheckout" or "chdist" by
+ themselves and notice the whole slew of deprecation warnings that get
+ printed to the console.
+ 
+ * The test suite gets run during build.
+ 
+ * running "debcheckout hello" will test the debcheckout tool.
+ 
+ * running "chdist create srutest" will test the chdist tool.
+ 
+ [ Where problems could occur ]
+ 
+ * This could potentially introduce a crash or failure in the debcheckout
+ or chdist tools. The fixes are limited to those two tools, so the impact
+ would be seen there.
+ 
+ [ Other Info ]
+ 
+ * The upstream commits used are listed in the changelog, and are in
+ Plucky and later releases
+ 
+ 
+ ---- original report below ----
+ 
  When I run debcheckout on Noble I get these warnings from Perl
  
  given is deprecated at /usr/bin/debcheckout line 419.
  when is deprecated at /usr/bin/debcheckout line 420.
  when is deprecated at /usr/bin/debcheckout line 424.
  given is deprecated at /usr/bin/debcheckout line 464.
  when is deprecated at /usr/bin/debcheckout line 465.
  when is deprecated at /usr/bin/debcheckout line 469.
  given is deprecated at /usr/bin/debcheckout line 513.
  when is deprecated at /usr/bin/debcheckout line 514.
  when is deprecated at /usr/bin/debcheckout line 515.
  when is deprecated at /usr/bin/debcheckout line 516.
  when is deprecated at /usr/bin/debcheckout line 522.
  when is deprecated at /usr/bin/debcheckout line 523.
  when is deprecated at /usr/bin/debcheckout line 547.
  when is deprecated at /usr/bin/debcheckout line 548.
  given is deprecated at /usr/bin/debcheckout line 605.
  when is deprecated at /usr/bin/debcheckout line 606.
  when is deprecated at /usr/bin/debcheckout line 637.
  when is deprecated at /usr/bin/debcheckout line 682.
  when is deprecated at /usr/bin/debcheckout line 700.
  when is deprecated at /usr/bin/debcheckout line 761.
  
  After researching I found this update about v 5.38, which we use in
  Noble https://perldoc.perl.org/perl5380delta#Switch-and-Smart-Match-
  operator
  
  The switch experimental statement is officially deprecated and later to
  be dropped in 5.42

** Patch added: "debdiff to fix this issue"
   
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/2061609/+attachment/5938331/+files/devscripts_2.23.7ubuntu0.1.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061609

Title:
  debcheckout and chdist raise Perl errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/2061609/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to