Bug#1076226: gearman-server, gearman-job-server: install program with same name (gearmand)

gregor herrmann gregoa at debian.org
Wed Sep 24 19:29:13 BST 2025


On Wed, 24 Sep 2025 18:43:50 +0200, gregor herrmann wrote:

>Thinking about MR!3 in gearman-server, I think the test dependency is 
>not necessary, also together with the Breaks we have a cycle we with 
>libgearman-client-perl (where the newer version needs the newer 
>gearman-server to build).
>
>I hope I'm not wrong, but I will remove the test dependency again, 
>upload gearman-server. and then upload libgearman-client-perl, once 
>gearman-server. is available on the buildds, and we see what happens 
>:)
>
>(And if I'm wrong we can always fix it.)

I think I was wrong. Hm.

gearman-server 1.130.1-3 is on the buildds (and in my local build 
repo), but I can't build libgearman-client-perl 2.004.015-2 because 
it has a test dependency on gearman-server >= 1.130.1-3 _and_ 
gearman-server has a Breaks on libgearman-client-perl << 2.004.015-2 
anda dependency on libgearman-client-perl, so it's uninstallable 
until libgearman-client-perl 2.004.015-2 exists, which we are trying 
to build.

I guess I should have seen this before. Oh, well.

Maybe we can make libgearman-client-perl build older and newer 
libgearman-client-perl (temporarily) by removing the version 
constraint from the build dep and (adjusting the patch) or setting 
$ENV{GEARMAND_PATH} to a suitable value (/usr/bin/gearmand or
/usr/bin/gearmand-perl) from debian/ruiles.

*testing*

Oh, it's much easier:
- Removing the >= 1.130.1-3~ from the test dependency seems to be 
   enough,
- with gearman-server 1.130.1-2 some tests are skipped, as 
   gearmand-perl is not found, but the test suite passes
- with gearman-server 1.130.1-3 the tests needing the servers are and 
   pass as well

Not ideal, but this lets us escape the dead end :)

(And we can still add the version back after both packages are built 
and have migrated to testing.)

Hm, maybe we wouldn't have needed the Breaks in gearman-server in the 
first place? -- Anyway, I think we have a way out now.

And … uploaded.


Cheers,
gregor

-- 
  .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
  : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
  `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
    `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250924/bf738c81/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list