================================================================= Package Settings ================================================================= dev-lang/vala-0.48.5::gentoo was built with the following: USE="-test -valadoc" ABI_X86="(64)" FEATURES="ccache usersandbox pid-sandbox assume-digests preserve-libs distlocks fixlafiles config-protect-if-modified ebuild-locks sandbox strict userpriv sfperms ipc-sandbox network-sandbox binpkg-dostrip unmerge-orphans userfetch multilib-strict usersync news unmerge-logs binpkg-logs merge-sync binpkg-docompress parallel-fetch unknown-features-warn protect-owned qa-unresolved-soname-deps xattr" media-libs/babl-9999::gentoo was built with the following: USE="introspection lcms" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse sse2 sse3 -avx2 -f16c -sse4_1" dev-util/meson-0.54.2_pre::poly-c was built with the following: USE="(-test)" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8 -python3_6" FEATURES="qa-unresolved-soname-deps multilib-strict ipc-sandbox merge-sync ebuild-locks fixlafiles preserve-libs unmerge-orphans userpriv usersync unknown-features-warn news distlocks parallel-fetch usersandbox binpkg-docompress unmerge-logs strict binpkg-dostrip pid-sandbox protect-owned xattr network-sandbox sfperms ccache userfetch sandbox config-protect-if-modified assume-digests binpkg-logs" >>> Configuring source in /var/tmp/portage/media-libs/babl-9999/work/babl-9999 ... meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/babl-9999/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dwith-docs=false -Denable-gir=true -Dwith-lcms=true -Denable-avx2=false -Denable-f16c=false -Denable-mmx=true -Denable-sse=true -Denable-sse2=true -Denable-sse3=true -Denable-sse4_1=false /var/tmp/portage/media-libs/babl-9999/work/babl-9999 /var/tmp/portage/media-libs/babl-9999/work/babl-9999-build The Meson build system Version: 0.54.2 Source dir: /var/tmp/portage/media-libs/babl-9999/work/babl-9999 Build dir: /var/tmp/portage/media-libs/babl-9999/work/babl-9999-build Build type: native build Project name: babl Project version: 0.1.75 C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 9.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 9.3.0 p2) 9.3.0") C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.34 Host machine cpu family: x86_64 Host machine cpu: x86_64 Message: Host machine cpu family: x86_64 Message: Host os: linux Message: Build os: linux Compiler for C supports arguments -fno-unsafe-math-optimizations: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -mmmx: YES Message: mmx assembly available Compiler for C supports arguments -msse: YES Message: sse assembly available Compiler for C supports arguments -mfpmath=sse: YES Compiler for C supports arguments -msse2: YES Message: sse2 assembly available Compiler for C supports arguments -msse4.1: YES Compiler for C supports arguments -mf16c: YES Has header "stdatomic.h" : YES Has header "dlfcn.h" : YES Has header "dl.h" : NO Checking for function "gettimeofday" : YES Checking for function "rint" : NO Checking for function "srandom" : YES Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (0.29.2) Run-time dependency lcms2 found: YES 2.9 Library m found: YES Run-time dependency threads found: YES Library dl found: YES Program env found: YES (/usr/bin/env) Program git found: YES (/usr/bin/git) Program rsvg-convert found: YES (/usr/bin/rsvg-convert) Program test found: YES (/usr/bin/test) Program w3m found: NO Configuring config.h using configuration Program python3 found: YES (/usr/bin/python3.8) Checking if "-Wl,--version-script" links: YES Configuring babl-version.h using configuration Program ninja found: YES (/usr/bin/ninja) Program sh found: YES (/bin/sh) Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (0.29.2) babl/meson.build:166:10: ERROR: Program(s) ['vapigen'] not found or not executable https://gitlab.gnome.org/GNOME/babl/-/commit/fcfb6e802aeb7ea243aab3de7c8806f2bff3fef8 "meson: Generate VAPI file This can be used to call Babl from Vala. This is also very useful when we want to do the same thing (calling from vala) for GIMP 3.x"
equery f vala|grep vapigen /usr/bin/vapigen-0.48 /usr/lib64/pkgconfig/vapigen-0.48.pc /usr/share/man/man1/vapigen-0.48.1.bz2
Please add a vala USE flag to disable the dependency until upstream uses pkgconfig to find the binary. cat /usr/lib64/pkgconfig/vapigen-0.48.pc prefix=/usr exec_prefix=${prefix} libdir=/usr/lib64 bindir=${exec_prefix}/bin datarootdir=${prefix}/share datadir=/usr/share includedir=${prefix}/include vapigen=${bindir}/vapigen-0.48 vapidir=${datadir}/vala/vapi vapidir_versioned=${datadir}/vala-0.48/vapi Name: vapigen Description: Vala API Generator Version: 0.48.5
Created attachment 640338 [details, diff] patch for babl-9999.ebuild to add vala I added the vala lines from gegl ebuild. Now vapigen is found. equery f babl|grep vala /usr/share/vala /usr/share/vala/vapi /usr/share/vala/vapi/babl-0.1.deps /usr/share/vala/vapi/babl-0.1.vapi Is this still needed?: # vala and introspection support is broken, bug #468208 VALA_USE_DEPEND=vapigen
Thank you for report and patch. I hope i'll take care this and some other issues for babl/gegl until the end of this weekend.
> Is this still needed?: > # vala and introspection support is broken, bug #468208 > VALA_USE_DEPEND=vapigen USE="introspection vala" babl-9999 is successfully emerged.
gimp now also uses vala checking for vala... no checking for valac... no configure: error: Vala-plugins are enabled, but could not find vala compiler !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/config.log * ERROR: media-gfx/gimp-9999::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 4867: Called gnome2_src_configure 'GEGL=/usr/bin/gegl-0.4' 'GDBUS_CODEGEN=/usr/bin/gdbus-codegen' '--enable-default-binary' '--enable-mp' '--with-appdata-test' '--with-bug-report-url=https://bugs.gentoo.org/' '--with-xmc' '--without-libbacktrace' '--without-webkit' '--without-xvfb-run' '--disable-altivec' '--enable-mmx' '--enable-sse' '--disable-gtk_doc' '--enable-vector-icons' '--with-aa' '--with-alsa' '--with-x' '--without-libheif' '--with-javascript' '--with-jpeg2000' '--with-lua' '--with-libmng' '--without-openexr' '--with-gs' '--with-python' '--with-gudev' '--without-libunwind' '--with-webp' '--with-wmf' '--with-libxpm' * environment, line 3448: Called econf '--disable-gtk-doc' '--disable-maintainer-mode' 'GEGL=/usr/bin/gegl-0.4' 'GDBUS_CODEGEN=/usr/bin/gdbus-codegen' '--enable-default-binary' '--enable-mp' '--with-appdata-test' '--with-bug-report-url=https://bugs.gentoo.org/' '--with-xmc' '--without-libbacktrace' '--without-webkit' '--without-xvfb-run' '--disable-altivec' '--enable-mmx' '--enable-sse' '--disable-gtk_doc' '--enable-vector-icons' '--with-aa' '--with-alsa' '--with-x' '--without-libheif' '--with-javascript' '--with-jpeg2000' '--with-lua' '--with-libmng' '--without-openexr' '--with-gs' '--with-python' '--with-gudev' '--without-libunwind' '--with-webp' '--with-wmf' '--with-libxpm' * phase-helpers.sh, line 681: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" *
For reference, this is the underlying issue, with vala distribution in gentoo: https://bugs.gentoo.org/513658
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98740b2afe921b80e9ea842ac68ec46b76581537 commit 98740b2afe921b80e9ea842ac68ec46b76581537 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2020-05-25 02:32:49 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-06-25 08:07:42 +0000 media-libs/babl: 9999, fix build: ['vapigen'] not found or not executable Add new dependency "vala" Closes: https://bugs.gentoo.org/723868 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-libs/babl/babl-9999.ebuild | 19 ++++++++++++++++--- media-libs/gegl/gegl-9999.ebuild | 5 ++--- 2 files changed, 18 insertions(+), 6 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4487daf3befb464be78a714cbd89e644a876967 commit d4487daf3befb464be78a714cbd89e644a876967 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2020-06-11 22:10:10 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-07-05 08:24:14 +0000 media-libs/babl: 0.1.78 version bump Bug: https://bugs.gentoo.org/723868 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Joonas Niilola <juippis@gentoo.org> media-libs/babl/Manifest | 1 + media-libs/babl/babl-0.1.78.ebuild | 62 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+)