ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg Sukhanov <bh@kaznaufk.amur.ru>
To: community@altlinux.ru
Subject: [Comm] Что исправить в спеке?
Date: Wed, 30 Oct 2002 11:28:07 +0900
Message-ID: <3DBF43B7.1000709@kaznaufk.amur.ru> (raw)

Не заворачивается в rpm fidogate-5.0.0 из-под юзера.

Вот ошибка:

Выполняется(%install): /bin/sh -e /var/tmp/rpm-tmp.93826
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -R u+w /var/tmp/fidogate-buildroot
+ :
+ /bin/rm -rf /var/tmp/fidogate-buildroot
+ cd fidogate-5.0.0
+ make PREFIX=/var/tmp/fidogate-buildroot install-dirs
mkdir /usr/local/fido
mkdir: cannot create directory `/usr/local/fido': Permission denied
mkdir /usr/local/fido/etc
mkdir: cannot create directory `/usr/local/fido/etc': No such file or 
directory
mkdir /usr/local/fido/etc/fidogate
mkdir: cannot create directory `/usr/local/fido/etc/fidogate': No such 
file or directory
make: *** [install-dirs] Error 1
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.93826 (%install)


Ошибки сборки пакетов:
     Неверный код возврата из /var/tmp/rpm-tmp.93826 (%install)

Вот спек:

Summary: Fido-Internet Gateway and Fido Tosser
Name: fidogate
Version: 5.0.0
Release: 1
Copyright: GPL
Group: System Environment/Daemons
Source: http://fidogate..spb.ru/download/fidogate-%{version}.tar.gz
BuildRoot: /var/tmp/fidogate-root

%description
FIDOGATE Version 4
  * Fido-Internet Gateway
  * Fido FTN-FTN Gateway
  * Fido Mail Processor
  * Fido File Processor
  * Fido Areafix/Filefix

%prep
%setup -q

%build
./configure --enable-amiga-out --disable-desc-dir 
--prefix=/usr/local/fido --with-newsbindir=/usr/bin
make depend
make DEBUG=-O2

%install

make PREFIX=$RPM_BUILD_ROOT install-dirs
mkdir -p $RPM_BUILD_ROOT/etc/news
mkdir -p $RPM_BUILD_ROOT/usr/local/fido/bin
mkdir -p $RPM_BUILD_ROOT/usr/local/fido/etc/fidogate
mkdir -p $RPM_BUILD_ROOT/usr/local/fido/lib
mkdir -p $RPM_BUILD_ROOT/usr/local/fido/libexec
mkdir -p $RPM_BUILD_ROOT/var/log/fidogate
mkdir -p $RPM_BUILD_ROOT/var/lib/fidogate
mkdir -p $RPM_BUILD_ROOT/var/lib/fidogate/seq
mkdir -p $RPM_BUILD_ROOT/var/lock/fidogate
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/outpkt/mail
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/outpkt/news
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/outrfc/mail
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/outrfc/news
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/toss/bad
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/toss/pack
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/toss/route
mkdir -p $RPM_BUILD_ROOT/var/spool/fidogate/toss/toss
mkdir -p $RPM_BUILD_ROOT/var/spool/bt
make PREFIX=$RPM_BUILD_ROOT install
make PREFIX=$RPM_BUILD_ROOT PACKAGE=rpm install-config

%clean

%files
%defattr(-,news,news)
%doc COPYING TODO TODO.rus doc/README doc/old/fidogate.txt
%doc doc/old/*.html doc/old/README.*
%dir /etc/news
%dir /usr/local/fido/bin
%dir /usr/local/fido/etc/fidogate
%dir /usr/local/fido/lib
%dir /usr/local/fido/libexec
%dir /var/log/fidogate
%dir /var/lib/fidogate
%dir /var/lib/fidogate/seq
%dir /var/lock/fidogate
%dir /var/spool/fidogate
%dir /var/spool/fidogate/outpkt/mail
%dir /var/spool/fidogate/outpkt/news
%dir /var/spool/fidogate/outrfc/mail
%dir /var/spool/fidogate/outrfc/news
%dir /var/spool/fidogate/toss/bad
%dir /var/spool/fidogate/toss/pack
%dir /var/spool/fidogate/toss/route
%dir /var/spool/fidogate/toss/toss
%dir /var/spool/bt
%config(noreplace) /etc/news/newsfeeds.fidogate
%config(noreplace) /usr/local/fido/etc/fidogate/acl
%config(noreplace) /usr/local/fido/etc/fidogate/aliases
%config(noreplace) /usr/local/fido/etc/fidogate/areafix.help
%config(noreplace) /usr/local/fido/etc/fidogate/areafix.help.rus
%config(noreplace) /usr/local/fido/etc/fidogate/areas
%config(noreplace) /usr/local/fido/etc/fidogate/fidogate.conf
%config(noreplace) /usr/local/fido/etc/fidogate/fidokill
%config(noreplace) /usr/local/fido/etc/fidogate/ftnacl
%config(noreplace) /usr/local/fido/etc/fidogate/hosts
%config(noreplace) /usr/local/fido/etc/fidogate/packing
%config(noreplace) /usr/local/fido/etc/fidogate/passwd
%config(noreplace) /usr/local/fido/etc/fidogate/routing
%config(noreplace) /usr/local/fido/etc/fidogate/spyes
%config(noreplace) /usr/local/fido/etc/fidogate/uplinks
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.acl
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.acl_netmail
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.addrinto
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.down
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.insecure
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.noto
%config(noreplace) /usr/local/fido/etc/fidogate/bounce.restricted
%config(noreplace) /var/lib/fidogate/areas.bbs
%config(noreplace) /var/lib/fidogate/fareas.bbs
/usr/local/fido/bin/ftnafutil
/usr/local/fido/bin/ftnfattach
/usr/local/fido/bin/ftnoutpkt
/usr/local/fido/bin/ftntickpost
/usr/local/fido/bin/ngoper
/usr/local/fido/bin/pktdebug
/usr/local/fido/bin/pktmore
/usr/local/fido/bin/pkttmpl
/usr/local/fido/bin/report_areas_changes
/usr/local/fido/bin/runafutil
/usr/local/fido/bin/rungate
/usr/local/fido/bin/runin
/usr/local/fido/bin/runinc
/usr/local/fido/bin/runmail
/usr/local/fido/bin/runnews
/usr/local/fido/bin/runout
/usr/local/fido/bin/runtoss
/usr/local/fido/bin/rununpack
/usr/local/fido/bin/send-fidogate
/usr/local/fido/bin/sumcrc
/usr/local/fido/libexec/charset.bin
/usr/local/fido/libexec/charset.map
/usr/local/fido/libexec/ftn2ftn
/usr/local/fido/libexec/ftn2rfc
/usr/local/fido/libexec/ftnaf
/usr/local/fido/libexec/ftnafmail
/usr/local/fido/libexec/ftnafpkt
/usr/local/fido/libexec/ftnexpire
/usr/local/fido/libexec/ftnflo
/usr/local/fido/libexec/ftnhatch
/usr/local/fido/libexec/ftnin
/usr/local/fido/libexec/ftninpost
/usr/local/fido/libexec/ftninrecomb
/usr/local/fido/libexec/ftnmail
/usr/local/fido/libexec/ftnpack
/usr/local/fido/libexec/ftnroute
/usr/local/fido/libexec/ftntick
/usr/local/fido/libexec/ftntoss
/usr/local/fido/libexec/rfc2ftn
/usr/local/fido/lib/libfidogate.la
/usr/local/fido/lib/libfidogate.so
/usr/local/fido/lib/libfidogate.so.5
/usr/local/fido/lib/libfidogate.so.5.0.0

%post
if test -z `sed -n '/fidogate/=' /etc/news/newsfeeds|tail -n1`; then
     cat /etc/news/newsfeeds.fidogate >> 
$(PREFIX)$(DEFAULT_F_NEWSETCDIR)/newsfeeds
fi

%changelog
* Mon Sep 24 2002 Dmitry Fedotov <dyff@fidogate.spb.ru>
- First try at rpm spec file for 5.0.0




             reply	other threads:[~2002-10-30  2:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30  2:28 Oleg Sukhanov [this message]
2002-10-30  7:26 ` Vadim V. Zhytnikov
2002-10-30  7:51   ` Oleg Sukhanov
2002-10-30  9:39 ` aen
2002-10-30 10:11 ` Andrew Borodin
2002-10-30 10:24   ` Andrew Borodin
2002-10-30 13:40 ` Vitaly Lugovsky
2002-10-31  0:31   ` Oleg Sukhanov
2002-10-31 13:38     ` Vitaly Lugovsky
2002-10-31  0:54   ` Oleg Sukhanov
2002-10-31 13:38     ` Vitaly Lugovsky

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=3DBF43B7.1000709@kaznaufk.amur.ru \
    --to=bh@kaznaufk.amur.ru \
    --cc=community@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 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