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 29/07/2007, à 13:05

obiwankennedy

[résolu]Problème de création d'un paquet.

Bonjour, j'essaie de créer un paquet d'une application que j'ai modifié (gPhpedit). Dans un but d'apprentissage et comme mes modifications ne sont pas officielle je n'ai pas souhaité faire l'update du paquet actuel.
donc j'ai suivi le tuto du wiki.
il y a un souci à la compilation. il m'indique que des bibliothèques ne sont pas présente alors qu'elles le sont.

voici le resultat de la commande "sudo pbuilder build *dsc"

I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.32 2006/11/06 20:06:25 lool Exp $
$Id: pbuilder-buildpackage,v 1.127 2006/08/15 13:14:25 dancer Exp $

Current time: Sun Jul 29 12:47:05 CEST 2007
pbuilder-time-stamp: 1185706025
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.29 2006/11/06 20:20:56 lool Exp $
 -> Considering build-dep debhelper (>= 5)
   -> Trying debhelper
 -> Considering build-dep autotools-dev
   -> Trying autotools-dev
 -> Installing  debhelper autotools-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 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:
  autotools-dev 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/2709kB of archives.
After unpacking 10.7MB of additional disk space will be used.
Selecting previously deselected package libmagic1.
(Reading database ... 13989 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.19-1ubuntu2_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.19-1ubuntu2_i386.deb) ...
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20060920.1_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.16.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.8_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.42ubuntu1_all.deb) ...
Setting up libmagic1 (4.19-1ubuntu2) ...

Setting up file (4.19-1ubuntu2) ...
Setting up autotools-dev (20060920.1) ...
Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.16.1-1ubuntu2) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.8) ...
Setting up debhelper (5.0.42ubuntu1) ...
 -> 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/99.4kB of archives.
After unpacking 397kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 14532 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.10ubuntu2_i386.deb) ...
Setting up fakeroot (1.5.10ubuntu2) ...

Copying back the cached apt archive contents
Copying source file
    -> copying [gphpedit_0.9.93-1ubuntu1.dsc]
    -> copying [./gphpedit_0.9.93.orig.tar.gz]
    -> copying [./gphpedit_0.9.93-1ubuntu1.diff.gz]
Extracting source
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
gpg: can't open `/gnupg/options.skel': No such file or directory
gpg: Signature made Sat Jul 28 12:39:34 2007 UTC using DSA key ID BA4968D6
gpg: Can't check signature: public key not found
dpkg-source: extracting gphpedit in gphpedit-0.9.93
dpkg-source: unpacking gphpedit_0.9.93.orig.tar.gz
dpkg-source: applying ./gphpedit_0.9.93-1ubuntu1.diff.gz
 -> Building the package
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 gphpedit
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.9.93-1ubuntu1
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 Renaud Guezennec 
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.9.93-1ubuntu1
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 
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/tmp/buildd/gphpedit-0.9.93'
Making distclean in po
make[2]: Entering directory `/tmp/buildd/gphpedit-0.9.93/po'
rm -f core core.* *.pox gphpedit.po *.old.po cat-id-tbl.tmp
rm -fr *.o
rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m
make[2]: Leaving directory `/tmp/buildd/gphpedit-0.9.93/po'
Making distclean in src
make[2]: Entering directory `/tmp/buildd/gphpedit-0.9.93/src'
 rm -f gphpedit gphpedit
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.lo
rm -f *.tab.c
rm -f 
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/tmp/buildd/gphpedit-0.9.93/src'
Making distclean in pixmaps
make[2]: Entering directory `/tmp/buildd/gphpedit-0.9.93/pixmaps'
rm -rf .libs _libs
rm -f *.lo
rm -f 
rm -f libtool
rm -f Makefile
make[2]: Leaving directory `/tmp/buildd/gphpedit-0.9.93/pixmaps'
Making distclean in doc
make[2]: Entering directory `/tmp/buildd/gphpedit-0.9.93/doc'
rm -rf .libs _libs
rm -f *.lo
rm -f 
rm -f libtool
rm -f Makefile
make[2]: Leaving directory `/tmp/buildd/gphpedit-0.9.93/doc'
Making distclean in data
make[2]: Entering directory `/tmp/buildd/gphpedit-0.9.93/data'
rm -rf .libs _libs
rm -f *.lo
rm -f 
rm -f libtool
rm -f Makefile
make[2]: Leaving directory `/tmp/buildd/gphpedit-0.9.93/data'
Making distclean in .
make[2]: Entering directory `/tmp/buildd/gphpedit-0.9.93'
rm -rf .libs _libs
rm -f *.lo
rm -f gphpedit.desktop gphpedit.spec
rm -f config.h stamp-h1
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/tmp/buildd/gphpedit-0.9.93'
rm -f config.status config.cache config.log configure.lineno
rm -f Makefile
make[1]: Leaving directory `/tmp/buildd/gphpedit-0.9.93'
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
dh_clean 
 dpkg-source -b gphpedit-0.9.93
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: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field
dpkg-source: building gphpedit using existing gphpedit_0.9.93.orig.tar.gz
dpkg-source: building gphpedit in gphpedit_0.9.93-1ubuntu1.diff.gz
dpkg-source: warning: ignoring deletion of file po/Makefile
dpkg-source: warning: ignoring deletion of file po/Makefile.in
dpkg-source: warning: ignoring deletion of file po/POTFILES
dpkg-source: warning: ignoring deletion of file doc/Makefile
dpkg-source: warning: ignoring deletion of directory src/.deps
dpkg-source: warning: ignoring deletion of file src/.deps/templates.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_util.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_sql.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_python.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_php.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_perl.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_cxx.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab_css.Po
dpkg-source: warning: ignoring deletion of file src/.deps/tab.Po
dpkg-source: warning: ignoring deletion of file src/.deps/syntax_check.Po
dpkg-source: warning: ignoring deletion of file src/.deps/preferences_dialog.Po
dpkg-source: warning: ignoring deletion of file src/.deps/preferences.Po
dpkg-source: warning: ignoring deletion of file src/.deps/plugin.Po
dpkg-source: warning: ignoring deletion of file src/.deps/main_window_callbacks.Po
dpkg-source: warning: ignoring deletion of file src/.deps/main_window.Po
dpkg-source: warning: ignoring deletion of file src/.deps/main.Po
dpkg-source: warning: ignoring deletion of file src/.deps/grel2abs.Po
dpkg-source: warning: ignoring deletion of file src/.deps/gphpedit_ipc.Po
dpkg-source: warning: ignoring deletion of file src/.deps/find_replace.Po
dpkg-source: warning: ignoring deletion of file src/.deps/edit_template.Po
dpkg-source: warning: ignoring deletion of file src/.deps/dummy.Po
dpkg-source: warning: ignoring deletion of file src/.deps/classbrowser_parse.Po
dpkg-source: warning: ignoring deletion of file src/.deps/classbrowser.Po
dpkg-source: warning: ignoring deletion of file src/.deps/calltip.Po
dpkg-source: warning: ignoring deletion of directory src/.libs
dpkg-source: warning: ignoring deletion of file src/templates.o
dpkg-source: warning: ignoring deletion of file src/tab_util.o
dpkg-source: warning: ignoring deletion of file src/tab_sql.o
dpkg-source: warning: ignoring deletion of file src/tab_python.o
dpkg-source: warning: ignoring deletion of file src/tab_php.o
dpkg-source: warning: ignoring deletion of file src/tab_perl.o
dpkg-source: warning: ignoring deletion of file src/tab_css.o
dpkg-source: warning: ignoring deletion of file src/tab_cxx.o
dpkg-source: warning: ignoring deletion of file src/tab.o
dpkg-source: warning: ignoring deletion of file src/syntax_check.o
dpkg-source: warning: ignoring deletion of file src/preferences_dialog.o
dpkg-source: warning: ignoring deletion of file src/preferences.o
dpkg-source: warning: ignoring deletion of file src/main_window_callbacks.o
dpkg-source: warning: ignoring deletion of file src/main_window.o
dpkg-source: warning: ignoring deletion of file src/main.o
dpkg-source: warning: ignoring deletion of file src/plugin.o
dpkg-source: warning: ignoring deletion of file src/grel2abs.o
dpkg-source: warning: ignoring deletion of file src/gphpedit_ipc.o
dpkg-source: warning: ignoring deletion of file src/find_replace.o
dpkg-source: warning: ignoring deletion of file src/edit_template.o
dpkg-source: warning: ignoring deletion of file src/classbrowser_parse.o
dpkg-source: warning: ignoring deletion of file src/classbrowser.o
dpkg-source: warning: ignoring deletion of file src/main_window.h~
dpkg-source: warning: ignoring deletion of file src/main_window.c~
dpkg-source: warning: ignoring deletion of file src/calltip.o
dpkg-source: warning: ignoring deletion of file src/Makefile
dpkg-source: warning: ignoring deletion of file data/Makefile
dpkg-source: warning: ignoring deletion of file pixmaps/Makefile
dpkg-source: warning: ignoring deletion of file stamp-h1
dpkg-source: warning: ignoring deletion of file config.h
dpkg-source: warning: ignoring deletion of file gphpedit.desktop
dpkg-source: warning: ignoring deletion of file config.status
dpkg-source: warning: ignoring deletion of file libtool
dpkg-source: warning: ignoring deletion of file Makefile
dpkg-source: warning: ignoring deletion of file config.log
dpkg-source: warning: ignoring deletion of file gphpedit.spec
dpkg-source: building gphpedit in gphpedit_0.9.93-1ubuntu1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-Wall -g -O2" LDFLAGS="-Wl,-z,defs"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-linux-gnu-gcc accepts -g... yes
checking for i486-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i486-linux-gnu-gcc... gcc3
checking for i486-linux-gnu-g++... i486-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i486-linux-gnu-g++ accepts -g... yes
checking dependency style of i486-linux-gnu-g++... gcc3
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i486-linux-gnu-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i486-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... i486-linux-gnu-g++ -E
checking for i486-linux-gnu-g77... no
checking for i486-linux-gnu-f77... no
checking for i486-linux-gnu-xlf... no
checking for i486-linux-gnu-frt... no
checking for i486-linux-gnu-pgf77... no
checking for i486-linux-gnu-fort77... no
checking for i486-linux-gnu-fl32... no
checking for i486-linux-gnu-af77... no
checking for i486-linux-gnu-f90... no
checking for i486-linux-gnu-xlf90... no
checking for i486-linux-gnu-pgf90... no
checking for i486-linux-gnu-epcf90... no
checking for i486-linux-gnu-f95... no
checking for i486-linux-gnu-fort... no
checking for i486-linux-gnu-xlf95... no
checking for i486-linux-gnu-ifc... no
checking for i486-linux-gnu-efc... no
checking for i486-linux-gnu-pgf95... no
checking for i486-linux-gnu-lf95... no
checking for i486-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from i486-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i486-linux-gnu-ar... no
checking for ar... ar
checking for i486-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i486-linux-gnu-strip... no
checking for strip... strip
checking if i486-linux-gnu-gcc static flag  works... yes
checking if i486-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i486-linux-gnu-gcc option to produce PIC... -fPIC
checking if i486-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i486-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i486-linux-gnu-gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i486-linux-gnu-g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the i486-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for i486-linux-gnu-g++ option to produce PIC... -fPIC
checking if i486-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i486-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i486-linux-gnu-g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking for
        gtk+-2.0
        libgnomeui-2.0
        gnome-vfs-2.0
        libgtkhtml-2.0
        ... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package libgnomeui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found Package libgtkhtml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgtkhtml-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgtkhtml-2.0' found
configure: error: Library requirements (
        gtk+-2.0
        libgnomeui-2.0
        gnome-vfs-2.0
        libgtkhtml-2.0
        ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [config.status] Error 1
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//7530 and its subdirectories

gtk+-2.0.pc
libgnomeui-2.0.pc
libgtkhtml-2.0.pc

ces fichiers sont présents dans le dossier
/usr/lib/pkgconfig/ donc je ne comprends pas. J'ai même ajouté les variables PKG_CONFIG_PATH et PKG_CONFIG_LIBDIR à mon environnement. Rien n'y fait.

Dernière modification par obiwankennedy (Le 06/04/2008, à 20:44)


Dans mes logiciels, j'écris ton nom.
SGNGD: SvgGd is Not GD
Rolisteam

Hors ligne

#2 Le 05/08/2007, à 12:56

mr_pouit

Re : [résolu]Problème de création d'un paquet.

Bonjour,

Installing the build-deps
-> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.29 2006/11/06 20:20:56 lool Exp $
-> Considering build-dep debhelper (>= 5)
   -> Trying debhelper
-> Considering build-dep autotools-dev
   -> Trying autotools-dev
-> Installing  debhelper autotools-dev

Il manque les dépendances de compilation : pbuilder recrée un environnement sain et séparé de ton système principal.
Il faut que tu ajoutes les Build-Depends nécessaires dans ton debian/control

Hors ligne

#3 Le 06/08/2007, à 10:17

obiwankennedy

Re : [résolu]Problème de création d'un paquet.

ce n'est pas cette erreur qui pose problème.Je viens d'écrire les dépendances mais ça ne marche pas avec pbuilder, parcontre si je fais "sudo dpkg-buildpackage -d"  cela marche. Si pbuilder fait un environnement sain et séparé de mon système. Est-ce qu'il peut coupé l'accès a des lib ?


Dans mes logiciels, j'écris ton nom.
SGNGD: SvgGd is Not GD
Rolisteam

Hors ligne

#4 Le 06/08/2007, à 13:05

yakusa77

Re : [résolu]Problème de création d'un paquet.

SALUT obiwankennedy, va dans synaptic et coche libgnomeui-2-dev, le reste devrait suivre j'ai le meme probleme pour compiler debcreator


De vraies interfaces graphique pour vos scripts shell
"Précise 64" | AMD phenom II x4 black édition 965

Hors ligne

#5 Le 06/08/2007, à 19:57

lut!n

Re : [résolu]Problème de création d'un paquet.

obiwankennedy a écrit :

ce n'est pas cette erreur qui pose problème.Je viens d'écrire les dépendances mais ça ne marche pas avec pbuilder, parcontre si je fais "sudo dpkg-buildpackage -d"  cela marche. Si pbuilder fait un environnement sain et séparé de mon système. Est-ce qu'il peut coupé l'accès a des lib ?

La seule chose que pbuilder contient est le systeme de _base_ . Comme Mr_pouit te l'a indiqué, il est necessaire que tu indiques quelles librairies sont nécessaires a la compilation dans le champ Build-Depends du fichier debian/control, afin que pbuilder les installe et que ton programme puisse compiler correctement

Hors ligne

#6 Le 06/08/2007, à 20:00

mr_pouit

Re : [résolu]Problème de création d'un paquet.

obiwankennedy a écrit :

ce n'est pas cette erreur qui pose problème.Je viens d'écrire les dépendances mais ça ne marche pas avec pbuilder, parcontre si je fais "sudo dpkg-buildpackage -d"  cela marche. Si pbuilder fait un environnement sain et séparé de mon système. Est-ce qu'il peut coupé l'accès a des lib ?

Sudo dpkg-buildpackage utilise ton propre système pour construire le paquet, donc si tu as installé les dépendances, c'est normal que ça marche. Si ça ne marche pas avec pbuilder, cela veut dire qu'il te manque des dépendances de compilation (enfin, d'après le premier message).
Peux-tu copier ici ton debian/control ? wink

[+] erf, grillé par un Lutin sad ... wink

Hors ligne

#7 Le 06/08/2007, à 22:23

obiwankennedy

Re : [résolu]Problème de création d'un paquet.

c'est bon sa marche j'ai un peu galerer mais c'est passé.
Il fallait bien ajouter les paquets dans le fichier control.


Merci

Dernière modification par obiwankennedy (Le 06/08/2007, à 23:52)


Dans mes logiciels, j'écris ton nom.
SGNGD: SvgGd is Not GD
Rolisteam

Hors ligne

#8 Le 21/08/2007, à 23:46

yakusa77

Re : [résolu]Problème de création d'un paquet.

obiwankennedy a écrit :

c'est bon sa marche j'ai un peu galerer mais c'est passé.
Il fallait bien ajouter les paquets dans le fichier control.


Merci

stp pourrait tu etre plus precis , car j'ai une erreur similaire que je ne comprends pas car moi maintenant sa plante a cause de gtk+2 et je sait plus quoi faire ....merci


De vraies interfaces graphique pour vos scripts shell
"Précise 64" | AMD phenom II x4 black édition 965

Hors ligne

#9 Le 21/08/2007, à 23:57

obiwankennedy

Re : [résolu]Problème de création d'un paquet.

Salut, donne ton fichier control et le resultat de la commande qui fait une erreur.


Dans mes logiciels, j'écris ton nom.
SGNGD: SvgGd is Not GD
Rolisteam

Hors ligne

#10 Le 22/08/2007, à 01:27

yakusa77

Re : [résolu]Problème de création d'un paquet.

voila la console:

greencase@greencase-desktop:~/sources$ sudo pbuilder build *dsc
Password:
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.32 2006/11/06 20:06:25 lool Exp $
$Id: pbuilder-buildpackage,v 1.127 2006/08/15 13:14:25 dancer Exp $

Current time: Wed Aug 22 01:21:03 CEST 2007
pbuilder-time-stamp: 1187738463
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.29 2006/11/06 20:20:56 lool Exp $
 -> Considering build-dep debhelper (>= 5)
   -> Trying debhelper
 -> Considering build-dep autotools-dev
   -> Trying autotools-dev
 -> Installing  debhelper autotools-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 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:
  autotools-dev 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/2709kB of archives.
After unpacking 10.7MB of additional disk space will be used.
Selecting previously deselected package libmagic1.
(Reading database ... 12067 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.19-1ubuntu2_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.19-1ubuntu2_i386.deb) ...
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20060920.1_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.16.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.8_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.42ubuntu1_all.deb) ...
Setting up libmagic1 (4.19-1ubuntu2) ...

Setting up file (4.19-1ubuntu2) ...
Setting up autotools-dev (20060920.1) ...
Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.16.1-1ubuntu2) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.8) ...
Setting up debhelper (5.0.42ubuntu1) ...
 -> 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/99.4kB of archives.
After unpacking 397kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 12610 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.10ubuntu2_i386.deb) ...
Setting up fakeroot (1.5.10ubuntu2) ...

Copying back the cached apt archive contents
Copying source file
    -> copying [gproftpd_8.3.2.dsc]
    -> copying [./gproftpd_8.3.2.tar.gz]
Extracting source
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
gpg: can't open `/gnupg/options.skel': No such file or directory
gpg: Signature made Sat Aug 18 23:31:07 2007 UTC using DSA key ID 481C86B8
gpg: Can't check signature: public key not found
dpkg-source: extracting gproftpd in gproftpd-8.3.2
dpkg-source: unpacking gproftpd_8.3.2.tar.gz
 -> Building the package
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 gproftpd
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 8.3.2
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 Sylvain Muglia <yakusa77@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-buildpackage: source version without epoch 8.3.2
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 
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/tmp/buildd/gproftpd-8.3.2'
make[1]: *** No rule to make target `distclean'.  Stop.
make[1]: Leaving directory `/tmp/buildd/gproftpd-8.3.2'
make: [clean] Error 2 (ignored)
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
dh_clean 
 dpkg-source -b gproftpd-8.3.2
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 gproftpd in gproftpd_8.3.2.tar.gz
dpkg-source: building gproftpd in gproftpd_8.3.2.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-Wall -g -O2" LDFLAGS="-Wl,-z,defs"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for OS type... Linux (i486-pc-linux-gnu) found.
checking for style of include used by make... GNU
checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-linux-gnu-gcc accepts -g... yes
checking for i486-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i486-linux-gnu-gcc... gcc3
checking for library containing strerror... none required
checking for i486-linux-gnu-gcc... (cached) i486-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i486-linux-gnu-gcc accepts -g... (cached) yes
checking for i486-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i486-linux-gnu-gcc... (cached) gcc3
checking for i486-linux-gnu-gcc... (cached) i486-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i486-linux-gnu-gcc accepts -g... (cached) yes
checking for i486-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i486-linux-gnu-gcc... (cached) gcc3
checking how to run the C preprocessor... i486-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for i486-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 1.3.13) were not met:

No package 'gtk+-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** [config.status] Error 1
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//23159 and its subdirectories

et le fichier control qui se trouve dans mon repertoire debian:

Source: gproftpd
Section: internet
Priority: extra
Maintainer: S................ <adresse mail en clair supprimée>
Build-Depends: debhelper (>= 5), autotools-dev
Standards-Version: 3.7.2

Package: gproftpd
Architecture: any
Depends: libatk1.0-0 (>= 1.13.1), libc6 (>= 2.5-0ubuntu1), libcairo2 (>= 1.4.2), libfontconfig1 (>= 2.4.0), libglib2.0-0 (>= 2.12.9), libgtk2.0-0 (>= 2.10.3), libpango1.0-0 (>= 1.16.2), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3 (>= 1:4.0.1), libxi6, libxinerama1, libxrandr2 (>= 2:1.2.0), libxrender1, proftpd (>=1.3.0)
Description:

voila mais le probleme qui revient très souvent c'est GTK+2 je trouve nul part et j'arrive pas a le compiler non plu........ sad


De vraies interfaces graphique pour vos scripts shell
"Précise 64" | AMD phenom II x4 black édition 965

Hors ligne

#11 Le 22/08/2007, à 11:56

obiwankennedy

Re : [résolu]Problème de création d'un paquet.

Build-Depends: debhelper (>= 5), autotools-dev, gtk+-2.0,gtk+-2.0-dev

essaie un truc comme ça. En gros, le Depends: définit les dépendances pour l'utilisation du programme dans le paquet et Build-Depends définit les dépendances pour la compilation du programme. Donc ajoute gtk+-2.0 ainsi que le paquet de dev qui est associé et il y a surement d'autre -dev à ajouter.


Dans mes logiciels, j'écris ton nom.
SGNGD: SvgGd is Not GD
Rolisteam

Hors ligne

#12 Le 22/08/2007, à 18:14

yakusa77

Re : [résolu]Problème de création d'un paquet.

greencase@greencase-desktop:~/sources$ sudo pbuilder build *dsc
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.32 2006/11/06 20:06:25 lool Exp $
$Id: pbuilder-buildpackage,v 1.127 2006/08/15 13:14:25 dancer Exp $

Current time: Wed Aug 22 18:12:09 CEST 2007
pbuilder-time-stamp: 1187799129
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.29 2006/11/06 20:20:56 lool Exp $
 -> Considering build-dep debhelper (>= 5)
   -> Trying debhelper
 -> Considering build-dep autotools-dev
   -> Trying autotools-dev
 -> Considering build-dep gtk+-2.0
   -> Trying gtk+-2.0
       -> Cannot install gtk+-2.0; apt errors follow:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package gtk+-2.0
W: Unable to locate package gtk+-2.0
E: Could not satisfy build-dependency.
E: pbuilder-satisfydepends failed.
Copying back the cached apt archive contents
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env 
    -> removing directory /var/cache/pbuilder/build//24172 and its subdirectories

voila maintenant j'ai sa...


De vraies interfaces graphique pour vos scripts shell
"Précise 64" | AMD phenom II x4 black édition 965

Hors ligne

#13 Le 22/08/2007, à 21:07

mr_pouit

Re : [résolu]Problème de création d'un paquet.

C'est libgtk2.0-dev (pas besoin de rajouter libgtk2.0-0, le -dev dépend déjà de lui).

Et pour chaque programme manquant signalé par le ./configure, tu peux le trouver avec apt-cache search <mot-clé> par exemple.

Pour t'éviter de devoir exécuter le ./configure à chaque fois, tu peux regarder le contenu du configure.in ou configure.ac, les programmes requis y sont listés (ou encore plus simple, dans le README ou tout autre fichier donné par le développeur). wink

Hors ligne

#14 Le 23/08/2007, à 21:36

yakusa77

Re : [résolu]Problème de création d'un paquet.

big_smile parfait , sa marche mon paquet est crée... c'est genial il m'a meme proposé l'installation d'une dependance manquante encore merci big_smile

Dernière modification par yakusa77 (Le 23/08/2007, à 21:46)


De vraies interfaces graphique pour vos scripts shell
"Précise 64" | AMD phenom II x4 black édition 965

Hors ligne

#15 Le 24/03/2009, à 11:38

jeangenius

Re : [résolu]Problème de création d'un paquet.

bonjour,

j'ai des soucis aussi pour créer mes dependances

lors de la cmd  sudo pbuilder update

j'ai des retours du style:

W: /root/.pbuilderrc does not exist
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
E: failed to find /var/cache/pbuilder/base.tgz, have you done <pbuilder create> to create
your base tarball yes?

de plus pourriez-vous me faire parvenir le contenu du fichier control afin que je puisse  comprendre les dépendances.

je suis bloqué depuis pour créer mes paquets

merci à vous

Hors ligne

#16 Le 14/04/2009, à 10:06

jeangenius

Re : [résolu]Problème de création d'un paquet.

bonjour,

je reviens vers vous quelqu'un a t-il une idée pour installer les dépendances

dans le fichier control sous ubuntu

ligne de cmd:  depends

merci !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:P

Hors ligne