[tlbuild] build with non-standard TL_WORKDIR fails in luatexdir

Jukka Salmi j+tex-live at 2008.salmi.ch
Tue May 20 00:15:00 CEST 2008


Karl Berry --> tlbuild (2008-05-17 17:33:53 -0500):
>     I see the problem when using the following Build wrapper:
> 
> Thanks.  I will try to reproduce as soon as I have a chance.
> Unfortunately that may be a little while.  If you or anyone feels like
> delving further, go for it :).

The problem seems to be the relative pathnames in
source/texk/web2c/luatexdir/depend.mk which end up in
.../Work/texk/web2c/luatexdir/Makefile. Applying the attached patch
seems to fix the problem. Not sure if it is correct though.

However, now it fails a little bit later in zziplib:

mkdir -p ../../libs/zziplib/zzip && cd ../../libs/zziplib/zzip && \
	cp ..//usr/local/src/texlive_2008/source/texk/web2c/../../libs/zziplib/zzip/Makefile . && gmake -w CC='gcc' CFLAGS='-g -O2 ' LDFLAGS='-Wl,-rpath,/usr/pkg/lib ' 
cp: ..//usr/local/src/texlive_2008/source/texk/web2c/../../libs/zziplib/zzip/Makefile: No such file or directory
gmake[2]: *** [../../libs/zziplib/zzip/libzzip.a] Error 1
gmake[2]: Leaving directory `/usr/local/src/texlive_2008/Work.netbsd-3/texk/web2c'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/local/src/texlive_2008/Work.netbsd-3/texk'
gmake: *** [all] Error 1


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
-------------- next part --------------
--- source/texk/web2c/luatexdir/depend.mk.orig	2008-04-11 18:47:47.000000000 +0200
+++ source/texk/web2c/luatexdir/depend.mk	2008-05-19 23:19:00.000000000 +0200
@@ -1,7 +1,7 @@
 lua/mp.o: lua/mp.c mplib.h mpmp.h mppsout.h
-lua/psout.o: lua/psout.c ../../../../texk/web2c/luatexdir/avl.h mplib.h \
+lua/psout.o: lua/psout.c $(srcdir)/avl.h mplib.h \
   mpmp.h mppsout.h
-lua/lmplib.o: ../../../../texk/web2c/luatexdir/lua/lmplib.c \
+lua/lmplib.o: $(srcdir)/lua/lmplib.c \
   \
   \
   \


More information about the tlbuild mailing list