[tlbuild] running TL24 pretest on OpenBSD

Robert Alessi alessi at robertalessi.net
Mon Feb 19 13:53:58 CET 2024


On Mon, Feb 19, 2024 at 08:22:37PM +0900, Norbert Preining wrote:
> Hi Robert,
> 
> cool, that worked!!!
> 
> https://github.com/TeX-Live/texlive-source/actions/runs/7957981165
> 
> Took only 25min. Builds for i386 and amd64.

Excellent!!!  I just did the same on my side, which took 55 min :(

And it worked both on 7.4 and -current, that is 7.5-beta.

By the way, here is what I used to build TL on my system.  On a bare
OpenBSD VM with all base sets included, only the following ports are
needed:

git--
gmake--
rsync--
subversion--
wget--

Amazing.

Best,

Robert

-------------------------snip-------------------------
#!/bin/sh

this_dir=`pwd`
tl_sourcedir=`pwd`/source

echo "Include clisp and xindy?"
read with_clisp?'[y/n] '
enable_xindy=""

# First build: clisp
if [[ ${with_clisp} == "y" ]]; then
    mkdir source/clisp && cd source/clisp
    clisp_basedir=`pwd`
    clisp_toolsdir=$clisp_basedir/clisp-tools
    clisp_builddir=$clisp_basedir/clisp-build
    mkdir $clisp_toolsdir
    wget=wget  # or "curl -O" or whatever
    libsigsegv_ver=libsigsegv-2.13
    cd $clisp_basedir
    $wget http://ftp.gnu.org/gnu/libsigsegv/$libsigsegv_ver.tar.gz
    gzip -dc $libsigsegv_ver.tar.gz | tar xf -
    cd $libsigsegv_ver
    ./configure -C --prefix=$clisp_toolsdir --disable-shared --enable-static \
        && make && make check && make install
    # iconv
    libiconv_ver=libiconv-1.16
    cd $clisp_basedir
    $wget http://ftp.gnu.org/gnu/libiconv/$libiconv_ver.tar.gz
    gzip -dc $libiconv_ver.tar.gz | tar xf -
    cd $libiconv_ver
    ./configure -C --prefix=$clisp_toolsdir \
                --disable-shared --enable-static --disable-nls \
        && make && make check && make install
    
    clisp_ver=clisp-2.49.92
    cd $clisp_basedir
    $wget https://alpha.gnu.org/gnu/clisp/$clisp_ver.tar.bz2
    bunzip2 -dc $clisp_ver.tar.bz2 | tar xf -
    cd $clisp_ver
    ./configure CPPFLAGS=-DUNIX_BINARY_DISTRIB --prefix=$clisp_toolsdir \
                --without-readline --without-dynamic-modules \
                --disable-nls \
                --with-libsigsegv-prefix=$clisp_toolsdir \
                --with-libiconv-prefix=$clisp_toolsdir \
                $clisp_builddir \
        && (cd $clisp_builddir && make)
    # define --enable-xindy variable
    enable_xindy="--enable-xindy CLISP=$clisp_builddir/clisp"
fi

# Now build TL
echo "Now build TL?"
read build_tl?'[y/n] '
if [[ ${build_tl} == "y" ]]; then
    cd ${tl_sourcedir}
    export TL_MAKE=gmake
    ./Build ${enable_xindy}
fi

cd ${this_dir}
-------------------------snip-------------------------

> If someone wants to test the binaries, please download them from the
> above link
> 
> Norbert
> 
> --
> PREINING Norbert                              https://www.preining.info
> arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tlbuild mailing list.