Package: debootstrap
Version: 0.3.1.4
Severity: important

Hi,

While trying to create a Sid pbuilder environnement, I encountered the
problem listed in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314858. The attached
patch to /usr/lib/debootstrap/functions fixed the problem.

However, later on, the following error raised:

You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  cpp: Depends: cpp-4.0 (>= 4.0.0-11) but it is not installed
  g++: Depends: g++-4.0 (>= 4.0.0-11) but it is not installed
       Depends: gcc-4.0 (>= 4.0.0-11) but it is not installed
  gcc: Depends: gcc-4.0 (>= 4.0.0-11) but it is not installed
       Depends: cpp-4.0 (>= 4.0.0-11) but it is not installed
  libnewt0.51: Depends: libslang2 (>= 2.0.1-1) but it is not installed

So, I hacked the /usr/lib/debootstrap/scripts/sid to add these packages.
As the attached patch states, I replaced :

    elif doing_variant buildd; then
      base="$(get_debs Build-Essential: yes)"
    fi

by

    elif doing_variant buildd; then
      base="$(get_debs Build-Essential: yes) cpp-4.0 g++-4.0 gcc-4.0
libslang2 gcc-4.0-base libstdc++6-4.0-dev libstdc++6"
    fi

I think this is an ugly hack (perhaps these packages should have
Build-Essential: yes), but anyway, it allowed to succesfully create the
pbuilder sid environnement.

Sincerly,

Thomas

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.11
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages debootstrap depends on:
ii  binutils                      2.15-6     The GNU assembler, linker and bina
ii  wget                          1.9.1-12   retrieves files from the web

-- no debconf information
--- sid.orig    2005-07-14 15:44:58.000000000 +0200
+++ sid 2005-07-14 15:23:43.000000000 +0200
@@ -14,7 +14,7 @@
       #  ^^ should be getting debconf here somehow maybe
       base="$(get_debs Priority: important)"
     elif doing_variant buildd; then
-      base="$(get_debs Build-Essential: yes)"
+      base="$(get_debs Build-Essential: yes) cpp-4.0 g++-4.0 gcc-4.0 libslang2 
gcc-4.0-base libstdc++6-4.0-dev libstdc++6"
     fi
 }
 

Reply via email to