Skip to content

Conversation

@dvalinrh
Copy link
Contributor

@dvalinrh dvalinrh commented Dec 8, 2025

Description

On Ubuntu systems, the libncurses.so.5 may not exists and we need to link to libncurses.so.5. The libncurses.so.5 may be in a couple different areas (depending on the arch.. This adds code
to check for that if so link accordingly. If we can not find the file to link to we will error out.

Before/After Comparison

Before: On ubuntu, test would fail to run because libncurses was not set up properly.
After: libncurses is set up properly and tests runs

Clerical Stuff

This closes #41

Relates to JIRA: RPOPC-740

Test info (arm ubuntu)
root@ip-170-0-24-59:/home/ubuntu# ./passmark.cmd
/home/ubuntu/workloads/passmark-wrapper-2.2/passmark/passmark_run --run_user ubuntu --home_parent /home --iterations 1 --tuned_setting tuned_none_sys_file_ --host_config m6g.16xlarge --sysname m6g.16xlarge --sys_type aws --iterations 5
WARN: Could not find dependency information for pip in /workloads/passmark-wrapper-2.2/passmark/../passmark.json, this could be intended behavior

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://us-east-2.ec2.ports.ubuntu.com/ubuntu-ports noble InRelease
Hit:2 http://us-east-2.ec2.ports.ubuntu.com/ubuntu-ports noble-updates InRelease
Hit:3 http://us-east-2.ec2.ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
Reading package lists...
Building dependency tree...
Reading state information...
30 packages can be upgraded. Run 'apt list --upgradable' to see them.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
bc is already the newest version (1.07.1-3ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
numactl is already the newest version (2.0.18-1build1).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.43.0-1ubuntu7.3).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
zip is already the newest version (3.0-13ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
unzip is already the newest version (6.0-28ubuntu4.1).
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libncurses5
/bin/apt install of libncurses5 failed
updating: results_passmark_tuned_none.tar (deflated 84%)

Results file created, test ran.

@dvalinrh dvalinrh requested a review from a team December 8, 2025 13:08
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

This relates to RPOPC-740

@dvalinrh dvalinrh changed the title Handle arm Handle missing libncurses.so.5 and different locations Dec 9, 2025
Copy link
Contributor

@grdumas grdumas left a comment

Choose a reason for hiding this comment

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

LGTM.

@grdumas grdumas added the group_review_lgtm Indicates approval after a group review meeting label Dec 9, 2025
@dvalinrh dvalinrh merged commit b87af7d into main Dec 9, 2025
4 checks passed
@dvalinrh dvalinrh deleted the handle_arm branch December 9, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

group_review_lgtm Indicates approval after a group review meeting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

issue with arm arch when manipulating ncurses libs.

3 participants