View previous topic :: View next topic |
Author |
Message |
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Wed Jul 26, 2006 10:03 am Post subject: [emerge] nouvelle fonctionnalité --newuse (Résolu!) |
|
|
Salut !
j'ai un petit soucis, ce matin j'ai voulu faire mon journalier emerge -avuDN world et je tombe sur ça :
Code: |
alex@gentoo ~ $ sudo emerge -avuDN world
These are the packages that would be merged, in order:
Calculating world dependencies ... done!
[ebuild R ] sys-libs/gpm-1.20.1-r5 0 kB
[ebuild U ] sys-libs/db-4.3.29-r2 [4.3.29] USE="java -bootstrap -doc -nocxx -tcltk" 0 kB
[ebuild R ] perl-core/Test-Harness-2.62 USE="perl% -minimal" 0 kB
[ebuild R ] perl-core/PodParser-1.34 USE="perl% -minimal" 0 kB
[ebuild R ] dev-lang/python-2.4.3-r1 USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -nocxx -tk% -ucs2" 0 kB
[ebuild R ] dev-perl/Locale-gettext-1.05 USE="perl% -minimal" 0 kB
[ebuild U ] x11-misc/util-macros-1.1.0 [1.0.2] USE="-debug" 42 kB
[ebuild U ] x11-proto/kbproto-1.0.3 [1.0.2] USE="-debug" 56 kB
[ebuild R ] sys-kernel/linux-headers-2.6.11-r5 USE="-gcc64%" 0 kB
[ebuild R ] sys-libs/timezone-data-2006g 0 kB
[ebuild R ] net-fs/samba-3.0.23a USE="cups pam python readline -acl -async -automount -doc -examples -kerberos -ldap -oav -quotas -swat -syslog -winbind" LINGUAS="-ja% -pl%" 0 kB
[ebuild R ] sys-kernel/gentoo-sources-2.6.17-r4 USE="-build -symlink" 0 kB
[ebuild U ] media-sound/alsa-headers-1.0.12_rc1 [1.0.11] 2,339 kB
[ebuild U ] media-libs/alsa-lib-1.0.12_rc1 [1.0.11-r1] USE="-doc" 688 kB
[ebuild U ] media-sound/alsa-utils-1.0.12_rc1 [1.0.11] USE="nls" 966 kB
[ebuild R ] dev-perl/XML-Parser-2.34 USE="perl% -minimal" 0 kB
[ebuild R ] media-libs/libtheora-1.0_alpha6 USE="encode -doc -examples%" 0 kB
[ebuild R ] media-video/mplayer-1.0_pre8-r1 USE="X aac alsa arts dvd dvdread encode esd fbcon gif ipv6 jpeg mad mmx openal opengl oss png samba sdl sse sse2 theora truetype unicode vorbis win32codecs xmms xv xvid -3dfx -3dnow -3dnowext -aalib -amr -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -enca% -ggi -gtk -iconv% -jack -joystick -libcaca -lirc -live -livecd -lzo -matrox -mmxext -musepack -nas -real -rtc -speex -svga -tga -v4l -v4l2 -x264 -xanim -xinerama -xvmc" 0 kB
[ebuild R ] x11-apps/xinit-1.0.2-r6 USE="-debug -minimal%" 0 kB
[ebuild U ] dev-libs/atk-1.12.1 [1.11.4] USE="-debug -doc" 626 kB
[ebuild R ] www-client/mozilla-firefox-1.5.0.4 USE="ipv6 java -debug -gnome -mozdevelop -xinerama -xprint" LINGUAS="fr% -ar% -ca% -cs% -da% -de% -el% -en_GB% -es% -es_AR% -es_ES% -fi% -ga% -ga_IE% -he% -hu% -it% -ja% -ko% -mk% -nb% -nb_NO% -nl% -pl% -pt_BR% -ro% -ru% -sk% -sl% -sv% -sv_SE% -tr% -zh_CN% -zh_TW%" 35 kB
[ebuild R ] dev-perl/String-ShellQuote-1.03 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/MP3-Info-1.20 USE="perl% -minimal" 0 kB
[ebuild R ] media-libs/libao-0.8.6-r2 USE="alsa arts esd -mmap -nas" 0 kB
[ebuild U ] gnome-base/libglade-2.6.0 [2.5.1] USE="-debug -doc" 311 kB
[ebuild R ] app-text/poppler-bindings-0.5.3 USE="gtk qt3% qt4 -cairo" 0 kB
[ebuild R ] dev-perl/yaml-0.62 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/Compress-Zlib-1.42 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/IO-Zlib-1.04 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/IO-String-1.08 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/Archive-Tar-1.29 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/module-build-0.28.01 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/ExtUtils-CBuilder-0.18 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/extutils-parsexs-2.15 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/sdl-perl-2.1.3-r2 USE="mpeg perl% truetype -minimal" 0 kB
[ebuild R ] games-arcade/frozen-bubble-1.0.0-r6 USE="perl% -minimal" 0 kB
[ebuild R ] net-wireless/ieee80211-1.1.13-r1 USE="-debug" 0 kB
[ebuild R ] net-wireless/ipw2200-1.1.3 USE="-debug" 0 kB
[ebuild R ] app-editors/nano-1.3.12-r1 USE="ncurses nls spell unicode -debug -justify -minimal -slang" 0 kB
[ebuild R ] net-misc/openssh-4.3_p2-r2 USE="X% ipv6 pam tcpd -X509 -chroot -hpn -kerberos -ldap -libedit -sftplogging -skey -smartcard -static" 0 kB
[ebuild R ] dev-lang/swig-1.3.29 USE="java perl python -doc -guile -lua -mono -ocaml -php -pike -ruby -tcl% -tk%" 0 kB
[ebuild R ] dev-perl/DateManip-5.44 USE="perl% -minimal" 0 kB
[ebuild R ] kde-base/kmix-3.5.3 USE="alsa arts -debug -kdeenablefinal -xinerama" 0 kB
[ebuild R ] kde-base/kdm-3.5.3-r2 USE="arts pam -debug -kdeenablefinal -kdehiddenvisibility -xinerama" 0 kB
[ebuild U ] dev-libs/klibc-1.4.12 [1.4.11] USE="-debug" 461 kB
[ebuild R ] media-sound/amarok-1.4.1-r2 USE="aac arts ipod kde opengl xmms -debug -ifp -mysql -njb -noamazon -postgres -real -visualization -xinerama" LINGUAS="fr -az -bg -br -ca -cs -cy -da -de -el -en_GB -es -et -fi -ga -gl -he -hi -hu -is -it -ja -ka -km -ko -lt -ms -nb -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -sl -sr -sr@Latn -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 0 kB
[ebuild U ] kde-base/kopete-3.5.3-r3 [3.5.3-r2] USE="arts ssl xmms -debug -kdeenablefinal -kdehiddenvisibility -sametime -xinerama" 0 kB
[ebuild R ] media-libs/pdflib-6.0.3 USE="java perl python -tcl%" 0 kB
[ebuild R ] media-libs/libsamplerate-0.1.2 USE="-fftw% -sndfile" 691 kB
[ebuild R ] dev-perl/Archive-Zip-1.16 USE="perl% -minimal" 0 kB
[ebuild R ] gnome-base/libbonobo-2.14.0 USE="-debug -doc" 0 kB
[ebuild R ] dev-perl/XML-NamespaceSupport-1.09 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/XML-SAX-0.14-r1 USE="perl% -minimal" 0 kB
[ebuild R ] dev-perl/XML-Simple-2.14 USE="perl% -minimal" 0 kB
Total size of downloads: 6,219 kB
|
bref une floppée d'ebuild qui sont déjà installés que portage veut compiler, je comprend pas très bien.
si je fais un emerge -avuD world :
Code: |
alex@gentoo ~ $ sudo emerge -avuD world
These are the packages that would be merged, in order:
Calculating world dependencies ... done!
[ebuild U ] sys-libs/db-4.3.29-r2 [4.3.29] USE="java -bootstrap -doc -nocxx -tcltk" 0 kB
[ebuild U ] x11-misc/util-macros-1.1.0 [1.0.2] USE="-debug" 42 kB
[ebuild U ] x11-proto/kbproto-1.0.3 [1.0.2] USE="-debug" 56 kB
[ebuild U ] media-sound/alsa-headers-1.0.12_rc1 [1.0.11] 2,339 kB
[ebuild U ] media-libs/alsa-lib-1.0.12_rc1 [1.0.11-r1] USE="-doc" 688 kB
[ebuild U ] media-sound/alsa-utils-1.0.12_rc1 [1.0.11] USE="nls" 966 kB
[ebuild U ] dev-libs/atk-1.12.1 [1.11.4] USE="-debug -doc" 626 kB
[ebuild U ] gnome-base/libglade-2.6.0 [2.5.1] USE="-debug -doc" 311 kB
[ebuild U ] dev-libs/klibc-1.4.12 [1.4.11] USE="-debug" 461 kB
[ebuild U ] kde-base/kopete-3.5.3-r3 [3.5.3-r2] USE="arts ssl xmms -debug -kdeenablefinal -kdehiddenvisibility -sametime -xinerama" 0 kB
Total size of downloads: 5,492 kB
Would you like to merge these packages? [Yes/No]
|
ça me semble déjà bcp plus normal.
Je comprend pas pk emerge veut me faire recompiler un paquet comme app-editors/nano alors que y'a rien à updater ! qqn à le même problème ?
merci ^___^
EDIT
j'ai portage-2.1.1_pre3-r5, j'ai essayé en downgradant et ça résoud le problème, c'est donc résolu. _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion)
Last edited by kaworu on Mon Aug 07, 2006 8:13 am; edited 4 times in total |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3624 Location: Belgium
|
Posted: Wed Jul 26, 2006 10:07 am Post subject: |
|
|
Tu as modifié tes useflags ? |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Wed Jul 26, 2006 10:09 am Post subject: |
|
|
non, aucun changement du coté des uses , et sys-apps/portage-2.1.1_pre3-r4 me sort la bonne update alors que la r5 non.. _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
DuF Advocate
Joined: 09 Dec 2002 Posts: 2687 Location: Paris
|
Posted: Thu Jul 27, 2006 12:07 am Post subject: |
|
|
J'ai constaté le même comportement que toi... n'ayant pas trop de temps à chercher si quelque chose sur bugzilla a été fait, j'ai aussi descendu d'une version portage afin d'obtenir quelque chose de plus "cohérent". |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Thu Jul 27, 2006 12:35 am Post subject: |
|
|
On en parle ici et sur le bugzilla. |
|
Back to top |
|
|
titoucha Advocate
Joined: 21 Jul 2005 Posts: 2374 Location: Genève
|
Posted: Thu Jul 27, 2006 2:13 am Post subject: |
|
|
@pierreg tu passes ton temps sur bugzilla tu as toujours la réponse |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Thu Jul 27, 2006 6:26 am Post subject: |
|
|
titoucha wrote: | @pierreg tu passes ton temps sur bugzilla tu as toujours la réponse |
+1
(pierreg modo ! gogogo!) ^___^ _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Thu Jul 27, 2006 7:16 am Post subject: |
|
|
kaworu wrote: | titoucha wrote: | @pierreg tu passes ton temps sur bugzilla tu as toujours la réponse |
+1
(pierreg modo ! gogogo!) ^___^ |
lol, bah en général c'est vrai que je trouve souvent ce que je cherche sur le bugzilla, mais là le lien est donnée dans le topic que j'ai donné (ce post) ^^
Pour être modo, je suis pas contre, mais faut trouver un slogan |
|
Back to top |
|
|
titoucha Advocate
Joined: 21 Jul 2005 Posts: 2374 Location: Genève
|
Posted: Thu Jul 27, 2006 9:20 am Post subject: |
|
|
Non pas de slogan, on essaye toute la journée de nous enfiler des tas de choses nulles à coup de slogan il suffit d'être bon et il me semble que c'est ton cas. |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Sat Jul 29, 2006 9:01 am Post subject: |
|
|
Yo !
même problème avec sys-apps/portage-2.1.1_pre4 ce matin...
anyone else ? _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Jul 29, 2006 9:12 am Post subject: |
|
|
kaworu wrote: | Yo !
même problème avec sys-apps/portage-2.1.1_pre4 ce matin...
anyone else ? |
C'est pas un problème, mais un nouveau comportement de portage... c'est normal ! Il veut recompiler les paquets ou il y a eu des ajouts de useflags ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
titoucha Advocate
Joined: 21 Jul 2005 Posts: 2374 Location: Genève
|
Posted: Sat Jul 29, 2006 9:12 am Post subject: |
|
|
Tout est ok chez moi
C'était le comportement qu'il avait avant avec l'option -N |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Sat Jul 29, 2006 9:38 am Post subject: |
|
|
kernel_sensei wrote: |
C'est pas un problème, mais un nouveau comportement de portage... c'est normal ! Il veut recompiler les paquets ou il y a eu des ajouts de useflags ! |
ah.. ok alors je vais recompiler.. snif.
merci ! _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Fri Aug 04, 2006 2:13 pm Post subject: |
|
|
Salut à tous !
Alors voilà, après l'update de portage, qui voulais recompiler tous les paquets avec ajout/supression de USEflag, j'ai tout recompilé en pensant qu'il n'allait le faire qu'une fois. Mais mainteant dans mon journalier emerge -avuDN world après le sync, je trouve toujours des paquets déjà installés.
Ce matin :
Code: |
alex@gentoo ~ $ sudo emerge -avuDN world
These are the packages that would be merged, in order:
Calculating world dependencies ... done!
[ebuild R ] sys-libs/db-4.3.29-r2 USE="java -bootstrap -doc -nocxx -tcl%" 0 kB
...
|
alors que ce paquet est installé depuis 2 semaines. Je comprend pas pourquoi tout à coups, aujourd'hui, portage veut le recompiler !
Est-ce que je suis le seul à avoir ce problème ?
Si c'est un "nouveau comportement de portage", à quoi ça sert ?
comment retrouver un emerge -N qui fait ce que je veux, c'est à dire ré-emerger les paquets dont j'ai modifié les USEflags sans ré-emerger les paquets comme db, ou cela ne changera strictement rien. _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3624 Location: Belgium
|
Posted: Fri Aug 04, 2006 2:31 pm Post subject: |
|
|
kaworu wrote: | Quote: |
[ebuild R ] sys-libs/db-4.3.29-r2 USE="java -bootstrap -doc -nocxx -tcl%" 0 kB |
|
Il y a un flag qui a changé dans l'ebuild. On propose donc de le recompiler.
Si ça t'ennuie, enlève l'option "-N" de ton emerge. |
|
Back to top |
|
|
geekounet Bodhisattva
Joined: 11 Oct 2004 Posts: 3772 Location: Wellington, Aotearoa
|
Posted: Fri Aug 04, 2006 2:54 pm Post subject: |
|
|
kaworu wrote: | Est-ce que je suis le seul à avoir ce problème ?
Si c'est un "nouveau comportement de portage", à quoi ça sert ? |
kernel_sensei wrote: | C'est pas un problème, mais un nouveau comportement de portage... c'est normal ! Il veut recompiler les paquets ou il y a eu des ajouts de useflags ! |
|
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Fri Aug 04, 2006 7:42 pm Post subject: |
|
|
oui mais db, c'est un paquet qui a deux semaines, donc le use qui est "nouveau" c'est depuis 2 semaines, pourquoi il me propose de l'emerger maintenant alors que hier j'ai fais la même commande (emerge -avuDN world)...
et comment retrouver la fonction -newuse qu'il y'avait avant (qui fesait ce que je voulais quoi!).. _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Fri Aug 04, 2006 8:26 pm Post subject: |
|
|
Quote: |
I argue that "emerge --newuse" should notice such ebuilds. Suppose
ebuild cat/package-1.2.3 has added USE flag "xyzzy". Maybe the
current state (enabled or disabled) of "xyzzy" will imply that
re-emerging cat/package-1.2.3 will make a difference. If so, it
should be re-emerged right away if I now do "emerge --newuse --deep
world". But even if the ebuild's behavior has not changed with the
current status of "xyzzy", if I now toggle the status of "xyzzy" and
do "emerge --newuse --deep world", cat/package-1.2.3 should be
re-emerged. Because emerge has no way of knowing for sure it should
be conservative and re-emerge the package.
|
j'ai pas tout compris, mais ça doit être ma réponse, mais ça explique pas pk portage veut me ré-emergé aujourd'hui db, et non pas hier.. _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
PabOu Veteran
Joined: 11 Feb 2004 Posts: 1088 Location: Hélécine - Belgium
|
Posted: Fri Aug 04, 2006 8:31 pm Post subject: |
|
|
je veux pas dire mais.. c'est ca de tourner en ~x86.
Lorsque les développeurs se seront mis d'accord, et qu'ils auront codé puis débuggué leur code.. alors ca passera en ARCH. Mais en attendant, tu es sujet à tous les petits changements selon l'humeur des développeurs, pour tester et/ou montrer leurs idées. _________________ Mangez du poulet ! |
|
Back to top |
|
|
kaworu Guru
Joined: 07 Dec 2005 Posts: 450
|
Posted: Mon Aug 07, 2006 8:12 am Post subject: |
|
|
@ Pabou : c'est vrai ^___^
En faite je viens (je crois) de comprendre un truc. Les USES d'un paquet peuvent changer sans que la version du paquet change. J'ai compris ça avec Pyhton, qui avait un USE tcltk, et qui s'est transformé en tk.
Dans mon /etc/portage/packages.use j'avais mis le USE tcltk pour python. Puis hier je démarre python et il ne veut plus m'importer la librairie TKinter. Je matte Python et je vois plus aucun flag tcltk, mais un tk à la place. alors je change mon /etc/portage/packages.use , puis je matte au hasard, depuis quelle version le USE a changé. Et en faite, maintenant toutes les versions de Pyhton dans portage ont le USE tcltk qui à été remplacé par tk !!!
grâce à ça j'ai compris. lorsque python a changé de use, portage me l'a fait réinstaller (avec un emerge --newuse), sans le USE tcltk (qui n'existait plus) et sans le USE tk, que je n'avais pas parametré. Du coups, il à réinstallé la même version [ R ] python, parce que les USE changaient, et ça changait vraiment qqch parce que du coup il l'a réinstallé sans la librairie TKinter, mais le changement n'était pas visible sur le output de portage, vu que ce qui changait avait disparu (le USE tcltk).
Pour le paquet db, j'imagine que l'ebuild à changé ses USES sans changer de version.
Enfin voilà, j'ai enfin compris, mais c'était pas très clair avant. Désolé si j'ai énérvé du monde (k_s mea culpa ), et j'espère que ceux qui passeront bientot cette nouvelle fonctionnalité en stable auront lu ce message pour comprendre..
Là où était mon erreur, c'est que je pensais que si un ebuild changais de USE, la version changait aussi. _________________ Macbook
Core2Duo @ 2.0GHz - 1Go RAM - HD 80Go - Intel GMA 945
Gentoo GNU/Linux
~amd64 - 2.6.24-gentoo-r2 - Fluxbox || (KDE && Compiz-Fusion) |
|
Back to top |
|
|
|