Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error apres (emerge -auDN world)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
chawarma
n00b
n00b


Joined: 10 Feb 2007
Posts: 3

PostPosted: Sat Feb 10, 2007 8:58 am    Post subject: Error apres (emerge -auDN world) Reply with quote

Bonjour,

Je suis un debutant et j'essaye de monter un TinyGentoo en suivant les infos sur le site http://downbe.at/nl/2007/01/18/howto-gentoo-based-usb-linux-qemu-image/ mais je ne peux plus continuer a cause d'une erreur survenue lors de l'execution de la commande emerge -auDN world. Voici la sortie de mon ecran. Merci.


ubuntu / # emerge -auDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild R ] sys-libs/ncurses-5.5-r3 USE="minimal* -build*"
[ebuild N ] sys-libs/readline-5.1_p4
[ebuild N ] dev-libs/expat-1.95.8 USE="-test"
[ebuild R ] dev-lang/python-2.4.3-r4 USE="ncurses* readline* -build*"
[ebuild U ] sys-kernel/linux-headers-2.6.17-r2 [2.4.26-r1]
[ebuild N ] sys-libs/com_err-1.39 USE="(-nls)"
[ebuild N ] sys-libs/ss-1.39 USE="(-nls)"
[ebuild U ] sys-apps/texinfo-4.8-r5 [4.8-r2] USE="-build*"
[ebuild N ] sys-fs/e2fsprogs-1.39 USE="(-nls) -static"
[ebuild N ] sys-apps/util-linux-2.12r-r5 USE="-crypt (-nls) -old-crypt -per l (-selinux) -static"
[ebuild R ] sys-apps/grep-2.5.1-r8 USE="-build*"
[ebuild U ] app-arch/gzip-1.3.5-r10 [1.3.5-r9] USE="-build*"
[ebuild N ] sys-apps/kbd-1.12-r8 USE="(-nls)"
[ebuild N ] sys-apps/busybox-1.2.2.1 USE="-debug -make-symlinks -netboot -s avedconfig -static"
[ebuild U ] sys-devel/m4-1.4.7 [1.4.6]
[ebuild R ] dev-lang/perl-5.8.8-r2 USE="-build*"
[ebuild N ] perl-core/Test-Harness-2.56
[ebuild N ] perl-core/PodParser-1.32
[ebuild R ] sys-devel/patch-2.5.9 USE="-build*"
[ebuild R ] app-arch/tar-1.15.1-r1 USE="-build*"
[ebuild N ] sys-libs/cracklib-2.8.9-r1 USE="(-nls) -python"
[ebuild U ] sys-apps/shadow-4.0.18.1 [4.0.15-r2] USE="cracklib*"
[ebuild N ] sys-process/psmisc-22.2 USE="-X -ipv6 (-nls) (-selinux)"
[ebuild NS ] sys-devel/automake-1.9.6-r2
[ebuild R ] sys-apps/baselayout-1.12.6 USE="-build*"
[ebuild N ] sys-apps/module-init-tools-3.2.2-r1 USE="-no-old-linux"
[ebuild U ] sys-apps/file-4.19 [4.17-r1]
[ebuild R ] app-arch/bzip2-1.0.3-r6 USE="-build*"
[ebuild N ] dev-libs/popt-1.10.7 USE="(-nls)"
[ebuild U ] net-misc/rsync-2.6.9-r1 [2.6.8-r2]
[ebuild R ] sys-apps/debianutils-2.15-r1 USE="-build*"
[ebuild U ] app-editors/nano-2.0.2 [1.3.12-r1] USE="minimal* ncurses*"
[ebuild N ] app-arch/cpio-2.6-r5 USE="(-nls)"
[ebuild N ] net-misc/dropbear-0.47-r1 USE="minimal zlib -multicall -pam -st atic"
[ebuild N ] sys-fs/udev-104-r9 USE="(-selinux)"
[ebuild U ] sys-apps/findutils-4.3.2 [4.3.0]
[ebuild R ] net-misc/wget-1.10.2 USE="-build*"
[ebuild N ] sys-apps/which-2.16
[ebuild U ] sys-devel/binutils-config-1.9-r3 [1.9-r2]
[ebuild N ] sys-process/procps-3.2.6 USE="(-n32)"
[ebuild NS ] sys-libs/uclibc-0.9.28.1 USE="minimal -build -debug -hardened ( -iconv) -ipv6 (-nls) -pregen -savedconfig -uclibc-compat -userlocales -wordexp"
[ebuild U ] sys-devel/gcc-config-1.3.14 [1.3.13-r4]
[ebuild U ] sys-devel/gcc-4.1.1-r3 [4.1.1] USE="-build*"

Would you like to merge these packages? [Yes/No] y

>>> Emerging (1 of 43) sys-libs/ncurses-5.5-r3 to /
* ncurses-5.5.tar.gz MD5 ;-) ... [ ok ]
* ncurses-5.5.tar.gz RMD160 ;-) ... [ ok ]
* ncurses-5.5.tar.gz SHA1 ;-) ... [ ok ]
* ncurses-5.5.tar.gz SHA256 ;-) ... [ ok ]
* ncurses-5.5.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking ncurses-5.5.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking ncurses-5.5.tar.gz to /var/tmp/portage/ncurses-5.5-r3/work
* Applying ncurses-5.5-gfbsd.patch ... [ ok ]
* Applying ncurses-5.5-terminfo-gnome.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5 ...
* econf: updating ncurses-5.5/config.guess with /usr/share/gnuconfig/config.gue ss
* econf: updating ncurses-5.5/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/ncurses-5.5-r3/work/ncurses-5.5/configure --prefix=/usr --host= i386-gentoo-linux-uclibc --mandir=/usr/share/man --infodir=/usr/share/info --dat adir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --with- terminfo-dirs=/etc/terminfo:/usr/share/terminfo --disable-termcap --with-shared --with-rcs-ids --without-ada --enable-symlinks --enable-const --with-chtype=long --with-mmask-t=long --with-manpage-format=normal --without-debug --without-gpm --without-trace --build=i386-gentoo-linux-uclibc
Configuring NCURSES 5.5 ABI 5 (Sat Feb 10 07:54:26 UTC 2007)
checking build system type... i386-gentoo-linux-uclibc
checking host system type... i386-gentoo-linux-uclibc
checking target system type... i386-gentoo-linux-uclibc
Configuring for linux-uclibc
checking for prefix... /usr
checking for i386-gentoo-linux-uclibc-gcc... i386-gentoo-linux-uclibc-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether i386-gentoo-linux-uclibc-gcc accepts -g... yes
checking version of i386-gentoo-linux-uclibc-gcc... 4.1.1
checking how to run the C preprocessor... i386-gentoo-linux-uclibc-gcc -E
checking whether i386-gentoo-linux-uclibc-gcc needs -traditional... no
checking whether i386-gentoo-linux-uclibc-gcc understands -c and -o together... yes
checking for POSIXized ISC... no
checking for i386-gentoo-linux-uclibc-gcc option to accept ANSI C... -DCC_HAS_PR OTOS
checking for ldconfig... /sbin/ldconfig
checking if you want to ensure bool is consistent with C++... yes
checking for i386-gentoo-linux-uclibc-g++... i386-gentoo-linux-uclibc-g++
checking whether we are using the GNU C++ compiler... no
checking whether i386-gentoo-linux-uclibc-g++ accepts -g... no
checking if you want to build C++ binding and demo... yes
checking if you want to build with Ada95... no
checking if you want to build programs such as tic... yes
checking if you wish to install curses.h... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c
checking for long file names... yes
checking if filesystem supports mixed-case filenames... yes
checking whether ln -s works... yes
checking for ctags... no
checking for etags... no
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for man... no
checking for man_db... no
checking for i386-gentoo-linux-uclibc-ranlib... i386-gentoo-linux-uclibc-ranlib
checking for i386-gentoo-linux-uclibc-ld... i386-gentoo-linux-uclibc-ld
checking for i386-gentoo-linux-uclibc-ar... i386-gentoo-linux-uclibc-ar
checking for archiver options (symbol AR_OPTS)... rv
checking for makeflags variable...
checking if you have specified an install-prefix...
checking if you want to build libraries with libtool... no
checking if you want to build shared libraries... yes
checking if you want to build static libraries... yes
checking if you want to build debug libraries... no
checking if you want to build profiling libraries... no
checking for specified models... shared normal
checking for default model... shared
checking if you want to build a separate terminfo library... no
checking if you want to link with dbmalloc for testing... no
checking if you want to link with dmalloc for testing... no
checking if you want to link with the GPM mouse library... no
checking for default loader flags...
checking if rpath option should be used... no
checking if release/abi version should be used for shared libs... auto
checking which i386-gentoo-linux-uclibc-gcc option to use... -fPIC
checking if you wish to install ncurses overwriting curses... yes
checking if external terminfo-database is used... yes
checking which terminfo source-file will be installed... ${top_srcdir}/misc/term info.src
checking for list of fallback descriptions...
checking if you want modern xterm or antique... xterm-new
checking for list of terminfo directories... /etc/terminfo:/usr/share/terminfo
checking for default terminfo directory... /usr/share/terminfo
checking if big-core option selected... yes
checking if you want termcap-fallback support... no
checking if ~/.terminfo is wanted... yes
checking if you want to use restrict environment when running as root... yes
checking for remove... yes
checking for unlink... yes
checking if link/symlink functions work... link symlink
checking if tic should use symbolic links... yes
checking if you want broken-linker support code... no
checking if i386-gentoo-linux-uclibc-gcc -U and -D options work together... yes
checking if we must define _GNU_SOURCE... yes
checking for nl_langinfo and CODESET... yes
checking if you want wide-character code... no
checking whether to enable _LP64 definition in curses.h... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether to use struct dirent64... no
checking for type of bool... auto
checking for alternate terminal capabilities file... Caps
checking for type of chtype... long
checking for type of ospeed... short
checking for type of mmask_t... long
checking if tputs should process BSD-style prefix padding... no
checking if RCS identifiers should be compiled-in... yes
checking format of man-pages... normal
checking for manpage renaming... no
checking if manpage aliases will be installed... yes
checking if manpage symlinks should be used... yes
checking for manpage tbl... no
checking if you want to build with function extensions... yes
checking for extended use of const keyword... yes
checking if you want $NCURSES_NO_PADDING code... yes
checking if you want SIGWINCH handler... yes
checking if you want user-definable terminal capabilities like termcap... yes
checking if you want all development code... no
checking if you want hard-tabs code... no
checking if you want limited support for xmc... no
checking if you do not want to assume colors are white-on-black... yes
checking if you want hashmap scrolling-optimization code... yes
checking if you want colorfgbg code... no
checking if you want to use experimental extended colors... no
checking if you want to use experimental extended mouse encoding... no
checking if you want experimental safe-sprintf code... no
checking if you want to display full commands during build... yes
checking if you want to see compiler warnings...
configure: checking for i386-gentoo-linux-uclibc-gcc __attribute__ directives...
... scanf
... printf
... unused
... noreturn
checking if you want to enable runtime assertions... no
checking whether to add trace feature to all models... no
checking for gettimeofday... yes
checking if -lm needed for math functions... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for regular-expression headers... regex.h
checking for fcntl.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for poll.h... yes
checking for sys/bsdtypes.h... no
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for ttyent.h... yes
checking for unistd.h... yes
checking for wctype.h... yes
checking if sys/time.h works with sys/select.h... yes
checking for i386-gentoo-linux-uclibc-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if unsigned literals are legal... yes
checking if external errno is declared... yes
checking if external errno exists... yes
checking if data-only library module links... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getttynam... yes
checking for issetugid... no
checking for poll... yes
checking for remove... (cached) yes
checking for select... yes
checking for setbuf... yes
checking for setbuffer... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... no
checking for strdup... yes
checking for strstr... yes
checking for tcgetpgrp... yes
checking for times... yes
checking for vsnprintf... yes
checking for isascii... yes
checking whether sigaction needs _POSIX_SOURCE... no
checking if nanosleep really works... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking whether termios.h needs _POSIX_SOURCE... no
checking for tcgetattr... yes
checking for vsscanf function or workaround... vsscanf
checking for working mkstemp... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for type sigaction_t... no
checking declaration of size-change... yes
checking for memmove... yes
checking if poll really works... yes
checking if we should include stdbool.h... yes
checking for builtin bool type... no
checking whether i386-gentoo-linux-uclibc-g++ understands -c and -o together... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/ncurses-5.5-r3/work/narrowc/config.log

!!! ERROR: sys-libs/ncurses-5.5-r3 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ncurses-5.5-r3.ebuild, line 50: Called do_compile
ncurses-5.5-r3.ebuild, line 71: Called econf '--libdir=/lib' '--with-terminf o-dirs=/etc/terminfo:/usr/share/terminfo' '--disable-termcap' '--with-shared' '- -with-rcs-ids' '--without-ada' '--enable-symlinks' '--enable-const' '--with-chty pe=long' '--with-mmask-t=long' '--with-manpage-format=normal' '--without-debug' '--without-gpm' '--without-trace'
ebuild.sh, line 540: Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if rel evant.
Back to top
View user's profile Send private message
_Seth_
Guru
Guru


Joined: 15 Sep 2004
Posts: 539
Location: encore paumé dans un labo ;)

PostPosted: Sat Feb 10, 2007 9:21 am    Post subject: Reply with quote

Salut & bienvenue !
Au vu du lien que tu donnes vers le tuto de TinyGentoo, dis mois si je me plante mais :
- tu es sur une autre distribution linux.
- tu essayes d'installer une gentoo toute petite sur une clé usb, sans Xorg (tout en console) et avec de l'encryption.

Avant de jeter un coup d'oeil à ton erreur, je voudrais juste savoir (par curiosité) si tu as déjà essayé DamnSmall Linux ? Veux-tu utiliser ta clé TinyGentoo sur windows avec qemu (comme le fais l'auteur du guide) ?

Sinon pour ton erreur il semblerait que ton compilateur c++ ne soit pas correct : quand tu es dans l'environnement chrooté, quelle est ta version de g++ ? Sinon es tu sur d'avoir bien récupéré une archive non corrompue avec le wget ftp://ftp.ussg.iu.edu/pub/linux/gentoo/experimental/x86/embedded/stages/stage1-x86-uclibc-2006.1.tar.bz2 ?
_________________
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Back to top
View user's profile Send private message
chawarma
n00b
n00b


Joined: 10 Feb 2007
Posts: 3

PostPosted: Sat Feb 10, 2007 10:53 pm    Post subject: Reply with quote

Merci pour l'aide,

Mon but est de faire un livecd ou liveusb le plus compact possible et d'ajouter au fur et a mesure des logiciels (ex: serveur SIP, vdr ...). J'ai essaye d'installer Gentoo 2006.1 sur mon Laptop mais sans succe, le Livecd marche bien, La je travaille sur Ubuntu.
J'ai verifie les chksum des fichiers (stage1 et portage) que j' ai telecharge, tout est beau.
Pour la version du compilateur, j'ai eu
Quote:
root@ubuntu:/media/hda1/linux# g++ --version
bash: g++: command not found


Je vais essayer de refaire l'exercice ce soir.
Back to top
View user's profile Send private message
_Seth_
Guru
Guru


Joined: 15 Sep 2004
Posts: 539
Location: encore paumé dans un labo ;)

PostPosted: Sun Feb 11, 2007 12:50 am    Post subject: Reply with quote

Ok, je comprends un peu mieux ce que tu veux faire. Je te réponds en 3 points :
1) es-tu sûr d'avoir besoin d'un embedded-linux ? Tu vas travailler dans un environnement vraiment très restreint qui est fait pour répondre à des besoins précis (installer linux sur un pda, sur des archi embarqués, etc), d'après ce qu'il me semble. Cela me semble relativement incompatible avec l'idée d'un serveur SIP ou VDR (mais je me trompe peut être). Pourquoi ne pas utiliser plutôt Catalyst ? En faisant un peu de recherche sur le net tu devrais trouver tout ce qu'il te faut. Un petit lien pour commencer :wink:
2) Si tu souhaites utiliser embedded-linux avec gentoo, je te conseille d'autres tutoriels, car il me semble que celui que tu utilises n'est pas complet : voici la page du projet officiel gentoo embedded, un guide et un how-to.
3)
chawarma wrote:
Je vais essayer de refaire l'exercice ce soir.

Je pense que tu vas retomber sur la même erreur car Gentoo est une distribution basée sur les sources (que tu compiles pour chaque appli que tu installes) et tu n'as de compilateur installé après avoir suivi ton how-to. Emerge est le gestionnaire de package de gentoo (il calcule les dépendances, télécharge les sources, les compile et les installe) : pas de compilateur, pas d'installation (et ton emerge -auDN world plantera systématiquement). Dans le tuto que tu as suivi, tu as téléchargé la base de ton système (c'est l'archive ftp://ftp.ussg.iu.edu/pub/linux/gentoo/experimental/x86/embedded/stages/stage1-x86-uclibc-2006.1.tar.bz2) et installé portage (le gestionnaire de package que tu appelles avec la commande emerge). Mais tu n'as pas fait le boostrap de ton système. D'après le guide que je t'ai indiqué, tu devrais faire quelque chose du genre :
Code:
# cd /usr/portage/scripts
# ./bootstrap.sh -p -v
# ./bootstrap.sh

Regarde le guide en détail, il explique tout cela.
_________________
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Back to top
View user's profile Send private message
chawarma
n00b
n00b


Joined: 10 Feb 2007
Posts: 3

PostPosted: Wed Feb 14, 2007 6:32 pm    Post subject: Reply with quote

Meric pour les informations et ton aide. J'ai regarde les sites que tu m'as conseilles, j'ai constate que celui que j'utilisais avait saute des etapes :), je vais suivre le guide (http://www.bulah.com/embedded-guide.html) et je vais change d'odrdi pourque la compilation prenne mois de temps.
Back to top
View user's profile Send private message
_Seth_
Guru
Guru


Joined: 15 Sep 2004
Posts: 539
Location: encore paumé dans un labo ;)

PostPosted: Thu Feb 15, 2007 12:31 am    Post subject: Reply with quote

amuse-toi bien ;)
Si jamais tu veux passer à autre chose que Ubuntu, gentoo te permettra d'apprendre pas mal de choses sur ton linux et surtout de pouvoir choisir exactement ce dont tu as besoin, comme tu le souhaites. Si tu es tenté, jete un coup d'oeil ici :D
_________________
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum