pbuilder soud hoary

Raphaël 'SurcouF' Bordet surcouf at debianfr.net
Dim 24 Avr 00:48:44 UTC 2005


Bonsoir, 

Après avoir épluché le wiki[1], j'ai créé un pbuilderrc spécial pour
hoary, afin de pouvoir passer d'hoary à debian si besoin (et j'en ai
fait de même pour les debian). Toujours en suivant ce document, j'ai
donc copier le contenu de /etc/apt/ en prenant soin
d'enlever /etc/pbuilder/ubuntu/hoary/apt/apt.conf.d/99update-notifier et
en ajoutant l'option "APT::Get::AllowUnauthenticated 1;" dans le fichier
adéquat. Pour finir, j'ai créé un builder pour hoary.

Jusque-là, tout va bien mais lorsque j'essaie de construire un paquet
debian (ou même un paquet venant d'ubuntu), il ne trouve plus les
fichiers du répertoire debian/... 

surcouf at mournblade:~/sources/ubuntu/irssi/irssi-text-0.8.9$ sudo
pbuilder debuild --configfile /etc/pbuilder/ubuntu/hoary/pbuilderrc
...
Setting up debootstrap (0.2.45ubuntu27) ...
Setting up pbuilder (0.121) ...
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.18
2003/04/20 03:40:36 dancer Exp $
cat: debian/control: No such file or directory
 -> Installing
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cat: debian/control: No such file or directory
 -> Finished parsing the build-deps
dpkg-parsechangelog: error: cannot open debian/changelog to find format:
No such file or directory
dpkg-buildpackage: unable to determine source package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//31977 and its
subdirectories
---8<---

J'avais déjà utilisé maintes fois pbuilder par le passé et avec succès.
Aussi, je ne comprends pas très bien ce que j'ai bien pu raté...
Je fournis aussi le fichier de configuration pour pbuilder, sait-on
jamais.

Merci d'avance pour toute(s) idée(s)...

[1]: http://www.ubuntulinux.org/wiki/PbuilderHowto
-- 
Raphaël 'SurcouF' Bordet
http://debianfr.net/ | surcouf at debianfr dot net

-------------- section suivante --------------
# this is your configuration file for pbuilder.
# the file in /usr/share/pbuilder/pbuilderrc is the default template.
# /etc/pbuilderrc is the one meant for editing.
#
# read pbuilderrc.5 document for notes on specific options.

BASETGZ=/var/cache/pbuilder/ubuntu/hoary/base.tgz
#EXTRAPACKAGES=gcc3.0-athlon-builder
#export DEBIAN_BUILDARCH=athlon
BUILDPLACE=/var/cache/pbuilder/build/
MIRRORSITE=http://fr.archive.ubuntu.com/ubuntu
#NONUSMIRRORSITE="http://www.jp.debian.org/debian-non-US"
#OTHERMIRROR="deb http://www.home.com/updates/ ./"
#export http_proxy=http://your-proxy:8080/
USEPROC=yes
USEDEVPTS=yes
USEDEVFS=no
BUILDRESULT=/usr/src/ubuntu/hoary

# specifying the distribution forces the distribution on "pbuilder update"
DISTRIBUTION=hoary
#specify the cache for APT 
APTCACHE="/var/cache/pbuilder/aptcache/"
APTCACHEHARDLINK="yes"
REMOVEPACKAGES="lilo"
#HOOKDIR="/usr/lib/pbuilder/hooks"
HOOKDIR=""

# make debconf not interact with user
export DEBIAN_FRONTEND="noninteractive"

DEBEMAIL="Raphaël 'SurcouF' Bordet <surcouf at debianfr.net>"

# When this value is set to yes, pdebuild will invoke debsign command after building.
AUTO_DEBSIGN=yes

# When this option is set to yes pdebuild-internal implementation of pdebuild is used.
#USE_PDEBUILD_INTERNAL=yes

#for pbuilder debuild
BUILDSOURCEROOTCMD="fakeroot"
#BUILDERROOTCMD="sudo"

#default is to build everything. Passed on to dpkg-buildpackage
#DEBBUILDOPTS="-b"
DEBBUILDOPTS="-sa"

#APT configuration files directory
APTCONFDIR="/etc/pbuilder/ubuntu/hoary/apt"

# the username and ID used by pbuilder, inside chroot. Needs fakeroot, really
BUILDUSERID=1234
#BUILDUSERNAME=pbuilder

# BINDMOUNTS is a space separated list of things to mount
# inside the chroot.
BINDMOUNTS=""

# Set the debootstrap variant to 'buildd' type.
DEBOOTSTRAPOPTS[0]='--variant=buildd'
# unset DEBOOTSTRAPOPTS


Plus d'informations sur la liste de diffusion ubuntu-fr