Package: libmpeg3 Version: 1.5.4-4.1 Severity: serious Tags: patch From my pbuilder build log:
... debian/rules build dh_testdir /usr/bin/make /bin/sh: -c: line 1: syntax error: unexpected end of file /bin/sh: i386/c_flags: No such file or directory /bin/sh: i386/objs: No such file or directory make[1]: Entering directory `/tmp/buildd/libmpeg3-1.5.4' gcc -c -D_REENTRANT `cat i386/c_flags` audio/ac3.c -o i386/audio/ac3.o cat: i386/c_flags: No such file or directory audio/ac3.c:4:17: error: a52.h: No such file or directory audio/ac3.c:5:26: error: mpeg3private.h: No such file or directory audio/ac3.c:6:25: error: mpeg3protos.h: No such file or directory ... make[1]: *** [i386/audio/ac3.o] Error 1 make[1]: Leaving directory `/tmp/buildd/libmpeg3-1.5.4' make: *** [build-stamp] Error 2 I've attached a patch which fixes the build for me. -- Daniel Schepler
diff -urN libmpeg3-1.5.4.old/Makefile libmpeg3-1.5.4/Makefile --- libmpeg3-1.5.4.old/Makefile 2006-01-28 16:29:31.000000000 +0000 +++ libmpeg3-1.5.4/Makefile 2006-01-28 16:30:31.000000000 +0000 @@ -147,7 +147,7 @@ LIBS = -lm -lpthread -la52 -$(shell if ! test -d $(OBJDIR) \; then mkdir -p $(OBJDIR) \; fi ) +$(shell if ! test -d $(OBJDIR) ; then mkdir -p $(OBJDIR) ; fi ) $(shell echo $(CFLAGS) > $(OBJDIR)/c_flags) $(shell echo $(OBJS) $(ASMOBJS) $(A52OBJS) $(NASMOBJS) > $(OBJDIR)/objs)