Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749996 - dev-lang/teyjus-2.1-r1 : linker_c.c:(.text+<snip>): undefined reference to caml_local_roots
Summary: dev-lang/teyjus-2.1-r1 : linker_c.c:(.text+<snip>): undefined reference to ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-18 18:03 UTC by Toralf Förster
Modified: 2022-07-17 11:09 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.04 KB, text/plain)
2020-10-18 18:03 UTC, Toralf Förster
Details
dev-lang:teyjus-2.1-r1:20201018-175300.log (dev-lang:teyjus-2.1-r1:20201018-175300.log,212.19 KB, text/plain)
2020-10-18 18:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,288.90 KB, text/plain)
2020-10-18 18:03 UTC, Toralf Förster
Details
environment (environment,62.51 KB, text/plain)
2020-10-18 18:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,52.77 KB, application/x-bzip)
2020-10-18 18:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,137.27 KB, application/x-bzip)
2020-10-18 18:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-18 18:03:13 UTC
                                       
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: liblink.a(linker_c.o): in function `FRONT_link':
linker_c.c:(.text+0xa): undefined reference to `caml_local_roots'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: linker_c.c:(.text+0x41): undefined reference to `caml_local_roots'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: linker_c.c:(.text+0xca): undefined reference to `caml_local_roots'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: linker_c.c:(.text+0x117): undefined reference to `caml_local_roots'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-libressl-20201008-134631

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0
  [2]   rust-1.47.0 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Oct 18 05:05:05 PM UTC 2020
/var/db/repos/libressl	Sun Oct 18 04:35:14 PM UTC 2020

emerge -qpvO dev-lang/teyjus
[ebuild  N    ] dev-lang/teyjus-2.1-r1  USE="ocamlopt -emacs -examples"
Comment 1 Toralf Förster gentoo-dev 2020-10-18 18:03:14 UTC
Created attachment 666620 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-18 18:03:16 UTC
Created attachment 666623 [details]
dev-lang:teyjus-2.1-r1:20201018-175300.log
Comment 3 Toralf Förster gentoo-dev 2020-10-18 18:03:19 UTC
Created attachment 666626 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-18 18:03:20 UTC
Created attachment 666629 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-18 18:03:22 UTC
Created attachment 666632 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-18 18:03:24 UTC
Created attachment 666635 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2022-07-17 11:09:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c807fa38179efb2bfe09acf1a332c7bdf7fe0c0

commit 6c807fa38179efb2bfe09acf1a332c7bdf7fe0c0
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2022-07-17 11:09:10 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2022-07-17 11:09:10 +0000

    dev-lang/teyjus: Unbundle ocaml inc files, require ocaml[ocamlopt]
    
    Fix 749996, unbundle old ocaml include files, and include the ocaml
    system include files.
    
    Fix 749996, remove the ocamlopt USE flag, and require
    dev-lang/ocaml[ocamlopt].
    
    Fix 726890, edit source/OMakefile to set CFLAGS and LDFLAGS.
    
    Thanks to Toralf Forster and Agostino Sarubbo for reporting.
    
    See also: https://github.com/teyjus/teyjus/pull/126
    Closes: https://bugs.gentoo.org/749996
    Closes: https://bugs.gentoo.org/811210
    Closes: https://bugs.gentoo.org/726890
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 ...p004-Renaming-ccode_stubs-for-compilation.patch |  65 ++++++++++++
 ...yjus-2.1-p005-Unbundle-ocaml-header-files.patch |  44 +++++++++
 .../teyjus/files/teyjus-2.1-p006-Version.patch     |  13 +++
 dev-lang/teyjus/teyjus-2.1-r2.ebuild               | 110 +++++++++++++++++++++
 4 files changed, 232 insertions(+)