Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652430 - app-emulation/libguestfs-1.36.13[-ocaml] : make[4]: *** No rule to make target ../builder/index-parse.c , needed by libguestfs.pot . Stop.
Summary: app-emulation/libguestfs-1.36.13[-ocaml] : make[4]: *** No rule to make targe...
Status: RESOLVED DUPLICATE of bug 649882
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
: 661116 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-04 17:11 UTC by Toralf Förster
Modified: 2018-09-11 21:02 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.81 KB, text/plain)
2018-04-04 17:11 UTC, Toralf Förster
Details
app-emulation:libguestfs-1.36.13:20180403-235418.log.bz2 (app-emulation:libguestfs-1.36.13:20180403-235418.log.bz2,44.00 KB, application/x-bzip)
2018-04-04 17:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,225.93 KB, text/plain)
2018-04-04 17:12 UTC, Toralf Förster
Details
environment (environment,140.79 KB, text/plain)
2018-04-04 17:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.49 KB, application/x-bzip)
2018-04-04 17:12 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,80.93 KB, application/x-bzip)
2018-04-04 17:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,81.01 KB, application/x-bzip)
2018-04-04 17:12 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 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. ***