From: Karavaev Pavel <pppd@yandex.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] Сборка zabbix Date: Wed, 31 Oct 2007 11:35:26 +0400 Message-ID: <4728303E.8080002@yandex.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 2193 bytes --] Приветствую! Пытаюсь собрать пакет ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/zabbix-1.4.2-alt1.src.rpm. Сборка заканчивается неудачей: [metalsoft@inetsrv SPECS]$ rpmbb zabbix.spec Платформы для сборки: i586 Сборка для платформы i586 Выполняется(%prep): /bin/sh -e /home/metalsoft/tmp/rpm-tmp.55723 + umask 022 + /bin/mkdir -p /home/metalsoft/RPM/BUILD + cd /home/metalsoft/RPM/BUILD + cd /home/metalsoft/RPM/BUILD + rm -rf zabbix-1.4.2 + echo 'Source #0 (zabbix-1.4.2.tar):' Source #0 (zabbix-1.4.2.tar): + /bin/tar -xvvf /home/metalsoft/RPM/SOURCES/zabbix-1.4.2.tar drwxr-xr-x root/root 0 2007-08-21 00:18:00 zabbix-1.4.2/ -rw-r--r-- root/root 193 2007-08-21 00:18:00 zabbix-1.4.2/AUTHORS -rw-r--r-- root/root 18006 2007-08-21 00:18:00 zabbix-1.4.2/COPYING ... -rw-r--r-- root/root 321 2007-08-21 00:18:00 zabbix-1.4.2/upgrades/dbpatches/1.4/postgresql/patch/valuemaps.sql -rw-r--r-- root/root 4772 2007-08-21 00:18:00 zabbix-1.4.2/zabbix.spec + cd zabbix-1.4.2 + /bin/chmod -Rf u+rwX,go-w . + echo 'Patch #0 (zabbix-alt-1.4.2.patch):' Patch #0 (zabbix-alt-1.4.2.patch): + /usr/bin/patch -p1 -s + exit 0 Выполняется(%build): /bin/sh -e /home/metalsoft/tmp/rpm-tmp.21125 + umask 022 + /bin/mkdir -p /home/metalsoft/RPM/BUILD + cd /home/metalsoft/RPM/BUILD + cd zabbix-1.4.2 + %__autoreconf /home/metalsoft/tmp/rpm-tmp.21125: line 95: fg: no job control ошибка: Неверный код возврата из /home/metalsoft/tmp/rpm-tmp.21125 (%build) Ошибки сборки пакетов: Неверный код возврата из /home/metalsoft/tmp/rpm-tmp.21125 (%build) ------------------------------------------------------- Check log for... !!!!!!!! ERROR !!!!! Ошибка сборки пакета zabbix.spec [metalsoft@inetsrv SPECS]$ В скрипте /home/metalsoft/tmp/rpm-tmp.21125 в нескольких местах ругань: ./configure: No such file or directory Где скрипт configure? Скрипт rpm-tmp.21125 и его вывод - в приложении. [-- Attachment #2: rpm-tmp.21125 --] [-- Type: text/plain, Size: 5080 bytes --] #!/bin/sh export RPM_SOURCE_DIR="/home/metalsoft/RPM/SOURCES" export RPM_BUILD_DIR="/home/metalsoft/RPM/BUILD" export RPM_OPT_FLAGS="-pipe -Wall -O2 -march=i586 -mcpu=i686" export RPM_ARCH="i586" export RPM_OS="linux" export RPM_DOC_DIR="/usr/share/doc" export RPM_PACKAGE_NAME="zabbix" export RPM_PACKAGE_VERSION="1.4.2" export RPM_PACKAGE_RELEASE="alt1" export RPM_BUILD_ROOT="/home/metalsoft/tmp/zabbix-buildroot" export RPM_CLEANUP_METHOD="auto" export RPM_COMPRESS_METHOD="auto" export RPM_FIXUP_METHOD="binconfig pkgconfig libtool" export RPM_STRIP_METHOD="executable shared" export RPM_VERIFY_ELF_METHOD="normal" export RPM_FINDREQ_DEFAULT_METHOD="files lib pam perl python tcl shell" export RPM_FINDPROV_DEFAULT_METHOD="lib pam perl python tcl shell" export RPM_CLEANUP_TOPDIR="" export RPM_COMPRESS_TOPDIR="/usr" export RPM_FIXUP_TOPDIR="" export RPM_STRIP_TOPDIR="" export RPM_VERIFY_ELF_TOPDIR="" export RPM_FINDREQ_TOPDIR="" export RPM_FINDPROV_TOPDIR="" export RPM_CLEANUP_SKIPLIST="" export RPM_COMPRESS_SKIPLIST="" export RPM_FIXUP_SKIPLIST="" export RPM_STRIP_SKIPLIST="*/debug/*" export RPM_VERIFY_ELF_SKIPLIST="" export RPM_FINDREQ_SKIPLIST="/usr/share/doc/*" export RPM_FINDPROV_SKIPLIST="/usr/share/doc/*" export RPM_FINDPROV_LIB_PATH="/lib:/usr/lib:/usr/X11R6/lib:/lib64:/usr/lib64:/usr/X11R6/lib64" export RPM_PERL_REQ_METHOD="normal" export RPM_PYTHON_LIB_PATH="""" export RPM_PYTHON_MODULE_DECLARED="""" export RPM_PYTHON_REQ_METHOD="slight" export RPM_PYTHON_REQ_SKIP="""" export RPM_PYTHON_COMPILE_METHOD="ALL" export RPM_PYTHON_COMPILE_EXCLUDE="/usr/share/doc" export RPM_PYTHON_COMPILE_INCLUDE="/usr/lib" export RPM_PYTHON_COMPILE_DEEP="20" export RPM_PYTHON_COMPILE_SKIP_X="1" export RPM_PYTHON_COMPILE_CLEAN="1" export RPM_TCL_LIB_PATH="""" export RPM_TCL_REQ_METHOD="normal" export RPM_TCL_REQ_SKIP="""" export RPM_PYTHON="/usr/bin/python" export RPM_TCLSH="/usr/bin/tclsh" unset LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL ||: unset DISPLAY XAUTHORITY ||: unset CCACHE_CC CCACHE_CXX CCACHE_DIR ||: export RPM_LIB="lib" export RPM_LIBDIR="/usr/lib" unset AUTOCONF_VERSION AUTOMAKE_VERSION LIBTOOL_VERSION GCC_VERSION ||: export PAM_SO_SUFFIX="%{_pam_so_suffix}" export PAM_NAME_SUFFIX="%{_pam_name_suffix}" export MAKEFLAGS="-w PAM_SO_SUFFIX=%_pam_so_suffix" set -x umask 022 /bin/mkdir -p /home/metalsoft/RPM/BUILD cd /home/metalsoft/RPM/BUILD cd zabbix-1.4.2 %__autoreconf # we must call this for produce dbsync.h pushd create/schema ./gen.pl c >../../include/dbsync.h popd # temporary hack chmod +x configure CFLAGS="${CFLAGS:--pipe -Wall -O2 -march=i586 -mcpu=i686}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--pipe -Wall -O2 -march=i586 -mcpu=i686}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--pipe -Wall -O2 -march=i586 -mcpu=i686}" ; export FFLAGS ; [ -f configure.ac -o -f configure.in ] && libtoolize --copy --force ; ./configure --build=i586-alt-linux --host=i586-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 \ --without-included-gettext --with-mysql \ --with-net-snmp \ --enable-server \ --enable-agent \ --with-ldap \ --with-curl \ --with-jabber make mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_mysql make clean CFLAGS="${CFLAGS:--pipe -Wall -O2 -march=i586 -mcpu=i686}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--pipe -Wall -O2 -march=i586 -mcpu=i686}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--pipe -Wall -O2 -march=i586 -mcpu=i686}" ; export FFLAGS ; [ -f configure.ac -o -f configure.in ] && libtoolize --copy --force ; ./configure --build=i586-alt-linux --host=i586-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 \ --without-included-gettext --with-pgsql \ --with-net-snmp \ --enable-server \ --enable-agent \ --with-ldap \ --with-curl \ --with-jabber make mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_pgsql # create database schemas pushd create/schema make dist-hook distdir=. popd # adjust in several files /home/zabbix for file in misc/conf/*; do sed -i -e "s,/home/zabbix/bin,/usr/sbin,g" \ -e "s,PidFile=/var/tmp,PidFile=/var/run/zabbix,g" \ -e "s,LogFile=/tmp,LogFile=/var/log/zabbix,g" \ -e "s,/home/zabbix/lock,/var/lock/subsys/zabbix,g" \ -e "s,/tmp/mysql.sock,/var/lib/mysql/mysql.sock,g" $file done exit 0 [-- Attachment #3: log --] [-- Type: text/plain, Size: 4607 bytes --] + umask 022 + /bin/mkdir -p /home/metalsoft/RPM/BUILD + cd /home/metalsoft/RPM/BUILD + cd zabbix-1.4.2 + %__autoreconf /home/metalsoft/tmp/rpm-tmp.21125: line 95: fg: no job control + pushd create/schema ~/RPM/BUILD/zabbix-1.4.2/create/schema ~/RPM/BUILD/zabbix-1.4.2 + ./gen.pl c + popd ~/RPM/BUILD/zabbix-1.4.2 + chmod +x configure chmod: cannot access `configure': No such file or directory + CFLAGS=-pipe -Wall -O2 -march=i586 -mcpu=i686 + export CFLAGS + CXXFLAGS=-pipe -Wall -O2 -march=i586 -mcpu=i686 + export CXXFLAGS + FFLAGS=-pipe -Wall -O2 -march=i586 -mcpu=i686 + export FFLAGS + '[' -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'. + ./configure --build=i586-alt-linux --host=i586-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 --without-included-gettext --with-mysql --with-net-snmp --enable-server --enable-agent --with-ldap --with-curl --with-jabber /home/metalsoft/tmp/rpm-tmp.21125: line 112: ./configure: No such file or directory + make make: Entering directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2' make: *** No targets specified and no makefile found. Stop. make: Leaving directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2' + mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_mysql mv: cannot stat `src/zabbix_server/zabbix_server': No such file or directory + make clean make: Entering directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2' make: *** No rule to make target `clean'. Stop. make: Leaving directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2' + CFLAGS=-pipe -Wall -O2 -march=i586 -mcpu=i686 + export CFLAGS + CXXFLAGS=-pipe -Wall -O2 -march=i586 -mcpu=i686 + export CXXFLAGS + FFLAGS=-pipe -Wall -O2 -march=i586 -mcpu=i686 + export FFLAGS + '[' -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'. + ./configure --build=i586-alt-linux --host=i586-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 --without-included-gettext --with-pgsql --with-net-snmp --enable-server --enable-agent --with-ldap --with-curl --with-jabber /home/metalsoft/tmp/rpm-tmp.21125: line 145: ./configure: No such file or directory + make make: Entering directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2' make: *** No targets specified and no makefile found. Stop. make: Leaving directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2' + mv src/zabbix_server/zabbix_server src/zabbix_server/zabbix_pgsql mv: cannot stat `src/zabbix_server/zabbix_server': No such file or directory + pushd create/schema ~/RPM/BUILD/zabbix-1.4.2/create/schema ~/RPM/BUILD/zabbix-1.4.2 + make dist-hook distdir=. make: Entering directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2/create/schema' make: *** No rule to make target `dist-hook'. Stop. make: Leaving directory `/home/metalsoft/RPM/BUILD/zabbix-1.4.2/create/schema' + popd ~/RPM/BUILD/zabbix-1.4.2 + sed -i -e s,/home/zabbix/bin,/usr/sbin,g -e s,PidFile=/var/tmp,PidFile=/var/run/zabbix,g -e s,LogFile=/tmp,LogFile=/var/log/zabbix,g -e s,/home/zabbix/lock,/var/lock/subsys/zabbix,g -e s,/tmp/mysql.sock,/var/lib/mysql/mysql.sock,g misc/conf/zabbix_agent.conf + sed -i -e s,/home/zabbix/bin,/usr/sbin,g -e s,PidFile=/var/tmp,PidFile=/var/run/zabbix,g -e s,LogFile=/tmp,LogFile=/var/log/zabbix,g -e s,/home/zabbix/lock,/var/lock/subsys/zabbix,g -e s,/tmp/mysql.sock,/var/lib/mysql/mysql.sock,g misc/conf/zabbix_agentd.conf + sed -i -e s,/home/zabbix/bin,/usr/sbin,g -e s,PidFile=/var/tmp,PidFile=/var/run/zabbix,g -e s,LogFile=/tmp,LogFile=/var/log/zabbix,g -e s,/home/zabbix/lock,/var/lock/subsys/zabbix,g -e s,/tmp/mysql.sock,/var/lib/mysql/mysql.sock,g misc/conf/zabbix_server.conf + sed -i -e s,/home/zabbix/bin,/usr/sbin,g -e s,PidFile=/var/tmp,PidFile=/var/run/zabbix,g -e s,LogFile=/tmp,LogFile=/var/log/zabbix,g -e s,/home/zabbix/lock,/var/lock/subsys/zabbix,g -e s,/tmp/mysql.sock,/var/lib/mysql/mysql.sock,g misc/conf/zabbix_trapper.conf + exit 0
next reply other threads:[~2007-10-31 7:35 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-10-31 7:35 Karavaev Pavel [this message] 2007-10-31 9:00 ` Avramenko Andrew 2007-10-31 10:37 ` Karavaev Pavel 2007-10-31 10:54 ` Alexey I. Froloff 2007-10-31 11:00 ` Pavlov Konstantin 2007-10-31 11:42 ` Karavaev Pavel 2007-10-31 14:39 ` Avramenko Andrew 2007-10-31 14:51 ` Pavlov Konstantin
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=4728303E.8080002@yandex.ru \ --to=pppd@yandex.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git