Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726354 - app-text/texlive-core-2020-r4: attempt to build unsupported luajit
Summary: app-text/texlive-core-2020-r4: attempt to build unsupported luajit
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: 709752 723404
  Show dependency tree
 
Reported: 2020-05-31 07:41 UTC by Rolf Eike Beer
Modified: 2020-05-31 13:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,159.06 KB, text/plain)
2020-05-31 07:41 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2020-05-31 07:41:26 UTC
Created attachment 642802 [details]
build.log

Configure options contain '--disable-luajittex' '--disable-mfluajit', but somewhere down the stack I see:

checking what warning flags to pass to the C compiler... (cached) -Wimplicit -Wreturn-type
checking for generic libraries to build... lua53 luajit 
checking that generated files are newer than configure... done

And then:

checking for library containing dlopen... (cached) -ldl
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
configure: error: Sorry, can not preprocess <lj_arch.h>
=== configuring in luajit failed

Not unexpected, this is not supported on this arch. I wonder why it is stable on sparc, that should have the same problem.
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-31 08:22:42 UTC
Same on ia64. I suspect it happens everywhere where luajit is not a thing.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-05-31 10:34:54 UTC
Ok, I glanced their libs subdirectory, and found that they only filter out
 
alpha* | sparc* | x86_64-*-solaris* | powerpc* to disable JiT stuff, hppa is not the thing here as you can see.

Next, I compared the options they disabled by their host selection with option we have in our 2020 ebuild.

'--disable-luajithbtex' was missing from the party, so I guess adding this explicitly to the ebuild must either kill the problem or narrow it.

But needs alive testing as well :)
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-05-31 11:56:53 UTC
EXTRA_ECONF=--disable-luajithbtex emerge -v1 =app-text/texlive-core-2020-r4

makes it compile at least on ia64.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-31 13:15:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40688e180be0921da234bf26f13ae9ebf606c6b9

commit 40688e180be0921da234bf26f13ae9ebf606c6b9
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-05-31 13:15:23 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-05-31 13:15:23 +0000

    app-text/texlive-core: make luajithbtex optional
    
    Closes: https://bugs.gentoo.org/726354
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 app-text/texlive-core/texlive-core-2020-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)