uclibc-0.9.27 isn't binary compatible with previous versions, I assume that 
has something to do with your problem.

You'll have to recompile everything on your system but I'm not sure in which 
order.

Op zaterdag 15 januari 2005 12:14, schreef Natanael Copa:
> I have upgraded uclibc to uclibc-0.9.27 but gets some "function not
> implemented" here and there when using emerge afterards. I tried to
> recompile python but it fails on nis:
>
> ...
> building 'nis' extension
> i386-pc-linux-uclibc-gcc -pthread -fno-strict-aliasing -DNDEBUG
> -march=i386 -Os -pipe -fno-strict-aliasing -DNDEBUG -march=i386 -Os
> -pipe -fPIC -I.
> -I/var/tmp/portage/python-2.3.4/work/Python-2.3.4/./Include
> -I/var/tmp/portage/python-2.3.4/work/Python-2.3.4/Include
> -I/var/tmp/portage/python-2.3.4/work/Python-2.3.4
> -c /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c
> -o build/temp.linux-i686-2.3/nismodule.o
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:18:28:
> rpcsvc/yp_prot.h: No such file or directory
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:19:27:
> rpcsvc/ypclnt.h: No such file or directory
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c: In
> function `nis_error':
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:31:
> warning: passing arg 2 of `PyErr_SetString' makes pointer from integer
> without a cast
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c: In
> function `nis_foreach':
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:82:
> error: `YP_TRUE' undeclared (first use in this function)
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:82:
> error: (Each undeclared identifier is reported only once
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:82:
> error: for each function it appears in.)
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c: In
> function `nis_cat':
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:149:
> error: storage size of `cb' isn't known
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c: In
> function `nis_xdr_domainname':
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:223:
> error: `YPMAXDOMAIN' undeclared (first use in this function)
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c: In
> function `nis_xdr_mapname':
> /var/tmp/portage/python-2.3.4/work/Python-2.3.4/Modules/nismodule.c:233:
> error: `YPMAXMAP' undeclared (first use in this function)
> running build_scripts
> running install_lib
> creating //var/tmp/portage/python-2.3.4/image/usr/lib/python2.3/lib-dynload
> copying build/lib.linux-i686-2.3/struct.so
> -> //var/tmp/portage/python-2.3.4/image/usr/lib/python2.3/lib-dynload
> error:
> //var/tmp/portage/python-2.3.4/image/usr/lib/python2.3/lib-dynload/struct.s
>o: Function not implemented make: *** [sharedinstall] Error 1
>
>
> emerge fails generally:
>
> ./usr/share/man/man8/dnrd.8.gz
> ./etc/
> ./etc/init.d/
> ./etc/init.d/dnrd
> ./etc/conf.d/
> ./etc/conf.d/dnrd
>
> >>> Done.
> >>> extracting info
> >>> extracting dnrd-2.18
> >>> Merging net-dns/dnrd-2.18 to /
>
> --- /usr/
> --- /usr/sbin/
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 3036, in ?
>     mydepgraph.merge(mydepgraph.altlist())
>   File "/usr/bin/emerge", line 1823, in merge
>     retval=portage.pkgmerge(mytbz2,myroot,self.pkgsettings)
>   File "/usr/lib/portage/pym/portage.py", line 6843, in pkgmerge
>     mylink.merge(pkgloc,infloc,myroot,myebuild,cleanup=1)
>   File "/usr/lib/portage/pym/portage.py", line 6744, in merge
>     return
> self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
>   File "/usr/lib/portage/pym/portage.py", line 6370, in treewalk
>     if
> self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime): 
> File "/usr/lib/portage/pym/portage.py", line 6609, in mergeme if
> self.mergeme(srcroot,destroot,outfile,secondhand,offset+x
> +"/",cfgfiledict,thismtime):
>   File "/usr/lib/portage/pym/portage.py", line 6609, in mergeme
>     if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x
> +"/",cfgfiledict,thismtime):
>   File "/usr/lib/portage/pym/portage.py", line 6673, in mergeme
>     mymtime=movefile(mysrc,mydest,newmtime=thismtime,sstat=mystat,
> mysettings=self.settings)
>   File "/usr/lib/portage/pym/portage.py", line 2752, in movefile
>     os.utime(dest,(newmtime,newmtime))
> OSError: [Errno 38] Function not implemented: '/usr/sbin/dnrd'
>
>
> I have to rollback to 0.9.26-r7 unsing the binarypackage and tar -jxpf.
>
> my env:
> Portage 2.0.51-r12 (uclibc/x86/hardened, gcc-3.3.4, uclibc-0.9.27-r0,
> 2.4.28 i686)
> =================================================================
> System uname: 2.4.28 i686 Intel(R) Xeon(TM) CPU 2.40GHz
> Gentoo Base System version 1.6.8
> Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 23 2004,
> 01:39:48)]
> distcc 2.18.3 i386-pc-linux-uclibc (protocols 1 and 2) (default port
> 3632) [disabled]
> ccache version 2.3 [enabled]
> dev-lang/python:     2.3.4
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3
> sys-devel/binutils:  2.15.92.0.2-r2
> sys-devel/libtool:   1.5.10-r2
> virtual/os-headers:  2.6.8.1-r2
> ACCEPT_KEYWORDS="x86 ~x86"
> AUTOCLEAN="yes"
> CFLAGS="-march=i386 -Os -pipe"
> CHOST="i386-pc-linux-uclibc"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
> /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf
> /etc/terminfo /etc/env.d"
> CXXFLAGS="-Os -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks nodoc noinfo
> noman sandbox sfperms strict"
> GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo
> ftp://ftp.uninett.no/pub/Linux/Gentoo http://gentoo.oregonstate.edu
> http://www.ibiblio.org/pub/Linux/distributions/gentoo";
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://proxy.nor.wtbts.org/gentoo-portage"
> USE="x86 X509 berkdb cdr hardened ncurses perl pic pie python readline
> ssl tcpd uclibc zlib"
> Unset:  LDFLAGS
>
>
> Same thing happens with gcc 3.4. Any suggestions to get things going
> again? I have not tried with the 2.4 linux headers but the the target is
> supposed to use a hardened-dev-kernel.
>
> --
> Natanael Copa
>
>
>
> --
> [email protected] mailing list

--
[email protected] mailing list

Reply via email to