Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xmlsec native library #2901

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maths22
Copy link

@maths22 maths22 commented Jun 6, 2023

What problem is this PR intended to solve?

Pre-work for #2888 to have native libraries available in CI. As can be seen here: https://github.com/maths22/nokogiri/actions/runs/5190697036/jobs/9357995415 , the build is almost passing using these images and the remaining issues will not require a new version of CI images.

Open issue for discussion: the 32-bit port of Ubuntu focal is a "partial port" and only includes a subset of packages. Notably, xmlsec is not among those packages. Therefore, using the Ubuntu focal base image with native xmlsec for 32 bit testing isn't really feasible. We could possibly build that package in a PPA, or we could explore basing the 32 bit image on the ruby:${version} images, which are Debian bullseye (which has complete 32bit architecture support) instead of Ubuntu. (Best I can tell that image is only used for the ci basic step, so I would think we could be flexible there, but I'm open to other thoughts.)

Have you included adequate test coverage?

n/a

Does this change affect the behavior of either the C or the Java implementations?

No, it is a build only change

@@ -2,12 +2,12 @@ FROM ruby:alpine3.12

# prelude
RUN apk update
RUN apk add bash build-base git
RUN apk add bash build-base git perl
Copy link
Author

Choose a reason for hiding this comment

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

Perl is needed because the openssl build scripts are not autotools based but rather require perl.

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.

1 participant