Skip to content

Conversation

@scott-wilson
Copy link
Contributor

Description

This was causing the Rust bindings to fail because the pkgconfig was pointing to a path that didn't exist (the libdir was the full root appended to itself).

Tests

This should not make the CI fail, but will affect the Rust build.

Checklist:

  • I have read the contribution guidelines.
  • I have updated the documentation, if applicable. (Check if there is no
    need to update the documentation, for example if this is a bug fix that
    doesn't change the API.)
  • I have ensured that the change is tested somewhere in the testsuite
    (adding new test cases if necessary).
  • If I added or modified a C++ API call, I have also amended the
    corresponding Python bindings (and if altering ImageBufAlgo functions, also
    exposed the new functionality as oiiotool options).
  • My code follows the prevailing code style of this project. If I haven't
    already run clang-format before submitting, I definitely will look at the CI
    test that runs clang-format and fix anything that it highlights as being
    nonconforming.

@scott-wilson scott-wilson force-pushed the ci_pkgconfig_build_fix branch from 4b89ab4 to 0e49b00 Compare May 18, 2025 17:07
time sudo yum install -y ${EXTRA_DEP_PACKAGES} || true
fi
if [[ "${PIP_INSTALLS}" != "" ]] ; then
time pip3 install ${PIP_INSTALLS} || true

Check warning

Code scanning / Scorecard

Pinned-Dependencies

score is 6: pipCommand not pinned by hash Click Remediation section below to solve this issue
if [[ "${USE_PYTHON}" != "0" ]] ; then
time sudo apt-get -q install -y python3-numpy
fi
if [[ "${PIP_INSTALLS}" != "" ]] ; then

Check warning

Code scanning / Scorecard

Pinned-Dependencies

score is 6: pipCommand not pinned by hash Click Remediation section below to solve this issue
@scott-wilson
Copy link
Contributor Author

Ack, sorry for the extra noise. I have a commit from 2015 that wasn't DSO signed. I followed the recommendations and now there's almost 500 commits for a single change. 🙃

Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

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

LGTM

merge history aside, this is a one-line fix and it will all be squashed and rebased as part of the merge

@lgritz
Copy link
Collaborator

lgritz commented May 18, 2025

How did you even do this?

It's not letting me merge because of the DCO check. I don't understand how you got into this state. Can you try this:

  • Reset the ci_pkgconfig_build_fix branch hard to the current main
  • Re-apply the one line change again
  • git commit -s to sign it
  • git push origin ci_pkgconfig_build_fix --force

@scott-wilson scott-wilson force-pushed the ci_pkgconfig_build_fix branch from 46091e4 to 09f2881 Compare May 18, 2025 21:32
@scott-wilson
Copy link
Contributor Author

Sorry about that, for some reason my Git-fu failed me. Commit recreated and pushed.

@lgritz lgritz force-pushed the ci_pkgconfig_build_fix branch from 09f2881 to 4a72248 Compare May 19, 2025 03:51
@lgritz
Copy link
Collaborator

lgritz commented May 19, 2025

I was able to fix it up and push back to your tree.

Copy link
Collaborator

@lgritz lgritz left a comment

Choose a reason for hiding this comment

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

LGTM

@lgritz lgritz merged commit f508e6e into AcademySoftwareFoundation:main May 19, 2025
30 checks passed
lgritz pushed a commit to lgritz/OpenImageIO that referenced this pull request May 19, 2025
This was causing the Rust bindings to fail because the pkgconfig was
pointing to a path that didn't exist (the libdir was the full root
appended to itself).

Signed-off-by: Scott Wilson <[email protected]>
@lgritz lgritz added the build / testing / port / CI Affecting the build system, tests, platform support, porting, or continuous integration. label Jul 13, 2025
zachlewis pushed a commit to zachlewis/OpenImageIO that referenced this pull request Aug 1, 2025
This was causing the Rust bindings to fail because the pkgconfig was
pointing to a path that didn't exist (the libdir was the full root
appended to itself).

Signed-off-by: Scott Wilson <[email protected]>
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