Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649882 - >=app-emulation/libguestfs-1.36.13 ocaml is required and strip-linguas() not found
Summary: >=app-emulation/libguestfs-1.36.13 ocaml is required and strip-linguas() not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
: 652430 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-08 01:27 UTC by Francesco Riosa
Modified: 2018-12-07 09:36 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2018-03-08 01:27:22 UTC
* Working directory: '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13'
 * S: '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13'
 * QA Notice: command not found:
 *
 *      /var/tmp/portage/app-emulation/libguestfs-1.36.13/temp/environment: line 3623: strip-linguas: command not found

The ebuild should inherit eutils to use strip-linguas()
Comment 1 Francesco Riosa 2018-03-08 01:59:00 UTC
actually it fails at translations also after adding eutils to inherit

Making install in po
make[2]: Entering directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'
make[3]: Entering directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'
make[3]: Nothing to be done for 'install-exec-am'.
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:1802: install-data-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'
make[2]: *** [Makefile:1753: install-am] Error 2
make[2]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13/po'
make[1]: *** [Makefile:1990: install-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13'
make: *** [Makefile:2487: install] Error 2
 * ERROR: app-emulation/libguestfs-1.36.13::vivovl failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-emulation/libguestfs-1.36.13::vivovl'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libguestfs-1.36.13::vivovl'`.
 * The complete build log is located at '/var/log/portage/build/app-emulation/libguestfs-1.36.13:20180308-013852.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libguestfs-1.36.13/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13'
 * S: '/var/tmp/portage/app-emulation/libguestfs-1.36.13/work/libguestfs-1.36.13'

>>> Failed to emerge app-emulation/libguestfs-1.36.13, Log file:

>>>  '/var/log/portage/build/app-emulation/libguestfs-1.36.13:20180308-013852.log.gz'
Comment 2 Francesco Riosa 2018-03-08 02:09:00 UTC
# emerge --info app-emulation/libguestfs
Portage 2.3.19 (python 3.6.3-final-0, features/boot, gcc-7.3.0, glibc-2.25-r10, 4.14.23-serv x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.23-serv-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v4_@_2.20GHz-with-gentoo-2.4.1
KiB Mem:   131912304 total,  88674964 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 07 Mar 2018 17:15:02 +0000
Head commit of repository gentoo: fc15cdf2cf128aee4691df30d0a7bc764630dafb
Timestamp of repository vivovl: Sun, 17 Dec 2017 16:38:06 +0000
Head commit of repository vivovl: d504fed0e3671137e37d7a1fabcf7ec22a1ef511
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://transfer/gentoo-repos/gentoo
    priority: -1000
    sync-rsync-extra-opts:

vivovl
    location: /var/portage/repos/vivovl
    sync-type: rsync
    sync-uri: rsync://transfer/gentoo-repos/vivovl
    masters: gentoo
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7 -pipe -frecord-gcc-switches -fdiagnostics-color=never"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/mtab /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=corei7 -pipe -frecord-gcc-switches -fdiagnostics-color=never"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=y --ask-enter-invalid --usepkg=n --load-average=8 --jobs=2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl acpi amd64 bash-completion berkdb bitmap-fonts bzip2 caps cli cracklib crypt cxx dri gdbm hpn iconv idm ipv6 isdnlog lzma midi mmx modules mudflap ncurses nptl nptlonly openmp pam pcre perl pgo ppds pppd python readline reflection seccomp session snmp spl sqlite sse sse2 sse3 ssl static-libs tcpd threads truetype-fonts type1-fonts udev unicode urandom userlocales vim-syntax vivovl-s01 xattr xorg zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc efi-32 qemu" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="aarch64 arm x86_64" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="i965 intel qxl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Francesco Riosa 2018-03-08 02:14:38 UTC
oh, BTW if ocaml is not installed the package fail at src_configure()
Comment 4 Francesco Riosa 2018-03-08 02:29:01 UTC
if ocaml use flag is enabled the ebuild is successful so it cannot be a use flag but must be a fixed dependancy
Comment 5 Richard Jones 2018-03-09 08:16:26 UTC
ocaml shouldn't be required for 1.36 (although it *is* required
starting with 1.38).  What's the error when ocaml is not present?
Comment 6 Francesco Riosa 2018-03-09 10:55:02 UTC
(In reply to Richard Jones from comment #5)
> ocaml shouldn't be required for 1.36 (although it *is* required
> starting with 1.38).  What's the error when ocaml is not present?

I've not saved the error, but it's simply checked by configure and if it's not found an error is returned.
Comment 7 Richard Jones 2018-03-09 12:00:32 UTC
Assuming you are really using 1.36 (and not 1.38) then it shouldn't
be required for builds from the tarball.  See:

https://github.com/libguestfs/libguestfs/blob/stable-1.36/m4/guestfs_ocaml.m4

It is required for builds from git, and it is be required for
everything from 1.38 onwards.
Comment 8 Pavel Valach 2018-03-09 13:17:16 UTC
Confirming the symptoms here.

Additionally, if you only install dev-lang/ocaml but not enable the ocaml USE flag, then src_configure() passes, but the build fails with

No rule to make target '../builder/index-parse.c'

which is actually already filed as bug 629490.
Comment 9 Pacho Ramos gentoo-dev 2018-06-23 09:45:13 UTC
*** Bug 652430 has been marked as a duplicate of this bug. ***
Comment 10 Pacho Ramos gentoo-dev 2018-06-23 09:54:03 UTC
Even workaround suggested in https://bugs.gentoo.org/652430#c9 fails for me :/
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2018-12-07 09:36:26 UTC
This was silently fixed in commit 6f0d695939dfe6840ac7fa06f1e0ac94d4b76124. Thanks for reporting.