Skip to content

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Sep 13, 2025

  • The "oldest" didn't really test against the oldest we claim to support.
  • The "latest versions" didn't really test against the latest versions.
  • The "bleeding edge" didn't really test against libpng master.
  • The auto-build was unnecessarily a few releases behind.
  • Documentation touch-ups

Copy link
Contributor

@jessey-git jessey-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here all look fine to me. Completely confused at to why theres that one test failure with VFX 2023 in an unrelated test.

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 13, 2025

Oh, I think I've done something bad here. Looks like I'm getting confusion between the libpng I'm building and the one already installed. Let me iterate on this a bit.

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 13, 2025

vfx2023 was some random glitch, worked fine when I just told it to rerun.
I think the sanitizer failure is my fault, fixing

* The "oldest" didn't really test against the oldest we claim to support.
* The "latest versions" didn't really test against the latest versions.
* The "bleeding edge" didn't really test against libpng master.
* The auto-build was unnecessarily a few releases behind.
* Documentatin touch-ups

Signed-off-by: Larry Gritz <[email protected]>
Signed-off-by: Larry Gritz <[email protected]>
@lgritz
Copy link
Collaborator Author

lgritz commented Sep 14, 2025

Updated and fixed

Copy link
Contributor

@jessey-git jessey-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved per CI passing. Though I don't quite understand the failure from before and how using that particular OpenImageIO_BUILD_LOCAL_DEPS=PNG directive for the build fixes it?

@lgritz
Copy link
Collaborator Author

lgritz commented Sep 14, 2025

There's an older version of libpng already on the system image, but as you pointed out, that was too old to support CICP, and so was not exercising this new code.

In my first stab at this PR, I just ran the build_libpng.bash script that we use for CI to build and install, thus ending up with a second version of the library. Because of inclulde paths and LD_LIBRARY_PATH ordering (which can be really hard to get right), it ended up using the headers of one but the library of the other and finding missing symbols. That's what the failures were.

But setting OpenImageIO_BUILD_LOCAL_DEPS=PNG gets us a new version in a totally different way: it runs our build system's "autobuild" approach for that package, which builds a static version and doesn't get confused about the system version.

@jessey-git
Copy link
Contributor

Gotcha, it was the detail about how this build option provides a static build that I was missing.

@lgritz lgritz merged commit 98f43a6 into AcademySoftwareFoundation:main Sep 14, 2025
60 of 65 checks passed
@lgritz lgritz deleted the lg-libpng branch September 16, 2025 05:46
zachlewis pushed a commit to zachlewis/OpenImageIO that referenced this pull request Sep 16, 2025
…Foundation#4883)

* The "oldest" didn't really test against the oldest we claim to
support.
* The "latest versions" didn't really test against the latest versions.
* The "bleeding edge" didn't really test against libpng master.
* The auto-build was unnecessarily a few releases behind.
* Documentation touch-ups

---------

Signed-off-by: Larry Gritz <[email protected]>
Signed-off-by: Zach Lewis <[email protected]>
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Sep 16, 2025
…Foundation#4883)

* The "oldest" didn't really test against the oldest we claim to
support.
* The "latest versions" didn't really test against the latest versions.
* The "bleeding edge" didn't really test against libpng master.
* The auto-build was unnecessarily a few releases behind.
* Documentation touch-ups

---------

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz added the build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration. label Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants