Hi All,
Firstly I apologize if this is noise. I elected to not file a
bugzilla as the problem seems to be powerpc specific and with the limited
resources for Fedora developers it would seem unfair.
I was recently trying to build a "current" libguestfs from the f16
branch[1]. During the build I hit:
(extracted from rpmbuild)
[tony@sneetch ~]$ bash -x tmp/ocaml-test.sh
+ cd rpmbuild/BUILD/libguestfs-1.16.9/ocaml/
+ LD_LIBRARY_PATH=../src/.libs
+ ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX -I . -package unix,threads -thread -linkpkg mlguestfs.cma t/guestfs_070_threads.cmo -o t/guestfs_070_threads.bc
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: /usr/lib64/ocaml/stublibs/dllthreads.so: /usr/lib64/ocaml/stublibs/dllthreads.so: undefined symbol: pthread_atfork
I did a quick bit of googling and found:
http://ryanarn.blogspot.com.au/2011/07/curious-case-of-pthreadatfork-on.html
which seems to explain what's going on to my naive eye anyway.
I've tried a few different CFLAGS/patches to
otherlibs/systhreads/Makefile to try and induce pthreads_atfork() to be
resolved and linked during the ocaml build. Nothing I try works.
Does anyone have any ideas on how to solve this?
I'm happy to do the heavy lifting I just don't have the background in
ocaml to solve this by myself.
Yours Tony
[1] I suspects that as a result of the demotion to secondary and things
languishing there we skipped a few builds.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: ocaml-lablgtk needs to be rebuilt
https://bugzilla.redhat.com/show_bug.cgi?id=812582
Summary: ocaml-lablgtk needs to be rebuilt
Product: Fedora
Version: 16
Platform: i686
OS/Version: Linux
Status: NEW
Severity: unspecified
Priority: unspecified
Component: ocaml-lablgtk
AssignedTo: rjones(a)redhat.com
ReportedBy: emertens(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: dwheeler(a)dwheeler.com, rjones(a)redhat.com,
amdunn(a)gmail.com, fedora-ocaml-list(a)redhat.com
Classification: Fedora
Story Points: ---
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
This library needs to be rebuilt. Without rebuilding it linking ocaml programs
against this library cause ld to fail with an error.
I encountered this while trying to build the why3 package.
Downloading the SRPM and building it and installing it allowed my build to
succeed.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=787888
--- Comment #5 from Kurt Seifried <kseifried(a)redhat.com> 2012-04-03 12:47:04 EDT ---
According to Xavier Leroy Xavier.Leroy(a)inria.fr:
We decided to skip the 3.13 release entirely and go straight to 4.00.
The 4.00 release is scheduled for June 2012.
http://caml.inria.fr/mantis/view.php?id=5572
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=787888
--- Comment #4 from Kurt Seifried <kseifried(a)redhat.com> 2012-04-03 00:21:35 EDT ---
I misspoke, they are still discussing fixing it in this thread:
http://www.mail-archive.com/caml-list@inria.fr/msg02104.html
"OCaml 3.13 will provide options for Hashtbl allowing it pass a seed, but
only in a case by case way. What will not be included in OCaml 3.13 is
access to RNGs with entropy injection (i.e. it is left to the programmer
to solve this difficulty)."
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.