Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918965 - sci-physics/root-6.30.02: fails to compile when IUSE=-http
Summary: sci-physics/root-6.30.02: fails to compile when IUSE=-http
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 17:25 UTC by Rafal Lalik
Modified: 2024-03-10 12:16 UTC (History)
2 users (show)

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


Attachments
Fixes the webgui component (root-6.30.02_fix_webgui.patch,283 bytes, patch)
2023-12-01 17:25 UTC, Rafal Lalik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Lalik 2023-12-01 17:25:48 UTC
Created attachment 876246 [details, diff]
Fixes the webgui component

Currently, webgui component of ROOT requires http component to be enabled. Both are ON by default but use flags allows to disable http, resulting in broken compilation:

>> make[2]: *** No rule to make target 'gui/webdisplay/RHTTP', needed by 'gui/webdisplay/G__ROOTWebDisplay.cxx'.  Stop.
>> make[1]: *** [CMakeFiles/Makefile2:39149: gui/webdisplay/CMakeFiles/G__ROOTWebDisplay.dir/all] Error 2

This has already been reported by me to upstream: https://root-forum.cern.ch/t/root-building-webgui-requires-http/57340/4 and is going to be fixed in the new release.

For now the simple fix would be to correlate webgui with http use flag.

Steps to reproduce:
===================

1. Disable http USE flag
2. Emerge sci-physics/root
3. Compilation should fail


Attached patch correlates webgui option with http flag. Perhaps separate webgui USE should be add, and the ebuild should check whether http is set when webgui is also?
Comment 1 Larry the Git Cow gentoo-dev 2024-03-10 12:16:37 UTC
The bug has been closed via the following commit(s):

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

commit ee2d5236699074d4b80847b63567fe45d76b2635
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2024-03-09 22:57:02 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2024-03-10 12:16:25 +0000

    sci-physics/root: webgui option depends on USE=http
    
    Closes: https://bugs.gentoo.org/918965
    
    Co-authored-by: Rafal Lalik <rafallalik@gmail.com>
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 sci-physics/root/root-6.28.12-r1.ebuild | 1 +
 sci-physics/root/root-6.30.04-r1.ebuild | 1 +
 sci-physics/root/root-6.30.9999.ebuild  | 1 +
 sci-physics/root/root-9999.ebuild       | 1 +
 4 files changed, 4 insertions(+)