Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 624906

Summary: dev-tex/hevea - useless flag: ocamlopt
Product: Gentoo Linux Reporter: Sven Müller <musv>
Component: KeywordingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven Müller 2017-07-13 18:22:33 UTC
Hevea is the only package in my system, which depends on ocaml. So I tried to remove ocaml and ocamlopt: 

/etc/portage/make.conf: USE="-ocamlopt"

USE="-ocamlopt" emerge -1p hevea

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-lang/ocaml-4.04.2  USE="X latex ncurses -emacs -flambda -ocamlopt -xemacs" 
[ebuild  N     ] dev-ml/ocamlbuild-0.11.0  USE="-ocamlopt {-test}" 
[ebuild   R    ] dev-tex/hevea-2.29

equery u hevea
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-tex/hevea-2.29:
 U I
 - - ocamlopt : Enable ocamlopt support (ocaml native code compiler) --
                Produces faster programs

So obviously the USE-flag is ignored. According to the project homepage hevea depends on ocaml. If so, the USE-flag should be removed. If not, the hevea package should be able to build without ocaml and ocamlopt.
Comment 1 Alexis Ballier gentoo-dev 2017-07-13 18:26:22 UTC
ocamlopt - Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)



it doesnt mean it does not need ocaml...