#1 Le 26/02/2007, à 22:52
- quovadis
[Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Bonsoir,
Suivant le tuto qui va bien http://doc.ubuntu-fr.org/tutoriel/creer_un_paquet, je me suis essayé à la chose, ayant besoin d'un logiciel interpréteur d'algèbre relationnel, à savoir Leap "http://leap.sourceforge.net/"
perso@heptameron:~/dl/packaging/leap-1.2.6.1/debian$ debuild -S -sa
dpkg-buildpackage: source package is leap
dpkg-buildpackage: source version is 1.2.6.1-1-0ubuntu1
dpkg-buildpackage: source changed by perso <didier.couffignal@free.fr>
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/perso/dl/packaging/leap-1.2.6.1 »
make[1]: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.
make[1]: quittant le répertoire « /home/perso/dl/packaging/leap-1.2.6.1 »
make: [clean] Erreur 2 (ignorée)
dh_clean
dpkg-source -b leap-1.2.6.1
dpkg-source: error: per-package paragraph 2 in control info file is missing Package line
debuild: fatal error at line 768:
dpkg-buildpackage failed!
Comme je suis néophyte (newbee, c'est ça ?) en la matière, quelqu'un peut-il m'éclairer ?
@ vous lire et @ vous donner toute information nécessaire ....
Didier
Dernière modification par quovadis (Le 27/02/2007, à 19:56)
Hors ligne
#2 Le 26/02/2007, à 23:09
- mr_pouit
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Bonsoir,
dpkg-source: error: per-package paragraph 2 in control info file is missing Package line
Peux-tu afficher ton debian/control (il manque une ligne Package: d'après le message d'erreur) ?
Hors ligne
#3 Le 26/02/2007, à 23:30
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Voici,
perso@heptameron:~/dl/packaging1/leap-1.2.6/debian$ cat control
Source: leap
Section: text
Priority: optional
Maintainer: perso <didier.couffignal@free.fr>
Build-Depends: debhelper (>= 4.0.0)
Standards-Version: 3.6.2
Package: leap
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Free Relational Database Management System
Leap is designed as an educational tool to help students, and assist researchers and teachers.
is as an implementation of the Relational Algebra.
Homepage : http://leap.sourceforge.net/
perso@heptameron:~/dl/packaging1/leap-1.2.6/debian$ sudo gedit /home/perso/dl/packaging1/leap-1.2.6/debian/control
@ vous lire
QVD
Hors ligne
#4 Le 26/02/2007, à 23:32
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Ce qui me gène le plus a priori, c'est celà :
make[1]: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.
@ vous lire
QVD
Hors ligne
#5 Le 26/02/2007, à 23:40
- lut!n
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
dans debian/control, chaque saut de ligne compte pour un nouveau paquet, d'ou l'erreur. ton control devrait etre comme ca:
Source: leap
Section: text
Priority: optional
Maintainer: perso <didier.couffignal@free.fr>
Build-Depends: debhelper (>= 4.0.0)
Standards-Version: 3.6.2
Package: leap
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Free Relational Database Management System
Leap is designed as an educational tool to help students, and assist researchers and teachers.
is as an implementation of the Relational Algebra.
.
Homepage : http://leap.sourceforge.net/
L'erreur citée ci-dessus est absolument normale et n'influence en rien la construction du paquet
a+,
Lutin
Hors ligne
#6 Le 26/02/2007, à 23:40
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Re,
J'en profite pour afficher mes autres /debian
leap (1.2.6.1-1-0ubuntu1) dapper; urgency=low
* Initial release
-- perso <didier.couffignal@free.fr> Mon, 26 Feb 2007 22:07:54 +0100
perso@heptameron:~/dl/packaging1/leap-1.2.6/debian$ cat copyright
This package was debianized by perso <didier.couffignal@free.fr> on
Mon, 26 Feb 2007 20:53:22 +0100.
It was downloaded from <http://leap.sourceforge.net/>
Copyright Holder: <Copyright, (c) 1996-2001 Richard Leyton.
website@leyton.org>
License:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
On Debian systems, the complete text of the GNU General Public License
Version 2 can be found in `/usr/share/common-licenses/GPL' file.
@ vous lire
QVD
Hors ligne
#7 Le 26/02/2007, à 23:49
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
dans debian/control, chaque saut de ligne compte pour un nouveau paquet, d'ou l'erreur. ton control devrait etre comme ca:
Source: leap Section: text Priority: optional Maintainer: perso <didier.couffignal@free.fr> Build-Depends: debhelper (>= 4.0.0) Standards-Version: 3.6.2 Package: leap Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Free Relational Database Management System Leap is designed as an educational tool to help students, and assist researchers and teachers. is as an implementation of the Relational Algebra. . Homepage : http://leap.sourceforge.net/
L'erreur citée ci-dessus est absolument normale et n'influence en rien la construction du paquet
a+,
Lutin
Effectivement,
en modifiant ce paramètre le message d'erreur n'apparait plus.
Il me faut maintentant gérer la clé gpg
@ bientôt
QVD
Hors ligne
#8 Le 27/02/2007, à 00:02
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Re,
A priori, ça fonctionne. Il mouline pour le moment étant à la phase pbuilder.
Juste une question, comment mettre ce paquet, après vérification de son bon fonctionnement et après contact de l'auteur, à la dispostion de tous ?
@ vous lire
QVD
Hors ligne
#9 Le 27/02/2007, à 00:07
- lut!n
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
pour son intégration dans ubuntu, il faut l'uploader sur REVU (voir le wiki anglais), mais depuis le 22 février, les upload de nouveaux paquets sont clos, il est donc trop tard (possiblité pour feisty+1). sinon, créer un depot perso peut eter une solution meme si ce n'est pas franchement ce que je recommenderais.
Hors ligne
#10 Le 27/02/2007, à 00:13
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
Dommage,
à moins qu'un propriétaire d'un dépôt perso existant soit interessé ?
Est-ce possible dans ce cas ?
Dans le style
http://gauvain.tuxfamily.org/repos/
par exemple ??
@ vous lire
QVD
Hors ligne
#11 Le 27/02/2007, à 00:52
- quovadis
Re : [Résolu]dpkg-buildpackage failed => lors de la création d'un paquet
La suite et encore quelques soucis à la crétaion du paquet binaire via sudo pbuilder build *dsc.
perso@heptameron:~/dl/packaging$ sudo pbuilder build *dsc
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.28 2005/12/21 11:57:29 dancer Exp $
$Id: pbuilder-buildpackage,v 1.120 2006/01/06 12:30:51 dancer Exp $
Current time: Mon Feb 26 23:44:08 CET 2007
pbuilder-time-stamp: 1172529848
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
-> creating local configuration
-> copying local configuration
-> mounting /proc filesystem
ln: creating symbolic link `/var/cache/pbuilder/build//2617/etc/mtab' to `../proc/mounts': File exists
-> mounting /dev/pts filesystem
-> policy-rc.d already exists
-> created buildresult dir :/var/cache/pbuilder/result/
Obtaining the cached apt archive contents
Installing the build-deps
-> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.22 2005/12/04 05:16:40 dancer Exp $
-> Considering debhelper (>= 4.0.0)
-> Trying debhelper
-> Installing debhelper
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
debconf-utils file gettext html2text intltool-debian libmagic1 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:
debconf-utils debhelper file gettext html2text intltool-debian libmagic1
po-debconf
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2204kB of archives.
After unpacking 9282kB of additional disk space will be used.
Selecting previously deselected package libmagic1.
(Reading database ... 12890 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.16-0ubuntu3_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.16-0ubuntu3_i386.deb) ...
Selecting previously deselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.4.72ubuntu9_all.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.14.5-2ubuntu3_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.34.1+20050828ubuntu1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_0.9.2_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.7ubuntu13_all.deb) ...
Setting up libmagic1 (4.16-0ubuntu3) ...
Setting up file (4.16-0ubuntu3) ...
Setting up debconf-utils (1.4.72ubuntu9) ...
Setting up html2text (1.3.2a-3) ...
Setting up gettext (0.14.5-2ubuntu3) ...
Setting up intltool-debian (0.34.1+20050828ubuntu1) ...
Setting up po-debconf (0.9.2) ...
Setting up debhelper (5.0.7ubuntu13) ...
-> Finished parsing the build-deps
Reading package lists... Done
Building dependency tree... 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/93.8kB of archives.
After unpacking 385kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 13426 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.6ubuntu2_i386.deb) ...
Setting up fakeroot (1.5.6ubuntu2) ...
Copying back the cached apt archive contents
/var/cache/pbuilder/build/2617/etc/passwd
/var/cache/pbuilder/build/2617/etc/group
Copying source file
-> copying [leap_1.2.6.1-1-0ubuntu1.dsc]
-> copying [./leap_1.2.6.1-1.orig.tar.gz]
-> copying [./leap_1.2.6.1-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: extracting leap in leap-1.2.6.1-1
dpkg-source: unpacking leap_1.2.6.1-1.orig.tar.gz
dpkg-source: applying ./leap_1.2.6.1-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 leap
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 1.2.6.1-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 perso <didier.couffignal@free.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-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/leap-1.2.6.1-1'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/tmp/buildd/leap-1.2.6.1-1'
make: [clean] Error 2 (ignored)
dh_clean
dpkg-source -b leap-1.2.6.1-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-source: building leap using existing leap_1.2.6.1-1.orig.tar.gz
dpkg-source: building leap in leap_1.2.6.1-1-0ubuntu1.diff.gz
dpkg-source: building leap in leap_1.2.6.1-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/leap-1.2.6.1-1'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/tmp/buildd/leap-1.2.6.1-1'
make: *** [build-stamp] 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//2617 and its subdirectories
Pour mon premier essai, j'ai du mal...
@ vous lire
Hors ligne