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

Bug 652430

Summary: app-emulation/libguestfs-1.36.13[-ocaml] : make[4]: *** No rule to make target ../builder/index-parse.c , needed by libguestfs.pot . Stop.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Maxim Koltsov (RETIRED) <maksbotan>
Status: RESOLVED DUPLICATE    
Severity: normal CC: eva, jaak, mmokrejs, rich
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-emulation:libguestfs-1.36.13:20180403-235418.log.bz2
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-04 17:11:52 UTC
make  install-data-hook
make[4]: Entering directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'
make[4]: *** No rule to make target '../builder/index-parse.c', needed by 'libguestfs.pot'.  Stop.
make[4]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'
make[3]: *** [Makefile:1805: install-data-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_abi32+64_20180324-084537

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-emulation/libguestfs
[ebuild  N    ] app-emulation/libguestfs-1.36.13  USE="fuse gtk perl -bash-completion -debug -doc -erlang -inspect-icons -introspection -lua -ocaml -python -ruby (-selinux) -static-libs -systemtap {-test}" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4" PYTHON_TARGETS="python2_7 python3_5 -python3_4"
Comment 1 Toralf Förster gentoo-dev 2018-04-04 17:11:55 UTC
Created attachment 526536 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-04 17:11:58 UTC
Created attachment 526538 [details]
app-emulation:libguestfs-1.36.13:20180403-235418.log.bz2
Comment 3 Toralf Förster gentoo-dev 2018-04-04 17:12:01 UTC
Created attachment 526540 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-04 17:12:04 UTC
Created attachment 526542 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-04-04 17:12:08 UTC
Created attachment 526544 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-04 17:12:13 UTC
Created attachment 526546 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-04 17:12:16 UTC
Created attachment 526548 [details]
temp.tbz2
Comment 8 Michele Testa 2018-05-02 11:48:10 UTC
Quick and dirty workaround: it does compile using OCaml compiler (https://bugzilla.redhat.com/show_bug.cgi?id=1410102).

Install:
-----------------------------------------
dev-lang/ocaml
dev-ml/ocamlbuild
dev-ml/ocaml-gettext
dev-ml/ocaml-fileutils


and add to your /etc/portage/package.use:
-----------------------------------------
app-emulation/libguestfs ocaml
Comment 9 Richard Jones 2018-06-04 11:56:06 UTC
There's definitely a bug here, but no one has worked out how to fix the autotools yacc rules.  These are generated by automake so it's hard to fix it in libguestfs.

Anyway for the longest time we have simply worked around the problem in Fedora by doing:

  make -j1 -C builder index-parse.c

before the main build command.  See:

https://src.fedoraproject.org/rpms/libguestfs/blob/master/f/libguestfs.spec#_912
Comment 10 Pacho Ramos gentoo-dev 2018-06-23 09:45:13 UTC

*** This bug has been marked as a duplicate of bug 649882 ***
Comment 11 Martin Mokrejš 2018-09-11 21:02:43 UTC
*** Bug 661116 has been marked as a duplicate of this bug. ***