Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624906 - dev-tex/hevea - useless flag: ocamlopt
Summary: dev-tex/hevea - useless flag: ocamlopt
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-13 18:22 UTC by Sven Müller
Modified: 2017-07-13 18:26 UTC (History)
0 users

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 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...