Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229129 - net-misc/unison-2.27.57-r1: needs a dependency on ocaml +ocamlopt
Summary: net-misc/unison-2.27.57-r1: needs a dependency on ocaml +ocamlopt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 21:21 UTC by D. Danner
Modified: 2008-06-24 09:02 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 D. Danner 2008-06-23 21:21:44 UTC
net-misc/unison-2.27.57-r1 only compiles with ocamlopt being installed, which depends on the USE flag ocamlopt in dev-lang/ocaml.

See this error message, lacking any hint to the USE flag:
>>> Compiling source in /var/tmp/portage/net-misc/unison-2.27.57-r1/work/unison-2.27.57 ...                                                                                                         
ocamlc -o mkProjectInfo mkProjectInfo.ml                                                                                                                                                            
./mkProjectInfo > Makefile.ProjectInfo                                                                                                                                                              
UISTYLE = text                                                                                                                                                                                      
Building for Unix                                                                                                                                                                                   
NATIVE = true                                                                                                                                                                                       
THREADS = false                                                                                                                                                                                     
STATIC = false                                                                                                                                                                                      
OSTYPE =                                                                                                                                                                                            
OSARCH =                                                                                                                                                                                            
echo 'let myName = "'unison'";;' > ubase/projectInfo.ml                                                                                                                                             
echo 'let myVersion = "'2.27.57'";;' >> ubase/projectInfo.ml                                                                                                                                        
echo 'let myMajorVersion = "'2.27'";;' >> ubase/projectInfo.ml                                                                                                                                      
ocamlopt: ubase/projectInfo.ml ---> ubase/projectInfo.cmx                                                                                                                                           
ocamlopt -I lwt -I ubase -c /var/tmp/portage/net-misc/unison-2.27.57-r1/work/unison-2.27.57/ubase/projectInfo.ml                                                                                    
make: ocamlopt: Kommando nicht gefunden                                                                                                                                                             
make: *** [ubase/projectInfo.cmx] Fehler 127                                                                                                                                                        
*                                                                                                                                                                                                  
* ERROR: net-misc/unison-2.27.57-r1 failed.                                                                                                                                                        
* Call stack:                                                                                                                                                                                      
*               ebuild.sh, line   49:  Called src_compile   

Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2008-06-24 09:02:37 UTC
should be fixed now, thanks for reporting