Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Updating imlib2 fails on freetype2 (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sat Nov 17, 2018 9:13 pm    Post subject: Updating imlib2 fails on freetype2 (solved) Reply with quote

I have problem updating my system, and are failing on media-libs/imlib2 that can't find freetype2 for some strange reason.

Output from emerge (some of it):
Code:
 
...
checking for FREETYPE... no
configure: error: Package requirements (freetype2) were not met:

No package 'freetype2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log
 * ERROR: media-libs/imlib2-1.5.1-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1545:  Called multilib-minimal_src_configure
 *             environment, line 1035:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1250:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  965:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  963:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  363:  Called multilib-minimal_abi_src_configure
 *             environment, line 1029:  Called multilib_src_configure
 *             environment, line 1468:  Called econf '--with-bzip2' '--with-gif' '--with-jpeg' '--with-id3' '--with-png' '--with-x-shm-fd' '--disable-static' '--with-tiff' '--with-x' '--with-zlib' '--disable-amd64' '--disable-mmx'
 *        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/imlib2-1.5.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/imlib2-1.5.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1'

>>> Failed to emerge media-libs/imlib2-1.5.1-r1


pkg-config gives me this:
Code:
  pkg-config --modversion freetype2   
  22.1.16

So freetype2 is in there somewhere.

A search for freetype tells me it is installed:

Code:
*  media-libs/freetype
      Latest version available: 2.9.1-r3
      Latest version installed: 2.9.1-r3
      Size of files: 1882 KiB
      Homepage:      https://www.freetype.org/
      Description:   A high-quality and portable font engine
      License:       || ( FTL GPL-2+ )

[ Applications found : 1 ]


So what are I doing wrong here ?

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
/Ivar


Last edited by Ivar on Sun Nov 18, 2018 1:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sat Nov 17, 2018 9:49 pm    Post subject: Reply with quote

What is the output of emerge --pretend --verbose media-libs/freetype? What does the configure log show?
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sun Nov 18, 2018 11:26 am    Post subject: Reply with quote

Hu wrote:
What is the output of emerge --pretend --verbose media-libs/freetype? What does the configure log show?


Code:
i5 ~ # emerge --pretend --verbose media-libs/freetype

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/freetype-2.9.1-r3:2::gentoo  USE="X adobe-cff bzip2 cleartype_hinting png -bindist -debug -doc -fontforge -harfbuzz -infinality -static-libs -utils" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


And I can't find the configure log since /var/tmp/portage is empty. It has to build somewhere but I'll be damn if I can figure out where it put the files...
_________________
/Ivar
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30913
Location: here

PostPosted: Sun Nov 18, 2018 11:50 am    Post subject: Reply with quote

Ivar wrote:
And I can't find the configure log since /var/tmp/portage is empty. It has to build somewhere but I'll be damn if I can figure out where it put the files...

Re-run imlib2 installation and after fail you can find configuration log.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sun Nov 18, 2018 12:28 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Ivar wrote:
And I can't find the configure log since /var/tmp/portage is empty. It has to build somewhere but I'll be damn if I can figure out where it put the files...

Re-run imlib2 installation and after fail you can find configuration log.


I have tried, and failed since the temdir is empty after the failing of the emerge!

Code:

i5 ~ # emerge  --verbose media-libs/imlib2 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] media-libs/imlib2-1.5.1-r1::gentoo [1.5.1::gentoo] USE="X bzip2 gif jpeg mp3 nls png shm%* tiff zlib -doc% -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2 (-mmx)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

!!! The following installed packages are masked:
- x11-libs/libgksu-2.0.12-r4::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
# Dead for years (#425156) with security issues (#534540). Removal in a
# month.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-libs/imlib2-1.5.1-r1::gentoo
 * imlib2-1.5.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking imlib2-1.5.1.tar.gz to /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work
>>> Source unpacked in /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work
>>> Preparing source in /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * econf: updating imlib2-1.5.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating imlib2-1.5.1/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/imlib2-1.5.1-r1 --htmldir=/usr/share/doc/imlib2-1.5.1-r1/html --with-sysroot=/ --libdir=/usr/lib32 --with-bzip2 --with-gif --with-jpeg --with-id3 --with-png --with-x-shm-fd --disable-static --with-tiff --with-x --with-zlib --disable-amd64 --disable-mmx
configure: loading site script /usr/share/config.site
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc -m32... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -m32 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for i686-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc -m32
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89... (cached) none needed
checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-gcc -m32... (cached) none
checking dependency style of x86_64-pc-linux-gnu-gcc -m32... none
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc -m32... x86_64-pc-linux-gnu-ld -m elf_i386
checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/i686-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for x86_64-pc-linux-gnu-ld -m elf_i386 option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc -m32 object... ok
checking for sysroot... /
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i686-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc -m32 supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc -m32 option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc -m32 PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc -m32 static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-pkg-config... /usr/bin/i686-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to enable x86 mmx support... no
checking whether to enable amd64 asm support... no
checking for FREETYPE... no
configure: error: Package requirements (freetype2) were not met:

No package 'freetype2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log
 * ERROR: media-libs/imlib2-1.5.1-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1545:  Called multilib-minimal_src_configure
 *             environment, line 1035:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1250:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  965:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  963:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  363:  Called multilib-minimal_abi_src_configure
 *             environment, line 1029:  Called multilib_src_configure
 *             environment, line 1468:  Called econf '--with-bzip2' '--with-gif' '--with-jpeg' '--with-id3' '--with-png' '--with-x-shm-fd' '--disable-static' '--with-tiff' '--with-x' '--with-zlib' '--disable-amd64' '--disable-mmx'
 *        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/imlib2-1.5.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/imlib2-1.5.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1'

>>> Failed to emerge media-libs/imlib2-1.5.1-r1

 * Messages for package media-libs/imlib2-1.5.1-r1:

 * ERROR: media-libs/imlib2-1.5.1-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 1545:  Called multilib-minimal_src_configure
 *             environment, line 1035:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 1250:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  965:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line  963:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  363:  Called multilib-minimal_abi_src_configure
 *             environment, line 1029:  Called multilib_src_configure
 *             environment, line 1468:  Called econf '--with-bzip2' '--with-gif' '--with-jpeg' '--with-id3' '--with-png' '--with-x-shm-fd' '--disable-static' '--with-tiff' '--with-x' '--with-zlib' '--disable-amd64' '--disable-mmx'
 *        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/imlib2-1.5.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/imlib2-1.5.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1'


Code:
i5 ~ # ls -la /var/tmp/portage/           
total 0
drwxrwxr-x  3 portage portage  60 Nov 18 13:24 .
drwxrwxrwt 12 root    root    320 Nov 18 13:23 ..
drwxrwxr-x  2 portage portage  40 Nov 18 12:45 ._unmerge_
i5 ~ # ls -la /tmp/portage/
total 0
drwxrwxr-x  3 portage portage  60 Nov 18 13:24 .
drwxrwxrwt 12 root    root    320 Nov 18 13:23 ..
drwxrwxr-x  2 portage portage  40 Nov 18 12:45 ._unmerge_
i5 ~ #


So I'm confused, I'm doing something wrong, but I can't for my life figure out what...
_________________
/Ivar
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sun Nov 18, 2018 12:41 pm    Post subject: Reply with quote

Ivar wrote:
And I can't find the configure log since /var/tmp/portage is empty. It has to build somewhere but I'll be damn if I can figure out where it put the files...


Ok, with little tricks and magic I manage to get a log, it was a big one, but here it comes:
Code:

i5 /tmp # mkdir -p /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/
i5 /tmp # touch /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log
i5 /tmp # tail -F /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log

tail: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log' has become inaccessible: No such file or directory
tail: directory containing watched file was removed
tail: inotify cannot be used, reverting to polling
tail: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log' has appeared;  following new file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by imlib2 configure 1.5.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/imlib2-1.5.1-r1 --htmldir=/usr/share/doc/imlib2-1.5.1-r1/html --with-sysroot=/ --libdir=/usr/lib32 --with-bzip2 --with-gif --with-jpeg --with-id3 --with-png --with-x-shm-fd --disable-static --with-tiff --with-x --with-zlib --disable-amd64 --disable-mmx

## --------- ##
## Platform. ##
## --------- ##

hostname = i5
uname -m = x86_64
uname -r = 4.14.78-gentoo
uname -s = Linux
uname -v = #1 SMP Fri Nov 2 22:48:04 CET 2018

/usr/bin/uname -p = Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/portage/python2.7/ebuild-helpers/xattr
PATH: /usr/lib/portage/python2.7/ebuild-helpers
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0
PATH: /usr/x86_64-pc-linux-gnu/i686-pc-linux-gnu/gcc-bin/7.3.0
PATH: /usr/lib/llvm/6/bin
PATH: /usr/lib/llvm/4/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/lib64/subversion/bin
PATH: /opt/vmware/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2230: loading site script /usr/share/config.site
| #!/bin/sh
| # Copyright 2009-2014 Gentoo Foundation
| # Distributed under the terms of the GNU General Public License v2
|
| TOPDIR=/usr/share/crossdev/include/site
|
| config_site_arch() {
|       local host="${CHOST%%-*}"
|
|       case ${host} in
|       arm*b*)  host=armeb ;;
|       arm*)    host=arm ;;
|       mips*l*) host=mipsel ;;
|       mips*)   host=mips ;;
|       esac
|
|       echo "${host}"
| }
|
| config_site_names() {
|       local site_arch="$(config_site_arch)"
|       local sites=""
|       local x
|
|       case ${CHOST} in
|       *-linux-*)           sites="${sites} linux ${site_arch}-linux" ;;
|       *-darwin*)           sites="${sites} darwin ${site_arch}-darwin" ;;
|       esac
|
|       case ${CHOST} in
|       *-linux-uclibc*)     sites="${sites} linux-uclibc ${site_arch}-linux-uclibc" ;;
|       *-linux-gnu*)        sites="${sites} linux-gnu ${site_arch}-linux-gnu" ;;
|       *-linux-musl*)       sites="${sites} linux-musl ${site_arch}-linux-musl" ;;
|       esac
|
|       case ${CHOST} in
|       *-linux-uclibceabi*) sites="${sites} linux-uclibceabi ${site_arch}-linux-uclibceabi" ;;
|       *-linux-gnueabi*)    sites="${sites} linux-gnueabi ${site_arch}-linux-gnueabi" ;;
|       esac
|
|       for x in ${sites} ${CHOST}; do
|               [ -e "${TOPDIR}/${x}" ] && echo "${TOPDIR}/${x}"
|       done
| }
|
| # Only kick in for cross-compiles so we don't break native builds #427184
| if [ "${CBUILD:-${CHOST}}" != "${CHOST}" ] ; then
|       sites="$(config_site_names)"
|       if [ -n "${sites}" ] ; then
|               for site in ${sites}; do
|                       echo "${0##*/}: loading site script ${site}"
|                       . "${site}"
|               done
|       fi
|       unset site sites
| fi
configure:2361: checking build system type
configure:2375: result: i686-pc-linux-gnu
configure:2395: checking host system type
configure:2408: result: i686-pc-linux-gnu
configure:2445: checking for a BSD-compatible install
configure:2513: result: /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c
configure:2524: checking whether build environment is sane
configure:2579: result: yes
configure:2730: checking for a thread-safe mkdir -p
configure:2769: result: /bin/mkdir -p
configure:2776: checking for gawk
configure:2792: found /usr/bin/gawk
configure:2803: result: gawk
configure:2814: checking whether make sets $(MAKE)
configure:2836: result: yes
configure:2865: checking whether make supports nested variables
configure:2882: result: yes
configure:3019: checking whether make supports nested variables
configure:3036: result: yes
configure:3060: checking for style of include used by make
configure:3088: result: GNU
configure:3119: checking for i686-pc-linux-gnu-gcc
configure:3146: result: x86_64-pc-linux-gnu-gcc -m32
configure:3415: checking for C compiler version
configure:3424: x86_64-pc-linux-gnu-gcc -m32 --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 7.3.0-r3 p1.4) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3435: $? = 0
configure:3424: x86_64-pc-linux-gnu-gcc -m32 -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 7.3.0-r3 p1.4' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4)
configure:3435: $? = 0
configure:3424: x86_64-pc-linux-gnu-gcc -m32 -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3435: $? = 1
configure:3424: x86_64-pc-linux-gnu-gcc -m32 -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3435: $? = 1
configure:3455: checking whether the C compiler works
configure:3477: x86_64-pc-linux-gnu-gcc -m32 -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3481: $? = 0
configure:3529: result: yes
configure:3532: checking for C compiler default output file name
configure:3534: result: a.out
configure:3540: checking for suffix of executables
configure:3547: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3551: $? = 0
configure:3573: result:
configure:3595: checking whether we are cross compiling
configure:3603: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3607: $? = 0
configure:3614: ./conftest
configure:3618: $? = 0
configure:3633: result: no
configure:3638: checking for suffix of object files
configure:3660: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:3664: $? = 0
configure:3685: result: o
configure:3689: checking whether we are using the GNU C compiler
configure:3708: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:3708: $? = 0
configure:3717: result: yes
configure:3726: checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g
configure:3746: x86_64-pc-linux-gnu-gcc -m32 -c -g  conftest.c >&5
configure:3746: $? = 0
configure:3787: result: yes
configure:3804: checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89
configure:3867: x86_64-pc-linux-gnu-gcc -m32  -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:3867: $? = 0
configure:3880: result: none needed
configure:3905: checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together
configure:3927: x86_64-pc-linux-gnu-gcc -m32 -c conftest.c -o conftest2.o
configure:3930: $? = 0
configure:3927: x86_64-pc-linux-gnu-gcc -m32 -c conftest.c -o conftest2.o
configure:3930: $? = 0
configure:3942: result: yes
configure:3961: checking dependency style of x86_64-pc-linux-gnu-gcc -m32
configure:4072: result: none
configure:4093: checking how to run the C preprocessor
configure:4124: x86_64-pc-linux-gnu-gcc -m32 -E  conftest.c
configure:4124: $? = 0
configure:4138: x86_64-pc-linux-gnu-gcc -m32 -E  conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4138: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "imlib2"
| #define PACKAGE_TARNAME "imlib2"
| #define PACKAGE_VERSION "1.5.1"
| #define PACKAGE_STRING "imlib2 1.5.1"
| #define PACKAGE_BUGREPORT "enlightenment-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "imlib2"
| #define VERSION "1.5.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4163: result: x86_64-pc-linux-gnu-gcc -m32 -E
configure:4183: x86_64-pc-linux-gnu-gcc -m32 -E  conftest.c
configure:4183: $? = 0
configure:4197: x86_64-pc-linux-gnu-gcc -m32 -E  conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4197: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "imlib2"
| #define PACKAGE_TARNAME "imlib2"
| #define PACKAGE_VERSION "1.5.1"
| #define PACKAGE_STRING "imlib2 1.5.1"
| #define PACKAGE_BUGREPORT "enlightenment-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "imlib2"
| #define VERSION "1.5.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4226: checking for grep that handles long lines and -e
configure:4284: result: /bin/grep
configure:4289: checking for egrep
configure:4351: result: /bin/grep -E
configure:4356: checking for ANSI C header files
configure:4376: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4376: $? = 0
configure:4449: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:4449: $? = 0
configure:4449: ./conftest
configure:4449: $? = 0
configure:4460: result: yes
configure:4473: checking for sys/types.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for sys/stat.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for stdlib.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for string.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for memory.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for strings.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for inttypes.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for stdint.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4473: checking for unistd.h
configure:4473: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4473: $? = 0
configure:4473: result: yes
configure:4485: checking whether byte ordering is bigendian
configure:4500: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
conftest.c:22:9: error: unknown type name 'not'
         not a universal capable compiler
         ^~~
conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
         not a universal capable compiler
               ^~~~~~~~~
conftest.c:22:15: error: unknown type name 'universal'
configure:4500: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "imlib2"
| #define PACKAGE_TARNAME "imlib2"
| #define PACKAGE_VERSION "1.5.1"
| #define PACKAGE_STRING "imlib2 1.5.1"
| #define PACKAGE_BUGREPORT "enlightenment-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "imlib2"
| #define VERSION "1.5.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|              not a universal capable compiler
|            #endif
|            typedef int dummy;
|
configure:4545: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:4545: $? = 0
configure:4563: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
conftest.c: In function 'main':
conftest.c:28:4: error: unknown type name 'not'; did you mean 'ino_t'?
    not big endian
    ^~~
    ino_t
conftest.c:28:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
    not big endian
            ^~~~~~
configure:4563: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "imlib2"
| #define PACKAGE_TARNAME "imlib2"
| #define PACKAGE_VERSION "1.5.1"
| #define PACKAGE_STRING "imlib2 1.5.1"
| #define PACKAGE_BUGREPORT "enlightenment-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "imlib2"
| #define VERSION "1.5.1"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|               #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|                not big endian
|               #endif
|
|   ;
|   return 0;
| }
configure:4691: result: no
configure:4717: checking for i686-pc-linux-gnu-gcc
configure:4744: result: x86_64-pc-linux-gnu-gcc -m32
configure:5013: checking for C compiler version
configure:5022: x86_64-pc-linux-gnu-gcc -m32 --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 7.3.0-r3 p1.4) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:5033: $? = 0
configure:5022: x86_64-pc-linux-gnu-gcc -m32 -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/7.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/7.3.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 7.3.0-r3 p1.4' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4)
configure:5033: $? = 0
configure:5022: x86_64-pc-linux-gnu-gcc -m32 -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:5033: $? = 1
configure:5022: x86_64-pc-linux-gnu-gcc -m32 -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:5033: $? = 1
configure:5037: checking whether we are using the GNU C compiler
configure:5065: result: yes
configure:5074: checking whether x86_64-pc-linux-gnu-gcc -m32 accepts -g
configure:5135: result: yes
configure:5152: checking for x86_64-pc-linux-gnu-gcc -m32 option to accept ISO C89
configure:5228: result: none needed
configure:5253: checking whether x86_64-pc-linux-gnu-gcc -m32 understands -c and -o together
configure:5290: result: yes
configure:5309: checking dependency style of x86_64-pc-linux-gnu-gcc -m32
configure:5420: result: none
configure:5444: checking dependency style of x86_64-pc-linux-gnu-gcc -m32
configure:5553: result: none
configure:5569: checking for ANSI C header files
configure:5673: result: yes
configure:5681: checking for an ANSI C-conforming const
configure:5747: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:5747: $? = 0
configure:5754: result: yes
configure:5809: checking how to print strings
configure:5836: result: printf
configure:5857: checking for a sed that does not truncate output
configure:5921: result: /bin/sed
configure:5939: checking for fgrep
configure:6001: result: /bin/grep -F
configure:6036: checking for ld used by x86_64-pc-linux-gnu-gcc -m32
configure:6103: result: x86_64-pc-linux-gnu-ld -m elf_i386
configure:6110: checking if the linker (x86_64-pc-linux-gnu-ld -m elf_i386) is GNU ld
configure:6125: result: yes
configure:6137: checking for BSD- or MS-compatible name lister (nm)
configure:6191: result: /usr/bin/i686-pc-linux-gnu-nm -B
configure:6321: checking the name lister (/usr/bin/i686-pc-linux-gnu-nm -B) interface
configure:6328: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:6331: /usr/bin/i686-pc-linux-gnu-nm -B "conftest.o"
configure:6334: output
00000000 B some_variable
configure:6341: result: BSD nm
configure:6344: checking whether ln -s works
configure:6348: result: yes
configure:6356: checking the maximum length of command line arguments
configure:6487: result: 1572864
configure:6535: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
configure:6575: result: func_convert_file_noop
configure:6582: checking how to convert i686-pc-linux-gnu file names to toolchain format
configure:6602: result: func_convert_file_noop
configure:6609: checking for x86_64-pc-linux-gnu-ld -m elf_i386 option to reload object files
configure:6616: result: -r
configure:6650: checking for i686-pc-linux-gnu-objdump
configure:6666: found /usr/bin/i686-pc-linux-gnu-objdump
configure:6677: result: i686-pc-linux-gnu-objdump
configure:6749: checking how to recognize dependent libraries
configure:6949: result: pass_all
configure:6994: checking for i686-pc-linux-gnu-dlltool
configure:7024: result: no
configure:7034: checking for dlltool
configure:7064: result: no
configure:7094: checking how to associate runtime and link libraries
configure:7121: result: printf %s\n
configure:7137: checking for i686-pc-linux-gnu-ar
configure:7153: found /usr/bin/i686-pc-linux-gnu-ar
configure:7164: result: i686-pc-linux-gnu-ar
configure:7245: checking for archiver @FILE support
configure:7262: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:7262: $? = 0
configure:7265: i686-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5
configure:7268: $? = 0
configure:7273: i686-pc-linux-gnu-ar cru libconftest.a @conftest.lst >&5
i686-pc-linux-gnu-ar: conftest.o: No such file or directory
configure:7276: $? = 1
configure:7288: result: @
configure:7306: checking for i686-pc-linux-gnu-strip
configure:7322: found /usr/bin/i686-pc-linux-gnu-strip
configure:7333: result: i686-pc-linux-gnu-strip
configure:7405: checking for i686-pc-linux-gnu-ranlib
configure:7421: found /usr/bin/i686-pc-linux-gnu-ranlib
configure:7432: result: i686-pc-linux-gnu-ranlib
configure:7574: checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc -m32 object
configure:7727: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:7730: $? = 0
configure:7734: /usr/bin/i686-pc-linux-gnu-nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7737: $? = 0
configure:7803: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c conftstm.o >&5
configure:7806: $? = 0
configure:7844: result: ok
configure:7891: checking for sysroot
configure:7921: result: /
configure:7928: checking for a working dd
configure:7966: result: /bin/dd
configure:7970: checking how to truncate binary pipes
configure:7985: result: /bin/dd bs=4096 count=1
configure:8274: checking for i686-pc-linux-gnu-mt
configure:8304: result: no
configure:8314: checking for mt
configure:8344: result: no
configure:8364: checking if : is a manifest tool
configure:8370: : '-?'
configure:8378: result: no
configure:9052: checking for dlfcn.h
configure:9052: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:9052: $? = 0
configure:9052: result: yes
configure:9308: checking for objdir
configure:9323: result: .libs
configure:9587: checking if x86_64-pc-linux-gnu-gcc -m32 supports -fno-rtti -fno-exceptions
configure:9605: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:9609: $? = 0
configure:9622: result: no
configure:9980: checking for x86_64-pc-linux-gnu-gcc -m32 option to produce PIC
configure:9987: result: -fPIC -DPIC
configure:9995: checking if x86_64-pc-linux-gnu-gcc -m32 PIC flag -fPIC -DPIC works
configure:10013: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  -fPIC -DPIC -DPIC conftest.c >&5
configure:10017: $? = 0
configure:10030: result: yes
configure:10059: checking if x86_64-pc-linux-gnu-gcc -m32 static flag -static works
configure:10087: result: yes
configure:10102: checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o
configure:10123: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  -o out/conftest2.o conftest.c >&5
configure:10127: $? = 0
configure:10149: result: yes
configure:10157: checking if x86_64-pc-linux-gnu-gcc -m32 supports -c -o file.o
configure:10204: result: yes
configure:10237: checking whether the x86_64-pc-linux-gnu-gcc -m32 linker (x86_64-pc-linux-gnu-ld -m elf_i386) supports shared libraries
configure:11496: result: yes
configure:11533: checking whether -lc should be explicitly linked in
configure:11541: x86_64-pc-linux-gnu-gcc -m32 -c -march=corei7-avx -O2 -pipe  conftest.c >&5
configure:11544: $? = 0
configure:11559: x86_64-pc-linux-gnu-gcc -m32 -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
configure:11562: $? = 0
configure:11576: result: no
configure:11736: checking dynamic linker characteristics
configure:12317: x86_64-pc-linux-gnu-gcc -m32 -o conftest -march=corei7-avx -O2 -pipe  -Wl,-O1 -Wl,--as-needed -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:12317: $? = 0
configure:12557: result: GNU/Linux ld.so
configure:12679: checking how to hardcode library paths into programs
configure:12704: result: immediate
configure:13252: checking whether stripping libraries is possible
configure:13257: result: yes
configure:13292: checking if libtool supports shared libraries
configure:13294: result: yes
configure:13297: checking whether to build shared libraries
configure:13322: result: yes
configure:13325: checking whether to build static libraries
configure:13329: result: no
configure:13384: checking for i686-pc-linux-gnu-pkg-config
configure:13402: found /usr/bin/i686-pc-linux-gnu-pkg-config
configure:13414: result: /usr/bin/i686-pc-linux-gnu-pkg-config
configure:13482: checking pkg-config is at least version 0.9.0
configure:13485: result: yes
configure:13537: checking whether to enable x86 mmx support
configure:13544: result: no
configure:13555: checking whether to enable amd64 asm support
configure:13562: result: no
configure:13576: checking for FREETYPE
configure:13583: $PKG_CONFIG --exists --print-errors "freetype2"
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
configure:13586: $? = 1
configure:13600: $PKG_CONFIG --exists --print-errors "freetype2"
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
configure:13603: $? = 1
configure:13617: result: no
No package 'freetype2' found
configure:13633: error: Package requirements (freetype2) were not met:

No package 'freetype2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='x86_64-pc-linux-gnu-gcc -m32'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=corei7-avx -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=set
ac_cv_env_PKG_CONFIG_LIBDIR_value=/usr/lib32/pkgconfig
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/share/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PNG_CFLAGS_set=
ac_cv_env_PNG_CFLAGS_value=
ac_cv_env_PNG_LIBS_set=
ac_cv_env_PNG_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_X_SHM_FD_CFLAGS_set=
ac_cv_env_X_SHM_FD_CFLAGS_value=
ac_cv_env_X_SHM_FD_LIBS_set=
ac_cv_env_X_SHM_FD_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_PKG_CONFIG=/usr/bin/i686-pc-linux-gnu-pkg-config
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AR=i686-pc-linux-gnu-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='x86_64-pc-linux-gnu-gcc -m32'
ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -m32 -E'
ac_cv_prog_OBJDUMP=i686-pc-linux-gnu-objdump
ac_cv_prog_RANLIB=i686-pc-linux-gnu-ranlib
ac_cv_prog_STRIP=i686-pc-linux-gnu-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CCAS_dependencies_compiler_type=none
am_cv_CC_dependencies_compiler_type=none
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD='x86_64-pc-linux-gnu-ld -m elf_i386'
lt_cv_path_NM='/usr/bin/i686-pc-linux-gnu-nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/missing aclocal-1.15'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='i686-pc-linux-gnu-ar'
AUTOCONF='${SHELL} /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/missing autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/missing autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/missing automake-1.15'
AWK='gawk'
BUILD_AMD64_FALSE=''
BUILD_AMD64_TRUE='#'
BUILD_BZ2_LOADER_FALSE=''
BUILD_BZ2_LOADER_TRUE=''
BUILD_GIF_LOADER_FALSE=''
BUILD_GIF_LOADER_TRUE=''
BUILD_ID3_LOADER_FALSE=''
BUILD_ID3_LOADER_TRUE=''
BUILD_JPEG_LOADER_FALSE=''
BUILD_JPEG_LOADER_TRUE=''
BUILD_MMX_FALSE=''
BUILD_MMX_TRUE='#'
BUILD_PNG_LOADER_FALSE=''
BUILD_PNG_LOADER_TRUE=''
BUILD_TIFF_LOADER_FALSE=''
BUILD_TIFF_LOADER_TRUE=''
BUILD_X11_FALSE=''
BUILD_X11_TRUE=''
BUILD_ZLIB_LOADER_FALSE=''
BUILD_ZLIB_LOADER_TRUE=''
BZ2LIBS=''
CC='x86_64-pc-linux-gnu-gcc -m32'
CCAS='x86_64-pc-linux-gnu-gcc -m32'
CCASDEPMODE='depmode=none'
CCASFLAGS='-march=corei7-avx -O2 -pipe'
CCDEPMODE='depmode=none'
CFLAGS='-march=corei7-avx -O2 -pipe'
CFLAGS_VISIBILITY=''
CFLAGS_WARNINGS=''
CPP='x86_64-pc-linux-gnu-gcc -m32 -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DLOPEN_LIBS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
FREETYPE_CFLAGS=''
FREETYPE_LIBS=''
GIFLIBS=''
GREP='/bin/grep'
HAVE_VISIBILITY=''
ID3LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JPEGLIBS=''
LD='x86_64-pc-linux-gnu-ld -m elf_i386'
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/usr/bin/i686-pc-linux-gnu-nm -B'
NMEDIT=''
OBJDUMP='i686-pc-linux-gnu-objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='imlib2'
PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
PACKAGE_NAME='imlib2'
PACKAGE_STRING='imlib2 1.5.1'
PACKAGE_TARNAME='imlib2'
PACKAGE_URL=''
PACKAGE_VERSION='1.5.1'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/i686-pc-linux-gnu-pkg-config'
PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
PKG_CONFIG_PATH='/usr/share/pkgconfig'
PNG_CFLAGS=''
PNG_LIBS=''
RANLIB='i686-pc-linux-gnu-ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='i686-pc-linux-gnu-strip'
TIFFLIBS=''
VERSION='1.5.1'
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
X_SHM_FD_CFLAGS=''
X_SHM_FD_LIBS=''
ZLIBLIBS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/imlib2-1.5.1-r1'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='/usr/share/doc/imlib2-1.5.1-r1/html'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1/install-sh'
libdir='/usr/lib32'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
lt_version='6:1:5'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "imlib2"
#define PACKAGE_TARNAME "imlib2"
#define PACKAGE_VERSION "1.5.1"
#define PACKAGE_STRING "imlib2 1.5.1"
#define PACKAGE_BUGREPORT "enlightenment-devel@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "imlib2"
#define VERSION "1.5.1"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 1
tail: '/var/tmp/portage/media-libs/imlib2-1.5.1-r1/work/imlib2-1.5.1-abi_x86_32.x86/config.log' has become inaccessible: No such file or directory

_________________
/Ivar
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sun Nov 18, 2018 12:49 pm    Post subject: Reply with quote

Why In the blue hell does it use the cross-compilers pkg-config ??
_________________
/Ivar
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30913
Location: here

PostPosted: Sun Nov 18, 2018 12:58 pm    Post subject: Reply with quote

What is the output of emerge -pvq dev-util/pkgconfig?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sun Nov 18, 2018 1:22 pm    Post subject: Reply with quote

fedeliallalinea wrote:
What is the output of emerge -pvq dev-util/pkgconfig?


Code:
i5 ~ # emerge -pvq dev-util/pkgconfig
[ebuild   R   ] dev-util/pkgconfig-0.29.2  USE="-hardened -internal-glib" ABI_X86="32 (64) (-x32)"

_________________
/Ivar
Back to top
View user's profile Send private message
Ivar
n00b
n00b


Joined: 21 May 2003
Posts: 42
Location: Mullsjö, Jönköping, Sweden

PostPosted: Sun Nov 18, 2018 1:35 pm    Post subject: Reply with quote

Managed to work around the problem with a:

Code:
declare -x PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig
declare -x PKG_CONFIG=/usr/bin/pkg-config
emerge  --verbose media-libs/imlib2


So the immediate problem is solved, would still be nice to figure out what caused it though.

Thank you for pointing me in the right direction, now I'm uptodate again!
_________________
/Ivar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum