Source: docbook-to-man Version: 1:2.0.0-49 Tags: patch upstream User: [email protected] Usertags: ftcbfs
docbook-to-man regressed cross building. It started rebuilding the instant executable during make install. As dh_auto_install does not pass cross tools, this happens to use the build architecture compiler. From there, things don't go well. The root cause is a makefile dependency whose target is not being created. I'm attaching a patch that renames the target such that make install does not have to relink instant. Please consider applying it. Helmut
Index: docbook-to-man-2.0.0/Instant/Makefile =================================================================== --- docbook-to-man-2.0.0.orig/Instant/Makefile +++ docbook-to-man-2.0.0/Instant/Makefile @@ -84,16 +84,17 @@ HFILES = general.h translate.h OBJ = main.o util.o info.o translate.o traninit.o tranvar.o tables.o \ browse.o masterVersion.o PROGS = instant +LIBTPTREGEXP = tptregexp/libtptregexp.a -all: dotptregexp $(PROGS) +all: $(LIBTPTREGEXP) $(PROGS) %.o : %.c $(CC) -c $(CFLAGS) $(OPT) $(REGEX_INC) $(DEFINES) $< -o $@ -dotptregexp: - cd tptregexp; $(MAKE) all +$(LIBTPTREGEXP): + $(MAKE) -C tptregexp all -instant: $(OBJ) dotptregexp +instant: $(OBJ) $(LIBTPTREGEXP) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(REGEX) install: all

