Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

app-office/libreoffice emerge failed [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
hernav
n00b
n00b
Posts: 10
Joined: Fri Sep 26, 2025 4:43 pm

app-office/libreoffice emerge failed [solved]

  • Quote

Post by hernav » Sat Jan 10, 2026 6:47 pm

Hello,
I'm trying to emerge app-office/libreoffice, when I came across with the following error in configure phase:
checking whether i686-pc-linux-gnut64-g++ supports C++20... configure: error: no

Code: Select all

i686-pc-linux-gnut64-g++ --std=c20
i686-pc-linux-gnut64-g++: error: [b]unrecognized command-line option--std=c20'; did you mean '--std=c23'?
i686-pc-linux-gnut64-g++: fatal error: no input files

Code: Select all

i686-pc-linux-gnut64-g++ --version
i686-pc-linux-gnut64-g++ (Gentoo 15.2.1_p20251122 p3) 15.2.1 20251122
Copyright (C) 2025 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

how could I fix this?

my current USE flags are: (bluetooth branding cups dbus gtk3 kde mariadb pdfimport qt6 vulkan) and my PYTHON_SINGLE_TARGET is python3_13

the following are my emerge --info and the build.log

emerge --info

Code: Select all

Portage 3.0.72 (python 3.14.0-final-0, default/linux/x86/23.0/i686/time64/desktop/plasma/systemd, gcc-15, glibc-2.41-r6, 6.12.21-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.21-gentoo-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.41
KiB Mem:     2044068 total,     34532 free
KiB Swap:    4194300 total,   4057492 free
Timestamp of repository gentoo: Thu, 25 Dec 2025 19:45:00 +0000
Head commit of repository gentoo: 597ca18b003883f95d900778e9e1e191f425fcec
Timestamp of repository guru: Thu, 25 Dec 2025 00:00:54 +0000
Head commit of repository guru: ee6d1d26d16f017dbfa91fb7a7a34c44426ee28b

sh bash 5.3_p3-r3
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.3_p3-r3::gentoo
dev-build/autoconf:        2.72-r4::gentoo
dev-build/automake:        1.17-r2::gentoo, 1.18.1::gentoo
dev-build/cmake:           4.1.2-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r102::gentoo
dev-build/meson:           1.9.1::gentoo
dev-lang/perl:             5.42.0-r1::gentoo
dev-lang/python:           3.13.9::gentoo, 3.14.0_p1::gentoo
dev-lang/rust-bin:         1.87.0::gentoo, 1.89.0::gentoo
llvm-core/clang:           20.1.8::gentoo
llvm-core/lld:             20.1.8::gentoo
llvm-core/llvm:            20.1.8::gentoo
sys-apps/baselayout:       2.18::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-apps/systemd:          257.10::gentoo
sys-devel/binutils:        2.44-r4::gentoo, 2.45.1::gentoo
sys-devel/binutils-config: 5.6::gentoo
sys-devel/gcc:             14.3.1_p20250801::gentoo, 15.2.1_p20251122::gentoo
sys-devel/gcc-config:      2.12.2::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r6::gentoo
Repositories:

gentoo
    location: /usr/lib/portage/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

guru
    location: /usr/lib/portage/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    priority: 100
    volatile: True

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/x86/binpackages/23.0/i686-ssemath-t64

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE @FREE @BINARY-REDISTRIBUTABLE @EULA"
CBUILD="i686-pc-linux-gnut64"
CFLAGS="-O2 -march=i686 -msse2 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnut64"
CONFIG_PROTECT="/etc /usr/share/config /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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -march=i686 -msse2 -mfpmath=sse -pipe"
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="-O2 -march=i686 -msse2 -mfpmath=sse -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -msse2 -mfpmath=sse -pipe"
GENTOO_MIRRORS="https://repo.ifca.es/gentoo-distfiles rsync://repo.ifca.es/gentoo-distfiles"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="bzip2"
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 activities alsa avif bluetooth branding bzip2 cairo cdda cdr crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg jpegxl kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff time64 truetype udev udisks unicode upower usb vorbis vulkan wayland webp widgets wxwidgets x264 x86 xattr xcb xft xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gcc_15" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 sse mmxext sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="time64" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13 python3_14" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
build.log

Code: Select all

 * Package:    app-office/libreoffice-25.2.7.2-r1:0
 * Repository: gentoo
 * Maintainer: office@gentoo.org
 * USE:        abi_x86_32 bluetooth branding cups dbus elibc_glibc gtk3 kde kernel_linux mariadb pdfimport python_single_target_python3_13 qt6 vulkan x86
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.13 to build
 * Checking for at least 512 MiB RAM ...
 [ ok ]
 * Checking for at least 6 GiB disk space at "/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/temp" ...
 [ ok ]
>>> Unpacking source...
>>> Unpacking 'libreoffice-branding-gentoo-0.8.tar.xz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Unpacking 'libreoffice-25.2.7.2.tar.xz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Unpacking 'libreoffice-help-25.2.7.2.tar.xz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Unpacking 'dragonbox-1.1.3.tar.gz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Unpacking 'dtoa-20180411.tgz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Unpacking 'frozen-1.2.0.tar.gz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Unpacking 'skia-m130-3c64459d5df2fa9794b277f0959ed8a92552bf4c.tar.xz' to /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Source unpacked in /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work
>>> Preparing source in /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/libreoffice-25.2.7.2 ...
 * Applying libreoffice-6.1-nomancompress.patch ...
 [ ok ]
 * Applying libreoffice-24.2-qtdetect.patch ...
 [ ok ]
 * Applying libreoffice-25.2-cflags.patch ...
 [ ok ]
 * Applying libreoffice-25.2-unused-qt6network.patch ...
 [ ok ]
 * Applying libreoffice-25.2.4.3-gcc16.patch ...
 [ ok ]
 * Applying libreoffice-25.2.6.2-poppler-25.09.patch ...
 [ ok ]
 * Applying libreoffice-25.2.7.2-poppler-25.10.patch ...
 [ ok ]
 * Applying libreoffice-25.2-vcl-backend-fallback.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/libreoffice-25.2.7.2' ...
 * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/temp/aclocal' ...
 [ ok ]
 * Running 'autoconf -I m4 --force' ...
 [ ok ]
 * Running 'autoheader -I m4 --force' ...
 [ !! ]
 * Running elibtoolize in: libreoffice-25.2.7.2/
renamed '/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/branding-intro.png' -> 'icon-themes/colibre/brand/intro.png'
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/libreoffice-25.2.7.2 ...
 * Preset CFLAGS:    -O2 -march=i686 -msse2 -mfpmath=sse -pipe
 * Preset LDFLAGS:   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
 * strip-flags: CFLAGS: changed '-O2 -march=i686 -msse2 -mfpmath=sse -pipe' to '-O2 -march=i686 -mfpmath=sse -pipe'
 * strip-flags: CXXFLAGS: changed '-O2 -march=i686 -msse2 -mfpmath=sse -pipe' to '-O2 -march=i686 -mfpmath=sse -pipe'
 * strip-flags: FFLAGS: changed '-O2 -march=i686 -msse2 -mfpmath=sse -pipe' to '-O2 -march=i686 -mfpmath=sse -pipe'
 * strip-flags: FCFLAGS: changed '-O2 -march=i686 -msse2 -mfpmath=sse -pipe' to '-O2 -march=i686 -mfpmath=sse -pipe'
 *   Used CFLAGS:    -O2 -march=i686 -mfpmath=sse -pipe
 *   Used LDFLAGS:   -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version
 * Please use append-cppflags for preprocessor flags
cc1: warning: SSE instruction set disabled, using 387 arithmetics
 * econf: updating libreoffice-25.2.7.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libreoffice-25.2.7.2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnut64 --host=i686-pc-linux-gnut64 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --docdir=/usr/share/doc/libreoffice-25.2.7.2-r1 --htmldir=/usr/share/doc/libreoffice-25.2.7.2-r1/html --libdir=/usr/lib --with-system-dicts --with-system-epoxy --with-system-headers --with-system-jars --with-system-libs --enable-build-opensymbol --enable-cairo-canvas --enable-largefile --enable-mergelibs=more --enable-python=system --enable-randr --enable-release-build --disable-atspi-tests --disable-breakpad --disable-bundle-mariadb --disable-ccache --disable-cpdb --disable-epm --disable-fetch-external --disable-firebird-sdbc --disable-gtk3-kde5 --disable-hardening-flags --disable-online-update --disable-openssl --disable-pdfium --disable-qt5 --without-coredumpctl --without-dotnet --with-extra-buildid=Gentoo official package --enable-extension-integration --with-external-dict-dir=/usr/share/myspell --with-external-hyph-dir=/usr/share/myspell --with-external-thes-dir=/usr/share/myspell --with-external-tar=/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/distdir --with-lang= --with-parallelism=2 --with-system-openjpeg --with-tls=nss --with-vendor=Gentoo Foundation --with-x --without-fonts --without-myspell-dicts --with-help=html --without-helppack-integration --with-system-gpgmepp --with-system-zxcvbn --without-system-abseil --without-system-dragonbox --without-system-frozen --without-system-jfreereport --without-system-libfixmath --without-system-sane --without-system-java-websocket --disable-report-builder --enable-sdremote-bluetooth --disable-coinmp --enable-cups --enable-dbus --disable-debug --disable-evolution2 --disable-gstreamer-1-0 --enable-gtk3 --disable-gtk4 --enable-kf6 --disable-ldap --disable-odk --enable-pdfimport --disable-postgresql-sdbc --enable-qt6 --enable-qt6-multimedia --enable-skia --without-lxml --without-system-coinmp --without-gdrive-client-id --without-gdrive-client-secret --without-java --without-doxygen --without-valgrind --enable-dconf --enable-gio --disable-ext-nlpsolver --disable-scripting-beanshell --disable-scripting-javascript --disable-ext-wiki-publisher
********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... i686-pc-linux-gnut64
checking host system type... i686-pc-linux-gnut64
checking for product name... LibreOffice
checking for package version... 25.2.7.2
checking for product version... 25.2
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... /usr/bin/make
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
configure: VCL platform has a usable dynamic loading API: yes
configure: VCL platform uses freetype+fontconfig: yes
configure: VCL platform uses headless plugin: yes
configure: VCL platform uses X11: yes
checking for explicit AFLAGS... no
checking for explicit CFLAGS... -O2 -march=i686 -mfpmath=sse -pipe -I/usr/include/zxcvbn
checking for explicit CXXFLAGS... -O2 -march=i686 -mfpmath=sse -pipe -I/usr/include/zxcvbn
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--undefined-version
checking for i686-pc-linux-gnut64-gcc... i686-pc-linux-gnut64-gcc
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 the compiler supports GNU C... yes
checking whether i686-pc-linux-gnut64-gcc accepts -g... yes
checking for i686-pc-linux-gnut64-gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for library containing dlsym... none required
checking pkg-config is at least version 0.9.0... yes
checking for library containing backtrace... none required
checking whether to record build config... no
checking whether build target is Release Build... yes
checking whether build should auto use hardening compiler flags... no
checking whether to build a Community flavor... yes
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for pigz... no
checking for gzip... /usr/bin/gzip
checking for GNU or BSD tar... gtar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for desktop
checking build with or without template files... enable all templates
checking gcc home... /usr
checking for i686-pc-linux-gnut64-gcc... /usr/bin/i686-pc-linux-gnut64-gcc
checking whether to build with Java support... no
checking whether to treat the installation as read-only... no
checking for -isystem ... no
checking whether the compiler is actually Clang... no
checking whether i686-pc-linux-gnut64-gcc supports -ggdb2... no
checking the GCC version... gcc 15.2.1 (150201)
checking whether to build with additional debug utilities... no
checking whether to do a debug build... no
checking for linker that is used... GNU ld (Gentoo 2.44 p4) 2.44.0
checking for -Bsymbolic-functions linker support... found 
checking for --gc-sections linker support... found 
checking whether i686-pc-linux-gnut64-gcc supports -Xclang -debug-info-kind=constructor... no
checking whether to generate debug information... no
checking whether to compile with optimization flags... yes
checking whether to build with .NET support... no
checking which package format to use... none
checking which help to build... HTML (local)
checking if we need to build the help index tooling... yes
checking whether to enable xapian-omega support for online help... no
checking whether to include the XML-help support... yes
checking for helppack integration... no integration
checking which lockfile binary to use... internal
checking for getopt.h... yes
checking for paths.h... yes
checking for sys/param.h... yes
checking for utime... yes
checking for utimes... yes
checking for syslog.h... yes
checking whether to turn warnings to errors... no
checking whether to have assert() failures abort even without --enable-debug... no
checking whether to use ooenv for the instdir installation... no
checking whether to build the pagein binaries for oosplash... yes
checking whether to enable CPDB support... no
checking whether to enable CUPS support... yes
checking whether cups support is present... checking for cupsPrintFiles in -lcups... yes
checking for cups/cups.h... yes
checking which fontconfig to use... external
checking for fontconfig >= 2.12.0... yes
checking whether we want to fetch tarballs... no
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... yes
checking for spelling dictionary directory... file:///usr/share/myspell
checking for hyphenation patterns directory... file:///usr/share/myspell
checking for thesaurus directory... file:///usr/share/myspell
checking whether to enable pch feature... no
checking the GNU Make version... /usr/bin/make 4.4.1
checking for --hash-style gcc linker support... gnu 
checking for perl... /usr/bin/perl
checking the Perl version... Perl 5
checking for required Perl modules... all modules found
checking pkg-config is at least version 0.9.0... yes
checking for i686-pc-linux-gnut64-gcc-ar... i686-pc-linux-gnut64-ar
checking for i686-pc-linux-gnut64-gcc-nm... i686-pc-linux-gnut64-nm
checking for i686-pc-linux-gnut64-gcc-ranlib... i686-pc-linux-gnut64-ranlib
checking for i686-pc-linux-gnut64-gcc-objdump... i686-pc-linux-gnut64-objdump
checking for i686-pc-linux-gnut64-gcc-readelf... no
checking for i686-pc-linux-gnut64-readelf... i686-pc-linux-gnut64-readelf
checking for i686-pc-linux-gnut64-gcc-strip... no
checking for i686-pc-linux-gnut64-strip... i686-pc-linux-gnut64-strip
checking whether the compiler supports GNU C++... yes
checking whether i686-pc-linux-gnut64-g++ accepts -g... yes
checking for i686-pc-linux-gnut64-g++ option to enable C++11 features... none needed
checking the GNU C++ compiler version... ok (g++ 15)
checking how to run the C++ preprocessor... i686-pc-linux-gnut64-g++  -E
checking whether i686-pc-linux-gnut64-g++ is broken with boost.thread... yes
checking how to run the C++ preprocessor... i686-pc-linux-gnut64-g++  -E
checking how to run the C preprocessor... i686-pc-linux-gnut64-gcc  -E
checking size of long... 4
checking size of short... 2
checking size of int... 4
checking size of long long... 8
checking size of double... 8
checking size of void*... 4
checking size of size_t... 4
checking alignment of short... 2
checking alignment of int... 4
checking alignment of long... 4
checking alignment of double... 4
checking for i686-pc-linux-gnut64-gcc  option to enable large file support... none needed
checking whether jumbo sheets are supported... no
checking whether to enable runtime optimizations... yes
checking for sys/sdt.h... no
checking whether i686-pc-linux-gnut64-gcc supports -grecord-gcc-switches... no
checking whether i686-pc-linux-gnut64-gcc supports -D_FORTIFY_SOURCE=2... no
checking whether i686-pc-linux-gnut64-gcc supports -D_GLIBCXX_ASSERTIONS... no
checking whether i686-pc-linux-gnut64-gcc supports -fstack-clash-protection... no
checking whether i686-pc-linux-gnut64-gcc supports -fcf-protection... no
checking whether i686-pc-linux-gnut64-gcc supports -mno-avx... no
checking whether i686-pc-linux-gnut64-gcc supports atomic functions... yes
checking whether i686-pc-linux-gnut64-g++ defines __base_class_type_info in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ defines __class_type_info in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ declares __cxa_allocate_exception in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ defines __cxa_eh_globals in cxxabi.h... no
checking whether i686-pc-linux-gnut64-g++ defines __cxa_exception in cxxabi.h... no
checking whether i686-pc-linux-gnut64-g++ declares __cxa_get_globals in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ declares __cxa_current_exception_type in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ declares __cxa_throw in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ defines __si_class_type_info in cxxabi.h... yes
checking whether i686-pc-linux-gnut64-g++ defines __vmi_class_type_info in cxxabi.h... yes
checking what the C++ library is... GNU libstdc++
checking for gperf... /usr/bin/gperf
checking whether gperf is new enough... yes (3.3)
checking which libcmis to use... external
checking for libcmis-0.6 >= 0.6.1... yes
checking whether i686-pc-linux-gnut64-g++ supports C++20... configure: error: no

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/libreoffice-25.2.7.2/config.log
 * ERROR: app-office/libreoffice-25.2.7.2-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  143:  Called src_configure
 *             environment, line 4401:  Called econf '--with-system-dicts' '--with-system-epoxy' '--with-system-headers' '--with-system-jars' '--with-system-libs' '--enable-build-opensymbol' '--enable-cairo-canvas' '--enable-largefile' '--enable-mergelibs=more' '--enable-python=system' '--enable-randr' '--enable-release-build' '--disable-atspi-tests' '--disable-breakpad' '--disable-bundle-mariadb' '--disable-ccache' '--disable-cpdb' '--disable-epm' '--disable-fetch-external' '--disable-firebird-sdbc' '--disable-gtk3-kde5' '--disable-hardening-flags' '--disable-online-update' '--disable-openssl' '--disable-pdfium' '--disable-qt5' '--without-coredumpctl' '--without-dotnet' '--with-extra-buildid=Gentoo official package' '--enable-extension-integration' '--with-external-dict-dir=/usr/share/myspell' '--with-external-hyph-dir=/usr/share/myspell' '--with-external-thes-dir=/usr/share/myspell' '--with-external-tar=/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/distdir' '--with-lang=' '--with-parallelism=2' '--with-system-openjpeg' '--with-tls=nss' '--with-vendor=Gentoo Foundation' '--with-x' '--without-fonts' '--without-myspell-dicts' '--with-help=html' '--without-helppack-integration' '--with-system-gpgmepp' '--with-system-zxcvbn' '--without-system-abseil' '--without-system-dragonbox' '--without-system-frozen' '--without-system-jfreereport' '--without-system-libfixmath' '--without-system-sane' '--without-system-java-websocket' '--disable-report-builder' '--enable-sdremote-bluetooth' '--disable-coinmp' '--enable-cups' '--enable-dbus' '--disable-debug' '--disable-evolution2' '--disable-gstreamer-1-0' '--enable-gtk3' '--disable-gtk4' '--enable-kf6' '--disable-ldap' '--disable-odk' '--enable-pdfimport' '--disable-postgresql-sdbc' '--enable-qt6' '--enable-qt6-multimedia' '--enable-skia' '--without-lxml' '--without-system-coinmp' '--without-gdrive-client-id' '--without-gdrive-client-secret' '--without-java' '--without-doxygen' '--without-valgrind' '--enable-dconf' '--enable-gio' '--disable-ext-nlpsolver' '--disable-scripting-beanshell' '--disable-scripting-javascript' '--disable-ext-wiki-publisher'
 *        phase-helpers.sh, line  661:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line   91:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-25.2.7.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-25.2.7.2-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =app-office/libreoffice-25.2.7.2-r1
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/libreoffice-25.2.7.2'
 * S: '/var/tmp/portage/app-office/libreoffice-25.2.7.2-r1/work/libreoffice-25.2.7.2'
Last edited by hernav on Sat Jan 24, 2026 9:04 pm, edited 1 time in total.
Top
sam_
Developer
Developer
User avatar
Posts: 2814
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Sat Jan 10, 2026 7:00 pm

Please upload the full config.log.
Top
wildhorse
Apprentice
Apprentice
User avatar
Posts: 185
Joined: Thu Mar 16, 2006 3:59 am
Location: Estados Unidos De América

  • Quote

Post by wildhorse » Sun Jan 11, 2026 2:07 pm

Try c++20 instead of c20.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Jan 11, 2026 2:26 pm

wildhorse wrote:Try c++20 instead of c20.
It's not clear from the output that OP explicitly tried either of those. It looks more like the package picked one, and OP's compiler rejected it. I suggest providing the information that sam_ requested before trying other changes.
Top
hernav
n00b
n00b
Posts: 10
Joined: Fri Sep 26, 2025 4:43 pm

[b]build.log - part 01[/b]

  • Quote

Post by hernav » Sun Jan 11, 2026 3:13 pm

sam_ wrote:Please upload the full config.log.
uploaded to: https://gist.github.com/hernavGentoo/6 ... 7bb49c938
Last edited by hernav on Sun Jan 11, 2026 4:31 pm, edited 2 times in total.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

Re: [b]build.log - part 01[/b]

  • Quote

Post by Hu » Sun Jan 11, 2026 3:27 pm

hernav wrote:
sam_ wrote:Please upload the full config.log.
The build.log is too long so I'll make several post.
Please don't do this. For large files, you should upload them to a pastebin service, and let the knowledgeable helpers quote out the relevant bits. In this case, the failure seems to be:
[post=8877957]hernav[/post] wrote:

Code: Select all

configure:22069: checking whether i686-pc-linux-gnut64-g++ supports C++20
configure:22114: i686-pc-linux-gnut64-g++  -c -O2 -march=i686 -mfpmath=sse -pipe -I/usr/include/zxcvbn -std=c++20 -Werror  conftest.cpp >&5
cc1plus: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
cc1plus: all warnings being treated as errors 
Top
wildhorse
Apprentice
Apprentice
User avatar
Posts: 185
Joined: Thu Mar 16, 2006 3:59 am
Location: Estados Unidos De América

  • Quote

Post by wildhorse » Sun Jan 11, 2026 3:37 pm

Hu wrote:
wildhorse wrote:Try c++20 instead of c20.
It's not clear from the output that OP explicitly tried either of those. It looks more like the package picked one, and OP's compiler rejected it. I suggest providing the information that sam_ requested before trying other changes.
Why would the package pick c20? There is no such thing.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Jan 11, 2026 3:50 pm

I don't know why it would pick that. OP's original post claimed it tried that, but nowhere in the config.log do we see that line. At this point, I am inclined to blame that on a transcription error by the poster. Further, per the line I quoted above, c++20 isn't the problem. SSE is.
Top
grknight
Retired Dev
Retired Dev
Posts: 2556
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Sun Jan 11, 2026 4:09 pm

[post=8877957]hernav[/post] wrote:

Code: Select all

configure:22069: checking whether i686-pc-linux-gnut64-g++ supports C++20
configure:22114: i686-pc-linux-gnut64-g++  -c -O2 -march=i686 -mfpmath=sse -pipe -I/usr/include/zxcvbn -std=c++20 -Werror  conftest.cpp >&5
cc1plus: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
cc1plus: all warnings being treated as errors 
Those CFLAGS were interesting for an Atom N270.

I would use -march=prescott -mfpmath=sse as this would turn on more options that the Atom is likely to have per https://en.wikipedia.org/wiki/List_of_I ... itecture_2.

Code: Select all

‘prescott’
Improved version of Intel Pentium 4 CPU with MMX, SSE, SSE2, SSE3 and FXSR instruction set support.
The app resolve-march-native may hold more insight from actual hardware.
Top
hernav
n00b
n00b
Posts: 10
Joined: Fri Sep 26, 2025 4:43 pm

Re: [b]build.log - part 01[/b]

  • Quote

Post by hernav » Sun Jan 11, 2026 4:30 pm

Hu wrote:
hernav wrote:
sam_ wrote:Please upload the full config.log.
The build.log is too long so I'll make several post.
Please don't do this. For large files, you should upload them to a pastebin service, and let the knowledgeable helpers quote out the relevant bits. In this case, the failure seems to be:
[post=8877957]hernav[/post] wrote:

Code: Select all

configure:22069: checking whether i686-pc-linux-gnut64-g++ supports C++20
configure:22114: i686-pc-linux-gnut64-g++  -c -O2 -march=i686 -mfpmath=sse -pipe -I/usr/include/zxcvbn -std=c++20 -Werror  conftest.cpp >&5
cc1plus: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
cc1plus: all warnings being treated as errors 

Sorry I've just uploaded to: https://gist.github.com/hernavGentoo/6e ... 57bb49c938
Top
hernav
n00b
n00b
Posts: 10
Joined: Fri Sep 26, 2025 4:43 pm

  • Quote

Post by hernav » Sun Jan 11, 2026 6:17 pm

grknight wrote:
[post=8877957]hernav[/post] wrote:

Code: Select all

configure:22069: checking whether i686-pc-linux-gnut64-g++ supports C++20
configure:22114: i686-pc-linux-gnut64-g++  -c -O2 -march=i686 -mfpmath=sse -pipe -I/usr/include/zxcvbn -std=c++20 -Werror  conftest.cpp >&5
cc1plus: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
cc1plus: all warnings being treated as errors 
Those CFLAGS were interesting for an Atom N270.

I would use -march=prescott -mfpmath=sse as this would turn on more options that the Atom is likely to have per https://en.wikipedia.org/wiki/List_of_I ... itecture_2.

Code: Select all

‘prescott’
Improved version of Intel Pentium 4 CPU with MMX, SSE, SSE2, SSE3 and FXSR instruction set support.
The app resolve-march-native may hold more insight from actual hardware.
Thank you very much, I changed it in my make.conf and now it's in compile phase.
Top
hernav
n00b
n00b
Posts: 10
Joined: Fri Sep 26, 2025 4:43 pm

  • Quote

Post by hernav » Sat Jan 24, 2026 9:19 pm

The compilation was done and libreoffice is working well so far.
The solution was change my CFLAGS (-march=prescott instead of -march=i686).
Top
Post Reply

12 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy