pecl-database-ibm_db2 icon indicating copy to clipboard operation
pecl-database-ibm_db2 copied to clipboard

PHP8 Windows builds - ?

Open AnrDaemon opened this issue 3 years ago • 11 comments
trafficstars

https://windows.php.net/downloads/pecl/releases/ibm_db2/2.1.5/logs/

AnrDaemon avatar Dec 26 '21 21:12 AnrDaemon

Another team seems to be handling Windows binaries, per https://github.com/php/pecl-database-ibm_db2#prebuilt-binaries-for-windows - reopen if those don't work.

NattyNarwhal avatar Feb 14 '22 17:02 NattyNarwhal

That's fine et al, but I don't have ways to verify integrity of some 3rd party builds. I would really prefer to have PECL builds fixed. Thank you in advance.

AnrDaemon avatar Feb 16 '22 06:02 AnrDaemon

As part of CI, I could figure out how to set up some kind build stuff. No guarantees because I haven't messed with that part of PECL, plus I'd need to see if anyone else is doing similar w/ Actions.

NattyNarwhal avatar Feb 17 '22 19:02 NattyNarwhal

As far as I'm aware, PECL routinely rebuilding extensions, when new version of a module (or a new major PHP version) is released. Build logs are also helpfully available. If you have issues with their build system, the Windows Internals mailing list is probably the best first stop here for help. Thank you for your effort and services!

AnrDaemon avatar Feb 18 '22 06:02 AnrDaemon

@AnrDaemon shall we close this ?

praveen-db2 avatar Mar 09 '22 13:03 praveen-db2

I don't see it fixed https://pecl.php.net/package/ibm_db2

AnrDaemon avatar Mar 16 '22 21:03 AnrDaemon

CI (in #21) is going to be a prerequisite for automating Windows builds (makes sure we have the infrastructure for it, would just need adapted rules to pump out build artifacts for the full matrix), so it won't happen before that.

NattyNarwhal avatar Mar 21 '22 16:03 NattyNarwhal

As far as I understand, PHP Windows team running their own CI system off the provided repos. What you need is to match environment and/or fix compilation errors. Am I understanding the issue correctly?

AnrDaemon avatar Mar 21 '22 16:03 AnrDaemon

The CI branch contains the GH Actions (before, we were using Travis, which had limitations and changed their pricing scheme) plus additional fixes (i.e. for 64-bit Windows).

With the CI actions, it's not much work to do i.e. provide artifacts on every tag. Not sure how it'd get uploaded to PECL (I could figure that out), but it could probably put it under the releases tab in GitHub.

NattyNarwhal avatar Mar 21 '22 17:03 NattyNarwhal

PECL runs their own build system.

AnrDaemon avatar Mar 22 '22 06:03 AnrDaemon

@AnrDaemon please refer https://github.com/ibmdb/php_ibm_db2 for windows dlls. Its built by IBM DB2 team. Will be releasing dlls to support for PHP 8.1.

praveen-db2 avatar Aug 16 '22 16:08 praveen-db2