tag #415667 +pending patch thanks Hi!
During this weekends BSP I fixed this ftbfs. It is because it tries to create $HOME if it doesn't exist. For some weird reasons Bastian Blank has setup the buildds to use /srv as $HOME, which I consider quite much more broken than other archs that clearly uses /nonexistant. I wish the s390 buildds would do the same so I wouldn't use time to look for /srv all over the build files. While I was at this package, I also fixed how it was built. CMake is generally designed to do out of tree-builds, as it creates bunch of files all over where it is supposed to build it that cmake isn't able to clean up afterwards. I have also changed this. As this isn't RC, the fix is hopefully soon uploaded to delayed/7 and will enter the archive in a week. Attached is the interdiff between current packaging. /Sune -- How to telnet to the RAM cable? You can't insert in the microkernel of a pin over the AGP controller on the digital AGP bus to disable a menu.
diff -u ksudoku-0.4/debian/changelog ksudoku-0.4/debian/changelog --- ksudoku-0.4/debian/changelog +++ ksudoku-0.4/debian/changelog @@ -1,3 +1,14 @@ +ksudoku (0.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix build and clean to actually do it the way it is supposed with cmake - + like a seperate builddir. This also makes building twice actually giving + the same diff.gz. + * Set $HOME to a place where we can write. Make sure to remove it in clean. + Fixes FTBFS on buildds where $HOME doesn't exist. (Closes: 415667) + + -- Sune Vuorela <[EMAIL PROTECTED]> Thu, 17 May 2007 13:16:00 +0200 + ksudoku (0.4-1) unstable; urgency=low * New upstream release. diff -u ksudoku-0.4/debian/rules ksudoku-0.4/debian/rules --- ksudoku-0.4/debian/rules +++ ksudoku-0.4/debian/rules @@ -19,18 +19,25 @@ CFLAGS += -O2 endif -configure: +#cmake seems to have a need to write to $HOME, at least in this case. +#we better place it the right place then. (and remove in clean) +export HOME=$(CURDIR)/debian/dummy_home + +configure: builddir + +builddir: dh_testdir # Add here commands to configure the package. - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr + mkdir builddir ; + cd builddir ; cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. build: build-stamp -build-stamp: configure +build-stamp: builddir dh_testdir # Add here commands to compile the package. - $(MAKE) LIB_QT="" + cd builddir ; $(MAKE) LIB_QT="" touch build-stamp @@ -40,9 +47,12 @@ rm -f build-stamp # Add here commands to clean up after the build process. - [ ! -f Makefile ] || make clean + [ ! -f builddir/Makefile ] || (cd builddir && make clean) + rm -rf builddir dh_clean + #remove the dummy homedir. + rm -rf $(CURDIR)/debian/dummy_home install: build dh_testdir @@ -51,7 +61,7 @@ dh_installdirs # Add here commands to install the package into debian/ksudoku. - $(MAKE) install DESTDIR=$(CURDIR)/debian/ksudoku + cd builddir ; $(MAKE) install DESTDIR=$(CURDIR)/debian/ksudoku # Put the binary in the right place. mv -f $(CURDIR)/debian/ksudoku/usr/bin $(CURDIR)/debian/ksudoku/usr/games
signature.asc
Description: This is a digitally signed message part.