Summary: | dev-lang/php-8.3.6 failed to rebuild with gcc-14 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, leonchik1976, mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/php/php-src/issues/14367 | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=942283 https://bugs.gentoo.org/show_bug.cgi?id=941599 |
||
Whiteboard: | fixed in 8.2.21 and 8.3.9 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 914580, 941869 | ||
Attachments: |
build.log.xz
build.log |
Description
Leonid Kopylov
2024-05-26 07:35:09 UTC
Created attachment 894404 [details]
build.log.xz
Thanks for the report. I can only reproduce this with iODBC, but at first glance it does look like a type mismatch in the PHP code. Found the cause. SDWORD is typedef'd differently by iODBC than it is by unixODBC and in the former case its size doesn't match that of SQLINTEGER. This was fixed upstream and should hopefully make it into the next 8.2 and 8.3 releases. problem still exists with dev-lang/php-8.3.7-r1 Created attachment 895330 [details]
build.log
same for dev-lang/php-8.2.19 8.2.20 and 8.3.8 were security releases, I would guess that this will be fixed in the upstream 8.2.21 and 8.3.9. In the meantime you should be able to use CFLAGS="-Wno-incompatible-pointer-types" to avoid the error. *** Bug 933813 has been marked as a duplicate of this bug. *** (In reply to Michael Orlitzky from comment #8) > I would guess that this will be fixed in the upstream 8.2.21 and 8.3.9. This was a good guess. How about 8.1 ? 8.1 is masked now |