Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10828

Flatpak dependency appstream's dependency appstream-glib failed to compile

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      On a new funtoo next system using the Zen 2 stage 3 tarball, nvidia and xfce mix-ins and desktop flavour, appstream-glib fails to compile. It got emerged because I emerged flatpak which depends on appstream, which depends on appstream-glib. My flatpak emerge uses the default USE flags

      Initial build log:

       * Package:    dev-libs/appstream-glib-0.7.14
       * Repository: gnome-kit
       * Maintainer: gnome@gentoo.org
       * USE:        amd64 elibc_glibc introspection kernel_linux userland_GNU
       * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
      >>> Unpacking source...
      >>> Unpacking appstream-glib-0.7.14.tar.xz to /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work
      >>> Source unpacked in /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work
      >>> Preparing source in /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14 ...
       * Disabling deprecation warnings ...                                                                                                                 [ ok ]
      >>> Source prepared.
      >>> Configuring source in /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14 ...
      meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Ddep11=true -Dbuilder=true -Drpm=false -Dalpm=false -Dfonts=true -Dman=true -Dgtk-doc=false -Dintrospection=true -Dstemmer=false /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14 /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14-build
      The Meson build system
      Version: 0.59.1
      Source dir: /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14
      Build dir: /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14-build
      Build type: native build
      Project name: appstream-glib
      Project version: 0.7.14
      C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.3.0 "x86_64-pc-linux-gnu-gcc (Funtoo 11.3.0-r1) 11.3.0")
      C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.36.1
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.5.4)
      Run-time dependency uuid found: YES 2.38.1
      Run-time dependency glib-2.0 found: YES 2.70.0
      Run-time dependency gmodule-2.0 found: YES 2.70.0
      Run-time dependency gio-unix-2.0 found: YES 2.70.0
      Found CMake: /usr/bin/cmake (3.24.1)
      Run-time dependency libarchive found: NO (tried cmake)meson.build:56:0: ERROR: Could not generate cargs for libarchive:
      Package iconv was not found in the pkg-config search path.
      Perhaps you should add the directory containing `iconv.pc'
      to the PKG_CONFIG_PATH environment variable
      Package 'iconv', required by 'libarchive', not found
      A full log can be found at /var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14-build/meson-logs/meson-log.txt
       * ERROR: dev-libs/appstream-glib-0.7.14::gnome-kit failed (configure phase):
       *   (no error message)
       * 
       * Call stack:
       *     ebuild.sh, line   93:  Called src_configure
       *   environment, line 3955:  Called meson_src_configure
       *   environment, line 2962:  Called die
       * The specific snippet of code:
       *       tc-env_build "$@" || die
       * 
       * If you need support, post the output of `emerge --info '=dev-libs/appstream-glib-0.7.14::gnome-kit'`,
       * the complete build log and the output of `emerge -pqv '=dev-libs/appstream-glib-0.7.14::gnome-kit'`.
       * The complete build log is located at '/var/tmp/portage/dev-libs/appstream-glib-0.7.14/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/dev-libs/appstream-glib-0.7.14/temp/environment'.
       * Working directory: '/var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14'
       * S: '/var/tmp/portage/dev-libs/appstream-glib-0.7.14/work/appstream-glib-0.7.14'
      

      Extended meson build log below:

            Unassigned Unassigned
            madman10k madman10k
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: