Skip to content

build(test): restrict gdb-15 install to amd64 architecture#114

Merged
dmehala merged 1 commit into
masterfrom
dmehala/fix-it-docker-build
Sep 19, 2024
Merged

build(test): restrict gdb-15 install to amd64 architecture#114
dmehala merged 1 commit into
masterfrom
dmehala/fix-it-docker-build

Conversation

@dmehala

@dmehala dmehala commented Sep 19, 2024

Copy link
Copy Markdown
Contributor

Description

PR #71 updates gdb to a newer version that supports reading DWARF debugging format. However, it incorrectly attempts to install the x86_64 version regardless of the system's architecture, causing errors on non-x86_64 platforms.

This fix temporarily ensures that the updated gdb is only installed on x86_64 (amd64) systems.

Note to reviewers

This is blocking the new release.

@dmehala
dmehala requested a review from a team as a code owner September 19, 2024 09:33
@dmehala
dmehala requested review from dubloom and removed request for a team September 19, 2024 09:33
@dmehala
dmehala force-pushed the dmehala/fix-it-docker-build branch from bb2ae08 to 2b2bf27 Compare September 19, 2024 09:35
Comment thread test/services/nginx/install_tools.sh Outdated
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.22%. Comparing base (9c9837c) to head (ef4c733).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   77.22%   77.22%           
=======================================
  Files          36       36           
  Lines        4000     4000           
  Branches      671      671           
=======================================
  Hits         3089     3089           
  Misses        875      875           
  Partials       36       36           

@dubloom

dubloom commented Sep 19, 2024

Copy link
Copy Markdown
Contributor

It seems that we don't want to do anything on non amd64 system, do you know why ?

@dmehala

dmehala commented Sep 19, 2024

Copy link
Copy Markdown
Contributor Author

@dubloom gdb is installed for all architecture, but gdb-15 will not be installed for ubuntu on arm64 architecture for the following reasons:

  1. It is currently blocking the release, so this serves as more of a workaround.
  2. gdb is not mandatory for testing purpose, so this workaround should be effective.
  3. The resources to build and package gdb15 for ubuntu arm64 are unfortunately unavailable at this time.
  4. It's likely that the versions requiring a gdb upgrade will no longer be supported after this release.

PR #71 updates gdb to a newer version that supports reading DWARF debugging
format. However, it incorrectly attempts to install the x86_64 version
regardless of the system's architecture, causing errors on non-x86_64 platforms.

This fix temporarily ensures that the updated gdb is only installed on x86_64
(amd64) systems.
@dmehala
dmehala force-pushed the dmehala/fix-it-docker-build branch from ef4c733 to 8fa19d4 Compare September 19, 2024 13:50
@dmehala
dmehala merged commit 630a7fe into master Sep 19, 2024
@dmehala
dmehala deleted the dmehala/fix-it-docker-build branch September 19, 2024 13:51
cataphract pushed a commit that referenced this pull request Oct 30, 2024
PR #71 updates gdb to a newer version that supports reading DWARF debugging
format. However, it incorrectly attempts to install the x86_64 version
regardless of the system's architecture, causing errors on non-x86_64 platforms.

This fix temporarily ensures that the updated gdb is only installed on x86_64
(amd64) systems.
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