View previous topic :: View next topic |
Author |
Message |
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 8:36 am Post subject: [emerge] plusieurs erreurs de compilation |
|
|
Bonjour,
j'ai rallumé un pc chez moi que je n'ai pas mis à jour depuis quelques mois, et j'ai pas mal de choses qui ne veulent pas compiler, surtout chez KDE, mais aussi aterm par exemple. Les erreurs données ne sont pas toujours les meme :
Quote: | configure: error: C compiler cannot create executables |
Quote: | i686-pc-linux-gnu-gcc: o such file or directory |
Quote: | SLATION -c -o pagerbutton.lo pagerbutton.cpp
pagerapplet.cpp: In member function 'void KMiniPager::updateDesktopLayout(int, int, int)':
pagerapplet.cpp:374: error: 'Orientation' is not a member of 'NET'
pagerapplet.cpp:374: error: expected `;' before 'orient'
pagerapplet.cpp:376: error: 'class NETRootInfo' has no member named 'setDesktopLayout'
pagerapplet.cpp:376: error: 'orient' was not declared in this scope
pagerapplet.cpp:376: error: 'DesktopLayoutCornerTopLeft' is not a member of 'NET'
|
Bref des erreurs à répétitions, mais jamais identiques.
Si toutefois, encore une fois, les bonnes âmes du forum avaient une idée sur la question :)
Merci |
|
Back to top |
|
|
ceric35 Tux's lil' helper
Joined: 27 Aug 2006 Posts: 115
|
Posted: Fri Feb 22, 2008 9:14 am Post subject: |
|
|
c'est un peu vague pour répondre
tente un "emerge -uavDN world" et donne la trace des qu'il y a l'erreur pour voir...
et un "emerge --info" |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 9:27 am Post subject: |
|
|
Alors, les messages que j'ai collé plus haut, sont ceux qui sont donnés après faire un emerge -DNuavt world ... c'est vague oué mais je peux pas en donner plus, sauf tout paster les débuts decompilation, ce qui me parait inutile.
Quote: |
Calculating dependencies... done!
[ebuild U ] kde-base/kdesu-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/kcheckpass-3.5.8 [3.5.7] USE="arts pam xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/kgpg-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/lisa-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] mail-client/evolution-2.12.2 [2.10.2] USE="crypt dbus hal ipv6 pda spell ssl -debug -doc -kerberos -krb4 -ldap -mono -networkmanager% -nntp -profile (-bogofilter%)" 0 kB
[ebuild U ] kde-base/kppp-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/artsplugin-xine-3.5.8 [3.5.7] USE="xinerama -debug -kdeenablefinal" 0 kB
Total: 7 packages (7 upgrades), Size of downloads: 0 kB
...........
exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -
DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o sudlg.o sudlg.cpp
/bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno
-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-s
ubscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp
-pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non
-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -D
QT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kdesu -L/u
sr/kde/3.5/lib -L/usr/qt/3/lib -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /u
sr/qt/3/lib * QA: stop using the bindnow-flags function ... simply drop it from
your ebuild
i686-pc-linux-gnu-g++: o such file or directory
/bin/sh: 01m*: command not found
make[3]: *** [kdesu] Erreur 127
make[3]: quittant le répertoire « /var/tmp/portage/kde-base/kdesu-3.5.8/work/kde
su-3.5.8/kdesu/kdesu »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/kde-base/kdesu-3.5.8/work/kde
su-3.5.8/kdesu »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/kde-base/kdesu-3.5.8/work/kde
su-3.5.8 »
make: *** [all] Erreur 2
*
* ERROR: kde-base/kdesu-3.5.8 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4380: Called kde-meta_src_compile
* environment, line 2893: Called kde_src_compile
* environment, line 3074: Called kde_src_compile 'src_compile'
* environment, line 3195: Called kde_src_compile 'src_compile' 'al
l' 'myconf'
* environment, line 3191: Called die
* The specific snippet of code:
* emake || die "died running emake, $FUNCNAME:make"
* The die message:
* died running emake, kde_src_compile:make
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/kde-base/kdesu-3.5.8/tem
p/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kdesu-3.
5.8/temp/environment'.
*
|
Voilà, mais ça n'est qu'un exemple, j'ai purgé tout ce qui compilait, avec un --skipfirst, mais là il me reste pas mal de choses encore. Les erreurs ne sont jamais les meme comme je le disais plus haut.
Sinon lors du configure, j'ai un message qui lui revient très souvent :
|
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Fri Feb 22, 2008 9:34 am Post subject: |
|
|
Tente un revdep-rebuild _________________ Full Gentoo powered. |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 10:20 am Post subject: |
|
|
je l'ai déjà fait hier soir, il ne recompile rien, et me dit que tout va bien ... Je retente de suite malgrès tout. |
|
Back to top |
|
|
the_phiphi Tux's lil' helper
Joined: 20 Dec 2004 Posts: 88
|
Posted: Fri Feb 22, 2008 10:36 am Post subject: |
|
|
salut,
autre solution (un peu radicale mais fiable) :
Code: | emerge -evp system && emerge -evp world |
interessante surtout si tu dois mettre à jour GCC par exemple .... |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 11:02 am Post subject: |
|
|
Ca va etre long ça non ? :p |
|
Back to top |
|
|
Bio Apprentice
Joined: 17 Mar 2003 Posts: 197 Location: Geneva which should be in Switzerland...
|
Posted: Fri Feb 22, 2008 11:08 am Post subject: |
|
|
bouyafa wrote: | Ca va etre long ça non ? :p |
Un peu oui _________________ I'm all in ! |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 1:20 pm Post subject: |
|
|
Quote: | emerge -evp system && emerge -evp world |
Ca va résoudre le soucis sur les paquets qui compilent pas non plus, comme je l'ai montré en début de post ?
Sinon il s'avère que certaines choses que revdep me trouve n'existe pas/plus :
Quote: |
/usr/bin/gnome_segv -> gnome-base/gnome-libs
/usr/bin/goad-browser -> gnome-base/gnome-libs
/usr/bin/loadshlib -> gnome-base/gnome-libs
|
http://pastebin.ca/913817
Mais ça n'est pas le cas pour tout. mais c'est quoi ce binz |
|
Back to top |
|
|
ryo-san l33t
Joined: 17 Feb 2005 Posts: 729
|
Posted: Fri Feb 22, 2008 1:33 pm Post subject: |
|
|
Quote: | i686-pc-linux-gnu-g++: o such file or directory |
salut,
emerge --info ?
si c'est bien ton compilateur, tu dois avoir des problemes d'environnements, verifie que tu as bien fait
ou
et si tu appelles directement la commande i686-pc-linux-gnu-g++ , ca crie ? |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 2:39 pm Post subject: |
|
|
Je ne connaissais meme pas dispatch-conf. Bon alors j'ai mis toutes files à jour avec, et repassé un coup de etc-update. J'ai retenté un emerge -DNuavt world, mais les erreurs de compilations resident.
Quote: | emerge -DNuavt world
These are the packages that would be merged, in reverse order:
Calculating world dependencies /
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
x11-themes/gdm-themes
... done!
[ebuild U ] kde-base/artsplugin-xine-3.5.8 [3.5.7] USE="xinerama -debug -kdeenablefinal" 0 kB
[ebuild U ] kde-base/kppp-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] mail-client/evolution-2.12.2 [2.10.2] USE="crypt dbus hal ipv6 pda spell ssl -debug -doc -kerberos -krb4 -ldap -mono -networkmanager% -nntp -profile (-bogofilter%)" 0 kB
[ebuild U ] kde-base/lisa-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/kgpg-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/kcheckpass-3.5.8 [3.5.7] USE="arts pam xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/kdesu-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility" 0 kB
[ebuild U ] kde-base/kwin-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility -xcomposite" 0 kB
[ebuild U ] kde-base/kaddressbook-3.5.8 [3.5.7] USE="arts xinerama -debug -gnokii -kdeenablefinal" 0 kB
[ebuild U ] kde-base/kicker-3.5.8 [3.5.7] USE="arts xinerama -debug -kdeenablefinal -kdehiddenvisibility -xcomposite" 0 kB
[ebuild U ] kde-base/kdelibs-3.5.8-r3 [3.5.7-r3] USE="acl alsa arts cups spell xinerama -avahi -bindist -branding -debug -doc -fam -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -tiff -utempter" 0 kB
[ebuild U ] kde-base/arts-3.5.8 [3.5.5] USE="alsa jack mp3 vorbis xinerama -artswrappersuid -debug -esd -kdeenablefinal -nas" 0 kB
[ebuild U ] net-print/cups-1.2.12-r4 [1.2.12-r3] USE="X dbus jpeg nls pam png ppds ssl -ldap -php -samba -slp -tiff" 0 kB
[ebuild U ] sys-libs/glibc-2.6.1 [2.5-r4] USE="nls -debug -gd% -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla% (-build%) (-glibc-compat20%) (-nptl%*) (-nptlonly%*)" 0 kB
[ebuild U ] x11-terms/aterm-1.0.1 [1.0.0-r1] USE="-background -cjk -xgetdefault" 0 kB
[nomerge ] kde-base/kdepim-meta-3.5.8 USE="-pda"
[nomerge ] kde-base/kmail-3.5.8 USE="arts crypt xinerama -debug -kdeenablefinal"
[ebuild U ] app-crypt/pinentry-0.7.4-r1 [0.7.3] USE="ncurses -caps -gtk -qt3" 0 kB
Total: 16 packages (16 upgrades), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 16) app-crypt/pinentry-0.7.4-r1 to /
* pinentry-0.7.4.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking pinentry-0.7.4.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pinentry-0.7.4.tar.gz to /var/tmp/portage/app-crypt/pinentry-0.7.4-r1/work
* Applying pinentry-0.7.4-grab.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-crypt/pinentry-0.7.4-r1/work/pinentry-0.7.4 ...
* econf: updating pinentry-0.7.4/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating pinentry-0.7.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --enable-maintainer-mode --disable-pinentry-gtk --disable-pinentry-gtk2 --disable-pinentry-qt --enable-pinentry-curses --enable-fallback-curses --without-libcap --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-crypt/pinentry-0.7.4-r1/work/pinentry-0.7.4/config.log
*
* ERROR: app-crypt/pinentry-0.7.4-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2711: Called econf 'src_compile' 'src_compile' '--disable-dependency-tracking' '--enable-maintainer-mode' '--disable-pinentry-gtk' '--disable-pinentry-gtk2' '--disable-pinentry-qt' '--enable-pinentry-curses'
* ebuild.sh, line 513: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-crypt/pinentry-0.7.4-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-crypt/pinentry-0.7.4-r1/temp/environment'.
*
|
J'ai aussi tenté :
Quote: | # i686-pc-linux-gnu-g++
i686-pc-linux-gnu-g++: pas de fichier à l'entrée
|
Je tenterais bien de recompiler tout system et world, mais je ne suis pas persuadé que cela servira à quelque chose ?
Voici mon emerge --info
http://pastebin.ca/913968 |
|
Back to top |
|
|
Desintegr l33t
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Fri Feb 22, 2008 2:52 pm Post subject: |
|
|
Faudrait voir les logs :
- /var/tmp/portage/app-crypt/pinentry-0.7.4-r1/work/pinentry-0.7.4/config.log
- /var/tmp/portage/app-crypt/pinentry-0.7.4-r1/temp/build.log _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
|
Back to top |
|
|
Desintegr l33t
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Fri Feb 22, 2008 3:29 pm Post subject: |
|
|
Et gcc-config -l ça dit quoi ? _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 3:44 pm Post subject: |
|
|
Que j'utilise [7] i686-pc-linux-gnu-4.1.2 * |
|
Back to top |
|
|
Temet Advocate
Joined: 14 Mar 2006 Posts: 2586 Location: 92
|
Posted: Fri Feb 22, 2008 3:57 pm Post subject: |
|
|
Je l'ai eu une fois cette erreur et j'ai vraiment galéré pour m'en sortir.
J'ai cru que j'allais devoir réinstaller.
Le hic, c'est que je ne... euh, atta...
Est ce que t'as à la fois GCC 3 et 4 ? Moi c'était ça qui avait causé l'erreur. _________________ Full Gentoo powered. |
|
Back to top |
|
|
Desintegr l33t
Joined: 25 Mar 2004 Posts: 863 Location: France - Orléans
|
Posted: Fri Feb 22, 2008 4:01 pm Post subject: |
|
|
L'erreur semble être causée par la ligne append-ldflags $(bindnow-flags) de l'ebuild et qui transforme tes LDFLAGS en :
Code: | LDFLAGS='QA: stop using the bindnow-flags function ... simply drop it from your ebuild -Wl,-z,now' |
et fait planter ta compilation.
Tu as quoi dans le fichier /usr/portage/eclass/flag-o-matic.eclass ? _________________ Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Fri Feb 22, 2008 4:25 pm Post subject: |
|
|
Temet, oui j'ai les deux mais je ne me sert que du 4
Quote: |
# gcc-config -l
[1] i686-pc-linux-gnu-3.3.6
[2] i686-pc-linux-gnu-3.4.6
[3] i686-pc-linux-gnu-3.4.6-hardened
[4] i686-pc-linux-gnu-3.4.6-hardenednopie
[5] i686-pc-linux-gnu-3.4.6-hardenednopiessp
[6] i686-pc-linux-gnu-3.4.6-hardenednossp
[7] i686-pc-linux-gnu-4.1.2 *
|
|
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Sat Feb 23, 2008 7:26 am Post subject: |
|
|
Ce matin, eix-sync bien sur, emerge gcc ensuite .... emerge -DNuavt world pour finir. Oui pour finir, tout compile sans soucis ce matin. Je ne sais pas pourquoi ni comment, ça m'étonnerai que recompiler gcc ait changé beacoup de choses.
Bref le problème à l'air résolu, je voue remercie tous pour votre aide et le temps passé.
Merci @++ |
|
Back to top |
|
|
bouyafa Tux's lil' helper
Joined: 23 Apr 2006 Posts: 141
|
Posted: Sat Feb 23, 2008 9:46 am Post subject: |
|
|
Malgrès tout une question réside :
Quote: | # revdep-rebuild -X
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /usr/bin/gnome_segv (requires libgdk_imlib.so.1)
broken /usr/bin/goad-browser (requires libgdk_imlib.so.1)
broken /usr/bin/loadshlib (requires libgdk_imlib.so.1)
broken /usr/bin/playsound (requires libFLAC.so.7)
broken /usr/lib/libgnomecanvaspixbuf.so.1.0.0 (requires libgdk_imlib.so.1)
broken /usr/lib/libgnomeui.so.32.14.1 (requires libgdk_imlib.so.1)
broken /usr/lib/libSDL_sound-1.0.so.1.0.0 (requires libFLAC.so.7)
broken /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Gtk/Gdk/ImlibImage/ImlibImage.so (requires libgdk_imlib.so.1)
broken /usr/lib/libgnomecanvaspixbuf.la (requires /usr/lib/libgdk_imlib.la)
broken /usr/lib/libgnomeui.la (requires /usr/lib/libgdk_imlib.la)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to packages...
/usr/bin/gnome_segv -> gnome-base/gnome-libs
/usr/bin/goad-browser -> gnome-base/gnome-libs
/usr/bin/loadshlib -> gnome-base/gnome-libs
/usr/bin/playsound -> media-libs/sdl-sound
/usr/lib/libgnomecanvaspixbuf.so.1.0.0 -> media-libs/gdk-pixbuf
/usr/lib/libgnomeui.so.32.14.1 -> gnome-base/gnome-libs
/usr/lib/libSDL_sound-1.0.so.1.0.0 -> media-libs/sdl-sound
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/Gtk/Gdk/ImlibImage/ImlibImage.so -> dev-perl/gtk-perl
/usr/lib/libgnomecanvaspixbuf.la -> media-libs/gdk-pixbuf
/usr/lib/libgnomeui.la -> gnome-base/gnome-libs
done.
(/root/.revdep-rebuild.4_packages_raw, /root/.revdep-rebuild.4_package_owners)
Cleaning list of packages to rebuild... done.
(/root/.revdep-rebuild.4_packages)
Assigning packages to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
|
J'ai beau rm les fichiers temporaires, revdep ne répare rien. Dans cette liste, je m'apercoie que gnome-libs n'existe plus, idem pour gtk-perl et gdk-pixbuf. Je compte donc les désinstaller, mais pour sdl-sound ? |
|
Back to top |
|
|
|