Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Xorg can't be compiled
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chris_on_linux
n00b
n00b


Joined: 24 Sep 2023
Posts: 2
Location: Greece

PostPosted: Sun Sep 24, 2023 4:27 pm    Post subject: [SOLVED]Xorg can't be compiled Reply with quote

Hello everyone,

This is my first time installing Gentoo and I don't have much experience. I can't believe I managed to successfully install it! Anyways, I want to install the LXDE desktop environment which requires X. When run the command "emerge --verbose x11-base/xorg-drivers", it errors out. Here is the output of the command:
Code:
setlocale: unsupported locale setting
setlocale: unsupported locale setting

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

Calculating dependencies... done!
Dependency resolution took 1.84 s.

[ebuild  N     ] x11-libs/libxkbfile-1.1.2::gentoo  ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] x11-apps/iceauth-1.0.9::gentoo  0 KiB
[ebuild  N     ] x11-apps/rgb-1.1.0::gentoo  0 KiB
[ebuild  N     ] x11-libs/libXfont2-2.0.6::gentoo  USE="bzip2 truetype -doc" 0 KiB
[ebuild  N     ] x11-misc/xbitmaps-1.1.3::gentoo  0 KiB
[ebuild  N     ] x11-libs/libxcvt-0.1.2::gentoo  0 KiB
[ebuild  N     ] x11-apps/xrdb-1.2.2::gentoo  0 KiB
[ebuild  N     ] x11-apps/xkbcomp-1.4.6::gentoo  0 KiB
[ebuild  N     ] x11-apps/xinit-1.4.2::gentoo  USE="-twm" 0 KiB
[ebuild  N     ] x11-base/xorg-server-21.1.8-r2:0/21.1.8::gentoo  USE="elogind udev xorg -debug -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr -xnest -xvfb" 0 KiB
[ebuild  N     ] x11-base/xorg-drivers-21.1-r2::gentoo  INPUT_DEVICES="libinput -elographics -evdev -joystick -synaptics -vmmouse -void -wacom" VIDEO_CARDS="radeon -amdgpu -ast -dummy -fbdev (-freedreno) (-geode) -i915 -intel -mga -nouveau -nvidia (-omap) -qxl -r128 -radeonsi -siliconmotion (-tegra) (-vc4) -vesa -via -virtualbox -vmware" 0 KiB
[ebuild  N     ] x11-drivers/xf86-input-libinput-1.3.0::gentoo  0 KiB
[ebuild  N     ] x11-drivers/xf86-video-ati-22.0.0::gentoo  USE="udev" 0 KiB

Total: 13 packages (13 new), Size of downloads: 0 KiB

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

chris@gentoo ~ $ sudo emerge --verbose x11-base/xorg-drivers
setlocale: unsupported locale setting
setlocale: unsupported locale setting

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
Dependency resolution took 1.80 s.

[ebuild  N     ] x11-libs/libxkbfile-1.1.2::gentoo  ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] x11-apps/iceauth-1.0.9::gentoo  0 KiB
[ebuild  N     ] x11-apps/rgb-1.1.0::gentoo  0 KiB
[ebuild  N     ] x11-libs/libXfont2-2.0.6::gentoo  USE="bzip2 truetype -doc" 0 KiB
[ebuild  N     ] x11-misc/xbitmaps-1.1.3::gentoo  0 KiB
[ebuild  N     ] x11-libs/libxcvt-0.1.2::gentoo  0 KiB
[ebuild  N     ] x11-apps/xrdb-1.2.2::gentoo  0 KiB
[ebuild  N     ] x11-apps/xkbcomp-1.4.6::gentoo  0 KiB
[ebuild  N     ] x11-apps/xinit-1.4.2::gentoo  USE="-twm" 0 KiB
[ebuild  N     ] x11-base/xorg-server-21.1.8-r2:0/21.1.8::gentoo  USE="elogind udev xorg -debug -minimal (-selinux) -suid -systemd -test -unwind -xcsecurity -xephyr -xnest -xvfb" 0 KiB
[ebuild  N     ] x11-base/xorg-drivers-21.1-r2::gentoo  INPUT_DEVICES="libinput -elographics -evdev -joystick -synaptics -vmmouse -void -wacom" VIDEO_CARDS="radeon -amdgpu -ast -dummy -fbdev (-freedreno) (-geode) -i915 -intel -mga -nouveau -nvidia (-omap) -qxl -r128 -radeonsi -siliconmotion (-tegra) (-vc4) -vesa -via -virtualbox -vmware" 0 KiB
[ebuild  N     ] x11-drivers/xf86-input-libinput-1.3.0::gentoo  0 KiB
[ebuild  N     ] x11-drivers/xf86-video-ati-22.0.0::gentoo  USE="udev" 0 KiB

Total: 13 packages (13 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Running pre-merge checks for x11-drivers/xf86-input-libinput-1.3.0
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.1.53-gentoo-dist
 * Checking for suitable kernel configuration options ...                                                                                                                                                                            [ ok ]

>>> Running pre-merge checks for x11-drivers/xf86-video-ati-22.0.0
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.1.53-gentoo-dist
 * Checking for suitable kernel configuration options ...                                                                                                                                                                            [ ok ]

>>> Emerging (1 of 13) x11-libs/libxkbfile-1.1.2::gentoo
 * libxkbfile-1.1.2.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                               [ ok ]
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)
>>> Unpacking source...
>>> Unpacking libxkbfile-1.1.2.tar.xz to /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)
>>> Preparing source in /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2 ...
 * Running elibtoolize in: libxkbfile-1.1.2/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 *   Applying werror/2.4.7 patch ...
>>> Source prepared.
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)
>>> Configuring source in /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating libxkbfile-1.1.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libxkbfile-1.1.2/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/libxkbfile-1.1.2 --htmldir=/usr/share/doc/libxkbfile-1.1.2/html --with-sysroot=/ --libdir=/usr/lib64 --disable-dependency-tracking --disable-selective-werror --disable-static
checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64/config.log
 * ERROR: x11-libs/libxkbfile-1.1.2::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2523:  Called xorg-3_src_configure
 *             environment, line 3543:  Called multilib-minimal_src_configure
 *             environment, line 1864:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2114:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1819:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1817:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  535:  Called multilib-minimal_abi_src_configure
 *             environment, line 1858:  Called multilib_src_configure
 *             environment, line 2338:  Called econf '--disable-dependency-tracking' '--disable-selective-werror' '--disable-static'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libxkbfile-1.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libxkbfile-1.1.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2'
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)

>>> Failed to emerge x11-libs/libxkbfile-1.1.2, Log file:

>>>  '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/build.log'

 * Messages for package x11-libs/libxkbfile-1.1.2:

 * ERROR: x11-libs/libxkbfile-1.1.2::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2523:  Called xorg-3_src_configure
 *             environment, line 3543:  Called multilib-minimal_src_configure
 *             environment, line 1864:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 2114:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1819:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 1817:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  535:  Called multilib-minimal_abi_src_configure
 *             environment, line 1858:  Called multilib_src_configure
 *             environment, line 2338:  Called econf '--disable-dependency-tracking' '--disable-selective-werror' '--disable-static'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libxkbfile-1.1.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libxkbfile-1.1.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64'
 * S: '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2'

Here is the config.log file:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libxkbfile configure 1.1.2, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/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=/et>

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

hostname = localhost
uname -m = x86_64
uname -r = 6.1.53-gentoo-dist
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Sat Sep 16 03:39:58 -00 2023

/usr/bin/uname -p = Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
/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/python3.11/ebuild-helpers/xattr/
PATH: /usr/lib/portage/python3.11/ebuild-helpers/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /bin/
PATH: /opt/bin/
PATH: /usr/lib/llvm/16/bin/


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

configure:2455: looking for aux files: compile config.guess config.sub ltmain.sh missing install-sh
configure:2468:  trying /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/
configure:2497:   /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/compile found
configure:2497:   /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/config.guess found
configure:2497:   /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/config.sub found
configure:2497:   /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/ltmain.sh found
configure:2497:   /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing found
configure:2479:   /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/install-sh found
configure:2631: checking for a BSD-compatible install
configure:2704: result: /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
configure:2715: checking whether build environment is sane
configure:2770: result: yes
configure:2929: checking for a race-free mkdir -p
configure:2973: result: /bin/mkdir -p
configure:2980: checking for gawk
configure:3001: found /usr/bin/gawk
configure:3012: result: gawk
configure:3023: checking whether make sets $(MAKE)
configure:3046: result: yes
configure:3076: checking whether make supports nested variables
configure:3094: result: yes
configure:3264: checking build system type
configure:3279: result: x86_64-pc-linux-gnu
configure:3299: checking host system type
configure:3313: result: x86_64-pc-linux-gnu
configure:3354: checking how to print strings
configure:3381: result: printf
configure:3415: checking whether make supports the include directive
configure:3430: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3433: $? = 0
configure:3452: result: yes (GNU style)
configure:3483: checking for x86_64-pc-linux-gnu-gcc
configure:3504: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:3515: result: x86_64-pc-linux-gnu-gcc
configure:3913: checking for C compiler version
configure:3922: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526
Copyright (C) 2022 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:3933: $? = 0
configure:3922: x86_64-pc-linux-gnu-gcc -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/12/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-12.3.1_p20230526/work/gcc-12-20230526/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12 --includedir=/usr/lib/gcc>
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 12.3.1 20230526 (Gentoo 12.3.1_p20230526 p2)
configure:3933: $? = 0
configure:3922: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-V'
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:3933: $? = 1
configure:3922: x86_64-pc-linux-gnu-gcc -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:3933: $? = 1
configure:3922: x86_64-pc-linux-gnu-gcc -version >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-version'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3933: $? = 1
configure:3953: checking whether the C compiler works
configure:3975: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe X  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find X: No such file or directory
collect2: error: ld returned 1 exit status
configure:3979: $? = 1
configure:4019: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libxkbfile"
| #define PACKAGE_TARNAME "libxkbfile"
| #define PACKAGE_VERSION "1.1.2"
| #define PACKAGE_STRING "libxkbfile 1.1.2"
| #define PACKAGE_BUGREPORT "https://gitlab.freedesktop.org/xorg/lib/libxkbfile/-/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libxkbfile"
| #define VERSION "1.1.2"
| /* end confdefs.h.  */
|
| int
| main (void)
| {
|
|   ;
|   return 0;
| }
configure:4024: error: in `/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64':
configure:4026: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_undeclared_builtin_options='none needed'
ac_cv_env_CC_set=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe X'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_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=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XKBFILE_CFLAGS_set=
ac_cv_env_XKBFILE_CFLAGS_value=
ac_cv_env_XKBFILE_LIBS_set=
ac_cv_env_XKBFILE_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
gl_cv_compiler_check_decl_option=-Werror=implicit-function-declaration

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

ACLOCAL='${SHELL} '\''/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing'\'' aclocal-1.16'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe X'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_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=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XKBFILE_CFLAGS_set=
ac_cv_env_XKBFILE_CFLAGS_value=
ac_cv_env_XKBFILE_LIBS_set=
ac_cv_env_XKBFILE_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
gl_cv_compiler_check_decl_option=-Werror=implicit-function-declaration

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

ACLOCAL='${SHELL} '\''/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing'\'' aclocal-1.16'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AR=''
AUTOCONF='${SHELL} '\''/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing'\'' automake-1.16'
AWK='gawk'
BASE_CFLAGS=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -O2 -pipe X'
CHANGELOG_CMD=''
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CWARNFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DRIVER_MAN_DIR=''
DRIVER_MAN_SUFFIX=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS='etags'
EXEEXT=''
FGREP=''
FILECMD=''
FILE_MAN_DIR=''
FILE_MAN_SUFFIX=''
GREP=''
INSTALL_CMD=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} '\''/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/missing'\'' makeinfo'
MANIFEST_TOOL=''
MAN_SUBSTS=''
MISC_MAN_DIR=''
MISC_MAN_SUFFIX=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libxkbfile'
PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxkbfile/-/issues'
PACKAGE_NAME='libxkbfile'
PACKAGE_STRING='libxkbfile 1.1.2'
PACKAGE_TARNAME='libxkbfile'
PACKAGE_URL=''
PACKAGE_VERSION='1.1.2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRICT_CFLAGS=''
STRIP=''
VERSION='1.1.2'
XKBFILE_CFLAGS=''
XKBFILE_LIBS=''
XORG_MAN_PAGE=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_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='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='/usr/share'
docdir='/usr/share/doc/libxkbfile-1.1.2'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='/usr/share/doc/libxkbfile-1.1.2/html'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "libxkbfile"
#define PACKAGE_TARNAME "libxkbfile"
#define PACKAGE_VERSION "1.1.2"
#define PACKAGE_STRING "libxkbfile 1.1.2"
#define PACKAGE_BUGREPORT "https://gitlab.freedesktop.org/xorg/lib/libxkbfile/-/issues"
#define PACKAGE_URL ""
#define PACKAGE "libxkbfile"
#define VERSION "1.1.2"

configure: exit 77


Here is the output of "sudo emerge --info '=x11-libs/libxkbfile-1.1.2::gentoo'":
Code:
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 3.0.49 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.37-r3, 6.1.53-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.53-gentoo-dist-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-glibc2.37
KiB Mem:     3961856 total,   3063608 free
KiB Swap:    4207612 total,   4207612 free
Timestamp of repository gentoo: Sat, 23 Sep 2023 00:45:01 +0000
Head commit of repository gentoo: 02f1e6615080f02ed3e9ae4f95befe56c5ebb0cc
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.5::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe X"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe X"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe X"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe X"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 avx pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



Here is the output of "emerge -pqv '=x11-libs/libxkbfile-1.1.2::gentoo'" :
Code:
setlocale: unsupported locale setting
setlocale: unsupported locale setting
[ebuild  N    ] x11-libs/libxkbfile-1.1.2  ABI_X86="(64) -32 (-x32)"

 * IMPORTANT: 14 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


And the build.log file:
Code:
^[[32m * ^[[39;49;00mPackage:    x11-libs/libxkbfile-1.1.2:0
^[[32m * ^[[39;49;00mRepository: gentoo
^[[32m * ^[[39;49;00mMaintainer: x11@gentoo.org
^[[32m * ^[[39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux
^[[32m * ^[[39;49;00mFEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)
>>> Unpacking source...
>>> Unpacking libxkbfile-1.1.2.tar.xz to /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)
>>> Preparing source in /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2 ...
 ^[(B^[[m^[[1m^[[32m*^[(B^[[m Running elibtoolize in: libxkbfile-1.1.2/
 ^[(B^[[m^[[1m^[[32m*^[(B^[[m   Applying portage/1.2.0 patch ...
 ^[(B^[[m^[[1m^[[32m*^[(B^[[m   Applying sed/1.5.6 patch ...
 ^[(B^[[m^[[1m^[[32m*^[(B^[[m   Applying as-needed/2.4.3 patch ...
 ^[(B^[[m^[[1m^[[32m*^[(B^[[m   Applying werror/2.4.7 patch ...
>>> Source prepared.
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)
>>> Configuring source in /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2 ...
 ^[[32m*^[[0m abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 * econf: updating libxkbfile-1.1.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libxkbfile-1.1.2/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2/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 -->
checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64/config.log
 ^[[31;01m*^[[0m ERROR: x11-libs/libxkbfile-1.1.2::gentoo failed (configure phase):
 ^[[31;01m*^[[0m   econf failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m               ebuild.sh, line  136:  Called src_configure
 ^[[31;01m*^[[0m             environment, line 2523:  Called xorg-3_src_configure
 ^[[31;01m*^[[0m             environment, line 3543:  Called multilib-minimal_src_configure
 ^[[31;01m*^[[0m             environment, line 1864:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m             environment, line 2114:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m             environment, line 1819:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m             environment, line 1817:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 ^[[31;01m*^[[0m             environment, line  535:  Called multilib-minimal_abi_src_configure
 ^[[31;01m*^[[0m             environment, line 1858:  Called multilib_src_configure
 ^[[31;01m*^[[0m             environment, line 2338:  Called econf '--disable-dependency-tracking' '--disable-selective-werror' '--disable-static'
 ^[[31;01m*^[[0m        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 ^[[31;01m*^[[0m   isolated-functions.sh, line  112:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                die "$@"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=x11-libs/libxkbfile-1.1.2::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=x11-libs/libxkbfile-1.1.2::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2-abi_x86_64.amd64'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/x11-libs/libxkbfile-1.1.2/work/libxkbfile-1.1.2'
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 96: warning: setlocale: LC_NUMERIC: cannot change locale (el_GR.UTF-8)
/var/tmp/portage/x11-libs/libxkbfile-1.1.2/temp/environment: line 99: warning: setlocale: LC_TIME: cannot change locale (el_GR.UTF-8)

I think these are enought logs and outputs. This looks like total gibberish to me, and I would really appreciate some help!

Thanks a lot,
Chris
_________________
Just installed Gentoo and I think I am getting addicted!


Last edited by chris_on_linux on Sun Sep 24, 2023 5:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
Torpus
Apprentice
Apprentice


Joined: 20 Aug 2023
Posts: 184

PostPosted: Sun Sep 24, 2023 4:53 pm    Post subject: Reply with quote

chris_on_linux,

Welcome to Gentoo Forums !

Something's wrong in your make.conf:

Code:
CFLAGS="-march=native -O2 -pipe X"


CFLAGS should only have ${COMMON_FLAGS} (with quote marks) and what you put there is actually for COMMON_FLAGS which I don't see it's there.

Also you added "X" there. I don't think it should be put like that.

Just use a text editor and remove the CFLAGS line. Put instead:

Code:
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"


Save it and emerge X normally.
_________________
Illegitimi non carborundum.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54305
Location: 56N 3W

PostPosted: Sun Sep 24, 2023 5:13 pm    Post subject: Reply with quote

chris_on_linux,

Code:
configure:3953: checking whether the C compiler works
configure:3975: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe X  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find X: No such file or directory


That X should not be there.

Its in both
Code:
CFLAGS="-march=native -O2 -pipe X"
and
Code:
CXXFLAGS="-march=native -O2 -pipe X"

Hunt it/them down.

Code:
emerge --info
does all the substitution, so it my just be a typo in COMMON_FLAGS in make.conf
Like Ctrl-X to exit nano but without the press of Ctrl. Been there, done that :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
chris_on_linux
n00b
n00b


Joined: 24 Sep 2023
Posts: 2
Location: Greece

PostPosted: Sun Sep 24, 2023 5:20 pm    Post subject: Reply with quote

Thank you so much! I removed that X from my make.conf and Xorg compiles normally now! :D
_________________
Just installed Gentoo and I think I am getting addicted!
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1685

PostPosted: Sun Sep 24, 2023 5:24 pm    Post subject: Reply with quote

Also, fix those locale issues with eselect locale
If the expected locale is missing, then edit /etc/locale.gen and then run locale-gen

Code:
LANG="en_US"
Generally, you want the utf8 variant LANG="en_US.utf8"
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4243
Location: Bavaria

PostPosted: Sun Sep 24, 2023 6:39 pm    Post subject: Reply with quote

Torpus wrote:
Welcome to Gentoo Forums !

Something's wrong in your make.conf:[...]

Torpus,

very good job ! You have been even faster than Neddy ... :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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