On a fresh CVS checkout, I get the following error when attempting to run 'make' in the 'build' directory:
E: Couldn't find package kernel-image-2.4.20-1-386-udebn I've seen this problem referred to by another poster. I can continue the build if I remove what seem to be spurious '\n's from the Makefile, as in the patch included below. If this is the correct fix, it would be great if a CVS committer would do the honors. If this isn't the correct fix, a suggested workaround for my breakage would be appreciated. Since it's a sed script that has this issue, my sed version is 'GNU sed version 3.02'. I applied this fix with: perl -pi -e 's|\\2\\n\)|\\2)|g' Makefile -- begin -- --- Makefile.orig Tue Aug 12 11:56:57 2003 +++ Makefile Tue Aug 12 11:57:00 2003 @@ -49,7 +49,7 @@ pkg-lists/base \ pkg-lists/$(TYPE)/common \ `if [ -f pkg-lists/$(TYPE)/$(DEB_HOST_ARCH) ]; then echo pkg-lists/$(TYPE)/$(DEB_HOST_ARCH); fi` \ - | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2\n)/g' \ + | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2)/g' \ ) $(EXTRAS) ifeq ($(TYPE),floppy) @@ -58,7 +58,7 @@ $(shell for target in $(EXTRA_FLOPPIES) ; do grep --no-filename -v ^\# \ pkg-lists/$$target/common \ `if [ -f pkg-lists/$$target/$(DEB_HOST_ARCH) ]; then echo pkg-lists/$$target/$(DEB_HOST_ARCH); fi` \ - | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2\n)/g' ; done ) + | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2)/g' ; done ) endif # Scratch directory. @@ -453,7 +453,7 @@ mkdir -p ${TEMP}/$* for file in $(shell grep --no-filename -v ^\# pkg-lists/$*/common \ `if [ -f pkg-lists/$*/$(DEB_HOST_ARCH) ]; then echo pkg-lists/$*/$(DEB_HOST_ARCH); fi` \ - | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2\n)/g' ) ; do \ + | sed -e 's/^\(.*\)$${kernel:Version}\(.*\)$$/$(foreach VERSION,$(KERNELIMAGEVERSION),\1$(VERSION)\2)/g' ) ; do \ cp $(EXTRAUDEBDIR)/$$file* ${TEMP}/$* ; done touch $@ -- end -- -- [EMAIL PROTECTED] "Truth is a great flirt." -- Franz Liszt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]