Summary: | app-emulation/libguestfs-1.36.5[-ocaml] - No rule to make target '../builder/index-parse.c' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Proteus <proteuss> |
Component: | Current packages | Assignee: | Maxim Koltsov (RETIRED) <maksbotan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eva, jaak, jfostiguy, jouni.kosonen, jstein, supersonic112, uwe, wyvern5 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Emerge Info |
Description
Andreas Proteus
2017-08-31 19:30:03 UTC
Created attachment 491240 [details]
Build log
Created attachment 491242 [details]
Emerge Info
Same happened here on two different machines. Happened here too. Here's what I've found out so far: Building >=libguestfs-1.35 without the ocaml bindings has problems, see https://bugzilla.redhat.com/show_bug.cgi?id=1410102 It can be built with USE=ocaml though. Unrelated to that, theres an escape missing in line 150 of the ebuild: --- /usr/portage/app-emulation/libguestfs/libguestfs-1.36.5.ebuild @@ -149,3 +149,3 @@ $(use_enable lua) \ - --with-gtk=$(usex gtk 3 no) + --with-gtk=$(usex gtk 3 no) \ $(usex doc '' PO4A=no) Building with USE="-doc" results in a line like /var/tmp/portage/app-emulation/libguestfs-1.36.5/temp/environment: line 4992: PO4A=no: command not found in the build log. (In reply to Jouni Kosonen from comment #4) > Happened here too. Here's what I've found out so far: > > Building >=libguestfs-1.35 without the ocaml bindings has problems, see > https://bugzilla.redhat.com/show_bug.cgi?id=1410102 > > It can be built with USE=ocaml though. > > Unrelated to that, theres an escape missing in line 150 of the ebuild: > --- /usr/portage/app-emulation/libguestfs/libguestfs-1.36.5.ebuild > @@ -149,3 +149,3 @@ > $(use_enable lua) \ > - --with-gtk=$(usex gtk 3 no) > + --with-gtk=$(usex gtk 3 no) \ > $(usex doc '' PO4A=no) > > Building with USE="-doc" results in a line like > /var/tmp/portage/app-emulation/libguestfs-1.36.5/temp/environment: line > 4992: PO4A=no: command not found > in the build log. Just try to build it with doc flag and it fails with the following error: make[4]: Entering directory '/var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/po' make[4]: *** No rule to make target '../builder/index-parse.c', needed by 'libguestfs.pot'. Stop. I have LINGUAS="en pt" and it seems that language pt ist not supported. (In reply to Samuel Bernardo from comment #5) > (In reply to Jouni Kosonen from comment #4) > > Happened here too. Here's what I've found out so far: > > > > Building >=libguestfs-1.35 without the ocaml bindings has problems, see > > https://bugzilla.redhat.com/show_bug.cgi?id=1410102 > > > > It can be built with USE=ocaml though. > > > > Unrelated to that, theres an escape missing in line 150 of the ebuild: > > --- /usr/portage/app-emulation/libguestfs/libguestfs-1.36.5.ebuild > > @@ -149,3 +149,3 @@ > > $(use_enable lua) \ > > - --with-gtk=$(usex gtk 3 no) > > + --with-gtk=$(usex gtk 3 no) \ > > $(usex doc '' PO4A=no) > > > > Building with USE="-doc" results in a line like > > /var/tmp/portage/app-emulation/libguestfs-1.36.5/temp/environment: line > > 4992: PO4A=no: command not found > > in the build log. > > Just try to build it with doc flag and it fails with the following error: > make[4]: Entering directory > '/var/tmp/portage/app-emulation/libguestfs-1.36.5/work/libguestfs-1.36.5/po' > make[4]: *** No rule to make target '../builder/index-parse.c', needed by > 'libguestfs.pot'. Stop. > > I have LINGUAS="en pt" and it seems that language pt ist not supported. Adding ocaml flag it compiled just as expected. Since there is a redhat bug report for this ocaml dependency in the source, maybe the ocaml flag become required for compilation. After all it seems to be ignoring linguas, since it installed all languages. I also compiled with -doc and it finished install without any error. I've forced the use / dependency of ocaml in place on libguestfs-1.36.5 as it was a build failure. Hopefully this can get fixed at some point to be optional again. Please try with 1.36.13. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5fdb7d569488c4f4a33a6d1cae714d45b5a4f56 1.36.13, still happens. Happens when dev-lang/ocaml is installed, but ocaml USE flag is not enabled. Additionally, the src_configure() fails entirely if dev-lang/ocaml is not installed, but that's actually filed as a different bug 649882. (In reply to Pavel Valach from comment #9) > 1.36.13, still happens. > Happens when dev-lang/ocaml is installed, but ocaml USE flag is not enabled. There's a typo in the ebuild, a stray $: $(use_enable fuse) \ $($use_enable ocaml) \ $(use_enable ruby) \ This is still happening with libguestfs-1.36.13, please reopen. |