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

Error to emerge media-libs/freetype on fresh install

    • Icon: Snack Snack
    • Resolution: Expected Behavior
    • Icon: Minor Minor
    • None
    • None

       

      Installing the 'core2_X64' sub-category for intel Q6600
      "stage3-core2_64-1.3-release-std-02/05/2019"

      gentoo / # emerge -av grub
      These are the packages that would be merged, in order:
      Calculating dependencies... done![ebuild  N     ] media-libs/freetype-2.9.1-r4:2::xorg-kit  USE="adobe-cff bzip2 cleartype_hinting -X -bindist -debug -doc -fontforge -harfbuzz -infinality -png -static-libs -utils" 0 KiB[ebuild  N     ] sys-boot/grub-2.02-r3:2/2.02-r3::core-kit  USE="fonts nls themes -debug -device-mapper -doc -efiemu -libzfs -mount -multislot -sdl -static (-test) -truetype" GRUB_PLATFORMS="pc -coreboot -efi-32 -efi-64 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32" 1129 KiB
      Total: 2 packages (2 new), Size of downloads: 1129 KiB
      Would you like to merge these packages? [Yes/No] Yes
      >>> Verifying ebuild manifests
      >>> Emerging (1 of 2) media-libs/freetype-2.9.1-r4::xorg-kit * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * freetype-2.9.1.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                                                         [ ok ]>>> Unpacking source...>>> Unpacking freetype-2.9.1.tar.bz2 to /var/tmp/portage/media-libs/freetype-2.9.1-r4/work>>> Source unpacked in /var/tmp/portage/media-libs/freetype-2.9.1-r4/work>>> Preparing source in /var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1 ... * Applying freetype-2.7-enable-valid.patch ...                                                                                                                                                               [ ok ] * Applying freetype-2.4.11-sizeof-types.patch ...                                                                                                                                                            [ ok ] * Running elibtoolize in: freetype-2.9.1/ * Running elibtoolize in: freetype-2.9.1/builds/unix/ *   Applying portage/1.2.0 patch ... *   Applying sed/1.5.6 patch ... *   Applying as-needed/2.4.3 patch ... *   Applying ppc64le/2.4.4 patch ...>>> Source prepared.>>> Configuring source in /var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configurePackage libpng was not found in the pkg-config search path.Perhaps you should add the directory containing `libpng.pc'to the PKG_CONFIG_PATH environment variablePackage 'libpng', required by 'virtual:world', not foundPackage libpng was not found in the pkg-config search path.Perhaps you should add the directory containing `libpng.pc'to the PKG_CONFIG_PATH environment variablePackage 'libpng', required by 'virtual:world', not found * econf: updating freetype-2.9.1/builds/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating freetype-2.9.1/builds/unix/config.guess with /usr/share/gnuconfig/config.guess/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/freetype-2.9.1-r4 --htmldir=/usr/share/doc/freetype-2.9.1-r4/html --libdir=/usr/lib64 --disable-freetype-config --enable-biarch-config --enable-shared --with-bzip2 --without-harfbuzz --without-png --disable-static LIBPNG_CFLAGS= LIBPNG_LDFLAGS= ac_cv_prog_RC= ac_cv_prog_ac_ct_RC=Generating `Makefile'
      FreeType build system -- automatic system detection
      The following settings are used:
        platform                    unix  compiler                    cc  configuration directory     /var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1/builds/unix  configuration rules         /var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1/builds/unix/unix.mk
      If this does not correspond to your system or settings please remove the file`config.mk' from this directory then read the INSTALL file for help.
      Otherwise, simply type `gmake' again to build the library,or `gmake refdoc' to build the API reference (this needs python >= 2.6).
      /var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1/builds/unix/configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--docdir=/usr/share/doc/freetype-2.9.1-r4' '--htmldir=/usr/share/doc/freetype-2.9.1-r4/html' '--libdir=/usr/lib64' '--disable-freetype-config' '--enable-biarch-config' '--enable-shared' '--with-bzip2' '--without-harfbuzz' '--without-png' '--disable-static' 'LIBPNG_CFLAGS=' 'LIBPNG_LDFLAGS=' 'ac_cv_prog_RC=' 'ac_cv_prog_ac_ct_RC='checking build system type... x86_64-pc-linux-gnuchecking host system type... x86_64-pc-linux-gnuchecking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gccchecking whether the C compiler works... noconfigure: error: in `/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1-abi_x86_64.amd64':configure: error: C compiler cannot create executablesSee `config.log' for more detailsgmake: *** [/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1/builds/unix/detect.mk:83: setup] Error 77
      !!! Please attach the following file when seeking support:!!! /var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1-abi_x86_64.amd64/config.log * ERROR: media-libs/freetype-2.9.1-r4::xorg-kit failed (configure phase): *   econf failed *  * Call stack: *               ebuild.sh, line   92:  Called src_configure *             environment, line 3327:  Called multilib-minimal_src_configure *             environment, line 2497:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' *             environment, line 2711:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' *             environment, line 2427:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' *             environment, line 2425:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' *             environment, line  533:  Called multilib-minimal_abi_src_configure *             environment, line 2491:  Called multilib_src_configure *             environment, line 2942:  Called econf '--disable-freetype-config' '--enable-biarch-config' '--enable-shared' '--with-bzip2' '--without-harfbuzz' '--without-png' '--disable-static' 'LIBPNG_CFLAGS=' 'LIBPNG_LDFLAGS=' 'ac_cv_prog_RC=' 'ac_cv_prog_ac_ct_RC=' *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed' *   isolated-functions.sh, line  121:  Called die * The specific snippet of code: *    die "$@" *  * If you need support, post the output of `emerge --info '=media-libs/freetype-2.9.1-r4::xorg-kit'`, * the complete build log and the output of `emerge -pqv '=media-libs/freetype-2.9.1-r4::xorg-kit'`. * The complete build log is located at '/var/tmp/portage/media-libs/freetype-2.9.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/freetype-2.9.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1-abi_x86_64.amd64' * S: '/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1'
      >>> Failed to emerge media-libs/freetype-2.9.1-r4, Log file:
      >>>  '/var/tmp/portage/media-libs/freetype-2.9.1-r4/temp/build.log'
       * Messages for package media-libs/freetype-2.9.1-r4:
       * ERROR: media-libs/freetype-2.9.1-r4::xorg-kit failed (configure phase): *   econf failed *  * Call stack: *               ebuild.sh, line   92:  Called src_configure *             environment, line 3327:  Called multilib-minimal_src_configure *             environment, line 2497:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' *             environment, line 2711:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' *             environment, line 2427:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' *             environment, line 2425:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' *             environment, line  533:  Called multilib-minimal_abi_src_configure *             environment, line 2491:  Called multilib_src_configure *             environment, line 2942:  Called econf '--disable-freetype-config' '--enable-biarch-config' '--enable-shared' '--with-bzip2' '--without-harfbuzz' '--without-png' '--disable-static' 'LIBPNG_CFLAGS=' 'LIBPNG_LDFLAGS=' 'ac_cv_prog_RC=' 'ac_cv_prog_ac_ct_RC=' *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed' *   isolated-functions.sh, line  121:  Called die * The specific snippet of code: *    die "$@" *  * If you need support, post the output of `emerge --info '=media-libs/freetype-2.9.1-r4::xorg-kit'`, * the complete build log and the output of `emerge -pqv '=media-libs/freetype-2.9.1-r4::xorg-kit'`. * The complete build log is located at '/var/tmp/portage/media-libs/freetype-2.9.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/freetype-2.9.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1-abi_x86_64.amd64' * S: '/var/tmp/portage/media-libs/freetype-2.9.1-r4/work/freetype-2.9.1'
      

            Unassigned Unassigned
            ilnanny ilnanny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: