[devel-ports] Re4: Собирался ли glibc-2.8.90-alt1.src.rpm для arm?

gosha =?iso-8859-1?q?gosha_=CE=C1_elins=2Eru?=
Чт Окт 23 16:44:26 MSD 2008


						Добрый день.

Спасибо.

KAS>Есть такой кусок спека:

KAS>%ifarch %arm
KAS>Ports=',ports'
KAS>%endif
KAS>Тут нужно добавить ещё и твой mips


Вопрос: возможно ли в .spec отключить сборку glibc_debug, glibc_profile?

Ситуация такова, что glibc пока не собирается. 

Сборка на целевой машине занимает около 6 час.  

Необходимо чтобы обычное glibc хотя- бы собралось. 

Для экспериментов необходимо уменьшить время сборки.

Закоментировал в .sprc все, что искалось по ключевым словам debug, но не 
помогло.

После неуспешного выполнения glibc само-тестов, сборка валится на попытке еще 
раз выполнить ../configure (вероятно для другого дерева с другой опцией 
сборки (как я понял debug- фрагмент файла приведен внизу email_сообщения))

Буду пытаться сравнить log сборки (по совету Игоря Зубкова) debian glibc на 
машине с установленной debian_os с log сборки.Но для этого нужно,  чтобы пока 
debug и profile версии glibc не собирались для экономии времени.




Насколько можно узнать: сколько по времени, ориентировочно, занимает сборка 
glibc под qemu?

-- 
С Уваженим,
       gosha.

make[4]: Leaving directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/time'
make[4]: Entering directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/time'
make[4]: Leaving directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/time'
make[3]: Leaving directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/elf'
/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/elf/tst-tls9-static.o: 
In function `do_test':
tst-tls9-static.c:(.text+0x24): warning: Using 'dlopen' in statically linked 
applications requires at runtime the shared libraries from the glibc version 
used for linking
/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/elf/tst-audit1: no 
PLTREL found in 
object /home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/libc.so.6
make[2]: *** 
[/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/elf/tst-audit1.out] 
Error 127
/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/elf/tst-audit2: no 
PLTREL found in 
object /home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/libc.so.6
make[2]: *** 
[/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/elf/tst-audit2.out] 
Error 127
make[2]: *** 
[/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/elf/check-localplt.out] 
Error 1
make[2]: Target `tests' not remade because of errors.
make[2]: Leaving directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/elf'
make[1]: *** [elf/tests] Error 2
WARNING C++ tests not run; create a c++-types-XXX file
scripts/check-local-headers.sh "/usr/include" "/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/" 
> /home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/check-local-headers.out
/usr/bin/perl scripts/begin-end-check.pl argp/argp.h assert/assert.h 
catgets/nl_types.h crypt/crypt.h ctype/ctype.h debug/execinfo.h 
dirent/dirent.h dlfcn/dlfcn.h elf/elf.h elf/link.h gmon/sys/gmon.h 
gmon/sys/gmon_out.h gmon/sys/profil.h grp/grp.h iconv/iconv.h iconv/gconv.h 
inet/netinet/ether.h inet/netinet/icmp6.h inet/netinet/igmp.h 
inet/netinet/in.h inet/netinet/ip6.h inet/arpa/ftp.h inet/arpa/inet.h 
inet/arpa/telnet.h inet/arpa/tftp.h inet/protocols/routed.h 
inet/protocols/rwhod.h inet/protocols/talkd.h inet/protocols/timed.h 
inet/aliases.h inet/ifaddrs.h inet/netinet/ip6.h inet/netinet/icmp6.h 
intl/libintl.h io/sys/stat.h io/sys/statfs.h io/sys/vfs.h io/sys/statvfs.h 
io/fcntl.h io/sys/fcntl.h io/poll.h io/sys/poll.h io/utime.h io/ftw.h 
io/fts.h io/sys/sendfile.h libio/stdio.h libio/libio.h locale/locale.h 
locale/langinfo.h locale/xlocale.h login/utmp.h login/lastlog.h login/pty.h 
malloc/malloc.h malloc/obstack.h malloc/mcheck.h math/math.h math/complex.h 
math/fenv.h math/tgmath.h misc/sys/uio.h nis/rpcsvc/nis.h 
nis/rpcsvc/nis_callback.h nis/rpcsvc/nis_tags.h nis/rpcsvc/nislib.h 
nis/rpcsvc/yp.h nis/rpcsvc/yp_prot.h nis/rpcsvc/ypclnt.h nis/rpcsvc/ypupd.h 
nptl_db/thread_db.h nptl/sysdeps/pthread/pthread.h nptl/semaphore.h nss/nss.h 
posix/sys/utsname.h posix/sys/times.h posix/sys/wait.h posix/sys/types.h 
posix/unistd.h posix/glob.h posix/regex.h posix/wordexp.h posix/fnmatch.h 
posix/getopt.h posix/tar.h posix/sys/unistd.h posix/sched.h posix/re_comp.h 
posix/wait.h posix/cpio.h posix/spawn.h pwd/pwd.h resolv/resolv.h 
resolv/netdb.h resolv/arpa/nameser.h resolv/arpa/nameser_compat.h 
resource/sys/resource.h resource/sys/vlimit.h resource/sys/vtimes.h 
resource/ulimit.h rt/aio.h rt/mqueue.h setjmp/setjmp.h shadow/shadow.h 
signal/signal.h signal/sys/signal.h socket/sys/socket.h socket/sys/un.h 
stdio-common/printf.h stdio-common/stdio_ext.h stdlib/stdlib.h 
stdlib/alloca.h stdlib/monetary.h stdlib/fmtmsg.h stdlib/ucontext.h 
sysdeps/generic/inttypes.h sysdeps/generic/stdint.h stdlib/errno.h 
stdlib/sys/errno.h string/string.h string/strings.h string/memory.h 
string/endian.h string/argz.h string/envz.h string/byteswap.h 
sunrpc/rpc/auth.h sunrpc/rpc/auth_des.h sunrpc/rpc/auth_unix.h 
sunrpc/rpc/clnt.h sunrpc/rpc/des_crypt.h sunrpc/rpc/key_prot.h 
sunrpc/rpc/netdb.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/pmap_prot.h 
sunrpc/rpc/pmap_rmt.h sunrpc/rpc/rpc.h sunrpc/rpc/rpc_des.h 
sunrpc/rpc/rpc_msg.h sunrpc/rpc/svc.h sunrpc/rpc/svc_auth.h 
sunrpc/rpc/types.h sunrpc/rpc/xdr.h sunrpc/rpcsvc/bootparam.h 
sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h 
termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h 
time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h 
> /home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1'
make: *** [check] Error 2
make: Leaving directory 
`/home/builder/RPM/BUILD/glibc-2.8.90-alt1/build-mips-linux'
+ :
+ popd
~/RPM/BUILD/glibc-2.8.90-alt1
+ make -C helpers enablekernel=2.6.9 CC=gcc path_link=../build-mips-linux
make: Entering directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/helpers'
gcc -pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables    
glibc_post_upgrade.c   -o glibc_post_upgrade
gcc -pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables    
post_ldconfig.c   -o post_ldconfig
gcc -pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables    
postun_ldconfig.c   -o postun_ldconfig
gcc '-DMIN_KERNEL_VERSION="2.6.9"' -Wall -W -Os -static \
		-nostartfiles -fno-stack-protector -U_FORTIFY_SOURCE \
		-L../build-mips-linux glibc_preinstall.c -o glibc_preinstall
/usr/bin/ld: warning: cannot find entry symbol __start; defaulting to 
00000000004000d0
make: Leaving directory `/home/builder/RPM/BUILD/glibc-2.8.90-alt1/helpers'
+ 
CFLAGS='-pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables'
+ export CFLAGS
+ 
CXXFLAGS='-pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ 
FFLAGS='-pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables'
+ export FFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ '[' -f configure.ac -o -f configure.in ']'
+ libtoolize --copy --force
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should add the contents of `/usr/share/libtool-1.5/aclocal/libtool.m4' to 
`aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `scripts'.
+ ../configure --host=mips-alt-linux --build=mips-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext
/home/builder/tmp/rpm-tmp.74108: line 171: ../configure: No such file or 
directory
ошибка: Неверный код возврата из /home/builder/tmp/rpm-tmp.74108 (%build)

====================================================================================================================================================================================================================
файл rpm-tmp.74108:

..................................................................................
#%if 0
#rm -rf build-mips-linux-debug
#mkdir build-mips-linux-debug
#pushd build-mips-linux-debug

#export 
CFLAGS="-pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables -g"
#
  
CFLAGS="${CFLAGS:--pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables}" ; 
export CFLAGS ;
  
CXXFLAGS="${CXXFLAGS:--pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables}" ; 
export CXXFLAGS ;
  
FFLAGS="${FFLAGS:--pipe -Wall -O2 -DNDEBUG=1 -U_FORTIFY_SOURCE -fno-stack-protector -fasynchronous-unwind-tables}" ; 
export FFLAGS ;


  export lt_cv_deplibs_check_method=pass_all ;
  [ -f configure.ac -o -f configure.in ] && libtoolize --copy --force ;
  ../configure --host=mips-alt-linux --build=mips-alt-linux \
 	--prefix=/usr \
	--exec-prefix=/usr \
	--bindir=/usr/bin \
	--sbindir=/usr/sbin \
	--sysconfdir=/etc \
	--datadir=/usr/share \
	--includedir=/usr/include \
	--libdir=/usr/lib \
	--libexecdir=/usr/lib \
	--localstatedir=/var/lib \
	--sharedstatedir=/usr/com \
	--mandir=/usr/share/man \
	--infodir=/usr/share/info \
	--disable-dependency-tracking \
	--without-included-gettext \
#	--disable-profile \
#	--enable-bind-now \
#	--without-cvs \
#	--without-gd \
#	--enable-add-ons=$Pthreads$AddOns$Ports \
#	--with-tls  \
#	--with-__thread  \
#	--enable-kernel=2.6.9 \
#	#
#
#[ -n "$NPROCS" ] || NPROCS=1; make -j$NPROCS -r PARALLELMFLAGS=-s

#popd #build-mips-linux-debug
#%endif #with debug

################################################################################

exit 0



Подробная информация о списке рассылки devel-ports