Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730714

Summary: app-text/texlive-core-2020-r5: calls unprefixed "strings" during configure
Product: Gentoo Linux Reporter: David Seifert <soap>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: slyfox
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=726034
https://bugs.gentoo.org/show_bug.cgi?id=726200
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: texlive-core-2020-r5-strings.patch

Description David Seifert gentoo-dev 2020-07-04 12:18:12 UTC
During configure, texlive-core-2020-r5 needs to determine floating-point endianness. It does so by calling "strings", which is hardcoded by one of the m4 macros and crashes out with the following error message:

checking whether byte ordering is bigendian... (cached) no
checking whether float word ordering is bigendian... /var/tmp/portage/app-text/texlive-core-2020-r5/work/texlive-20200406-source/libs/cairo/configure: line 5643: strings: command not found
/var/tmp/portage/app-text/texlive-core-2020-r5/work/texlive-20200406-source/libs/cairo/configure: line 5646: strings: command not found
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.

Notice how "strings" cannot be found on a system with USE="-native-symlinks".

Reproducible: Always
Comment 1 David Seifert gentoo-dev 2020-07-04 12:21:01 UTC
Created attachment 647576 [details, diff]
texlive-core-2020-r5-strings.patch

Tentative patch that fixes configure.ac and configure, hence doesn't require bootstrapping.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-04 13:11:11 UTC
Related bug #726034
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-07-04 13:12:11 UTC
Related merge request: https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/41
Comment 4 Larry the Git Cow gentoo-dev 2020-08-02 14:01:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833253dbedeaccc713da285f457377faa9c1d54e

commit 833253dbedeaccc713da285f457377faa9c1d54e
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-08-02 14:00:40 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-08-02 14:01:34 +0000

    app-text/texlive-core: respect strings
    
    Closes: https://bugs.gentoo.org/730714
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 app-text/texlive-core/Manifest                    |   1 +
 app-text/texlive-core/texlive-core-2020-r6.ebuild | 365 ++++++++++++++++++++++
 2 files changed, 366 insertions(+)