[tlbuild] TL2018, clang, FreeBSD

Nikola Lečić nikola.lecic at anthesphoria.net
Sun Jan 14 12:52:17 CET 2018


Hi,

I'm trying to make the first steps in building TL2018 on FreeBSD with
clang-3.3.

For now I encountered two problems:

1) web2c configure script problem:

checking for statically linking C++ runtime library... ok
configure: using -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm
-lgcc_eh -lgcc -lc -lgcc_eh -lgcc
/root/TeXLive-Devel/trunk/Build/source/texk/web2c/configure: 19970:
Syntax error: Bad fd number
=== configuring in web2c failed
gmake[1]: *** [recurse] Error 1
gmake[1]: Leaving directory `/root/TL-Work-46307/texk'
gmake: *** [all-recursive] Error 1

2) kpathsea/doc (I'd say) doesn't respect TL_WORKDIR:

cd "$am__cwd"; \
if /bin/sh /root/TeXLive-Devel/trunk/Build/source/build-aux/missing
makeinfo   -I /root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc \
 -o /root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc/kpathsea.info /root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc/kpathsea.texi;
\
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" &&
cd /root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" &&
cd /root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc && \
  $restore $backupdir/* `echo
".//root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc/kpathsea.info"
| sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
mkdir: .am18267: Read-only file system
/root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc/kpathsea.info:
Read-only file system
gmake[4]: ***
[/root/TeXLive-Devel/trunk/Build/source/texk/kpathsea/doc/kpathsea.info]
Error 1
gmake[4]: Leaving directory `/root/TL-Work-46307/texk/kpathsea/doc'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/root/TL-Work-46307/texk/kpathsea'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/TL-Work-46307/texk/kpathsea'
gmake[1]: *** [recurse] Error 1
gmake[1]: Leaving directory `/root/TL-Work-46307'
gmake: *** [all-recursive] Error 1

In my case TL_WORKDIR (/root/TL-Work-46307) is always separated from
the source trunk (/root/TeXLive-Devel/trunk/Build/source), which is
mounted read-only inside the jail (hence the error).

I could debug this, but very slowly at this moment; if somebody has an
idea and/or quick fix, I'd be very grateful.

-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 331 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/tlbuild/attachments/20180114/871c9716/attachment.sig>


More information about the tlbuild mailing list