Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mercurial Depends on Mercurial while emerging layman /world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
clovisfc
n00b
n00b


Joined: 10 Aug 2011
Posts: 3
Location: France

PostPosted: Wed Aug 10, 2011 3:21 am    Post subject: Mercurial Depends on Mercurial while emerging layman /world Reply with quote

Hello,

This is my first post on this forum, I did search and read online, but came up empty, so I decided to post here.

I am trying to setup kerberos authentication on my network along with ldap and samba as a PDC, but maybe this should be the subject of another post.

Any way while trying to emerge layman earlier on both my machines (i finally gave up) and now while trying to update world with emerge --update --newuse --deep @world, I get this on one machine:

Quote:

Calculating dependencies ... done!


[nomerge ] sys-kernel/genkernel-9999 [3.4.17] USE="bash-completion (selinux*) (-ibm)"
[nomerge ] app-text/asciidoc-9999 USE="-examples -graphviz -highlight -test -vim-syntax"
[ebuild N ] dev-vcs/mercurial-9999 USE="bash-completion -bugzilla -emacs -gpg -test -tk -zsh-completion" 0 kB
[ebuild U ] sys-kernel/genkernel-9999 [3.4.17] USE="bash-completion (selinux*) (-ibm)" 12,763 kB
[ebuild N ] app-text/asciidoc-9999 USE="-examples -graphviz -highlight -test -vim-syntax" 0 kB
[ebuild R ] media-sound/pulseaudio-9999 USE="X alsa asyncns avahi* caps dbus glib orc tcpd udev -bluetooth -doc -equalizer -gnome -ipv6* -jack* -libsamplerate -lirc (-oss) -realtime (-system-wide) -test*" 0 kB
[nomerge ] x11-terms/terminator-0.95 USE="dbus* -gnome"
[nomerge ] x11-libs/vte-0.28.1-r200 USE="introspection python -debug -doc -glade"
[nomerge ] dev-python/pygtk-2.24.0-r1 USE="-doc -examples -test"
[nomerge ] gnome-base/libglade-2.6.4 USE="-doc -static-libs -test*"
[nomerge ] x11-libs/gtk+-2.24.5-r1 USE="introspection xinerama* (-aqua) -cups* -debug -doc -examples* -test* -vim-syntax"
[nomerge ] x11-libs/gdk-pixbuf-2.22.1-r2 USE="X introspection jpeg svg tiff -debug -doc -jpeg2k* -test*"
[nomerge ] dev-libs/gobject-introspection-0.10.8 USE="-doc -test*"
[nomerge ] sys-devel/flex-2.5.35_p10 [2.5.35] USE="nls -static"
[nomerge ] sys-devel/libtool-9999 [2.2.10] USE="-vanilla"
[ebuild NS ] sys-devel/automake-9999 [1.10.3, 1.11.1] 0 kB
[ebuild U ] net-misc/iputils-99999999 [20100418-r1] USE="ssl -SECURITY_HAZARD -doc -idn -ipv6* -static" 0 kB
[nomerge ] dev-db/mysql-5.1.58-r1 [5.1.58] USE="berkdb community (selinux*) ssl -big-tables -cluster -debug -embedded -extraengine -latin1* -max-idx-128 -minimal -pbxt -perl* -profiling -static -test* -xtradb"
[nomerge ] dev-db/mysql-init-scripts-2.0_pre1-r2
[ebuild U ] sys-apps/openrc-9999 [0.8.3-r1] USE="ncurses pam (selinux*) -debug -unicode*" 0 kB
[ebuild U ] dev-vcs/git-9999 [1.7.3.4-r1] USE="bash-completion* blksha1 curl iconv threads webdav -cgi -cvs -doc -emacs -gtk -perl* (-ppcsha1) -python% -subversion -tk -xinetd" 0 kB

Total: 8 packages (4 upgrades, 2 new, 1 in new slot, 1 reinstall), Size of downloads: 12,763 kB

* Error: circular dependencies:

(dev-vcs/mercurial-9999::gentoo, ebuild scheduled for merge) depends on
(dev-vcs/mercurial-9999::gentoo, ebuild scheduled for merge) (buildtime)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.



and this on the other:

Quote:

Calculating dependencies ... done!


[nomerge ] sys-kernel/genkernel-9999 [3.4.17] USE="bash-completion* (-ibm) (-selinux)"
[nomerge ] app-text/asciidoc-9999 USE="examples graphviz highlight test -vim-syntax"
[ebuild N ] dev-vcs/mercurial-9999 USE="bash-completion emacs gpg -bugzilla -test -tk -zsh-completion" 0 kB
[ebuild U ] sys-kernel/genkernel-9999 [3.4.17] USE="bash-completion* (-ibm) (-selinux)" 0 kB
[ebuild N ] app-text/asciidoc-9999 USE="examples graphviz highlight test -vim-syntax" 0 kB
[nomerge ] gnome-base/gnome-2.32.1 USE="cdr cups dvdr ldap policykit -accessibility -mono"
[nomerge ] gnome-base/librsvg-2.34.0-r1 USE="gtk gtk3* -doc -tools"
[nomerge ] sys-devel/libtool-9999 [2.2.10] USE="-vanilla"
[ebuild NS ] sys-devel/automake-9999 [1.9.6-r3, 1.11.1] 0 kB
[ebuild U ] net-misc/iputils-99999999 [20100418-r1] USE="ssl -SECURITY_HAZARD -doc -idn -ipv6* -static" 0 kB
[nomerge ] sys-apps/baselayout-2.0.3 [2.0.2] USE="-build"
[ebuild U ] sys-apps/openrc-9999 [0.8.3-r1] USE="ncurses pam unicode -debug (-selinux)" 0 kB
[ebuild U ] dev-vcs/git-9999 [1.7.3.4-r1] USE="bash-completion* blksha1 curl gtk* iconv perl python%* threads webdav -cgi -cvs -doc -emacs (-ppcsha1) -subversion -tk -xinetd" 0 kB

Total: 7 packages (4 upgrades, 2 new, 1 in new slot), Size of downloads: 0 kB

* Error: circular dependencies:

(dev-vcs/mercurial-9999::gentoo, ebuild scheduled for merge) depends on
(dev-vcs/mercurial-9999::gentoo, ebuild scheduled for merge) (buildtime)

* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.


I think it may have to do with my make.conf which I'm sure is wrong with use flags somehow. I have tried to unset them completely, then to start with a fresh minimal set then adjust them each time I emerge a new ebuild in make.conf if I want to use them generally, or in package.use if just for one package.

Here is my make .conf, the Use flags are set that way for clarity of reading:

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=pentium4 -pipe"
CXXFLAGS="${CFLAGS}"
# 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="i686-pc-linux-gnu"

ACCEPT_KEYWORDS="x86 **"
ACCEPT_LICENSE="*"

MAKEOPTS="-j6"


GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"

SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"


USE="${USE} truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx" #XUSE
USE="${USE} jpeg gif tiff png svg pdf" #IMAGEUSE
USE="${USE} alsa mad vidix asf win32codecs dvd mp4 aac x264 xvid nsplugin mp3 real gstreamer" #MEDIAUSE
USE="${USE} utils bindist bash-completion kerberos apache2 php network-manager asterisk ads swat samba mysql festival mbrola mbrola-voices gpm java bzip2 ldap symlink sqlite spell xml avahi zeroconf" #GENERAL
USE="${USE} hardened hal fbcon syslog directfb fbcondecor libkms fam dbus aoss threads" #SYSTEM
USE="${USE} -ipv6" #NOTUSE
USE="${USE} kde qt qt3 arts" #KDEUSE
USE="${USE} -gtk -cairo -glitz -gnome -firefox" #GNOMEUSE




LINGUAS="en fr"

VIDEO_CARDS="intel"
INPUT_DEVICES="evdev"

#distcc: cross compilation, to run distributed compilations accross an array of servers,
#candy: progress bar in portage
#userfetch: run portage as superuser
FEATURES="distcc-pump candy -userfetch"

DISTCC_HOSTS="192.168.1.22,cpp,lzo 192.168.20,cpp,lzo 192.168.1.4,cpp,lzo"

EMERGE_DEFAULT_OPTS="--autounmask-write=y"



Second one:

Quote:
USE="truetype X new-login xorg xscreensaver xv xcomposite xinerama opengl aiglx"
USE="${USE} jpeg gif tiff png svg pdf" #IMAGEUSE
USE="${USE} alsa mad vidix asf win32codecs dvd mp4 aac x264 xvid nsplugin mp3 real gstreamer" #MEDIAUSE
USE="${USE} bindist bash-completion kerberos network-manager samba gpm socks5 bookmarks java bzip2 openldap ldap symlink sqlite spell xml avahi zeroconf" #GENERAL
USE="${USE} hal fbcon python3 lib32 mdnsresponder-compat directfb fbcondecor libkms fam dbus aoss threads" #SYSTEM
USE="${USE} -arts -qt4 -ipv6" #NOT USE
USE="${USE} -kde -qt3" #KDEUSE
USE="${USE} gtk gtk3 cairo glitz gnome firefox" #GNOMEUSE


CFLAGS="-O2 -march=k8 -pipe"

CXXFLAGS="${CFLAGS}"

CHOST="x86_64-pc-linux-gnu"

ACCEPT_KEYWORDS="amd64 ~amd64 **"

ACCEPT_LICENSE="*"

FEATURES="distcc-pump candy"

DISTCC_HOSTS="192.168.1.22,cpp,lzo localhost 192.168.1.20,cpp,lzo"

DISTCC_DIR="/var/tmp/portage/.distcc"

LINGUAS="en fr"

VIDEO_CARDS="nouveau fbdev v4l vesa vga"

INPPUT_DEVICES="keyboard mouse evdev"

MAKEOPTS="-j6"

#********** Portage Stuff **********
# Wait how long before cleaning a package
CLEAN_DELAY="7"

#Wait how long on displaying an important warning
EMERGE_WARNING_DELAY="14"

EMERGE_DEFAULT_OPTS="--autounmask-write=y"

GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"

SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"


Here are my package.use files:

Quote:

x11-base/xorg-server udev
x11-base/xorg-server udev
x11-base/xorg-server udev
app-accessibility/festival asterisk
net-misc/asterisk mysql mmx pri
net-misc/asterisk mysql mmx pri
net-misc/asterisk mysql mmx vmdbmysql alsa doc gtk speex
net-misc/asterisk mysql mmx vmdbmysql alsa doc gtk h323 speex http osplookup span srtp newt
x11-libs/qt -mysql
net-fs/samba acl ads doc swat syslog
app-crypt/mit-krb5 doc openldap xinetd
app-misc/screen pam multiuser nethack doc
www-client/w3m X fbcon gpm gtk imlib lynxkeymap nls nntp ssl unicode xface
dev-libs/boehm-gc threads
#required by x11-terms/terminator-0.95, required by terminator (argument)
>=x11-libs/vte-0.28.1-r200:0 python
#required by www-client/firefox-5.0-r2, required by firefox (argument)
>=media-libs/libpng-1.5.4 apng
www-client/firefox dbus libnotify startup-notification
sys-devel/gcc hardened ntpl nls libffi multilib
app-misc/tmux vim-syntax
app-editors/vim acl nls perl python ruby vim-pager X bash-completion cscope gpm
dev-util/cscope emacs
app-editors/emacs alsa dbus gconf gif gtk gzip-el gpm jpeg kerberos m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft xpm leim sendmail hesiod
app-emacs/emacs-common-gentoo emacs22icons
app-editors/vim-core acl
dev-libd/vim-core acl
dev-libs/m17n-lib gd
#required by sys-apps/policycoreutils-2.0.85, required by sec-policy/selinux-base-policy-2.20101213-r18, required by sec-policy/selinux-openvpn-2.20101213, required by net-misc/openvpn-2.2.0-r1, required by openvpn (argument)
>=sys-libs/libsemanage-2.0.46 python
#required by sys-apps/policycoreutils-2.0.85, required by sec-policy/selinux-base-policy-2.20101213-r18, required by sec-policy/selinux-openvpn-2.20101213, required by net-misc/openvpn-2.2.0-r1, required by openvpn (argument)
>=sys-libs/libselinux-2.0.98 python
net-misc/openvpn iproute2
net-misc/ntp caps
net-dns/avahi bookmarks dbus doc gdbm qt4 mdnsresponder-compat utils
net-dns/avahi bookmarks dbus doc gdbm qt4 mdnsresponder-compat utils python
net-misc/ntp caps snmp
#required by media-sound/pulseaudio-9999[udev], required by @selected, required by @world (argument)
>=sys-fs/udev-9999 hwdb
gnome-base/gdm gnome-keyring
www-client/elinks bittorrent ftp
gnome-base/gdm gnome-keyring remote
x11-libs/qt-sql qt3support
x11-libs/qt-core qt3support
x11-libs/qt-gui qt3support
x11-libs/qt-gui qt3support
sys-block/parted device-mapper
sys-auth/consolekit policykit
x11-libs/qt-core -qt3support
x11-libs/qt-declarative +qt3support
#required by kde-base/okular-4.6.5[pdf], required by kde-base/kdegraphics-meta-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=app-text/poppler-0.16.7 qt4
#required by x11-libs/libxcb-1.7, required by x11-libs/libX11-1.4.3, required by x11-apps/xdpyinfo-1.2.0, required by kde-base/filelight-4.6.5, required by kde-base/kdeutils-meta-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=dev-lang/python-2.7.2-r2:2.7 gdbm
#required by kde-base/kopete-4.6.5, required by kde-base/kdenetwork-meta-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=x11-libs/qt-gui-4.7.3 mng
#required by media-libs/phonon-gstreamer-9999, required by media-libs/phonon-9999[gstreamer], required by kde-base/kdelibs-4.6.5, required by kde-base/libplasmagenericshell-4.6.5, required by kde-base/plasma-workspace-4.6.5, required by kde-base/kdeplasma-addons-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=media-plugins/gst-plugins-meta-0.10-r6 ogg vorbis
#required by x11-libs/qt-declarative-4.7.3, required by kde-base/kdelibs-4.6.5, required by kde-base/libplasmagenericshell-4.6.5, required by kde-base/plasma-workspace-4.6.5, required by kde-base/kdeplasma-addons-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=x11-libs/qt-opengl-4.7.3 qt3support
dev-lang/php gd
#required by sys-fs/udisks-1.0.3-r1, required by kde-base/kdelibs-4.6.5[udisks], required by kde-base/libplasmagenericshell-4.6.5, required by kde-base/plasma-workspace-4.6.5, required by kde-base/kdeplasma-addons-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=sys-fs/udev-9999 gudev
#required by app-text/gnome-doc-utils-0.20.6, required by gnome-base/gdm-2.20.11, required by x11-misc/xscreensaver-5.14[new-login], required by kde-base/kdeartwork-kscreensaver-4.6.5[xscreensaver], required by kde-base/kdeartwork-meta-4.6.5, required by kde-base/kde-meta-4.6.5, required by @selected, required by @world (argument)
>=dev-libs/libxml2-2.7.8-r1 python
#required by x11-base/xorg-server-1.10.3[-minimal], required by x11-base/xorg-x11-7.4-r1, required by @selected, required by @world (argument)
>=media-libs/mesa-7.11_rc2 -nptl



Second one:

Quote:


media-libs/libpng apng
dev-lang/python sqlite
x11-base/xorg-server kdrive
gnome-base/gnome-vfs samba avahi doc kerberos
gnome-base/gvfs samba avahi doc kerberos
gnome-base/gvfs samba avahi doc kerberos bash-completion archive gnome-keyring fuse
sys-devel/distcc avahi xinetd
sys-devel/distcc avahi xinetd
media-libs/mesa -gallium
media-libs/libjpeg-turbo static-libs
media-libs/libpng static-libs
media-libs/libmng static-libs
media-libs/lcms static-libs
virtual/jpeg static-libs
media-gfx/splashutils fbcondecor
media-libs/freetype static-libs
media-gfx/splashutils fbcondecor
app-portage/layman mercurial git
dev-vcs/layman mercurial git
dev-vcs/mercurial bash-completion emacs gpg
app-text/asciidoc examples graphviz highlight test
media-libs/gd fontconfig
x11-terms/terminator gnome
app-crypt/mit-krb5 openldap xinetd
app-misc/screen pam multiuser nethack doc
www-client/w3m X fbcon gpm gtk imlib lynxkeymap nls nntp ssl unicode xface
dev-libs/boehm-gc threads
dev-lang/ruby doc examples libedit xemacs threads ssl rubytests
app-editors/xemacs alsa eolconv esd gif gpm pop ldap xface nas dnd X jpeg tiff png mule motif xft xim athena neXt Xaw3d berkdb
x11-libs/openmotif xft
media-sound/mp3blaster esd
mail-client/mutt doc gpg idn imap mbox nls nntp pop sasl smime smtp ssl sidebar
net-im/centerim rss
net-irc/irssi socks5
net-proxy/dante kerberos
sys-apps/portage python3
net-fs/samba acl ldap kerberos pam
net-nds/openldap sasl samba kerberos
dev-libs/cyrus-sasl authdaemond -java kerberos pam ldap sasl
#required by sys-fs/cryptsetup-1.2.0-r1[static], required by sys-auth/pam_mount-2.10[crypt], required by pam_mount (argument)
>=dev-libs/libgpg-error-1.10 static-libs
#required by sys-fs/cryptsetup-1.2.0-r1[static], required by sys-auth/pam_mount-2.10[crypt], required by pam_mount (argument)
>=dev-libs/popt-1.16-r1 static-libs
#required by sys-fs/cryptsetup-1.2.0-r1, required by sys-auth/pam_mount-2.10[crypt], required by pam_mount (argument)
>=dev-libs/libgcrypt-1.5.0 static-libs
net-fs/samba ads doc examples swat syslog
net-nds/openldap icu doc examples swat
net-nds/openldap icu slp samba tcpd sasl ssl syslog smbkrb5passwd doc examples kerberos
sys-auth/pam_ldap sasl
sys-auth/nss_ldap sasl
net-misc/openssh skey X ldap libedit pam tcpd pkcs11 lib32 smartcard
media-sound/gmusicbrowser mozilla mplayer
#media-video/vlc cddb avahi bidi cddb dbus dc1394 dirac direct2d directfb dshow dts dvb dvd dxva2 egl fbosd ffmpeg flac fontconfig gnome growl httpd jack libass libcaca libnotify libproxy libv4l2 matroska media-library mp3 mtp musepack ncurses ogg png portaudio projectm pvr rtsp samba schroedinger sdl sdl-image shine shout speex sqlite scg switcher taglib theora truetype twolame udev upnp v4l2 vcdx vlm vorbis waveout win32codecs wingdi X x264 xml xosd zvbi fbcon ggi id3tag nsplugin remoteosd stream svga cdio pda xinerama xv xcb
net-misc/ntp caps
net-dns/avahi bookmarks dbus doc gdbm gtk gtk3 samba mdnsresponder-compat utils python
net-misc/ntp caps
net-misc/ntp caps ntp
net-misc/ntp caps snmp
gnome-base/gdm gnome-keyring
gnome-base/gdm gnome-keyring remote



I hope I'm clear. Any help will be appreciated, any link to some reading.. I'll read portage docs a little further while I wait!
Thanks
_________________
Don't make fun of me.
Back to top
View user's profile Send private message
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Wed Aug 10, 2011 9:21 am    Post subject: Reply with quote

This is your problem on both machines:
Code:
ACCEPT_KEYWORDS="amd64 ~amd64 **"


What you run is, like very very bleeding edge for every package on the system. Most of them directly from the developers git.

The "**" means, you nearly always pull the developers sources and bypass any testing [and|or] implementation by Gentoo developers. (a little like LFS :D)
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
wjb
l33t
l33t


Joined: 10 Jul 2005
Posts: 604
Location: Fife, Scotland

PostPosted: Wed Aug 10, 2011 6:25 pm    Post subject: Reply with quote

Assuming mercurial-9999 comes direct from a mercurial repository, you probably need some version of it installed before you can succeed.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Aug 10, 2011 8:56 pm    Post subject: Reply with quote

wjb wrote:
Assuming mercurial-9999 comes direct from a mercurial repository, you probably need some version of it installed before you can succeed.


++

the '9999' ebuild is the so-called "live" ebuild, which is fetched directly from the devs' revision control system, be it subversion, git, mercurial, whatever else.

In this case, they have the source code for mercurial, stored in a mercurial repository.

You need working mercurial binaries in order to be able to fetch source files for any project that uses a mercurial repository. Makes sense right?

Well, just so happens in this case, the project you want to fetch source for, from a mercurial repository, is mercurial itself.

Can get around this by doing:

Code:

emerge =dev-vcs/mercurial-1.9


That will bring in mercurial 1.9 via a tarball of its source, build it, and give you working mercurial 1.9 binaries, which can check out code from any mercurial repo

Ultimately, the root cause of all of this is having ** in your keywords. This is going to mean damn near every package on your system is directly from upstream's latest revision of source. Most people do not want this, and unfortunately it *can* be a bit dicey trying to downgrade, I've never attempted it personally.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
clovisfc
n00b
n00b


Joined: 10 Aug 2011
Posts: 3
Location: France

PostPosted: Mon Aug 15, 2011 5:15 am    Post subject: Reply with quote

Quote:
Can get around this by doing:

Code:
Code:

emerge =dev-vcs/mercurial-1.9



That will bring in mercurial 1.9 via a tarball of its source, build it, and give you working mercurial 1.9 binaries, which can check out code from any mercurial repo

Ultimately, the root cause of all of this is having ** in your keywords. This is going to mean damn near every package on your system is directly from upstream's latest revision of source. Most people do not want this, and unfortunately it *can* be a bit dicey trying to downgrade, I've never attempted it personally.


So, if I get rid of "**",
Code:
emerge dev-vcs/mercurial-1.9
, and
Code:
emerge world --deep --update --newuse
, everything should go back to normal right?

Then I make parcimonious use of "**" in /etc/package.keywords, right?


Quote:
Ultimately, the root cause of all of this is having ** in your keywords. This is going to mean damn near every package on your system is directly from upstream's latest revision of source. Most people do not want this, and unfortunately it *can* be a bit dicey trying to downgrade, I've never attempted it personally.


Does it mean I might have to completely reinstall? Do you see anything else that might cause me trouble in my make.conf?

Thanks for your quick, helping answers.

---

Switching to the other subject of my post:

I'm trying to have a centralized login with kerberos, samba as a pdc, LDAP, and openvpn, to be able to log linux and windows clients in, mount their personal files, and access their ressources from anywhere.

1. Should I keep to gentoo for my server and linux clients, even if it's not the easiet way?
2. Anyone knows of a good howto?
3. If a fat person falls in the woods and nobody's there, does anybody laugh?

Again, any help will be much appreciated.
Clovis
_________________
Don't make fun of me.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Mon Aug 15, 2011 9:15 pm    Post subject: Reply with quote

clovisfc wrote:

So, if I get rid of "**",
Code:
emerge dev-vcs/mercurial-1.9
, and
Code:
emerge world --deep --update --newuse
, everything should go back to normal right?


I don't know if that would do it, since --newuse == only merge files affected by a change in USE flag.

Personally I would be doing a ton of --pretend tests. I don't know if emerge (-aev|-evD|-av|-auv) world would be most appropriate.

In short: I have no super educated guess to give you here because I have not tried this myself.

clovisfc wrote:

Then I make parcimonious use of "**" in /etc/package.keywords, right?


When ** is used, it should be done on a per-package basis (unless you really really really feel like being a lab rat), so yes, /etc/portage/package.keywords is the place

clovisfc wrote:

Does it mean I might have to completely reinstall? Do you see anything else that might cause me trouble in my make.conf?


You never really *have* to reinstall. There is always a way of patching your system back together to something functional, even if it involves going to tinderbox and grabbing a binary copy of something that's completely broken. It's only ever a question of time and patience, in some cases it's actually quicker to do a reinstall. For people who have a brand new install that's somewhat buggered, I normally suggest reinstalling, but for systems where you've been using them for a while, come to depend on them, etc, you may have already spent so much time tweaking the installation that it is still faster to try to fix broken things instead of reinstalling.

whether or not it's faster for you in this case, honestly, I would say depends on how willing portage is to let you downgrade all of these packages. Things like gcc/glibc/binutils/udev potentially being downgraded worries me, but it's an uneducated worry I have (meaning, I have no concrete proof it will cause problems - only a suspicion).

I would tend to lean towards doing an 'emerge -eDv world' in this case, which means every package on the system gets rebuilt, followed by a revdep-rebuild -ip to see if anything is broken. I honestly don't know (I am definitely not a developer, definitely have no experience running an all ** system, definitely have no experience trying to downgrade from it)

clovisfc wrote:

I'm trying to have a centralized login with kerberos, samba as a pdc, LDAP, and openvpn, to be able to log linux and windows clients in, mount their personal files, and access their ressources from anywhere.


kerberos, sambad PDC, tied into openldap, should all work fine, gentoo will work great for this - but you will definitely be doing a bit of reading. One thing to point out with OpenVPN, it does work, and it works well, however the users will have to install a special OpenVPN client. Since you will be running a Samba PDC, and presumably have no Windows servers anywhere, you can't simply push out the OpenVPN client via Group Policy (which you would do generally on a Windows domain served by Windows servers).

For this reason, many times people opt to go with L2TP (via something like openswan) since the Windows native VPN client supports this. I'm actually about to do an openswan install on one of our servers in Germany as soon as I'm finished trawling the forums here, funny enough. Never done it before, only ever used pptpd, but it should be interesting.

clovisfc wrote:

1. Should I keep to gentoo for my server and linux clients, even if it's not the easiet way?


Personal preference. I prefer gentoo because I don't have to fight through versioning hell like I do with CentOS and other "ancient but stable but impossible to use if you have to build from source" distributions. I've run a Samba PDC in production before, and it works brilliantly (I don't remember which HOWTO I used unfortunately). So on the server side, I personally stick with Gentoo - but that's my preference, and has been for roughly ~8 years now. For the linux clients, you have to keep in mind that there is no easy way to administer many gentoo desktops/laptops at once, at least when it comes to things like package updates. You could conceivably set up your own portage binhost on your internal network, and have a dedicated machine that does nothing but compile packages for every one of your clients to use, but this is still not easy.

If you want to spend the time, it's worth it *in my opinion* at least. For this reason -

Negative: shit may break more often on a source-based distribution than it will a binary distribution
Positive: when shit breaks on a binary distribution, even though it breaks less often than on a source-based distribution, it's a royal pain in the ass to fix. On a source based distribution with an intelligent package manager, it's not generally all that difficult.

Your choice. I have a clear pro-gentoo bias, so I can't really give you an objective opinion on "should you use it", because when I ask *myself* this question, the answer is almost always "yes". You need to sit down and plan out what will be involved for your own personal needs, what sort of maintenance will be involved, compare it to the alternatives, and make a decision.

clovisfc wrote:

2. Anyone knows of a good howto?


It has been a long time since I did such a setup, but I don't remember finding any one document that explained *everything* - I had to use multiples, experiment, fail, experiment some more, and finally things worked.

clovisfc wrote:

3. If a fat person falls in the woods and nobody's there, does anybody laugh?


yes. you may not hear it, but there are still shock waves. they tell you this has happened, so you know to laugh.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Aug 16, 2011 8:45 am    Post subject: Reply with quote

How hard the downgrade will be depends only on the affected packages (mostly glibc). There's always a way, as someone said above.

However, I am curious about how that keyword got into your make.conf.
Back to top
View user's profile Send private message
clovisfc
n00b
n00b


Joined: 10 Aug 2011
Posts: 3
Location: France

PostPosted: Wed Aug 17, 2011 5:20 pm    Post subject: Reply with quote

thank you all for your quick answers.
I'm still interested in one or more good howtos.

i92guboj wrote:

However, I am curious about how that keyword got into your make.conf.


I think I installed a package that needed it, but misunderstood that I had to put it in package.keywords and put it in make.conf instead.

Again thank you all for your help.
_________________
Don't make fun of me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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