Bug#704577: pbuilder: please update manual for use alternative compilers

2013-04-04 Thread Junichi Uekawa


At Wed, 3 Apr 2013 15:06:06 +0900,
Hideki Yamane wrote:
 
 From 3707d379f73cf6a86c5418e8e64e5a67010fec7c Mon Sep 17 00:00:00 2001
 From: Hideki Yamane henr...@debian.org
 Date: Wed, 3 Apr 2013 15:02:59 +0900
 Subject: [PATCH] mention hook script instead of pentium-builder
 
 ---
  Documentation/pbuilder-doc.xml |   24 +++-
  1 file changed, 3 insertions(+), 21 deletions(-)
 
 diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml
 index 8d4073b..d958ca3 100644
 --- a/Documentation/pbuilder-doc.xml
 +++ b/Documentation/pbuilder-doc.xml
 @@ -469,27 +469,9 @@
para
   Most packages are compiled with commandgcc/command
   or commandg++/command
 - and using the default compiler version, which was gcc 2.95 for Debian 
 GNU/Linux 3.0 (i386).
 - However, Debian 3.0 was distributed with other compilers, under package 
 names
 -such as commandgcc-3.2/command for gcc compiler
 - version 3.2.
 - It was therefore possible to try compiling packages against different
 - compiler versions.
 - commandpentium-builder/command provides an infrastructure for
 - using a different compiler for building packages than the default gcc, 
 by
 - providing a wrapper script called gcc which calls the real gcc.
 - To use commandpentium-builder/command in 
 commandpbuilder/command, it is possible to set up the
 - following in the configuration:
 - screen
 -EXTRAPACKAGES=pentium-builder gcc-3.2 g++-3.2
 -export DEBIAN_BUILDARCH=athlon
 -export DEBIAN_BUILDGCCVER=3.2/screen
 -  /para
 -  para
 - It will instruct commandpbuilder/command to install the 
 commandpentium-builder/command package
 - and also the GCC 3.2 compiler packages inside the chroot,
 - and set the environment variables required for
 - commandpentium-builder/command to function.
 + and using the default compiler version which was gcc 4.7 for Debian 
 GNU/Linux 7.0 (amd64),
 + but you can try compiling packages against different compilers (like 
 clang) 
 + by using filenameD65various-compiler-support/filename in hook 
 directory.


I think it would be good to have examples of what the configuration would be.

/para
  /sect1
/chapter
 -- 
 1.7.10.4
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#704577: pbuilder: please update manual for use alternative compilers

2013-04-03 Thread Hideki Yamane
Package: pbuilder
Version: 0.215
Severity: minor
Tags: patch

Hi,

 Thank you for including alt compiler support script.
 Then, I also would ask you to update document. See attached file.
 

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
From 3707d379f73cf6a86c5418e8e64e5a67010fec7c Mon Sep 17 00:00:00 2001
From: Hideki Yamane henr...@debian.org
Date: Wed, 3 Apr 2013 15:02:59 +0900
Subject: [PATCH] mention hook script instead of pentium-builder

---
 Documentation/pbuilder-doc.xml |   24 +++-
 1 file changed, 3 insertions(+), 21 deletions(-)

diff --git a/Documentation/pbuilder-doc.xml b/Documentation/pbuilder-doc.xml
index 8d4073b..d958ca3 100644
--- a/Documentation/pbuilder-doc.xml
+++ b/Documentation/pbuilder-doc.xml
@@ -469,27 +469,9 @@
   para
 	Most packages are compiled with commandgcc/command
 	or commandg++/command
-	and using the default compiler version, which was gcc 2.95 for Debian GNU/Linux 3.0 (i386).
-	However, Debian 3.0 was distributed with other compilers, under package names
-such as commandgcc-3.2/command for gcc compiler
-	version 3.2.
-	It was therefore possible to try compiling packages against different
-	compiler versions.
-	commandpentium-builder/command provides an infrastructure for
-	using a different compiler for building packages than the default gcc, by
-	providing a wrapper script called gcc which calls the real gcc.
-	To use commandpentium-builder/command in commandpbuilder/command, it is possible to set up the
-	following in the configuration:
-	screen
-EXTRAPACKAGES=pentium-builder gcc-3.2 g++-3.2
-export DEBIAN_BUILDARCH=athlon
-export DEBIAN_BUILDGCCVER=3.2/screen
-  /para
-  para
-	It will instruct commandpbuilder/command to install the commandpentium-builder/command package
-	and also the GCC 3.2 compiler packages inside the chroot,
-	and set the environment variables required for
-	commandpentium-builder/command to function.
+	and using the default compiler version which was gcc 4.7 for Debian GNU/Linux 7.0 (amd64),
+	but you can try compiling packages against different compilers (like clang) 
+	by using filenameD65various-compiler-support/filename in hook directory.
   /para
 /sect1
   /chapter
-- 
1.7.10.4