Skip to content

ROOT installs libraries at the top-level site-packages directory #14917

Open
@amadio

Description

@amadio

Explain what you would like to see improved and how.

See https://bugs.gentoo.org/show_bug.cgi?id=926439 in the Gentoo tracker.
I extracted the important part from the build log from the bug above. Here it is:

>>> Completed installing sci-physics/root-6.30.04 into /var/tmp/portage/sci-physics/root-6.30.04/image

 * Final size of build directory: 8271248 KiB (7.8 GiB)
 * Final size of installed tree:  1643460 KiB (1.5 GiB)

 * Verifying compiled files for python3.11
 * 
 * QA Notice: The following unexpected files/directories were found
 * top-level in the site-packages directory:
 * 
 *   /usr/lib/python3.11/site-packages/libJupyROOT3_11.so.6.30.04
 *   /usr/lib/python3.11/site-packages/libROOTPythonizations3_11.so.6.30.04
 * 
 * This is most likely a bug in the build system.  More information
 * can be found in the Python Guide:
 * https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages

Ideally, ROOT would install libROOTPythonizations3_11.so.6.30.04 inside the ROOT/ subdirectory of PyROOT, and libJupyROOT3_11.so.6.30.04 inside JupyROOT, with the appropriate adjustments so that RPATHs, etc, are correct.

ROOT version

6.30.04

Installation method

emerge

Operating system

Gentoo Linux

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions