Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]cannot emerge x11-base/xorg-drivers
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
philipW
n00b
n00b


Joined: 06 Apr 2017
Posts: 43
Location: Netherlands

PostPosted: Wed Oct 11, 2017 10:06 am    Post subject: [SOLVED]cannot emerge x11-base/xorg-drivers Reply with quote

Hello,

I am trying to install xorg.
I prepered my kernel like the guide told me exept for the noveau driver i made it a module instead of builded in because i maybe want to switch to nvidia if xorg performance is bad. i put noveau in /etc/conf.d/modules.
When i tried to emerge --ask --verbose x11-base/xorg-drivers i got an error.
Code:
ERROR: dev-util/re2c-0.16::gentoo failed (configure phase):

and
Code:
Failed to emerge dev-util/re2c-0.16

this is the full output:
Code:
setlocale: unsupported locale setting
setlocale: unsupported locale setting

 * IMPORTANT: 9 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!
[ebuild  N     ] dev-util/re2c-0.16::gentoo  0 KiB
[ebuild  N     ] dev-libs/lzo-2.09:2::gentoo  USE="-examples -static-libs" 581 KiB
[ebuild  N     ] media-fonts/liberation-fonts-2.00.1-r1::gentoo  USE="-X -fontforge" 2233 KiB
[ebuild  N     ] virtual/ttf-fonts-1-r1::gentoo  0 KiB
[ebuild  N     ] dev-libs/gobject-introspection-common-1.50.0::gentoo  1383 KiB
[ebuild  N     ] dev-libs/vala-common-0.34.8::gentoo  2714 KiB
[ebuild  N     ] media-libs/libpng-1.6.29:0/16::gentoo  USE="-apng (-neon) -static-libs" CPU_FLAGS_X86="sse" 965 KiB
[ebuild  N     ] dev-libs/libbsd-0.8.6::gentoo  USE="-static-libs" 0 KiB
[ebuild  N     ] sys-libs/mtdev-1.1.5::gentoo  USE="-static-libs" 0 KiB
[ebuild  N     ] x11-themes/hicolor-icon-theme-0.15::gentoo  50 KiB
[ebuild  N     ] app-eselect/eselect-opengl-1.3.1-r4::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-mesa-0.0.10-r1::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-opencl-1.1.0-r1::gentoo  37 KiB
[ebuild  N     ] dev-util/ninja-1.7.2::gentoo  USE="-doc -emacs {-test} -vim-syntax -zsh-completion" 0 KiB
[ebuild  NS    ] app-text/docbook-xml-dtd-4.3-r1:4.3::gentoo [4.1.2-r6:4.1.2::gentoo] 82 KiB
[ebuild  NS    ] app-text/docbook-xml-dtd-4.4-r2:4.4::gentoo [4.1.2-r6:4.1.2::gentoo] 94 KiB
[ebuild  NS    ] app-text/docbook-xml-dtd-4.2-r2:4.2::gentoo [4.1.2-r6:4.1.2::gentoo] 77 KiB
[ebuild  N     ] app-text/xmlto-0.0.26-r1::gentoo  USE="-latex -text" 118 KiB
[ebuild  N     ] app-arch/libarchive-3.3.1:0/13::gentoo  USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -expat (-libressl) -lz4 -lzo -nettle -static-libs" 6075 KiB
[ebuild  N     ] virtual/linux-sources-3::gentoo  USE="-firmware" 0 KiB
[ebuild  N     ] sys-libs/binutils-libs-2.28.1:0/2.28.1::gentoo  USE="nls -64-bit-bfd -multitarget -static-libs" 27481 KiB
[ebuild  N     ] dev-libs/jansson-2.9::gentoo  USE="-doc -static-libs" 474 KiB
[ebuild  N     ] x11-proto/xproto-7.0.31::gentoo  USE="-doc" 0 KiB
[ebuild  N     ] x11-proto/xextproto-7.3.0::gentoo  USE="-doc" 0 KiB
[ebuild  N     ] dev-util/desktop-file-utils-0.23::gentoo  USE="-emacs" 129 KiB
[ebuild  N     ] x11-proto/inputproto-2.3.2::gentoo  0 KiB
[ebuild  N     ] x11-proto/kbproto-1.0.7::gentoo  0 KiB
[ebuild  N     ] x11-proto/renderproto-0.11.1-r1::gentoo  104 KiB
[ebuild  N     ] x11-libs/xtrans-1.3.5::gentoo  USE="-doc" 0 KiB
[ebuild  N     ] media-libs/freetype-2.8:2::gentoo  USE="adobe-cff bindist bzip2 cleartype_hinting -X -debug -doc -fontforge -harfbuzz -infinality -png -static-libs -utils" 1830 KiB
[ebuild  N     ] x11-proto/dri2proto-2.8-r1::gentoo  107 KiB
[ebuild  N     ] x11-proto/videoproto-2.3.3::gentoo  119 KiB
[ebuild  N     ] x11-proto/randrproto-1.5.0::gentoo  139 KiB
[ebuild  N     ] x11-proto/fontsproto-2.1.3::gentoo  USE="-doc" 0 KiB
[ebuild  N     ] x11-proto/xf86driproto-2.1.1-r1::gentoo  95 KiB
[ebuild  N     ] x11-proto/damageproto-1.2.1-r1::gentoo  97 KiB
[ebuild  N     ] x11-proto/xf86vidmodeproto-2.3.1-r1::gentoo  95 KiB
[ebuild  N     ] x11-proto/recordproto-1.14.2-r1::gentoo  USE="-doc" 121 KiB
[ebuild  N     ] x11-proto/glproto-1.4.17-r1::gentoo  124 KiB
[ebuild  N     ] x11-misc/util-macros-1.19.1::gentoo  82 KiB
[ebuild  N     ] x11-proto/xineramaproto-1.2.1-r1::gentoo  94 KiB
[ebuild  N     ] x11-libs/pixman-0.34.0::gentoo  USE="(-altivec) (-iwmmxt) (-loongson2f) (-neon) -static-libs" CPU_FLAGS_X86="sse2 -mmxext -ssse3" 723 KiB
[ebuild  N     ] x11-proto/compositeproto-0.4.2-r1::gentoo  99 KiB
[ebuild  N     ] x11-libs/libpciaccess-0.13.4::gentoo  USE="zlib -static-libs" 364 KiB
[ebuild  N     ] x11-proto/dri3proto-1.0::gentoo  103 KiB
[ebuild  N     ] x11-proto/presentproto-1.1::gentoo  114 KiB
[ebuild  N     ] media-fonts/font-util-1.3.1::gentoo  150 KiB
[ebuild  N     ] dev-libs/libpthread-stubs-0.4::gentoo  USE="-static-libs" 57 KiB
[ebuild  N     ] dev-libs/libevdev-1.5.7::gentoo  USE="-static-libs" 398 KiB
[ebuild  N     ] x11-proto/bigreqsproto-1.1.2::gentoo  USE="-doc" 111 KiB
[ebuild  N     ] x11-misc/xbitmaps-1.1.1-r1::gentoo  111 KiB
[ebuild  N     ] x11-proto/xf86rushproto-1.1.2-r1::gentoo  37 KiB
[ebuild  N     ] x11-proto/trapproto-3.4.3::gentoo  48 KiB
[ebuild  N     ] x11-proto/resourceproto-1.2.0::gentoo  101 KiB
[ebuild  N     ] x11-proto/xf86dgaproto-2.1-r2::gentoo  84 KiB
[ebuild  N     ] x11-proto/scrnsaverproto-1.2.2-r1::gentoo  USE="-doc" 117 KiB
[ebuild  N     ] x11-proto/xcmiscproto-1.2.2::gentoo  USE="-doc" 110 KiB
[ebuild  N     ] x11-misc/xkeyboard-config-2.20::gentoo  956 KiB
[ebuild  N     ] x11-proto/xf86bigfontproto-1.2.0-r1::gentoo  49 KiB
[ebuild  N     ] dev-libs/libuv-1.10.2:0/1::gentoo  USE="-static-libs" 1050 KiB
[ebuild  N     ] net-misc/curl-7.55.1::gentoo  USE="ipv6 ssl -adns -http2 -idn -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs {-test} -threads" CURL_SSL="openssl -axtls -gnutls (-libressl) -mbedtls -nss (-winssl)" 2722 KiB
[ebuild  N     ] sys-apps/dbus-1.10.18::gentoo  USE="-X -debug -doc (-elogind) (-selinux) -static-libs -systemd {-test} -user-session" 1941 KiB
[ebuild  N     ] x11-proto/xcb-proto-1.12-r2::gentoo  PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 151 KiB
[ebuild  N     ] dev-libs/gobject-introspection-1.50.0::gentoo  USE="-cairo -doctool {-test}" PYTHON_SINGLE_TARGET="python3_4 -python2_7 (-python3_5)" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 0 KiB
[ebuild  N     ] x11-libs/libdrm-2.4.80::gentoo  USE="-libkms -static-libs -valgrind" VIDEO_CARDS="nouveau -amdgpu (-exynos) (-freedreno) -intel (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" 754 KiB
[ebuild  N     ] x11-libs/libXau-1.0.8::gentoo  USE="-static-libs" 289 KiB
[ebuild  N     ] x11-libs/libICE-1.0.9-r1::gentoo  USE="ipv6 -doc -static-libs" 376 KiB
[ebuild  N     ] x11-libs/libxshmfence-1.2::gentoo  USE="-static-libs" 261 KiB
[ebuild  N     ] x11-proto/fixesproto-5.0-r1::gentoo  99 KiB
[ebuild  N     ] x11-libs/libXdmcp-1.1.2-r1::gentoo  USE="-doc -static-libs" 324 KiB
[ebuild  N     ] dev-util/cmake-3.7.2::gentoo  USE="ncurses -doc -emacs -qt5 -system-jsoncpp {-test}" 7190 KiB
[ebuild  N     ] x11-apps/rgb-1.0.6::gentoo  136 KiB
[ebuild  N     ] x11-libs/libfontenc-1.1.3::gentoo  USE="-static-libs" 295 KiB
[ebuild  N     ] dev-libs/libcroco-0.6.12-r1:0.6::gentoo  USE="{-test}" 471 KiB
[ebuild  N     ] x11-libs/libxcb-1.12-r2:0/1.12::gentoo  USE="-doc (-selinux) -static-libs {-test} -xkb" 600 KiB
[ebuild  N     ] dev-libs/atk-2.22.0::gentoo  USE="introspection nls {-test}" 729 KiB
[ebuild  N     ] x11-libs/libXfont2-2.0.1::gentoo  USE="bzip2 ipv6 -doc -static-libs -truetype" 462 KiB
[ebuild  N     ] x11-apps/iceauth-1.0.7::gentoo  133 KiB
[ebuild  N     ] sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo  USE="libffi ncurses sanitize static-analyzer -clang -debug -default-compiler-rt -default-libcxx -doc -gold -libedit (-lldb) -multitarget -ocaml -python {-test} -xml" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 17800 KiB
[ebuild  N     ] x11-libs/libSM-1.2.2-r1::gentoo  USE="ipv6 uuid -doc -static-libs" 341 KiB
[ebuild  N     ] gnome-base/gsettings-desktop-schemas-3.22.0::gentoo  USE="introspection" 585 KiB
[ebuild  N     ] media-gfx/graphite2-1.3.10::gentoo  USE="-perl {-test}" 3799 KiB
[ebuild  N     ] x11-libs/libX11-1.6.5::gentoo  USE="ipv6 -doc -static-libs {-test}" 2307 KiB
[ebuild  N     ] x11-themes/gnome-themes-standard-3.22.3::gentoo  2837 KiB
[ebuild  N     ] x11-libs/libXext-1.3.3::gentoo  USE="-doc -static-libs" 381 KiB
[ebuild  N     ] x11-libs/libXfixes-5.0.3::gentoo  USE="-static-libs" 288 KiB
[ebuild  N     ] x11-libs/libXrender-0.9.10::gentoo  USE="-static-libs" 302 KiB
[ebuild  N     ] x11-libs/gdk-pixbuf-2.36.9:2::gentoo  USE="X introspection -debug -jpeg -jpeg2k {-test} -tiff" 5634 KiB
[ebuild  N     ] x11-libs/libxkbfile-1.0.9::gentoo  USE="-static-libs" 340 KiB
[ebuild  N     ] x11-libs/libXt-1.1.5::gentoo  USE="-static-libs {-test}" 754 KiB
[ebuild  N     ] x11-libs/libXi-1.7.9::gentoo  USE="-doc -static-libs" 475 KiB
[ebuild  N     ] x11-libs/libXdamage-1.1.4-r1::gentoo  USE="-static-libs" 273 KiB
[ebuild  N     ] x11-libs/libXxf86vm-1.1.4::gentoo  USE="-static-libs" 289 KiB
[ebuild  N     ] x11-libs/libXmu-1.1.2::gentoo  USE="ipv6 -doc -static-libs" 387 KiB
[ebuild  N     ] x11-libs/libXrandr-1.5.1::gentoo  USE="-static-libs" 309 KiB
[ebuild  N     ] x11-apps/xkbcomp-1.4.0::gentoo  239 KiB
[ebuild  N     ] x11-libs/libXv-1.0.11::gentoo  USE="-static-libs" 311 KiB
[ebuild  N     ] x11-libs/libvdpau-1.1.1::gentoo  USE="dri -doc {-test}" 530 KiB
[ebuild  N     ] x11-libs/libXcomposite-0.4.4-r1::gentoo  USE="-doc -static-libs" 278 KiB
[ebuild  N     ] x11-libs/libXcursor-1.1.14::gentoo  USE="-static-libs" 305 KiB
[ebuild  N     ] dev-util/gtk-update-icon-cache-3.22.2::gentoo  358 KiB
[ebuild  N     ] x11-apps/xauth-1.0.10::gentoo  USE="ipv6 {-test}" 159 KiB
[ebuild  N     ] media-libs/mesa-17.0.6::gentoo  USE="bindist classic dri3 egl gallium gbm llvm nptl -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" VIDEO_CARDS="nouveau (-freedreno) -i915 -i965 -imx -intel -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 9273 KiB
[ebuild  N     ] x11-apps/xrdb-1.1.0::gentoo  135 KiB
[ebuild  N     ] x11-libs/libXtst-1.2.3::gentoo  USE="-doc -static-libs" 315 KiB
[ebuild  N     ] x11-apps/xinit-1.3.4-r1::gentoo  USE="minimal -systemd" 162 KiB
[ebuild  N     ] media-libs/fontconfig-2.12.4:1.0::gentoo  USE="-doc -static-libs" 1576 KiB
[ebuild  N     ] app-eselect/eselect-fontconfig-1.1::gentoo  2 KiB
[ebuild  N     ] x11-libs/cairo-1.14.8::gentoo  USE="X glib svg (-aqua) -debug (-directfb) (-gles2) -opengl -static-libs -valgrind -xcb" 34563 KiB
[ebuild  N     ] x11-libs/libXft-2.3.2::gentoo  USE="-static-libs" 328 KiB
[ebuild  N     ] media-libs/harfbuzz-1.4.6-r2:0/0.9.18::gentoo  USE="cairo glib graphite introspection truetype -debug -fontconfig -icu -static-libs {-test}" 1441 KiB
[ebuild  N     ] x11-libs/pango-1.40.6::gentoo  USE="X introspection {-test}" 813 KiB
[ebuild  N     ] gnome-base/librsvg-2.40.18:2::gentoo  USE="introspection -tools -vala" 561 KiB
[ebuild  N     ] x11-themes/adwaita-icon-theme-3.22.0-r2::gentoo  USE="-branding" 17965 KiB
[ebuild  N     ] x11-libs/gtk+-2.24.31-r1:2::gentoo  USE="introspection (-aqua) -cups -examples {-test} -vim-syntax -xinerama" 12506 KiB
[ebuild  N     ] x11-themes/gtk-engines-adwaita-3.22.3::gentoo  0 KiB
[ebuild  N     ] virtual/libudev-232:0/1::gentoo  USE="-static-libs -systemd" 0 KiB
[ebuild  N     ] dev-libs/libinput-1.7.3:0/10::gentoo  USE="{-test}" INPUT_DEVICES="-wacom" 901 KiB
[ebuild  N     ] sys-apps/pciutils-3.4.1::gentoo  USE="kmod udev zlib -dns -static-libs" 395 KiB
[ebuild  N     ] x11-base/xorg-server-1.19.3:0/1.19.3::gentoo  USE="ipv6 suid udev xorg -debug -dmx -doc -glamor -kdrive (-libressl) -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 5909 KiB
[ebuild  N     ] x11-base/xorg-drivers-1.19::gentoo  INPUT_DEVICES="keyboard libinput mouse synaptics -acecad -aiptek -elographics -evdev -fpit -hyperpen -joystick -mutouch -penmount -tslib -vmmouse -void -wacom" VIDEO_CARDS="nouveau nvidia -amdgpu -apm -ark -ast -chips -cirrus -dummy -epson -fbdev (-fglrx) (-freedreno) (-geode) -glint -i128 (-i740) -i915 -i965 -intel -mach64 -mga -neomagic (-newport) -nv (-omap) -qxl -r128 -radeon -radeonsi -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx (-tegra) -tga -trident -tseng (-vc4) -vesa -via -virtualbox -vmware (-voodoo)" 0 KiB
[ebuild  N     ] x11-drivers/xf86-input-synaptics-1.9.0::gentoo  491 KiB
[ebuild  N     ] x11-drivers/xf86-video-nouveau-1.0.15::gentoo  572 KiB
[ebuild  N     ] x11-drivers/xf86-input-mouse-1.9.2::gentoo  369 KiB
[ebuild  N     ] x11-drivers/nvidia-drivers-384.90:0/384::gentoo  USE="X driver kms tools -acpi -compat -gtk3 (-multilib) -pax_kernel -static-libs -uvm -wayland" 81027 KiB
[ebuild  N     ] x11-drivers/xf86-input-keyboard-1.9.0::gentoo  334 KiB
[ebuild  N     ] x11-drivers/xf86-input-libinput-0.25.1::gentoo  362 KiB

Total: 127 packages (124 new, 3 in new slots), Size of downloads: 276445 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-devel/llvm-3.9.1-r1
 * Checking for at least 550 MiB disk space at "/var/tmp/portage/sys-devel/llvm-3.9.1-r1/temp" ...              [ ok ]
>>> Running pre-merge checks for x11-base/xorg-server-1.19.3
>>> Running pre-merge checks for x11-drivers/xf86-input-synaptics-1.9.0
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-gentoo
>>> Running pre-merge checks for x11-drivers/nvidia-drivers-384.90
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-gentoo
 * Checking for suitable kernel configuration options...                                                        [ ok ]
>>> Running pre-merge checks for x11-drivers/xf86-input-libinput-0.25.1
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.12.12-gentoo/build
 * Found sources for kernel version:
 *     4.12.12-gentoo
 * Checking for suitable kernel configuration options...                                                        [ ok ]

>>> Emerging (1 of 127) dev-util/re2c-0.16::gentoo
 * re2c-0.16.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                        [ ok ]
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8): No such file or directory
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8): No such file or directory
>>> Unpacking source...
>>> Unpacking re2c-0.16.tar.gz to /var/tmp/portage/dev-util/re2c-0.16/work
>>> Source unpacked in /var/tmp/portage/dev-util/re2c-0.16/work
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8): No such file or directory
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8): No such file or directory
>>> Preparing source in /var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16 ...
>>> Source prepared.
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8): No such file or directory
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8): No such file or directory
>>> Configuring source in /var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16 ...
./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 --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/lib/portage/python3.4/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 bison... (cached) no
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/dev-util/re2c-0.16/work/re2c-0.16':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16/config.log
 * ERROR: dev-util/re2c-0.16::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  115:  Called src_configure
 *             environment, line 1903:  Called default
 *      phase-functions.sh, line  808:  Called default_src_configure
 *      phase-functions.sh, line  843:  Called __eapi2_src_configure
 *        phase-helpers.sh, line  782:  Called econf
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-util/re2c-0.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/re2c-0.16::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/re2c-0.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/re2c-0.16/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16'
 * S: '/var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16'
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8): No such file or directory
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8): No such file or directory

>>> Failed to emerge dev-util/re2c-0.16, Log file:

>>>  '/var/tmp/portage/dev-util/re2c-0.16/temp/build.log'

 * Messages for package dev-util/re2c-0.16:

 * ERROR: dev-util/re2c-0.16::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  115:  Called src_configure
 *             environment, line 1903:  Called default
 *      phase-functions.sh, line  808:  Called default_src_configure
 *      phase-functions.sh, line  843:  Called __eapi2_src_configure
 *        phase-helpers.sh, line  782:  Called econf
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-util/re2c-0.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/re2c-0.16::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/re2c-0.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/re2c-0.16/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16'
 * S: '/var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16'

This is my /etc/portage/make.conf:
Code:
CFLAGS="-march=native -02 -pipe"
#CFLAGS="-qt5 -qt5 -kde x gnome branding"
CXXFLAGS="${CFLAGS}"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

USE="bindist"
CPU_FLAGS_X86="mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

MAKEOPTS="-j5"

GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"

VIDEO_CARDS="nouveau nvidia"

INPUT_DEVICES="libinput mouse keyboard synaptics"


This is the output of¨emerge --info '=dev-util/re2c-0.16::gentoo¨
Code:
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-5.4.0, glibc-2.23-r4, 4.10.0-35-generic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.0-35-generic-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    24639876 total,  21817952 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Thu, 05 Oct 2017 13:30:01 +0000
Head commit of repository gentoo: 33ee73e5adc5d64d366a35416d3fa408ffdecbe1
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -02 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -02 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

This is the output of ¨emerge -pqv '=dev-util/re2c-0.16::gentoo'¨
Code:
setlocale: unsupported locale setting
setlocale: unsupported locale setting
[ebuild  N    ] dev-util/re2c-0.16

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



I set my locale to US using ¨eselect locale set 3¨ and then i did ¨. /etc/profile¨ to update the locale.

This is my buildlog
Code:
 * Package:    dev-util/re2c-0.16
 * Repository: gentoo
 * Maintainer: robbat2@gentoo.org slyfox@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8)
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8)
>>> Unpacking source...
>>> Unpacking re2c-0.16.tar.gz to /var/tmp/portage/dev-util/re2c-0.16/work
>>> Source unpacked in /var/tmp/portage/dev-util/re2c-0.16/work
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8)
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8)
>>> Preparing source in /var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16 ...
>>> Source prepared.
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8)
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8)
>>> Configuring source in /var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16 ...
./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 --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/lib/portage/python3.4/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 bison... (cached) no
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/dev-util/re2c-0.16/work/re2c-0.16':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16/config.log
 * ERROR: dev-util/re2c-0.16::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  115:  Called src_configure
 *             environment, line 1903:  Called default
 *      phase-functions.sh, line  808:  Called default_src_configure
 *      phase-functions.sh, line  843:  Called __eapi2_src_configure
 *        phase-helpers.sh, line  782:  Called econf
 *        phase-helpers.sh, line  665:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-util/re2c-0.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/re2c-0.16::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/re2c-0.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/re2c-0.16/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16'
 * S: '/var/tmp/portage/dev-util/re2c-0.16/work/re2c-0.16'
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 68: warning: setlocale: LC_NUMERIC: cannot change locale (nl_NL.UTF-8)
/var/tmp/portage/dev-util/re2c-0.16/temp/environment: line 71: warning: setlocale: LC_TIME: cannot change locale (nl_NL.UTF-8)


Does somebody know what is going on?


Last edited by philipW on Thu Oct 12, 2017 12:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21754
Location: here

PostPosted: Wed Oct 11, 2017 10:15 am    Post subject: Reply with quote

Code:
configure: error: C compiler cannot create executables


Code:
CFLAGS="-march=native -02 -pipe"

I think you used -02 like a zero not like a character 'O'.

EDIT: In addition you have some problem with locale, check the guide
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
philipW
n00b
n00b


Joined: 06 Apr 2017
Posts: 43
Location: Netherlands

PostPosted: Wed Oct 11, 2017 10:25 am    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
configure: error: C compiler cannot create executables


Code:
CFLAGS="-march=native -02 -pipe"

I think you used -02 like a zero not like a character 'O'.

EDIT: In addition you have some problem with locale, check the guide


Thanks for the quick reply :D
You where right i had a zero instead of an ¨O¨
I am now checking out the locale guide.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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