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

Bug#415586: marked as done (vcg: FTBFS on GNU/kFreeBSD: buggy OS detection)



Your message dated Wed, 11 Apr 2007 09:47:03 +0000
with message-id <E1HbZPr-0000cN-Oq@ries.debian.org>
and subject line Bug#415586: fixed in vcg 1.30debian-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: vcg
Version: 1.30debian-5
Severity: important
Tags: patch

Hi,

currently this package FTBFS on GNU/kFreeBSD since it uses directly the
output of "uname -s" in filenames, although this output can contain
slashes.

The attached patch catches GNU/kFreeBSD as well as GNU(/Hurd) and
make them look like Linux, which allows at least a fine build on
GNU/kFreeBSD.

Cheers,

-- 
Cyril Brulebois
--- vcg-1.30debian/Makefile	2003-02-20 22:06:27.000000000 +0100
+++ vcg-1.30debian/Makefile	2007-03-20 16:41:33.000000000 +0100
@@ -24,6 +24,10 @@
 
 SHELL = /bin/sh
 
+# GNU/kFreeBSD and GNU(/Hurd) are like Linux
+UNAME = $(shell uname -s | sed -e 's/GNU\/kFreeBSD/Linux/' | sed -e 's/GNU/Linux/')
+
+
 #-------------------------- Rules ------------------------------
 
 #all: stamp-all
@@ -54,7 +58,7 @@
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/rm -f Makefile x11setup x11setup2; \
 		  xmkmf; make | sed -e "s/^make.*//" > x11setup); \
-		(cd preconf; cd X11cc`uname -s`; \
+		(cd preconf; cd X11cc$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -67,7 +71,7 @@
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/rm -f Makefile x11setup x11setup2; \
 		  xmkmf; make | sed -e "s/^make.*//" > x11setup); \
-		(cd preconf; cd X11gcc`uname -s`; \
+		(cd preconf; cd X11gcc$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -80,7 +84,7 @@
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/rm -f Makefile x11setup x11setup2; \
 		  xmkmf; make | sed -e "s/^make.*//" > x11setup); \
-		(cd preconf; cd X11g++`uname -s`; \
+		(cd preconf; cd X11g++$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -93,7 +97,7 @@
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/rm -f Makefile x11setup x11setup2; \
 		  xmkmf; make | sed -e "s/^make.*//" > x11setup); \
-		(cd preconf; cd X11c89`uname -s`; \
+		(cd preconf; cd X11c89$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -105,7 +109,7 @@
 xvcg_cc_noxmkmf:
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/cp ../x11setup ../x11setup2 .); \
-		(cd preconf; cd X11cc`uname -s`; \
+		(cd preconf; cd X11cc$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -117,7 +121,7 @@
 xvcg_gcc_noxmkmf:
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/cp ../x11setup ../x11setup2 .); \
-		(cd preconf; cd X11gcc`uname -s`; \
+		(cd preconf; cd X11gcc$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -129,7 +133,7 @@
 xvcg_c89_noxmkmf:
 	if (test ! -r tMakefile) then \
 		(cd preconf/X11; /bin/cp ../x11setup ../x11setup2 .); \
-		(cd preconf; cd X11c89`uname -s`; \
+		(cd preconf; cd X11c89$(UNAME); \
 		  /bin/cp tMakefile ../../Make.tmp; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.tmp); \
@@ -140,7 +144,7 @@
 
 vcg_gcc:
 	if (test ! -r tMakefile) then \
-		(cd preconf; cd SunVgcc`uname -s`; \
+		(cd preconf; cd SunVgcc$(UNAME); \
 		  /bin/cp tMakefile ../../tMakefile; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.csh); \
@@ -148,7 +152,7 @@
 
 vcg_cc:
 	if (test ! -r tMakefile) then \
-		(cd preconf; cd SunVcc`uname -s`; \
+		(cd preconf; cd SunVcc$(UNAME); \
 		  /bin/cp tMakefile ../../tMakefile; \
 		  /bin/cp globals.h ../../src; \
 		  /bin/cp demo.csh ../../demo/demo.csh); \
@@ -160,29 +164,29 @@
 	/bin/cp demo/demo.csh preconf/	
 
 prepare_x11gcc:
-	/bin/cp tMakefile preconf/X11gcc`uname -s`/	
-	/bin/cp src/globals.h preconf/X11gcc`uname -s`/	
-	/bin/cp demo/demo.csh preconf/X11gcc`uname -s`/	
+	/bin/cp tMakefile preconf/X11gcc$(UNAME)/	
+	/bin/cp src/globals.h preconf/X11gcc$(UNAME)/	
+	/bin/cp demo/demo.csh preconf/X11gcc$(UNAME)/	
 
 prepare_x11cc:
-	/bin/cp tMakefile preconf/X11cc`uname -s`/	
-	/bin/cp src/globals.h preconf/X11cc`uname -s`/	
-	/bin/cp demo/demo.csh preconf/X11cc`uname -s`/	
+	/bin/cp tMakefile preconf/X11cc$(UNAME)/	
+	/bin/cp src/globals.h preconf/X11cc$(UNAME)/	
+	/bin/cp demo/demo.csh preconf/X11cc$(UNAME)/	
 
 prepare_x11c89:
-	/bin/cp tMakefile preconf/X11c89`uname -s`/	
-	/bin/cp src/globals.h preconf/X11c89`uname -s`/	
-	/bin/cp demo/demo.csh preconf/X11c89`uname -s`/	
+	/bin/cp tMakefile preconf/X11c89$(UNAME)/	
+	/bin/cp src/globals.h preconf/X11c89$(UNAME)/	
+	/bin/cp demo/demo.csh preconf/X11c89$(UNAME)/	
 
 prepare_sungcc:
-	/bin/cp tMakefile preconf/SunVgcc`uname -s`/	
-	/bin/cp src/globals.h preconf/SunVgcc`uname -s`/	
-	/bin/cp demo/demo.csh preconf/SunVgcc`uname -s`/	
+	/bin/cp tMakefile preconf/SunVgcc$(UNAME)/	
+	/bin/cp src/globals.h preconf/SunVgcc$(UNAME)/	
+	/bin/cp demo/demo.csh preconf/SunVgcc$(UNAME)/	
 
 prepare_suncc:
-	/bin/cp tMakefile preconf/SunVcc`uname -s`/	
-	/bin/cp src/globals.h preconf/SunVcc`uname -s`/	
-	/bin/cp demo/demo.csh preconf/SunVcc`uname -s`/	
+	/bin/cp tMakefile preconf/SunVcc$(UNAME)/	
+	/bin/cp src/globals.h preconf/SunVcc$(UNAME)/	
+	/bin/cp demo/demo.csh preconf/SunVcc$(UNAME)/	
 
 xvcg vcg: tMakefile
 	make -f tMakefile

--- End Message ---
--- Begin Message ---
Source: vcg
Source-Version: 1.30debian-6

We believe that the bug you reported is fixed in the latest version of
vcg, which is due to be installed in the Debian FTP archive:

vcg_1.30debian-6.diff.gz
  to pool/main/v/vcg/vcg_1.30debian-6.diff.gz
vcg_1.30debian-6.dsc
  to pool/main/v/vcg/vcg_1.30debian-6.dsc
vcg_1.30debian-6_i386.deb
  to pool/main/v/vcg/vcg_1.30debian-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 415586@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <vela@debian.org> (supplier of updated vcg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 11 Apr 2007 11:22:22 +0200
Source: vcg
Binary: vcg
Architecture: source i386
Version: 1.30debian-6
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 vcg        - A Visualization Tool for compiler graphs
Closes: 415586
Changes: 
 vcg (1.30debian-6) unstable; urgency=low
 .
   * QA upload.
   * debian/uname: Add a script to munge uname output so that the Makefile
     uses preconf/X11gccLinux on GNU/kFreeBSD as well.  Closes: #415586.
   * Conforms to Standards version 3.7.2.
Files: 
 f86498a2ab11dd75aaefaf04560077b2 597 graphics optional vcg_1.30debian-6.dsc
 6853f0704136eb802339f8344b069f66 8392 graphics optional vcg_1.30debian-6.diff.gz
 8c0d6489f8be58fede208a60cdea2200 320452 graphics optional vcg_1.30debian-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGHKxHqbYs6sQrY8oRAu5VAKCdjuOQmWKUbhA1JQhK9Wg66NDK/QCghJ0c
MP1E6+QjX2uPCEZ7hrJIp5A=
=zPqf
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: