AdaCore / AdaCore/e3-core

rlimit binaries? really?

Open
#388 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Python
Stars
32
Forks
36
PR merge metrics
No merged PRs in 30d

Description

It seems someone has prebuilt rlimit for several platforms and installs them as binaries as part of a python package. It should go without saying this is unconventional. Not to mention, it obviously doesn't cover every platform. The 4 major BSD systems for starters.

Why isn't rlimit being built from source by the module priority to installation?

I found this issue because the build failed sanity checks -- e.g. there are libraries linked by these rlimit libraries that obviously are not present on the host system.

This is not a good approach. If you need an rlimit binary, then build it in real time so it's guaranteed to be available for the host platform.

I've honestly never seen this approach before.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing how the Python package installs rlimit binaries and how those binaries are built and linked; done means rlimit is built for the host platform during installation and the package passes its sanity checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.