Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-auth/pambase tarda demasiado [Solucionado]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 2:37 am    Post subject: sys-auth/pambase tarda demasiado [Solucionado] Reply with quote

Tengo una duda puede ser que el sys-auth/pambase tarde mas de 24hs en compilar?? tengo un amd64 x3 4gb de ram.

Estoy instantando aprender a instalar gentoo completo con gnome.

Aparentemente esta activo el proceso, puedo conectarmepor ssh y todo pero hace casi 24 horas q esta en compilacion. :S

Desde ya muchas gracias. :P


Last edited by zeratull on Fri Jul 22, 2011 6:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 4:31 am    Post subject: Reply with quote

Quote:
pelo-pc pelo # time emerge -v pambase -1

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


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

Calculating dependencies... done!
[ebuild R ] sys-auth/pambase-20101024 USE="consolekit cracklib sha512 -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-auth/pambase-20101024
* pambase-20101024.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: sys-auth/pambase-20101024
* Repository: gentoo
* Maintainer: pam-bugs@gentoo.org
* USE: amd64 consolekit cracklib elibc_glibc kernel_linux multilib sha512 userland_GNU
* FEATURES: sandbox
>>> Unpacking source...
>>> Unpacking pambase-20101024.tar.bz2 to /var/tmp/portage/sys-auth/pambase-20101024/work
>>> Source unpacked in /var/tmp/portage/sys-auth/pambase-20101024/work
>>> Preparing source in /var/tmp/portage/sys-auth/pambase-20101024/work/pambase-20101024 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-auth/pambase-20101024/work/pambase-20101024 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-auth/pambase-20101024/work/pambase-20101024 ...
make -j9 GIT=true DEBUG=no CRACKLIB=yes PASSWDQC=no CONSOLEKIT=yes GNOME_KEYRING=no SELINUX=no MKTEMP=no PAM_SSH=no SHA512=yes KRB5=no MINIMAL=no IMPLEMENTATION=linux-pam LINUX_PAM_VERSION=0x010103
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010103 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 system-auth.in -o system-auth
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010103 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 system-login.in -o system-login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010103 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 system-local-login.in -o system-local-login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010103 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 system-remote-login.in -o system-remote-login
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010103 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 system-services.in -o system-services
cpp -traditional-cpp -P -include linux-pam-conf -include basic-conf -DLINUX_PAM_VERSION=0x010103 -DHAVE_CRACKLIB=1 -DHAVE_CONSOLEKIT=1 -DWANT_SHA512=1 other.in -o other
sed -i -e '/^$/d' -e '/^\/\//d' system-auth
sed -i -e '/^$/d' -e '/^\/\//d' system-login
sed -i -e '/^$/d' -e '/^\/\//d' system-local-login
sed -i -e '/^$/d' -e '/^\/\//d' system-remote-login
sed -i -e '/^$/d' -e '/^\/\//d' other
sed -i -e '/^$/d' -e '/^\/\//d' system-services
>>> Source compiled.
>>> Test phase [not enabled]: sys-auth/pambase-20101024

>>> Install pambase-20101024 into /var/tmp/portage/sys-auth/pambase-20101024/image/ category sys-auth
make -j9 GIT=true DESTDIR=/var/tmp/portage/sys-auth/pambase-20101024/image/ install
install -d "/var/tmp/portage/sys-auth/pambase-20101024/image//etc/pam.d"
install -m0644 system-auth system-login system-local-login system-remote-login system-services other "/var/tmp/portage/sys-auth/pambase-20101024/image//etc/pam.d"
>>> Completed installing pambase-20101024 into /var/tmp/portage/sys-auth/pambase-20101024/image/


>>> Installing (1 of 1) sys-auth/pambase-20101024
* checking 6 files for package collisions
>>> Merging sys-auth/pambase-20101024 to /
--- /etc/
--- /etc/pam.d/
>>> /etc/pam.d/system-remote-login
>>> /etc/pam.d/other
>>> /etc/pam.d/system-local-login
>>> /etc/pam.d/system-auth
>>> /etc/pam.d/system-login
>>> /etc/pam.d/system-services
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /etc/pam.d/system-services
--- replaced obj /etc/pam.d/system-remote-login
--- replaced obj /etc/pam.d/system-login
--- replaced obj /etc/pam.d/system-local-login
--- replaced obj /etc/pam.d/system-auth
--- replaced obj /etc/pam.d/other
--- replaced dir /etc/pam.d
--- replaced dir /etc
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
* Starting from version 20080801, pambase optionally enables
* SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1
* built against sys-libs/glibc-2.7 or later.
* If you don't have support for this, it will automatically fallback
* to MD5-hashed passwords, just like before.
*
* Please note that the change only affects the newly-changed passwords
* and that SHA512-hashed passwords will not work on earlier versions
* of glibc or Linux-PAM.
>>> sys-auth/pambase-20101024 merged.

* Messages for package sys-auth/pambase-20101024:

* Starting from version 20080801, pambase optionally enables
* SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1
* built against sys-libs/glibc-2.7 or later.
* If you don't have support for this, it will automatically fallback
* to MD5-hashed passwords, just like before.
*
* Please note that the change only affects the newly-changed passwords
* and that SHA512-hashed passwords will not work on earlier versions
* of glibc or Linux-PAM.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


real 0m5.856s
user 0m4.730s
sys 0m0.957s

mata esa compilacion, chequea que flags tiene activada.... es como que tarda mas en descomprimir que en compilar, tnego un i7, pero son 6 segundos, ponele que te tarde 10- 15 segundos, pero 24hs es imposible
_________________
el pelado de la gente
Back to top
View user's profile Send private message
Charlybrown79
n00b
n00b


Joined: 05 Jul 2011
Posts: 4

PostPosted: Tue Jul 05, 2011 9:35 am    Post subject: Reply with quote

hola
Seguramente te parezca un poco ridiculo pero comprueba la fecha y la hora de tu sistema.
Saludos
Back to top
View user's profile Send private message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 1:39 pm    Post subject: Reply with quote

Les copio la info por q lo frene y lo ejecute y tarda MUCHO.

make.conf
Code:
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu,--enable-new-dtags -Wl,--as-needed"
ACCEPT_KEYWORDS="~amd64"
PORTAGE_LIBC="glibc"
CONFIG_PROTECT="-*"
NICE="yes"
AYTOCLEAN="yes"
ACCEPT_LICENSE="*"
MAKEOPTS="-j7"
USE="truetype new-login xscreensaver xv xcomposite xinerama aiglx jpeg gif tiff pdf alsa mad vidx asf win32codecs dvd mp4 aac x264 xvid nsplugin mp3 real gstreamer samba java bzip2 symlink spell xml fam aoss threads glitz tcpd -ipv6 static-libs -qt4 mng mysql sqlite png sql svg webkit opengl qt3support -qt3 consolekit dbus hal policykit udev X xorg gtk gnome gdu extras device-mapper cairo -kde firefox"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
INPUT_DEVICES="keyboard synaptics mouse evdev"
LINGUAS="en en_GB en_US"
VIDEO_CARDS="nvidia"
FEATURES="splitdebug ccache sandbox nostrip fixpackages parallel-fetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/"
PORTAGE_ELOG_CLASSES="log warn error info"
PORTAGE_ELOG_SYSTEM="echo:log,warn,error,info  save:log,warn,error,info syslog:error"
#EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=5.0 --with-bdeps y"
EMERGE_DEFAULT_OPTS="--autounmask=n"


/var/log/emerge.log: (como veran lo empeze el 03/07 y hoy es 05/07 y todavia seguia)
Code:
1309737098: Started emerge on: Jul 03, 2011 23:51:38
1309737098:  *** emerge --newuse --deep --update --autounmask --verbose world
1309737102:  >>> emerge (1 of 2) sys-auth/pambase-20101024 to /
1309737102:  === (1 of 2) Cleaning (sys-auth/pambase-20101024::/usr/portage/sys-auth/pambase/pambase-20101024.ebuild)
1309737107:  === (1 of 2) Compiling/Merging (sys-auth/pambase-20101024::/usr/portage/sys-auth/pambase/pambase-20101024.ebuild)
1309862081:  *** terminating.


date:
Code:
Tue Jul  5 10:50:06 UTC 2011


uname -ra:(esto es lo raro, muestra la fecha del 03/05):
Code:
Linux Odin 2.6.39-gentoo-r2 #1 SMP Sun Jul 3 17:21:55 Local time zone must be set--see zic m x86_64 AMD Athlon(tm) II X3 435 Processor AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 2:16 pm    Post subject: Reply with quote

fijate que flags tenes activas.
hace un
Code:
emerge -pv pambase

tiene que ser algo asi:
Quote:
pelo@pelo-pc ~ $ emerge -pv pambase

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

Calculating dependencies... done!
[ebuild R ] sys-auth/pambase-20101024 USE="consolekit cracklib sha512 -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

pelo@pelo-pc ~ $

donde dice use, es lo importante, que tiene activo y que no
_________________
el pelado de la gente
Back to top
View user's profile Send private message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 2:25 pm    Post subject: Reply with quote

te copio:

Code:
Odin ~ # emerge -pv pambase
!!! CONFIG_PROTECT is empty

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

Calculating dependencies... done!
[ebuild   R    ] sys-auth/pambase-20101024  USE="consolekit* cracklib sha512 -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


El tema es que el consolekit aparece en verde con un * consolekit*, en ves de estar en rojo :S
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 2:41 pm    Post subject: Reply with quote

proba haciendo:
Code:
emerge -1 shadow consolekit pambase
y despues, para seguir con lo que llevaba antes
Code:
emerge --resume

si te sigue jodiendo pambase,
proba con
Code:
emerge --skipfirst --resume -av

_________________
el pelado de la gente
Back to top
View user's profile Send private message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 2:56 pm    Post subject: Reply with quote

Corri lo primero, e instalo todo menos el pam que se demora mucho nuevamente.
Entonces solo instale a shadow y el console y despues ejecute el pam, el cual todavia:
Code:

Odin ~ # emerge --resume
!!! CONFIG_PROTECT is empty

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
*** Resuming merge...

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) sys-auth/pambase-20101024

!!! Directory does not exist: '/usr/lib64/ccache/bin'
!!! Disabled FEATURES='ccache'
 * pambase-20101024.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                        [ ok ]
 * Package:    sys-auth/pambase-20101024
 * Repository: gentoo
 * Maintainer: pam-bugs@gentoo.org
 * USE:        amd64 consolekit cracklib elibc_glibc kernel_linux multilib sha512 userland_GNU
 * FEATURES:   nostrip sandbox splitdebug
>>> Unpacking source...
>>> Unpacking pambase-20101024.tar.bz2 to /var/tmp/portage/sys-auth/pambase-20101024/work
>>> Source unpacked in /var/tmp/portage/sys-auth/pambase-20101024/work
>>> Preparing source in /var/tmp/portage/sys-auth/pambase-20101024/work/pambase-20101024 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-auth/pambase-20101024/work/pambase-20101024 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-auth/pambase-20101024/work/pambase-20101024 ...
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 3:02 pm    Post subject: Reply with quote

Code:
emerge --skipfirst --resume -av

_________________
el pelado de la gente
Back to top
View user's profile Send private message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 3:04 pm    Post subject: Reply with quote

Eso hizo q termine de instalar el shadow, pero el pam sigue sin instalar.
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 3:13 pm    Post subject: Reply with quote

Quote:
[ebuild R ] sys-auth/pambase-20101024 USE="consolekit* cracklib sha512 -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 0 kB

no te hagas drama, cuando se trabe alguna compilacion, saltealo.
[ebuild R ] ---> la R indica que se esta reinstalando
consolekit* ---> porque hay un cambio de flag, en este caso estas activando consolekit.

pambase lo tienes instalado, pero con otras flags.
soluciones: cambiar de version de consolekit que parece que fuera el problema
otra opcion, es sacarle la flag consolekit
como:
hace nano /etc/portage/package.use

si no existe crea el directorio, y el fichero ( mkdir /etc/portage, nano /etc/portage/package.use)
y agrega una linea como esta:
Quote:
sys-auth/pambase - consolekit

_________________
el pelado de la gente
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 3:18 pm    Post subject: Reply with quote

erre la linea, es sin espacio:

Quote:
sys-auth/pambase -consolekit

_________________
el pelado de la gente
Back to top
View user's profile Send private message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 3:27 pm    Post subject: Reply with quote

Ok, agrege el console al archivo de portage, y ahora que hago?
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 3:31 pm    Post subject: Reply with quote

por donde venias en la compilacion del sistema?
ya tenes el sistema base instalado y todo, estas compilando gnome xorg y demas?

si es asi, volve a hacer el emerge, con re pag tenes el historial de comandos ejecutados, y volve a ejecutar la misma compilacion, por ejemplo, si estabas compilando xorg y gnome, hace
emerge -avN gnome xorg-server
_________________
el pelado de la gente
Back to top
View user's profile Send private message
zeratull
n00b
n00b


Joined: 06 Jun 2011
Posts: 11

PostPosted: Tue Jul 05, 2011 3:57 pm    Post subject: Reply with quote

Bueno, ejecute un world de nuevo y esta instalando unas librerias, ahora cuando termina instalo gnome y xorg y te aviso.

Gracias
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Tue Jul 05, 2011 5:17 pm    Post subject: Reply with quote

por nada.
cualquier drama, volve por aca que alguien te va a dar una mano
_________________
el pelado de la gente
Back to top
View user's profile Send private message
pelelademadera
l33t
l33t


Joined: 14 Jul 2008
Posts: 961
Location: La Plata, Argentina

PostPosted: Mon Jul 11, 2011 10:44 pm    Post subject: Reply with quote

si esta solucionado cerralo desde el titulo editando el primer post y ponele (solucionado) al final
_________________
el pelado de la gente
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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