Re: dh-php 3.1

2021-06-02 Thread Bryce Harrington
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.

Bryce


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ý  (He/Him)
> 
> > On 27. 5. 2021, at 5:20, Bryce Harrington  
> > 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ý  (He/Him)
> >> 
> >>>> On 26. 5. 2021, at 22:55, Bryce Harrington 
> >>>>  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/

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: dh-php 3.1

2021-05-28 Thread Utkarsh Gupta
Hello,

On Fri, May 28, 2021 at 4:03 AM Bryce Harrington
 wrote:
> To keep the page clean I'm deleting details once packages transition, but
> if you're interested in those details they are in the page history.  For
> the most part, solutions are generally "pull from Debian experimental"
> (like I said you've done most of the groundwork already!)  But beyond
> that some other notes:
>
>   - php-apcu-bc appears to be getting dropped with php8.  We've had to
> adjust a few things that still depended on it, and then will drop it
> from the archive.
>
>   - php-doctrine-cache needed some adjustments to get it happy with
> php8 (See 1.10.2-2ubuntu1.)

A few more things need some patches to get everything working, I'll
submit them to Debian once it's all settled here.

> Remaining work items still TBD:
>
>   - owfs feels like it's not gotten its php8 updates yet?

I've been looking at owfs (w/ William). owfs uses swig to build the
PHP extension. So if you notice, there's swig -php7 being called and
if PHP7 isn't available, it falls back to -php (which is aliasing for
php5). Olly (upsteram of swig) has written a patch for supporting PHP8
in swig and it's merged but the release is due. Once that happens,
getting to build owfs shouldn't be very hard, since I've looked into
the patch and it makes sense, et al. Another nice thing is that the
newer swig (whenever it's released) also maps known PHP interfaces to
zend_class_entry*, this should also help with the owfs build, I
believe. MapServer also suffers through the same issue, so probably
both should be fixed (along the same lines, hopefully) whenever a
newer swig is out. I've also asked swig to do a release, too :)

Hope that helps.


- u

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: dh-php 3.1

2021-05-27 Thread Bryce Harrington
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

Understood, but actually you've laid a lot of great groundwork here.

I am keeping informal notes of status of things on this ubuntu wiki
page:

  https://wiki.ubuntu.com/ServerTeam/Transition/Php8.0

To keep the page clean I'm deleting details once packages transition, but
if you're interested in those details they are in the page history.  For
the most part, solutions are generally "pull from Debian experimental"
(like I said you've done most of the groundwork already!)  But beyond
that some other notes:

  - php-apcu-bc appears to be getting dropped with php8.  We've had to
adjust a few things that still depended on it, and then will drop it
from the archive.

  - php-doctrine-cache needed some adjustments to get it happy with
php8 (See 1.10.2-2ubuntu1.)


Remaining work items still TBD:

  - owfs feels like it's not gotten its php8 updates yet?

  - Various things still use the deprecated TSRMLS_CC macro which is
dropped in php8.  Pulling from experimental resolved some of these,
others may need changes from upstream; see wiki page for what
we're still looking at.

Bryce

> --
> Ondřej Surý  (He/Him)
> 
> > On 27. 5. 2021, at 5:20, Bryce Harrington  
> > 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ý  (He/Him)
> >> 
> >>>> On 26. 5. 2021, at 22:55, Bryce Harrington 
> >>>>  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/

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: dh-php 3.1

2021-05-27 Thread Ondřej Surý
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ý  (He/Him)

> On 26. 5. 2021, at 22:55, Bryce Harrington  
> 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/

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: dh-php 3.1

2021-05-27 Thread Ondřej Surý
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ý  (He/Him)

> On 27. 5. 2021, at 5:20, Bryce Harrington  
> 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ý  (He/Him)
>> 
>>>> On 26. 5. 2021, at 22:55, Bryce Harrington 
>>>>  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/

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Re: dh-php 3.1

2021-05-26 Thread Bryce Harrington
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ý  (He/Him)
> 
> > On 26. 5. 2021, at 22:55, Bryce Harrington  
> > 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/

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

dh-php 3.1

2021-05-26 Thread Bryce Harrington
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/

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam