Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666222 - sci-physics/root: please respect FHS
Summary: sci-physics/root: please respect FHS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-14 11:11 UTC by Benda Xu
Modified: 2023-09-02 00:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2018-09-14 11:11:13 UTC
Hi Amadio,

The root ebuild is not in a good shape in that /usr/lib/root has a couple of directories underneath that should go to /.  For example, /usr/lib64/root/6.14/etc and /usr/lib64/root/6.14/share.

That makes relevant files hard to find and causes surprises to users.

Benda
Comment 1 Guilherme Amadio gentoo-dev 2018-09-17 08:39:15 UTC
Hi Benda, I am aware of it. See slide 18 of the presentation below :-)

https://indico.cern.ch/event/697389/contributions/3062044/attachments/1714186/2764745/Evolution_of_ROOTs_CMake_Build_System.pdf

We have some issues that I need to fix first before updating the package in Gentoo, but this is high in my priority list.

https://sft.its.cern.ch/jira/browse/ROOT-9569
https://sft.its.cern.ch/jira/browse/ROOT-9403

ROOT installs too many things into /etc if we install it into /usr, so I thought it would be better to install into some other prefix (similar to dev-lang/R) while I work on fixing these issues upstream.
Comment 2 Benda Xu gentoo-dev 2018-09-18 07:43:26 UTC
(In reply to Guilherme Amadio from comment #1)
> Hi Benda, I am aware of it. See slide 18 of the presentation below :-)
> 
> https://indico.cern.ch/event/697389/contributions/3062044/attachments/
> 1714186/2764745/Evolution_of_ROOTs_CMake_Build_System.pdf
> 
> We have some issues that I need to fix first before updating the package in
> Gentoo, but this is high in my priority list.
> 
> https://sft.its.cern.ch/jira/browse/ROOT-9569
> https://sft.its.cern.ch/jira/browse/ROOT-9403
> 
> ROOT installs too many things into /etc if we install it into /usr, so I
> thought it would be better to install into some other prefix (similar to
> dev-lang/R) while I work on fixing these issues upstream.

Thanks, hope you guys can achieve these goals soon.

Yours,
Benda
Comment 3 Larry the Git Cow gentoo-dev 2023-02-13 09:56:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf3d9955693efdf7c3f4f4fcff869886fbae6d8

commit 4cf3d9955693efdf7c3f4f4fcff869886fbae6d8
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2023-02-09 13:45:35 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2023-02-13 09:56:05 +0000

    sci-physics/root: update live ebuild
    
    - Better follow FHS
    - Enable support for Python 3.11
    - Change default to -Druntime_cxxmodules=ON
    - Update with newly introduced build options (this is to avoid
      changes in defaults affecting ebuilds).
    - Drop emacs USE flag
    - Add jupyter USE flag for installing dependencies needed for
      enbling the C++ Jupyter notebooks provided by ROOT
    - Update REQUIRED_USE for bug #882483
    
    Bug: https://bugs.gentoo.org/666222
    Bug: https://bugs.gentoo.org/882483
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 sci-physics/root/root-9999.ebuild | 146 ++++++++++++++++++--------------------
 1 file changed, 69 insertions(+), 77 deletions(-)
Comment 4 Guilherme Amadio gentoo-dev 2023-02-13 20:13:24 UTC
sci-physics/root-6.28.00 and above are using standard install locations.
Comment 5 Benda Xu gentoo-dev 2023-09-02 00:23:42 UTC
Thanks Amadio!