From: gosha <gosha@elins.ru> To: devel-ports@lists.altlinux.org Subject: [devel-ports] Re4: Собирался ли glibc-2.8.90-alt1.src.rpm для arm? Date: Thu, 23 Oct 2008 16:44:26 +0400 Message-ID: <200810231644.26640.gosha@elins.ru> (raw) In-Reply-To: <fa54e4a90810220432i10f93228kf522b6019e3a3beb@mail.gmail.com> Добрый день. Спасибо. 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
next prev parent reply other threads:[~2008-10-23 12:44 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-21 14:40 ` [devel-ports] Можно ли как-то отредактить .spec, чтобы при сборке rpm-4.0.4-alt96.8.src.rpm /build/rpmio/rpmio.la выглядела следующим образом? gosha 2008-10-21 19:33 ` [devel-ports] Можно ли как-то отредактить .spec, чтобы строчка -Werror удалялась из Makefile или это необходимо делать вручную? gosha 2008-10-22 11:15 ` [devel-ports] Собирался ли glibc-2.8.90-alt1.src.rpm для arm? gosha 2008-10-22 11:32 ` Igor Zubkov 2008-10-23 12:44 ` gosha [this message] 2008-10-23 12:53 ` [devel-ports] Re4: " Kirill A. Shutemov 2008-10-23 14:25 ` [devel-ports] Re5: : " gosha 2008-10-23 18:04 ` Kirill A. Shutemov 2008-10-24 6:02 ` [devel-ports] " gosha 2008-10-24 6:05 ` gosha 2008-10-22 11:50 ` [devel-ports] " Kirill A. Shutemov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200810231644.26640.gosha@elins.ru \ --to=gosha@elins.ru \ --cc=devel-ports@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux architecture porting This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \ devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com public-inbox-index devel-ports Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-ports AGPL code for this site: git clone https://public-inbox.org/public-inbox.git