Skip to content

CXX-2749 Fix debian-package-build-mnmlstc #1036

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

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

eramongodb
Copy link
Contributor

Related to CXX-2749. Followup to #1019 and #1024. Verified by this patch.

Applies changes made in prior PRs to install rules and include paths for mnmlstc/core to the Debian packaging rules (removal of custom header file installation/management, addition of mnmlstc directory to include directories). Additionally, default Debian packaging commands disable downloads via FETCHCONTENT_FULLY_DISCONNECTED=ON. Disabling this to allow downloads during package build is considered acceptable, as the mnmlstc polyfill package configuration is not the officially supported package configuration that is maintained and distributed on Debian (+ the prior method via ExternalProject was doing it anyways).

@eramongodb eramongodb self-assigned this Oct 9, 2023
Copy link
Contributor

@rcsanchez97 rcsanchez97 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

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

LGTM with suggested removal.

# Drop MNMLSTC headers in a location where dh_install will pick them up
mv $(CURDIR)/debian/tmp-mnmlstc/usr/include/bsoncxx/v_noabi/bsoncxx/third_party \
$(CURDIR)/debian/tmp/usr/include/bsoncxx/v_noabi/bsoncxx/
rm -rf $(CURDIR)/debian/tmp-mnmlstc
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also remove DESTDIR=$(CURDIR)/debian/tmp-mnmlstc in override_dh_auto_build since MNMLSTIC is no longer installed during build step?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ooh, I missed that. I agree that it should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Verified by this patch.

@eramongodb eramongodb merged commit 6859011 into mongodb:master Oct 9, 2023
@eramongodb eramongodb deleted the cxx-2749 branch October 9, 2023 17:25
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.

3 participants