Skip to content
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

Some packages have undocumented build requirements #3068

Open
jakint0sh opened this issue Apr 30, 2024 · 3 comments
Open

Some packages have undocumented build requirements #3068

jakint0sh opened this issue Apr 30, 2024 · 3 comments

Comments

@jakint0sh
Copy link
Contributor

After the update to version 2.80.0, glib will now fail to configure (and subsequently fail to build) unless the Python 3 module packaging is installed. This was initially found in #3059.

The module can either be installed with pip or by the apt package python3-packaging.

I feel like this requirement should be added to the documentation. Adding the apt package to the list of requirements in docs/index.html would be good.

@mabrand
Copy link
Member

mabrand commented May 1, 2024

Would you mind making a pull request for this?

@jakint0sh
Copy link
Contributor Author

I just figured out a similar issue with proj. It needs sqlite3 to be installed on the host system in order to configure and build (apt-get install sqlite3 is sufficient to fix the issue). I will figure out how to add python3-packaging and sqlite3 to the list of requirements that are checked when make check-requirements is run, and add them to docs/index.html as well. I'll open a pull request when this is completed.

@jakint0sh jakint0sh changed the title Python 3 module packaging now required for glib Some packages have undocumented build requirements May 1, 2024
@jakint0sh
Copy link
Contributor Author

Opened a PR #3069. I quickly figured out that 1. Checking if sqlite3 is installed by using the currently in-place infrastructure in the main Makefile doesn't work at all, and 2. There is no infrastructure in place for checking if python modules are installed. Thus I have not added either to the list of things that make check-requirements checks.

I think more infrastructure should be added there, to allow more complex checks to take place (like checking if python modules are installed, which isn't trivial). I may work on this in the future.

I will keep this issue open in case I come across any other build requirements that are not listed anywhere

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

No branches or pull requests

2 participants