From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3DBF89AE.3030801@netorn.ru> Date: Wed, 30 Oct 2002 10:26:38 +0300 From: "Vadim V. Zhytnikov" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.0.0) Gecko/20020526 X-Accept-Language: ru, en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] =?KOI8-R?Q?=FE=D4=CF_=C9=D3=D0=D2=C1=D7=C9=D4=D8_?= =?KOI8-R?Q?=D7_=D3=D0=C5=CB=C5=3F?= References: <3DBF43B7.1000709@kaznaufk.amur.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: Oleg Sukhanov пишет: > Не заворачивается в 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 > - First try at rpm spec file for 5.0.0 > > А что у Вас прописано в .rpmmacros ? Тут должны быть правильно прописаны %_topdir xxxxxx %_tmppath yyyyyyy -- Vadim V. Zhytnikov