Skip to content

Cares==1_19_1 ubi10.2 - #8725

Open
tejasBadjateIBM wants to merge 33 commits into
ppc64le:masterfrom
tejasBadjateIBM:cares_ubi10.2
Open

Cares==1_19_1 ubi10.2#8725
tejasBadjateIBM wants to merge 33 commits into
ppc64le:masterfrom
tejasBadjateIBM:cares_ubi10.2

Conversation

@tejasBadjateIBM

Copy link
Copy Markdown
Contributor

Checklist

  • Have you checked and followed all the points mention in the CONTRIBUTING.MD
  • Have you validated script on UBI 10.2 container
  • Did you run the script(s) on fresh container with set -e option enabled and observe success ?
  • Did you have Legal approvals for patch files ?

@rashmi-ibm

Copy link
Copy Markdown
Contributor

@rashmi-ibm rashmi-ibm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@tejasBadjateIBM
tejasBadjateIBM marked this pull request as draft September 3, 2026 12:45
@tejasBadjateIBM
tejasBadjateIBM marked this pull request as ready for review September 6, 2026 04:48
Comment thread c/c-ares/cares_ubi_10.2.sh Outdated
Comment on lines +103 to +106
test -f ${SITE_PACKAGE_PATH}/cares/include/ares.h || { echo "ERROR: ares.h not exists." ; exit 1; }
test -f ${SITE_PACKAGE_PATH}/cares/lib/libcares.so || { echo "ERROR: libcares.so not exists." ; exit 1; }
test ! -f ${SITE_PACKAGE_PATH}/cares/lib/libcares.a || { echo "ERROR: libcares.a exists." ; exit 1; }
test ! -f ${SITE_PACKAGE_PATH}/cares/lib/libcares_static.a || { echo "ERROR: libcares_static.a exists." ; exit 1; } No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you also execute the test command instead of just validating whether the file exists?
Check https://github.com/ppc64le/build-scripts/blob/master/c/c-ares/cares_ubi_9.3.sh#L99C1-L112C3

@prathamesh-ibm prathamesh-ibm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

fi
SITE_PACKAGE_PATH=$(python3.14 -m pip show c-ares | awk -F': ' '/^Location:/ {print $2}')

test -f ${SITE_PACKAGE_PATH}/cares/include/ares.h || { echo "ERROR: ares.h not exists." ; exit 1; }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think we explicitly need to check if these files exists, any specific reason for checking these?
Running the ninja test should be sufficient.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These validations were present in the script that Nayana shared.

@shivansh-ibm

Copy link
Copy Markdown
Contributor

@tejasBadjateIBM , can you squash all your commits into a single commit. After that we are good to merge this pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants