Bug 40472

Summary: Need to remove libtest-perltidy-perl from debian/control file
Product: Koha Reporter: Wainui Witika-Park <wainuiwitikapark>
Component: PackagingAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: aleisha, jonathan.druart, mtj, tomascohen
Version: 25.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 38944    
Bug Blocks:    
Attachments: Bug 40472: Remove libtest-perltidy-perl from debian/control file
Bug 40472: Remove libtest-perltidy-perl from debian/control file

Description Wainui Witika-Park 2025-07-23 01:37:44 UTC
When trying to build 25.05 packages, I get the following output:

pbuilder-satisfydepends-dummy : Depends: libtest-perltidy-perl which is a virtual package and is not provided by any available package
Unable to resolve dependencies!  Giving up...

It looks like libtest-perltidy-perl was included in debian/control in Bug 38944 by accident.

Removing the package from debian/control seems to fix the problem.
Comment 1 Wainui Witika-Park 2025-07-23 01:39:34 UTC
Created attachment 184527 [details] [review]
Bug 40472: Remove libtest-perltidy-perl from debian/control file
Comment 2 Wainui Witika-Park 2025-07-23 01:40:39 UTC
Created attachment 184528 [details] [review]
Bug 40472: Remove libtest-perltidy-perl from debian/control file
Comment 3 Jonathan Druart 2025-07-23 09:13:15 UTC
Test::PerlTidy is required in 25.05, see

  commit 7de1b140593b6fd12293c983a318d5e6a0e530ff
  Bug 38664: Test::PerlTidy - new deps
Comment 4 Jonathan Druart 2025-07-23 09:16:12 UTC
Mason, is it missing from the main repo?

http://debian.koha-community.org/koha/pool/main/libt/
Comment 5 Tomás Cohen Arazi (tcohen) 2025-07-23 18:58:00 UTC
AFAICT, dev dependencies are required at build time regardless the need for them in the build process. So we need to add it to the repo if absent in the different distros we support.

This report should be renamed to 'Add libtest-perltidy-perl to the repo'.
Comment 6 Mason James 2025-07-23 23:11:08 UTC
(In reply to Jonathan Druart from comment #4)
> Mason, is it missing from the main repo?
> 
> http://debian.koha-community.org/koha/pool/main/libt/

oops... i missed adding it to the prod repo (just staging)


i've added it to the prod repo now

 https://debian.koha-community.org/koha/pool/main/libt/libtest-perltidy-perl/


problem should be fixed, sorry about that!