[Bug 285336] print/tex-luatex: installs Linux executable

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 11 Mar 2025 18:16:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285336

            Bug ID: 285336
           Summary: print/tex-luatex: installs Linux executable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tex@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(tex@FreeBSD.org)
          Assignee: tex@FreeBSD.org

Scenario:
- FreeBSD stable/14 ca. Feb 1
- ports latest
- building print/tex-luatex using portmaster

Result:
- The file /usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex is a
Linux executable:

[0]# file /usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex
/usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex: ELF 64-bit LSB
executable, x86-64, version 1 (SYSV), dynamically linked, interpreter
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
BuildID[sha1]=80aed2306f55b4cecc06314855d2f783ef26ebe4, not stripped
[0]# ldd /usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex
/usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex:
        libsword.so.11v5 => not found (0)
        libstdc++.so.6 => /usr/local/lib/gcc13/libstdc++.so.6 (0x87b7f800000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x87b7e176000)
        libc.so.6 => not found (0)
        libm.so.5 => /lib/libm.so.5 (0x87b7eb92000)
        libc.so.7 => /lib/libc.so.7 (0x87b80de1000)
        [vdso] (0x87b7dbd7000)
[0]# /usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex
ELF binary type "0" not known.
zsh: exec format error:
/usr/local/share/texmf-dist/doc/luatex/opbible/txs-gen/mod2tex
[126]# 

Expected result:
- This file might need to be recompiled for FreeBSD or excluded from the
installation.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.