[tlbuild] trial builds for TL'13

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Mar 25 21:50:11 CET 2013


On Mon, Mar 25, 2013 at 3:28 PM, Alan BRASLAU wrote:
>
> I also tried building for freebsd (although this is not my responsibility).
> There are several problems:
>
> 2. GNU sed is required. Setting
>         export SED=gsed
> does not work as the Makefile(s) do not use $SED but have sed hard-coded.
> One solution would be to clean up the GNUisms;
> another would be to fix the scripts and Makefiles to fall-back to gsed.

I can reproduce the problem on x86_64-freebsd. The problematic
hardcoded sed in source code is in
    texk/am/man.am

.man.1:
        $(AM_V_GEN)sed -f sedscript $< >$@
...
# At present, all but VERSION should be unused.
sedscript: $(KPATHSEA_PATHS_H)/kpathsea/paths.h
        $(AM_V_GEN)( \
          sed -n -e '/^#define/s/#define[       ][
]*\([A-Z_a-z][A-Z_a-z]*\)[      ][      ]*\(.*\)/s%@\1@%\2%/p' \
                $< \
            | sed -e 's/"//g' -e 's/[   ]*\/\*[^*]*\*\///g'; \
          echo 's%@VER''SION@%$(VERSION)%'; \
          echo 's%@BINDIR@%$(bindir)%'; \
          echo 's%@INFODIR@%$(infodir)%'; \
          echo 's%@TEXINPUTDIR@%$(texinputdir)%'; \
          echo 's%@MFINPUTDIR@%$(mfinputdir)%'; \
          echo 's%@MPINPUTDIR@%$(mpinputdir)%'; \
          echo 's%@FONTDIR@%$(fontdir)%'; \
          echo 's%@FMTDIR@%$(fmtdir)%'; \
          echo 's%@BASEDIR@%$(basedir)%'; \
          echo 's%@MEMDIR@%$(memdir)%'; \
          echo 's%@TEXPOOLDIR@%$(texpooldir)%'; \
          echo 's%@MFPOOLDIR@%$(mfpooldir)%'; \
          echo 's%@MPPOOLDIR@%$(mppooldir)%'; \
          echo 's%@FONTMAPDIR@%$(dvipsdir)%'; \
          echo 's%@LOCALMODES@%$(localmodes)%') >sedscript


The compilation fails at

Making all in man
(  sed -n -e '/^#define/s/#define[ 	][ 	]*\([A-Z_a-z][A-Z_a-z]*\)[ 	][
	]*\(.*\)/s%@\1@%\2%/p'    | sed -e 's/"//g' -e 's/[
	]*\/\*[^*]*\*\///g';  echo 's%@VER''SION@%6.1.1dev%';  echo
's%@BINDIR@%/home/texlive/inst/bin/x86_64-unknown-freebsd9.1%';  echo
's%@INFODIR@%/home/texlive/inst/texmf-dist/doc/info%';  echo
's%@TEXINPUTDIR@%%';  echo 's%@MFINPUTDIR@%%';  echo
's%@MPINPUTDIR@%%';  echo 's%@FONTDIR@%%';  echo 's%@FMTDIR@%%';  echo
's%@BASEDIR@%%';  echo 's%@MEMDIR@%%';  echo 's%@TEXPOOLDIR@%%';  echo
's%@MFPOOLDIR@%%';  echo 's%@MPPOOLDIR@%%';  echo 's%@FONTMAPDIR@%%';
echo 's%@LOCALMODES@%%')	>sedscript

when it has to be stopped with Ctrl+C.

Mojca


More information about the tlbuild mailing list