View previous topic :: View next topic |
Author |
Message |
SiOu Apprentice
Joined: 08 Apr 2005 Posts: 271
|
Posted: Mon Feb 07, 2011 12:50 pm Post subject: [Portage/Layman] Layman inactif ? (Résolue) |
|
|
Bonjour,
Voila tout d'un coup les overlays que javais activé dans portage ont disparus... je ne comprends pas.
Du coup la plus part de mes packages veulent être downgradé car ils trouvent plus l'ebuild.
J'ai bien le bon source dans mon make.conf, laymal -l me retourne bien mes overlays et le make.conf de layman semble correcte, j'ai tenté de re-emerger layman sans succé.
Voici en détail mes fichiers de conf :
/etc/make.conf
Quote: |
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="freetype dbus hal gnutls mmx sse sse2 kde mysql mng qt qt3support qt4 opengl png jpeg -gnome -gtk sql svg webkit X x264 mastroka vorbis acc theora xvid lastfm ogg mpeg ffmpeg dvd flac puls$
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
ALSA_CARDS="hda-intel"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev keyboard mouse synaptics"
LANG="fr_FR.UTF-8"
LINGUAS="fr"
source /var/lib/layman/make.conf
PORTDIR_OVERLAY="/usr/local/portage"
|
layman -l
/var/lib/layman/make.conf
Quote: |
siou@localhost ~ $ cat /var/lib/layman/make.conf
PORTDIR_OVERLAY="
/var/lib/layman/zugaina
/var/lib/layman/roslin
/var/lib/layman/piczu
/var/lib/layman/amielke-overlay
/var/lib/layman/mpd
/var/lib/layman/rubenqba
/var/lib/layman/calculate
/var/lib/layman/raw
/var/lib/layman/kde
/var/lib/layman/rion
/var/lib/layman/pcsx2
$PORTDIR_OVERLAY
"
siou@localhost ~ $
|
Pour autant les ebuilds des overlays suivant ne se trouve pas dans portage.... Je suis perdu la :s
ps : evidemment j'ai bien fait un layman -S
Last edited by SiOu on Mon Feb 07, 2011 2:05 pm; edited 1 time in total |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1902 Location: 127.0.0.1
|
Posted: Mon Feb 07, 2011 1:24 pm Post subject: |
|
|
Quote: |
source /var/lib/layman/make.conf
PORTDIR_OVERLAY="/usr/local/portage"
|
Dans ton make.conf, si tu redéfinis la variable PORTDIR_OVERLAY juste après avoir lu le fichier de configuration de layman, pas étonnant que tes overlays ne soient pas pris en compte. Inverse ces 2 lignes. |
|
Back to top |
|
|
SiOu Apprentice
Joined: 08 Apr 2005 Posts: 271
|
Posted: Mon Feb 07, 2011 2:05 pm Post subject: |
|
|
Merci effectivement c'était ca, dans un sens c'est logique, dans l'autre dans aucun des tutos (concernant layman) qui trainent sur la toile ne parle de cette possible erreur .... car bon faut avouer que selon l'ordre des lignes placées dans le make.conf ca peut faire foirer la config c'est un peu débile :S |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8710 Location: ~Brussels - Belgique
|
|
Back to top |
|
|
SiOu Apprentice
Joined: 08 Apr 2005 Posts: 271
|
Posted: Mon Feb 07, 2011 2:21 pm Post subject: |
|
|
ah bon je suis miro, autant pour moi
Mais bon ca reste débile |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1902 Location: 127.0.0.1
|
Posted: Mon Feb 07, 2011 2:26 pm Post subject: |
|
|
Il y a un warning dans l'ebuild :
Quote: |
$ grep ewarn $(equery w layman) | tail -n 2
ewarn "Please add the 'source' statement to make.conf only AFTER "
ewarn "you added your first overlay. Otherwise portage will fail."
|
Ce n'est pas débile. Ces fichiers de configuration ne sont pas de simples fichiers textes, ce sont des fichiers de configuration qui définissent des variables interprétées par un shell. L'ordre de définition a donc une importance. |
|
Back to top |
|
|
|