i've opened a bug http://bugs.gentoo.org/show_bug.cgi?id=171772
but several minutes later i've fixed my problem using this way:

1. took libmp.so.3 and mp.h from another (little older) working gentoo machine
2. put it to /usr/lib and /usr/include on the problem machine
3. then i compiled previous release of nis-utils:
`emerge "<=net-nds/nis-utils-1.4.1-r1"`
4. and voila! it has compiled and keyserv is working properly now.


but the main problem with keyserv in nis-utils-1.4.1-r2 still exists, so i
leave it on portage maintainer's responsibility :)


On Thu, 22 Mar 2007, ooyh eah wrote:




On Wed, 21 Mar 2007, ooyh eah wrote:

does anyone know how to solve this problem?
it's very important to me






On Wed, 21 Mar 2007, ooyh eah wrote:


forget to show my make.conf:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="nptl nptlonly -X -gnome -kde -gtk sse mmx 3dnow 3dnowex -ipv6 -fortran -krb4 unicode"




there's a strange problem with the keyserv from nis-utils package.

it doesn't start within the init.d script
and when i try to run keyserv manually it cores dump

i do everything as said: before nfs nfs-mount autofs and after portmap
but it seems not work anyway

i've tried to run keyserv on two different systems: amd64 (32bit version) and PIV with hyperthreading. without any flags in make.conf at first and then with standard ones. on both machines keyserv was unable to start :(

what is my mistake?


moon ~ # keyserv -D
[Welcome to the Keyserver, version 1.4.1]
Segmentation fault


Gentoo Base System release 1.12.9

moon ~ # ls -al /etc/make.profile
/etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.1/server

moon ~ # equery list | grep nis
net-nds/nis-utils-1.4.1-r2

here's a gdb backtrace:
~ # gdb -c core /usr/sbin/keyserv
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/libgmp.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmp.so.3
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
(no debugging symbols found)
Core was generated by `keyserv -D'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7f8b1da in __gmpz_init_set_str () from /usr/lib/libgmp.so.3
(gdb) bt
#0  0xb7f8b1da in __gmpz_init_set_str () from /usr/lib/libgmp.so.3
#1  0x0804b013 in ?? ()
#2  0x00000000 in ?? ()


and here's a strace http://paste.org.ru/?asfoy2
--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list

Reply via email to