dh-php 3.1

Bryce Harrington bryce.harrington at canonical.com
Thu Jun 3 00:18:18 UTC 2021

Heya Ondřej,

Thanks again so much for advice on php-pcov, fwiw we found that php-pcov
was able to build and transition with dh-php 0.35.  We may revisit that
once the stack has more fully transitioned.

php-doctrine-cache is successfully transitioned now as well, there were
a bunch of packages blocked on that which then went in cleanly.

uwsgi, sassphp, and some other packages needed some updates for php8
(e.g. dropping TRSMLS_* macros).  Some of that is already reported
and/or fixed upstream; where not we've been trying to forward patches.

Currently we're stuck on a rather challenging circular build dependency
between php-twig and symfony (and other bits).  I've bootstrap built my
way up to symfony 5.0.2, which is sufficient to get php-twig to build,
but still working way up from 5.0.2 to 5.2.6 for symfony.  I know that's
not an area you've been directly involved in but if you have any advice
or tips it'd be much appreciated.


On Thu, May 27, 2021 at 07:45:51AM +0200, Ondřej Surý wrote:
> I would be happy to help you implement missing stuff, I’ve been just slacking because I can’t update it in Debian until bullseye is out and it’s not needed for PPA to have d/control in final shape.
> Ondřej
> --
> Ondřej Surý <ondrej at sury.org> (He/Him)
> > On 27. 5. 2021, at 5:20, Bryce Harrington <bryce.harrington at canonical.com> wrote:
> > 
> > Thanks Ondřej, we'll give that a shot.
> > 
> >> On Wed, May 26, 2021 at 11:56:02PM +0200, Ondřej Surý wrote:
> >> Hi Bryce,
> >> 
> >> I will start the transition as soon as bullseye is out, so if you can I would recommend doing the bump. It would give you the time to iron out the bugs I didn’t caught before 22.04 LTS.
> >> 
> >> There’s one missing thing though - the d/control is autogenerated and it might cause some problems with the archive tools. But it should not be that hard to fix that (just move the d/control to d/control.in and keep the generated d/control as part of the source archive).
> >> 
> >> Ondřej
> >> --
> >> Ondřej Surý <ondrej at sury.org> (He/Him)
> >> 
> >>>> On 26. 5. 2021, at 22:55, Bryce Harrington <bryce.harrington at canonical.com> wrote:
> >>> 
> >>> Hi Ondrej,
> >>> 
> >>> I've started pulling in php8 for Ubuntu, as you've probably already
> >>> noticed.  For the most part this is going smoothly, just a lot of
> >>> pulling things from experimental.
> >>> 
> >>> We've noticed though that php-pcov needs dh-php >= 3.1[1], which we
> >>> found in git[2], however 0.35 to 3.1 seems a big jump so I wanted to
> >>> check with you about this before pulling it in.  Should we pull in
> >>> dh-php 3.1, or can we get by with keeping php-pcov at dh-php 0.35?
> >>> 
> >>> Thanks,
> >>> Bryce
> >>> 
> >>> 1: https://salsa.debian.org/php-team/pecl/php-pcov/-/blob/debian/main/debian/control#L8
> >>> 2: https://salsa.debian.org/php-team/dh-php/-/commits/main/

More information about the ubuntu-server mailing list