-
Notifications
You must be signed in to change notification settings - Fork 52
Fix 599 (Ubuntu 26.04 compat) by statically linking libxml2.so #605
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
Open
Patrick Nelson (plnelson)
wants to merge
5
commits into
main
Choose a base branch
from
panelson-microsoft-fix-599
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
20eb17e
Fix 599 (Ubuntu 26.04 compat) by statically linking libxml2.so
plnelson 8cbd19b
PR Feedback
plnelson 5b09acc
Use vcpkg instead of direct download from gnome
plnelson 03adc0c
Add Linux build image pipeline
plnelson 8f79d18
Use 1ES container image pipeline
plnelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| NOTICES AND INFORMATION | ||
| Do Not Translate or Localize | ||
|
|
||
| This software incorporates material from third parties. | ||
| Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com, | ||
| or you may send a check or money order for US $5.00, including the product name, | ||
| the open source component name, platform, and version number, to: | ||
|
|
||
| Source Code Compliance Team | ||
| Microsoft Corporation | ||
| One Microsoft Way | ||
| Redmond, WA 98052 | ||
| USA | ||
|
|
||
| Notwithstanding any other terms, you may reverse engineer this software to the extent | ||
| required to debug changes to any libraries licensed under the GNU Lesser General Public License. | ||
|
|
||
| libxml2 | ||
| ======= | ||
|
|
||
| Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved. | ||
| Copyright (C) The Libxml2 Contributors. | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in | ||
| all copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| THE SOFTWARE. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. | ||
|
|
||
| # Build Pipeline: Linux Build Images | ||
| # Manually rebuilds and publishes the Ubuntu and Alpine images used by Linux CI. | ||
|
|
||
| trigger: none | ||
| pr: none | ||
|
|
||
| name: $(date:yyyyMMdd)$(rev:rr) | ||
|
|
||
| parameters: | ||
| - name: ImageTag | ||
| displayName: Container image tag | ||
| type: string | ||
| default: latest | ||
|
|
||
| variables: | ||
| TeamName: ClrInstrumentationEngine | ||
| RegistryName: proddiagbuild | ||
| RegistryServer: proddiagbuild.azurecr.io | ||
|
|
||
| jobs: | ||
| - job: BuildImages | ||
| displayName: Build Linux images | ||
|
|
||
| pool: | ||
| ${{ if eq(variables['System.TeamProject'], 'devdiv') }}: | ||
| name: AzurePipelines-EO | ||
| image: 1ESPT-Ubuntu20.04 | ||
| os: linux | ||
| ${{ else }}: | ||
| vmImage: ubuntu-latest | ||
|
|
||
| steps: | ||
| - checkout: self | ||
| clean: true | ||
|
|
||
| - bash: | | ||
| set -e | ||
| if [[ ! "$IMAGE_TAG" =~ ^[A-Za-z0-9_.-]+$ ]]; then | ||
| echo "Invalid image tag: $IMAGE_TAG" | ||
| exit 1 | ||
| fi | ||
| displayName: Validate image tag | ||
| env: | ||
| IMAGE_TAG: ${{ parameters.ImageTag }} | ||
|
|
||
| - task: AzureCLI@2 | ||
| displayName: Docker login | ||
| inputs: | ||
| azureSubscription: 'VS Diagnostics Dev (ProdDiagBuild)' | ||
| scriptType: bash | ||
| scriptLocation: inlineScript | ||
| inlineScript: az acr login --name $(RegistryName) | ||
|
|
||
| - bash: | | ||
| set -e | ||
| image="$(RegistryServer)/clrie-build-ubuntu:$IMAGE_TAG" | ||
| docker build --pull \ | ||
| --label "org.opencontainers.image.revision=$(Build.SourceVersion)" \ | ||
| --tag "$image" \ | ||
| --file src/unix/docker/dockerfiles/build/ubuntu/Dockerfile \ | ||
| src/unix/docker/context | ||
| docker push "$image" | ||
| displayName: Build and push Ubuntu image | ||
| env: | ||
| IMAGE_TAG: ${{ parameters.ImageTag }} | ||
|
|
||
| - bash: | | ||
| set -e | ||
| image="$(RegistryServer)/clrie-build-alpine:$IMAGE_TAG" | ||
| docker build --pull \ | ||
| --label "org.opencontainers.image.revision=$(Build.SourceVersion)" \ | ||
| --tag "$image" \ | ||
| --file src/unix/docker/dockerfiles/build/alpine/Dockerfile \ | ||
| src/unix/docker/context | ||
| docker push "$image" | ||
| displayName: Build and push Alpine image | ||
| env: | ||
| IMAGE_TAG: ${{ parameters.ImageTag }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.