Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/04/2007, à 17:19

otheym

Créer un package(tuto creer_un_paquet_avec_cdbs)

Bonjour à tous,

J'ai voulu aujourd'hui suivre le tuto: creer_un_paquet_avec_cdbs
qui est ici: http://doc.ubuntu-fr.org/projets/paquets/creer_un_paquet_avec_cdbs


Tous va bien jusqu'au moment de faire: debuild -us -uc
Voila ce que cela me met:

christophedlr@kubuntu:/tmp/textcat/libtextcat-2.2$ debuild -us -uc
debuild: found debian/changelog for package libtextcat in the directory
  /tmp/textcat
but this directory name does not match the package name according to the
regex  PACKAGE(-.*)?.

To run debuild on this package, see the --check-dirname-level and
--check-dirname-regex options; run debuild --help for more info.

Je me suis dit, je suis pas dans le répertoire, faut que j'aille un rep au dessus.
et quand je tape la meme commande il me dit:

dpkg-buildpackage: source package is libtextcat
dpkg-buildpackage: source version is 2.2-0ubuntu2
dpkg-buildpackage: source changed by Gauvain Pocentek <gauvainpocentek@ubuntu.com>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
for i in  ./libtextcat-2.2/config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
mv: écraser `./libtextcat-2.2/config.sub', en outrepassant le mode 0755? debuild: fatal error at line 768:
dpkg-buildpackage failed!
christophedlr@kubuntu:/tmp/textcat$ debuild -us -uc



christophedlr@kubuntu:/tmp/textcat$ sudo debuild -us -uc
dpkg-buildpackage: source package is libtextcat
dpkg-buildpackage: source version is 2.2-0ubuntu2
dpkg-buildpackage: source changed by Gauvain Pocentek <gauvainpocentek@ubuntu.com>
dpkg-buildpackage: host architecture i386
 debian/rules clean
test -x debian/rules
test "`id -u`" = 0
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
for i in  ./libtextcat-2.2/config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
make -C . -k distclean
make[1]: entrant dans le répertoire « /tmp/textcat »
make[1]: *** Pas de règle pour fabriquer la cible « distclean ».
make[1]: quittant le répertoire « /tmp/textcat »
rm -f debian/stamp-makefile-build
if [ -f "./config.log" ] && grep -i 'generated.*by.*autoconf' "./config.log" 1>/dev/null; then \
          rm -f "./config.log"; \
        fi
rm -f debian/stamp-autotools-files
if test -f ./config.status && grep -i -q 'Generated.*by configure.' ./config.status; then rm -f ./config.status; fi
if test -f ./config.cache && grep -i -q 'shell.*script.*caches.*results.*configure' ./config.cache; then rm -f ./config.cache; fi
dh_clean
 dpkg-source -b textcat
dpkg-source: warning: source directory `./textcat' is not <sourcepackage>-<upstreamversion> `libtextcat-2.2'
dpkg-source: building libtextcat in libtextcat_2.2-0ubuntu2.tar.gz
dpkg-source: building libtextcat in libtextcat_2.2-0ubuntu2.dsc
 debian/rules build
test -x debian/rules
if [ -n "" ]; then \
          mkdir -p ""; \
        fi
if [ ! -d "." ]; then \
          mkdir -p "."; \
        fi
if [ -z "" ]; then \
          if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
        fi
if test -e /usr/share/misc/config.sub ; then \
                for i in ./libtextcat-2.2/config.sub ; do \
                        if ! test -e $i.cdbs-orig ; then \
                                mv $i $i.cdbs-orig ; \
                                cp --remove-destination /usr/share/misc/config.sub $i ; \
                        fi ; \
                done ; \
        fi
if test "" = "pre" ; then \
                cd . && libtoolize -c -f ; \
        fi
if test -n "" ; then \
                if test -d ./m4 ; then m4="-I m4" ; fi ; \
                if test -e ./aclocal.m4 ; then cd . && aclocal- $m4 ; fi ; \
        elif test -n "" ; then \
                if test -d ./m4 ; then m4="-I m4" ; fi ; \
                if test -e ./aclocal.m4 ; then cd . && aclocal- $m4 ; fi ; \
        fi
if test -n "" ; then \
                if test -e ./configure.ac || test -e ./configure.in ; then cd . && `which autoconf || which autoconf` ; fi ; \
        fi
if test -n "" ; then \
                if test -e ./configure.ac || test -e ./configure.in ; then cd . && `which autoheader || which autoheader` ; fi ; \
        fi
if test -n "" ; then \
                if test -e ./Makefile.am ; then cd . && automake- ; fi ; \
        fi
touch debian/stamp-autotools-files
chmod a+x /tmp/textcat/./configure
chmod: ne peut accéder `/tmp/textcat/./configure': Aucun fichier ou répertoire de ce type
make: *** [config.status] Erreur 1
debuild: fatal error at line 768:
dpkg-buildpackage failed!

Je ne comprend pas ce qui se passe, j'ai parfaitement suivi le tuto.


Merci d'avance à 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 03/04/2007, à 12:05

otheym

Re : Créer un package(tuto creer_un_paquet_avec_cdbs)

UP, personne peut m'aider ?


Aelita, je te promet que l'ont pourra bientôt vivre tous les deux.
Je te le jure mon amour.

Hors ligne

#3 Le 03/04/2007, à 13:10

MrZeroo00

Re : Créer un package(tuto creer_un_paquet_avec_cdbs)

Essaie avec CheckInstall , ça marche bien pour moi avec CheckInstall ^^ .

Hors ligne