[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

The latest kdewebdev-3.4.0-0pre3 build fails



The latest changes made to the kdewebdev package (the addition of the uu patch 
and the modified kde.mk) renders the package unbuildable.

The attached patch contains an _ugly_ workaround for this. You might consider 
rewriting the rule for uu patches and maybe move it upstream in cdbs since it 
would be quite usefull for later use.

"fakeroot make --debug=b -f debian/rules binary" output after the build fails 
follows:

<--- cut here --->
                        Successfully remade target file `makebuilddir'.
                      Must remake target `pre-build'.
/usr/share/cdbs/1/rules/buildcore.mk:116: "DEB_BUILD_MAKE_TARGET is a 
deprecated variable"
/usr/share/cdbs/1/rules/buildcore.mk:116: "DEB_CLEAN_MAKE_TARGET is a 
deprecated variable"
/usr/share/cdbs/1/rules/buildcore.mk:116: "DEB_MAKE_TEST_TARGET is a 
deprecated variable"
                      Successfully remade target file `pre-build'.
                       File `pre-build' does not exist.
                      Target `pre-build' is double-colon and has no 
prerequisites.
                      Must remake target `pre-build'.
if [ -z "" ]; then \
  if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
fi
                      Successfully remade target file `pre-build'.
                       File `apply-patches' does not exist.
                         Prerequisite 
`debian/patches/00_kdewebdev_branch_2005-04-19.diff' is newer than target 
`debian/stamp-patched'.
                        Must remake target `debian/stamp-patched'.
make -f debian/rules reverse-config
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Reading makefiles...
Updating goal targets....
 File `reverse-config' does not exist.
Target `reverse-config' is double-colon and has no prerequisites.
Must remake target `reverse-config'.
make[1]: Entering directory `/build-system/kdewebdev-3.4.0'
for i in ./admin/config.guess ./admin/config.sub  ; do \
        if test -e $i.cdbs-orig ; then \
                mv $i.cdbs-orig $i ; \
        fi ; \
done
Successfully remade target file `reverse-config'.
make[1]: Leaving directory `/build-system/kdewebdev-3.4.0'
patches: debian/patches/common/02_autotools_update.diff 
debian/patches/common/03_libtool_update.diff 
debian/patches/common/04_am_maintainer_mode.diff 
debian/patches/common/05_pedantic-errors.diff 
debian/patches/common/06_automake-1.9.diff 
debian/patches/common/07_disable_no_undefined.diff 
debian/patches/common/08_kdepotpath.diff 
debian/patches/00_kdewebdev_branch_2005-04-19.diff 
debian/patches/01_kdewebdev_branch_2005-04-19.diff 
debian/patches/02_kmdr_i18n.diff debian/patches/98_buildprep.diff
Trying patch debian/patches/common/02_autotools_update.diff at level 
0...1...2...failure.
make: *** [debian/stamp-patched] Error 1
</--- cut here --->


Mihai
diff -Nur kdewebdev-3.4.0.orig/debian/cdbs/kde.mk kdewebdev-3.4.0/debian/cdbs/kde.mk
--- kdewebdev-3.4.0.orig/debian/cdbs/kde.mk	2005-04-21 18:44:53.130555456 +0300
+++ kdewebdev-3.4.0/debian/cdbs/kde.mk	2005-04-21 18:45:16.391019328 +0300
@@ -131,8 +131,9 @@
 		cd $(CURDIR)/debian/patches ; \
 		uudecode $$i ; \
 		cd $(CURDIR) ; \
-		patch -p1 < "$${i%%.uu}" ; \
+		patch -N -p1 < "$${i%%.uu}" ; \
 		touch debian/stamp-patch-00_kdewebdev_branch_2005-04-19.diff ; \
+		touch debian/stamp-patched ; \
 	done
 
 clean:: reverse-patches
-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/

Reply to: