Bug 40472 - Need to remove libtest-perltidy-perl from debian/control file
Summary: Need to remove libtest-perltidy-perl from debian/control file
Status: RESOLVED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: 25.05
Hardware: All All
: P5 - low major
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 38944
Blocks:
  Show dependency treegraph
 
Reported: 2025-07-23 01:37 UTC by Wainui Witika-Park
Modified: 2025-07-25 00:46 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40472: Remove libtest-perltidy-perl from debian/control file (916 bytes, patch)
2025-07-23 01:39 UTC, Wainui Witika-Park
Details | Diff | Splinter Review
Bug 40472: Remove libtest-perltidy-perl from debian/control file (916 bytes, patch)
2025-07-23 01:40 UTC, Wainui Witika-Park
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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!