Bug#464288: tcm: FTBFS: cp: not writing through dangling symlink `src/Config.tmpl'

2008-03-02 Thread Barry deFreese
tags 464288 + patch

thank you

Hi,

Here is an NMU to fix this bug.  Might not be the most elegent solution
but it works for me even on multiple builds.

Thanks,

Barry deFreese


diff -u tcm-2.20+TSQD/debian/rules tcm-2.20+TSQD/debian/rules
--- tcm-2.20+TSQD/debian/rules
+++ tcm-2.20+TSQD/debian/rules
@@ -18,6 +18,7 @@
 	dh_testdir
 
 	-$(MAKE) config
+	rm -f src/Config.tmpl
 	cp debian/Config.tmpl src/
 	touch configure-stamp
 
diff -u tcm-2.20+TSQD/debian/changelog tcm-2.20+TSQD/debian/changelog
--- tcm-2.20+TSQD/debian/changelog
+++ tcm-2.20+TSQD/debian/changelog
@@ -1,3 +1,11 @@
+tcm (2.20+TSQD-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove src/Config.tmpl symlink before copying debian/Config.tmpl.
++ Fixes FTBFS. (Closes: #464288).
+
+ -- Barry deFreese [EMAIL PROTECTED]  Sun, 02 Mar 2008 11:26:01 -0500
+
 tcm (2.20+TSQD-4) unstable; urgency=low
 
   * debian/Config.tmpl: Remove useless libraries from LDFLAGS.


Bug#464288: tcm: FTBFS: cp: not writing through dangling symlink `src/Config.tmpl'

2008-02-06 Thread Lucas Nussbaum
Package: tcm
version: 2.20+TSQD-4
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20080205 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

Relevant part:

  (cd ./src; rm -f ./Config.tmpl)
  (cd ./src; ln -s Config.tmpl_linux Config.tmpl) 
  (cd ./src; rm -f ./Makefile)
  (cd ./src; ln -s Makefile.gcc Makefile) 
  (cd ./src; touch ./gl/instances.h) 
  (cd ./lib/help; ln -s ../../CHANGELOG .) 
  (cd ./lib/help; ln -s ../../COPYING .) 
  done making config for linux
  PLEASE CHECK FIRST THE SETTINGS IN src/Config.tmpl!
  after that you can do the following:
  make depend: for making file dependencies
  make execs: for making the binaries
  make install: for copying the binaries and the files that they need to 
  CM_HOME
  (this installation directory can be changed in 
  /build/user/tcm-2.20+TSQD/Makefile)
  make all: to do all this in one run
  make clean: to remove all binaries, object and temporary files.
  make[1]: Leaving directory `/build/user/tcm-2.20+TSQD'
  cp debian/Config.tmpl src/
  cp: not writing through dangling symlink `src/Config.tmpl'
  make: *** [configure-stamp] Error 1
  dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The full build log is available from:
http://people.debian.org/~lucas/logs/2008/02/05

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]