Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927714 - app-text/texlive-core-2023-r4: fails to configure with LTO (checking whether float word ordering is bigendian... unknown)
Summary: app-text/texlive-core-2023-r4: fails to configure with LTO (checking whether ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-24 15:06 UTC by Andrew Nowa Ammerlaan
Modified: 2024-03-24 19:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Nowa Ammerlaan gentoo-dev 2024-03-24 15:06:47 UTC
checking whether ln -s works... yes
checking whether byte ordering is bigendian... (cached) no
checking whether float word ordering is bigendian... checking for x86_64-pc-linux-gnu-strings... x86_64-pc-linux-gnu-strings
unknown
configure: error:

Unknown float word ordering. You need to manually preset
ax_cv_c_float_words_bigendian=no (or yes) according to your system.


=== configuring in cairo failed

Portage 3.0.63 (python 3.10.13-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r2, 6.7.10-gentoo-dist x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.7.10-gentoo-dist-x86_64-Intel-R-_Core-TM-_i9-9900KS_CPU_@_4.00GHz-with-glibc2.39
KiB Mem:    32730152 total,  19144052 free
KiB Swap:   33554428 total,  33108732 free
Timestamp of repository gentoo: Sun, 24 Mar 2024 14:04:45 +0000
Head commit of repository gentoo: d0102c79ed8ccba02593eaa200acb549ef973cd5

Timestamp of repository guru: Sun, 24 Mar 2024 09:48:38 +0000
Head commit of repository guru: fd2b6157b8bf4bd36079c065a7841fe9d3b2668f

Timestamp of repository kde: Thu, 21 Mar 2024 15:48:49 +0000
Head commit of repository kde: e9594ba2548659618744802bba648288379244ac

Timestamp of repository natinst: Tue, 12 Mar 2024 05:18:46 +0000
Head commit of repository natinst: b518a6fe0288cafbb7efb54df2612a74f92e709f

Timestamp of repository qt: Sat, 23 Mar 2024 13:48:18 +0000
Head commit of repository qt: 7d6e43e1727b49ebbedd4a5ce1e9da9dff44eacf

Timestamp of repository science: Sun, 24 Mar 2024 09:48:40 +0000
Head commit of repository science: 2cb7bdd495a5e4e5d5d9b69f9a55e674986f569b

Timestamp of repository steam-overlay: Sun, 24 Mar 2024 09:48:29 +0000
Head commit of repository steam-overlay: 4db06d32f72ef46e43a840483a96d71f239c3bfd

sh dash 0.5.12
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.0::gentoo
dev-build/libtool:         2.4.7-r3::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.76.0-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: -1000
volatile: False

guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False

kde
location: /var/db/repos/kde
sync-type: git
sync-uri: https://github.com/gentoo-mirror/kde.git
masters: gentoo
volatile: False

localrepo
location: /home/andrew/Git/localrepo
masters: gentoo guru
volatile: True

natinst
location: /var/db/repos/natinst
sync-type: git
sync-uri: https://github.com/gentoo-mirror/natinst.git
masters: guru gentoo
volatile: False

qt
location: /var/db/repos/qt
sync-type: git
sync-uri: https://github.com/gentoo-mirror/qt.git
masters: gentoo
volatile: False

science
location: /var/db/repos/science
sync-type: git
sync-uri: https://github.com/gentoo-mirror/science.git
masters: gentoo
volatile: False

steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
masters: gentoo
volatile: False

Binary Repositories:

binhost
priority: 9999
sync-uri: https://ftp.snt.utwente.nl/pub/os/linux/gentoo/releases/amd64/binpackages/23.0/x86-64-v3

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=skylake -mtune=skylake -flto=16"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=skylake -mtune=skylake -flto=16"
DISTDIR="/home/andrew/NAS/distfiles"
EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --alert --jobs=16 --load-average=16 --binpkg-changed-deps=n --binpkg-respect-use=y --usepkg --usepkg-exclude-live"
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="-O3 -pipe -march=skylake -mtune=skylake -flto=16"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature binpkg-signing buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=skylake -mtune=skylake -flto=16"
GENTOO_MIRRORS="https://ftp.snt.utwente.nl/pub/os/linux/gentoo https://mirror.leaseweb.com/gentoo/ https://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -l16"
PKGDIR="/home/andrew/NAS/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="/tmp"
SHELL="/bin/zsh"
USE="X a52 aac accessibility acl acpi activities addc ads alsa amd64 apparmor appindicator appstream avahi bash-completion bluetooth bluray branding bzip2 cairo caps cdda cdr cdrom cet colord crypt cups dbus declarative dist-kernel dracut dri drm dts dvd dvdr efi emoji encode epub exif fdk ffmpeg firmware flac flatpak fontconfig gamepad gdbm geoclue geolocation gif git gles2 gpg gpm gssapi gstreamer gtk gtk3 gtk4 gui hunspell ibus iconv icu id3tag idn iptables ipv6 jpeg json jumbo-build kaccounts kde kdesu keyring kf6compat kmod kms kwallet latex lcms ldap libass libnotify libtirpc lm-sensors lto lz4 lzma lzo mad matroska mkl mng modemmanager modules-sign mp3 mp4 mpeg mpris mtp multilib native-extensions ncurses networkmanager nftables nls nsplugin nvme ogg openal opencl opengl openmp opus pam pango pcre pcsc-lite pdf pipewire pkcs11 pkcs7 plasma plymouth png policykit ppds projectm pulseaudio qml qsv qt5 qt6 readlinerealtime samba scanner screencast sdl seccomp secureboot semantic-desktop share smartcard snap sound speex spell ssl startup-notification svg systemd taglib tbb telemetry test-rust theora thumbnail tiff tpm tremor truetype udev udisks uefi ukify unicode upower usb v4l vaapi verify-sig vlc vorbis vtk vulkan wayland widgets wifi wxwidgets x264 x265 xattr xcb xft xinerama xml xrandr xv xvid zeroconf zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions aliasauth_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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itraxmtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64"INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB nl nl-NL en-NL" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver wiki-publisher" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12 pypy3" RUBY_TARGETS="ruby33" VIDEO_CARDS="intel" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
Package Settings
=================================================================

app-text/texlive-core-2021-r7::gentoo was built with the following:
USE="X luajittex xetex -cjk -doc -source -tk -xindy" ABI_X86="(64)"
CFLAGS="-O3 -pipe -march=skylake -mtune=skylake -fno-strict-aliasing"
CXXFLAGS="-O3 -pipe -march=skylake -mtune=skylake -fno-strict-aliasing"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 15:09:27 UTC
The configure check is broken with LTO.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 15:09:47 UTC
(In reply to Sam James from comment #1)
> The configure check is broken with LTO.

The patch I added for bug 853121 needs to be re-applied, I guess.
Comment 3 Florian Schmaus gentoo-dev 2024-03-24 17:37:04 UTC
(In reply to Sam James from comment #2)
> (In reply to Sam James from comment #1)
> > The configure check is broken with LTO.
> 
> The patch I added for bug 853121 needs to be re-applied, I guess.

texlive-core-2021-cairo-strings.patch, assuming this is the patch in question, is part of tex-patches.git and should be applied by texlive-core-2023-r4.

@andrew: could we get a full build log please?
Comment 4 Florian Schmaus gentoo-dev 2024-03-24 17:39:15 UTC
Although we dropped

    # Drop this on 2022 bump!
    "${B}"/reautoconf libs/cairo || die

in texlive-core-2023.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 17:43:40 UTC
Yeah, it's possible it's not Cairo this time, as I feel like I wouldn't have put that comment unless I was sure it was upstreamed...
Comment 6 Larry the Git Cow gentoo-dev 2024-03-24 19:36:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=612b9662b9e7dc2d86cd46b586dfd40d75185ecc

commit 612b9662b9e7dc2d86cd46b586dfd40d75185ecc
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-03-24 19:17:54 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-03-24 19:33:20 +0000

    app-text/texlive-core: call reautoconf to apply cairo build fixes, drop --enable-year2038
    
    Disable --enable-year2038 while it snuck in during testing of the new
    texlive 2023 ebuilds.
    
    Closes: https://bugs.gentoo.org/927714
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../{texlive-core-2023-r4.ebuild => texlive-core-2023-r5.ebuild}     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)