Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 704090

Summary: dev-ml/labltk-8.06.3 : x86_64-pc-linux-gnu-gcc: error: cltkCaml.o: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: atoth, gentoo, jarausch, proteuss, zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ml:labltk-8.06.3:20191228-123431.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-12-28 14:44:37 UTC
make[1]: [Makefile:87: cltkImg.o] Error 127 (ignored)
/usr/bin/ocamlmklib -o labltk cltkCaml.o cltkUtf.o cltkEval.o cltkEvent.o cltkFile.o cltkMain.o cltkMisc.o cltkTimer.o cltkVar.o cltkWait.o cltkImg.o 
x86_64-pc-linux-gnu-gcc: error: cltkCaml.o: No such file or directory
x86_64-pc-linux-gnu-gcc: error: cltkUtf.o: No such file or directory
x86_64-pc-linux-gnu-gcc: error: cltkEval.o: No such file or directory
x86_64-pc-linux-gnu-gcc: error: cltkEvent.o: No such file or directory

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20191225-141513

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 28 Dec 2019 12:05:50 +0000

emerge -qpvO dev-ml/labltk
[ebuild  N    ] dev-ml/labltk-8.06.3  USE="X ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2019-12-28 14:44:40 UTC
Created attachment 601524 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-28 14:44:42 UTC
Created attachment 601526 [details]
dev-ml:labltk-8.06.3:20191228-123431.log
Comment 3 Toralf Förster gentoo-dev 2019-12-28 14:44:45 UTC
Created attachment 601528 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-28 14:44:48 UTC
Created attachment 601530 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-28 14:44:50 UTC
Created attachment 601532 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-28 14:44:53 UTC
Created attachment 601534 [details]
temp.tbz2
Comment 7 Michael Rohleder (mroh) 2019-12-29 15:26:29 UTC
I can confirm this.

It seems to miss a "-" in the makefile:
...
I/usr/lib64/ocaml/caml   -c cltkCaml.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkCaml.o] Error 127 (ignored)
I/usr/lib64/ocaml/caml   -c cltkUtf.c
make[1]: I/usr/lib64/ocaml/caml: Command not found
make[1]: [Makefile:87: cltkUtf.o] Error 127 (ignored)
...
Comment 8 Erik Zeek 2020-01-01 16:46:28 UTC
If traced down the issue to missing values for BYTECC and BYTECCCOMPOPTS in the Makefile. The second can probably be empty, but the first must not be.
Comment 9 Erik Zeek 2020-01-01 17:24:28 UTC
Looks like upstream has fixed it here:
https://github.com/garrigue/labltk/commit/986e116d2f263015693b06a4d1c8e1a66e548170

Note: The project has moved to GitHub.
Comment 10 Larry the Git Cow gentoo-dev 2020-01-04 18:16:12 UTC
The bug has been closed via the following commit(s):

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

commit bb707dd7b3fce1c6e3386e1aaa0fb67b60bf690c
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2020-01-04 18:15:47 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2020-01-04 18:16:04 +0000

    dev-ml/labltk: bump to 8.06.7
    
    1) eapi7
    2) updated homepage
    3) updated dev-lang/ocaml version
    4) improved tk x11 switch handling
    5) removed buggy 8.06.3
    
    Closes: https://bugs.gentoo.org/704090
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-ml/labltk/Manifest                                 |  2 +-
 .../{labltk-8.06.3.ebuild => labltk-8.06.7.ebuild}     | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)