Bug#339716: kbd-chooser: FTBFS (ppc64): Please support the ppc64 architecture

2005-11-18 Thread Andreas Jochens
Package: kbd-chooser
Version: 1.20
Severity: wishlist
Tags: patch

When building 'kbd-chooser' on ppc64/unstable, I get the following error:

dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: error: current build architecture ppc64 does not appear in 
package's list (i386 ia64 hppa alpha sparc mips mipsel arm m68k powerpc amd64)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1

Please add ppc64 to the architecture list in debian/control to fix this.

Regards
Andreas Jochens

diff -urN ../tmp-orig/kbd-chooser-1.20/debian/control ./debian/control
--- ../tmp-orig/kbd-chooser-1.20/debian/control 2005-09-22 21:26:49.0 
+0200
+++ ./debian/control2005-11-18 09:27:46.0 +0100
@@ -6,7 +6,7 @@
 Build-Depends: debhelper (= 4.2), libdebian-installer4-dev (= 0.31), 
po-debconf (= 0.5.0), flex | flex-old , bison, libdebconfclient0-dev (= 0.49)
 
 Package: kbd-chooser
-Architecture: i386 ia64 hppa alpha sparc mips mipsel arm m68k powerpc amd64
+Architecture: i386 ia64 hppa alpha sparc mips mipsel arm m68k powerpc ppc64 
amd64
 XB-Installer-Menu-Item: 12
 Depends: ${shlibs:Depends}, console-keymaps
 Description: Detect a keyboard and select layout


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



Bug#339716: kbd-chooser: FTBFS (ppc64): Please support the ppc64 architecture

2005-11-18 Thread Sven Luther
On Fri, Nov 18, 2005 at 10:08:42AM +0100, Andreas Jochens wrote:
 Package: kbd-chooser
 Version: 1.20
 Severity: wishlist
 Tags: patch
 
 When building 'kbd-chooser' on ppc64/unstable, I get the following error:

You are still at it, i see. I am not sure you really need to build a ppc64 d-i
to install a pure-powerpc64 system, so i doubt there is any real advantage in
getting the .udebs to build in 64bit mode.

Please try instead to work on base-installer/debootstrap to be able to install
your pure-powerpc64 stuff from a 32bit d-i userland running on a 64bit powerpc
kernel as currently in debian. There is really no way you will be able to
convince anyone that you really need 4GB ram for d-i :)

Friendly,

Sven Luther



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



Bug#339716: kbd-chooser: FTBFS (ppc64): Please support the ppc64 architecture

2005-11-18 Thread Andreas Jochens
Hello Sven,

thanks for your reply. 

On 05-Nov-18 10:25, Sven Luther wrote:
 You are still at it, i see. I am not sure you really need to build a ppc64 d-i
 to install a pure-powerpc64 system, so i doubt there is any real advantage in
 getting the .udebs to build in 64bit mode.

You are right, it will not be necessary to have a 64bit d-i to
install a ppc64 userland. A 32bit d-i in combination with a 64bit kernel 
and some option to select 'ppc64' as the installation architecture will
probably be the easier solution.
 
 Please try instead to work on base-installer/debootstrap to be able to install
 your pure-powerpc64 stuff from a 32bit d-i userland running on a 64bit powerpc
 kernel as currently in debian.

I will do that. Actually 'debootstrap' already works quite well for 
ppc64 installations. I will try find a patch that makes 
'base-installer' aware of ppc64, so that the 32bit powerpc d-i in 
combination with a 64bit kernel can be used to install a ppc64 userland.

Regards
Andreas Jochens


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



Bug#339716: kbd-chooser: FTBFS (ppc64): Please support the ppc64 architecture

2005-11-18 Thread Sven Luther
On Fri, Nov 18, 2005 at 11:28:59AM +0100, Andreas Jochens wrote:
 Hello Sven,
 
 thanks for your reply. 
 
 On 05-Nov-18 10:25, Sven Luther wrote:
  You are still at it, i see. I am not sure you really need to build a ppc64 
  d-i
  to install a pure-powerpc64 system, so i doubt there is any real advantage 
  in
  getting the .udebs to build in 64bit mode.
 
 You are right, it will not be necessary to have a 64bit d-i to
 install a ppc64 userland. A 32bit d-i in combination with a 64bit kernel 
 and some option to select 'ppc64' as the installation architecture will
 probably be the easier solution.
  
  Please try instead to work on base-installer/debootstrap to be able to 
  install
  your pure-powerpc64 stuff from a 32bit d-i userland running on a 64bit 
  powerpc
  kernel as currently in debian.
 
 I will do that. Actually 'debootstrap' already works quite well for 
 ppc64 installations. I will try find a patch that makes 

Can you install it from a powerpc 32bit debootstrap ? 

Friendly,

Sven Luther



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



Bug#339716: kbd-chooser: FTBFS (ppc64): Please support the ppc64 architecture

2005-11-18 Thread Andreas Jochens
On 05-Nov-18 11:28, Sven Luther wrote:
 Can you install it from a powerpc 32bit debootstrap ? 

Yes, for the 'unstable' and 'etch' distributions this works with 
the '--arch ppc64' option:

debootstrap  --arch ppc64  sid ppc64.chroot \
 http://debian-ppc64.alioth.debian.org/gcc4

Of course a 64bit kernel is necessary for this.

Regards
Andreas Jochens


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



Bug#339716: kbd-chooser: FTBFS (ppc64): Please support the ppc64 architecture

2005-11-18 Thread Andreas Jochens
On 05-Nov-18 14:26, Sven Luther wrote:
  Yes, for the 'unstable' and 'etch' distributions this works with 
  the '--arch ppc64' option:
  
  debootstrap  --arch ppc64  sid ppc64.chroot \
   http://debian-ppc64.alioth.debian.org/gcc4
 
 How would that work, since debootstrap cannot run the postinst scripts (if
 they call non-binary-all stuff that is), so i suppose there are some serious
 restrictions on the --arch option ?

When a 64bit powerpc64 kernel is running, debootstrap can execute 64bit 
ppc64 binaries inside the chroot without any problems.

  Of course a 64bit kernel is necessary for this.
 
 What if i want to cross instal from let's say x86 to powerpc64 ? 

This is not possible. 'debootstrap' needs to be able to
execute native binaries inside the target chroot environment.

You can cross install from i386 to amd64 and vice versa if you run a 
64bit amd64 kernel, and you can cross install from powerpc to ppc64 and 
vice versa if you run a ppc64 kernel.

Regards
Andreas Jochens


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