ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Igor Muratov <migor@linux.ru.net>
To: Sisyphus List <sisyphus@altlinux.ru>
Subject: [sisyphus] RPM building error
Date: Mon, 25 Jun 2001 13:35:23 +0400
Message-ID: <3B3705DB.3000203@linux.ru.net> (raw)

Hi All
Не могу собрать ни одного пакета. Любая сборка заканчивается фразами:
======
+ /usr/lib/rpm/brp-alt
/var/tmp/rpm-tmp.66524: /usr/lib/rpm/brp-alt: No such file or directory
Неверный код возврата из /var/tmp/rpm-tmp.66524 (%install)
======
Оказывается, каждый раз в конец скрипта дописывается какая-то посторонняя
строчка. Вот пример сгенеренного скрипта
======
#!/bin/sh


export RPM_SOURCE_DIR="/usr/src/RPM/SOURCES"
export RPM_BUILD_DIR="/usr/src/RPM/BUILD"
export RPM_PATCH_DIR="/usr/src/RPM/PATCHES"
export RPM_DOC_DIR="/usr/share/doc"
export RPM_OPT_FLAGS="-pipe -Wall -O2 -fexpensive-optimizations -march=i686"
export RPM_ARCH="i686"
export RPM_OS="linux"
export RPM_PACKAGE_NAME="smssend"
export RPM_PACKAGE_VERSION="2.5"
export RPM_PACKAGE_RELEASE="1"
export RPM_BUILD_ROOT="/var/tmp/smssend-buildroot"
export RPM_COMPRESS_METHOD="auto"
export RPM_STRIP_METHOD="executable shared"


export RPM_FINDREQ_DEFAULT_METHOD="lib shell"
export RPM_FINDPROV_DEFAULT_METHOD="lib"

export RPM_PYTHON="/usr/bin/python"
unset LANG LANGUAGE LC_ALL LC_MESSAGES ||:

set -x
umask 022
cd /usr/src/RPM/BUILD
/bin/rm -rf /var/tmp/smssend-buildroot
cd smssend-2.5
rm -rf $RPM_BUILD_ROOT


make INSTALL="/usr/bin/install -p" \
        prefix=/var/tmp/smssend-buildroot/usr \
        exec_prefix=/var/tmp/smssend-buildroot/usr \
        bindir=/var/tmp/smssend-buildroot/usr/bin \
        sbindir=/var/tmp/smssend-buildroot/usr/sbin \
        sysconfdir=/var/tmp/smssend-buildroot/etc \
        datadir=/var/tmp/smssend-buildroot/usr/share \
        includedir=/var/tmp/smssend-buildroot/usr/include \
        libdir=/var/tmp/smssend-buildroot/usr/lib \
        libexecdir=/var/tmp/smssend-buildroot/usr/lib \
        localstatedir=/var/tmp/smssend-buildroot/var/lib \
        sharedstatedir=/var/tmp/smssend-buildroot/usr/com \
        mandir=/var/tmp/smssend-buildroot/usr/share/man \
        infodir=/var/tmp/smssend-buildroot/usr/share/info \
        install




    /usr/lib/rpm/brp-alt


======

-- 
With best regards                    System administrator
Igor Muratov                         mailto:migor@linux.ru.net





             reply	other threads:[~2001-06-25  9:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25  9:35 Igor Muratov [this message]
2001-06-25 10:18 ` Sergey Bolshakov

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=3B3705DB.3000203@linux.ru.net \
    --to=migor@linux.ru.net \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git