#1 Le 09/04/2007, à 17:59
- otheym
debuild -S -sa me casse les pieds
Bonjour à tous,
J'ai voulu tenter de créer un package d'après le tuto: http://doc.ubuntu-fr.org/tutoriel/creer_un_paquet#creation_du_paquet_source
mais arrivé au
debuild -S -sa
il me répond:
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: entrant dans le répertoire « /home/christophedlr/prog/cours/mateo/tp/C/mariosokoban/mariosokoban-0.0.1 »
rm -rf mariosokoban
make[1]: quittant le répertoire « /home/christophedlr/prog/cours/mateo/tp/C/mariosokoban/mariosokoban-0.0.1 »
dh_clean
dpkg-source -b mariosokoban-0.0.1
dpkg-source : avertissement : impossible d'analyser la dépendance libsdl-image1.2-dev libsdl1.2-dev
dpkg-source : erreur : erreur rencontrée lors de l'analyse de Build-Depends
debuild: fatal error at line 1224:
dpkg-source -b mariosokoban-0.0.1 failed
J'aimerais comprendre pourquoi il me dit qu'il ne peut pas analyser la dépendance.
Merci a ceux qui pourront m'aider.
Aelita, je te promet que l'ont pourra bientôt vivre tous les deux.
Je te le jure mon amour.
Hors ligne
#2 Le 09/04/2007, à 18:06
- otheym
Re : debuild -S -sa me casse les pieds
C'est bon j'ai résolu cette partie du problème, il fallait dans le fichier control que je mette le numéro de version minimal entre parenthèse.
Maintenant mon autre soucis et que l'utilisation de
sudo pbuilder build *dsc
me renvoi ceci:
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.31 2006/05/30 23:45:45 dancer Exp $
$Id: pbuilder-buildpackage,v 1.126 2006/06/10 15:09:52 dancer Exp $
Current time: Mon Apr 9 18:04:17 CEST 2007
pbuilder-time-stamp: 1176134657
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
-> creating local configuration
-> copying local configuration
-> mounting /proc filesystem
-> mounting /dev/pts filesystem
-> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
-> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.28 2006/05/30 23:45:45 dancer Exp $
-> Considering debhelper (>= 5)
-> Trying debhelper
-> Considering libsdl-image1.2-dev (>= 1.2)
-> Trying libsdl-image1.2-dev
-> Installing debhelper libsdl-image1.2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
file gettext html2text intltool-debian libmagic1 libsdl-image1.2 libtiff4
libtiff4-dev libtiffxx0c2 po-debconf
Suggested packages:
dh-make cvs gettext-doc
Recommended packages:
curl wget lynx libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
debhelper file gettext html2text intltool-debian libmagic1 libsdl-image1.2
libsdl-image1.2-dev libtiff4 libtiff4-dev libtiffxx0c2 po-debconf
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3142kB of archives.
After unpacking 12.5MB of additional disk space will be used.
Selecting previously deselected package libmagic1.
(Reading database ... 15869 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.17-2ubuntu1_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.17-2ubuntu1_i386.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.15-2ubuntu1_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.5_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.37.3ubuntu4_all.deb) ...
Selecting previously deselected package libsdl-image1.2.
Unpacking libsdl-image1.2 (from .../libsdl-image1.2_1.2.5-2_i386.deb) ...
Selecting previously deselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.8.2-6_i386.deb) ...
Selecting previously deselected package libtiffxx0c2.
Unpacking libtiffxx0c2 (from .../libtiffxx0c2_3.8.2-6_i386.deb) ...
Selecting previously deselected package libtiff4-dev.
Unpacking libtiff4-dev (from .../libtiff4-dev_3.8.2-6_i386.deb) ...
Selecting previously deselected package libsdl-image1.2-dev.
Unpacking libsdl-image1.2-dev (from .../libsdl-image1.2-dev_1.2.5-2_i386.deb) ...
Setting up libmagic1 (4.17-2ubuntu1) ...
Setting up file (4.17-2ubuntu1) ...
Setting up html2text (1.3.2a-3) ...
Setting up gettext (0.15-2ubuntu1) ...
Setting up intltool-debian (0.35.0+20060710) ...
Setting up po-debconf (1.0.5) ...
Setting up debhelper (5.0.37.3ubuntu4) ...
Setting up libsdl-image1.2 (1.2.5-2) ...
Setting up libtiff4 (3.8.2-6) ...
Setting up libtiffxx0c2 (3.8.2-6) ...
Setting up libtiff4-dev (3.8.2-6) ...
Setting up libsdl-image1.2-dev (1.2.5-2) ...
-> Finished parsing the build-deps
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/94.7kB of archives.
After unpacking 385kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 16611 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.9ubuntu1_i386.deb) ...
Setting up fakeroot (1.5.9ubuntu1) ...
Copying back the cached apt archive contents
Copying source file
-> copying [mariosokoban_0.0.1-0ubuntu1.dsc]
-> copying [./mariosokoban_0.0.1.orig.tar.gz]
-> copying [./mariosokoban_0.0.1-0ubuntu1.diff.gz]
Extracting source
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-source: warning: extracting unsigned source package (./mariosokoban_0.0.1-0ubuntu1.dsc)
dpkg-source: extracting mariosokoban in mariosokoban-0.0.1
dpkg-source: unpacking mariosokoban_0.0.1.orig.tar.gz
dpkg-source: applying ./mariosokoban_0.0.1-0ubuntu1.diff.gz
-> Building the package
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source package is mariosokoban
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source version is 0.0.1-0ubuntu1
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source changed by DE LOS RIOS Christophe <christophedlr@yahoo.fr>
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 0.0.1-0ubuntu1
dpkg-checkbuilddeps: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/tmp/buildd/mariosokoban-0.0.1'
rm -rf mariosokoban
make[1]: Leaving directory `/tmp/buildd/mariosokoban-0.0.1'
dh_clean
dpkg-source -b mariosokoban-0.0.1
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-source: building mariosokoban using existing mariosokoban_0.0.1.orig.tar.gz
dpkg-source: building mariosokoban in mariosokoban_0.0.1-0ubuntu1.diff.gz
dpkg-source: building mariosokoban in mariosokoban_0.0.1-0ubuntu1.dsc
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/mariosokoban-0.0.1'
gcc -c main.c -o main.o
gcc -c cmdline.c -o cmdline.o
gcc main.o cmdline.o -o mariosokoban -lSDLmain -lSDL -lSDL_image
make[1]: Leaving directory `/tmp/buildd/mariosokoban-0.0.1'
#docbook-to-man debian/mariosokoban.sgml > mariosokoban.1
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/mariosokoban.
/usr/bin/make install DESTDIR=/tmp/buildd/mariosokoban-0.0.1/debian/mariosokoban
make[1]: Entering directory `/tmp/buildd/mariosokoban-0.0.1'
mkdir /usr/share/games/mariosokoban
mkdir: cannot create directory `/usr/share/games/mariosokoban': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/buildd/mariosokoban-0.0.1'
make: *** [install] Error 2
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//27586 and its subdirectories
Help s'il vous plait :'(
Aelita, je te promet que l'ont pourra bientôt vivre tous les deux.
Je te le jure mon amour.
Hors ligne
#3 Le 09/04/2007, à 18:26
- otheym
Re : debuild -S -sa me casse les pieds
C'est bon j'ai résolu totalement le problème actuel, en fait pour la partie install de mon makefile il fallait que la variable soit DESTDIR et que j'utilise -p avec mon mkdir.
Maintenant me reste à voir si tous fonctionne lol
Aelita, je te promet que l'ont pourra bientôt vivre tous les deux.
Je te le jure mon amour.
Hors ligne
#4 Le 09/04/2007, à 18:34
- otheym
Re : debuild -S -sa me casse les pieds
Petit UP lol
J'ai bien mon package debian, mais quand je l'installe il me met tous dans le répertoire racine(/), je comprend pas comment faire.
Aelita, je te promet que l'ont pourra bientôt vivre tous les deux.
Je te le jure mon amour.
Hors ligne