Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412811 - dev-ml/cryptokit-1.4 - File "/home/gildor/programmation/oasis/src/oasis/OASISMessage.ml", line 30, characters 8-23: Unbound value Printf.kfprintf
Summary: dev-ml/cryptokit-1.4 - File "/home/gildor/programmation/oasis/src/oasis/OASIS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 17:33 UTC by Kristian Fiskerstrand (RETIRED)
Modified: 2012-05-18 21:43 UTC (History)
0 users

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


Attachments
build.log (build.log,2.09 KB, text/plain)
2012-04-23 22:21 UTC, Kristian Fiskerstrand (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Fiskerstrand (RETIRED) gentoo-dev 2012-04-20 17:33:36 UTC
SKS has a dependency on cryptokit (1.4 stable, 1.5 unsafe) which fails to build on my machine with 
 ESC[31;01m*ESC[0m The ebuild environment file is located at
'/var/tmp/portage/dev-ml/cryptokit-1.4/temp/environment'.
 ESC[31;01m*ESC[0m S:
'/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4'
(END)
File "/home/gildor/programmation/oasis/src/oasis/OASISMessage.ml",
line 30, characters 8-23:
Unbound value Printf.kfprintf
 ESC[31;01m*ESC[0m ERROR: dev-ml/cryptokit-1.4 failed (configure phase):
 ESC[31;01m*ESC[0m   (no error message)
 ESC[31;01m*ESC[0m
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m     ebuild.sh, line  75:  Called src_configure
 ESC[31;01m*ESC[0m   environment, line 1670:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m       ./configure --prefix usr --libdir
/usr/$(get_libdir) --destdir "${D}" $(use_enable zlib)
$(oasis_use_enable debug debug) $(oasis_use_enable ocamlopt is_native)
|| die

Build fails for both mentioned versions of cryptokit. 

This was with ocaml versions 3.11.2 and 3.12.1 as included in portage. 

I ended up installing SKS directly from the mercurial source repository with the included cryptokit (v1.0) and ocaml 3.10.2 as 3.11.2 and  3.12.1 failed with error messages as reported on sks-devel mailing list[0]

[0] http://lists.nongnu.org/archive/html/sks-devel/2012-04/msg00034.html
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-23 18:39:47 UTC
1) Please attach the entire dev-ml/cryptokit-1.4 build log to this bug report.
2) Also, explain why the build system is looking in someone's home directory. That
   does not look valid to me.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2012-04-23 22:21:01 UTC
Created attachment 309879 [details]
build.log
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2012-04-23 22:23:11 UTC
Build log attached. As for home dir, this seems to come from setup.ml in cryptokit (definitely not my home dir) 

alpha cryptokit-1.4 # grep -ir gildor /var/tmp/portage/dev-ml/cryptokit-1.4/* |head
/var/tmp/portage/dev-ml/cryptokit-1.4/temp/build.log:File "/home/gildor/programmation/oasis/src/oasis/OASISMessage.ml", line 30, characters 8-23:
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/test/speedtest.ml:(* $Id: speedtest.ml 53 2010-08-30 10:53:00Z gildor-admin $ *)
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/test/test.ml:(* $Id: test.ml 53 2010-08-30 10:53:00Z gildor-admin $ *)
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 21 "/home/gildor/programmation/oasis/src/oasis/OASISGettext.ml"
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 1 "/home/gildor/programmation/oasis/src/oasis/OASISContext.ml"
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 21 "/home/gildor/programmation/oasis/src/oasis/OASISUtils.ml"
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 21 "/home/gildor/programmation/oasis/src/oasis/PropList.ml"
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 59 "/home/gildor/programmation/oasis/src/oasis/PropList.ml"
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 21 "/home/gildor/programmation/oasis/src/oasis/OASISMessage.ml"
/var/tmp/portage/dev-ml/cryptokit-1.4/work/cryptokit-1.4/setup.ml:# 21 "/home/gildor/programmation/oasis/src/oasis/OASISVersion.ml"
Comment 4 Alexis Ballier gentoo-dev 2012-05-18 17:09:17 UTC
is this still a problem with cryptokit-1.5 ?
Comment 5 Kristian Fiskerstrand (RETIRED) gentoo-dev 2012-05-18 21:43:10 UTC
I set up a clean VM with a fresh gentoo install, masked cryptokit-1.4 and got a clean build of cryptokit-1.5.