[devel] [#27580] FAILED archivemail.git=0.8.0-alt1

Alexey Tourbin at на altlinux.ru
Чт Авг 12 09:59:09 UTC 2010


On Thu, Aug 12, 2010 at 11:34:06AM +0600, Andrey Rahmatullin wrote:
> On Thu, Aug 12, 2010 at 06:49:19AM +0400, Girar Builder robot wrote:
> > http://git.altlinux.org/tasks/27580/task/log
> > 
> > 2010-Aug-12 06:49:04 :: task #27580 for sisyphus started:
> > #1 build 0.8.0-alt1 from /people/wrar/packages/archivemail.git
> > 2010-Aug-12 06:49:05 :: [x86_64] #1 archivemail.git 0.8.0-alt1: build start
> > 2010-Aug-12 06:49:05 :: [i586] #1 archivemail.git 0.8.0-alt1: build start
> > error: Bad file: /usr/src/in/source/archivemail-0.8.0-alt1.diff: No such file or directory
> Как нет? Локально всё нормально.

Видимость того что всё нормально, покольку патч не прикладывается
в %prep и rpm его дёргает только перед "Wrote".  Поэтому -bp работает,
а -bs - нет.

[at на people archivemail]$ gear-rpm -bp
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.59860
+ umask 022
+ /bin/mkdir -p /tmp/.private/at/RPM/BUILD
+ cd /tmp/.private/at/RPM/BUILD
+ cd /tmp/.private/at/RPM/BUILD
+ rm -rf archivemail-0.8.0
+ echo 'Source #0 (archivemail-0.8.0.tar):'
Source #0 (archivemail-0.8.0.tar):
+ /bin/tar -xf /tmp/.private/at/gear.BDLCN5Fs/out/archivemail-0.8.0.tar
+ cd archivemail-0.8.0
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
[at на people archivemail]$ gear-rpm -bs
error: Bad file: /tmp/.private/at/gear.QZLjqLLK/out/archivemail-0.8.0-alt1.diff: No such file or directory
RPM build errors:
    Bad file: /tmp/.private/at/gear.QZLjqLLK/out/archivemail-0.8.0-alt1.diff: No such file or directory
[at на people archivemail]$ 


На самом деле патч по умолчанию создается с суффиксом .patch, а не .diff.

[at на people archivemail]$ hsh-run find /usr/src/in 
/usr/src/in
/usr/src/in/srpm
/usr/src/in/source
/usr/src/in/source/archivemail-0.8.0.tar
/usr/src/in/source/archivemail-0.8.0-alt1.patch
/usr/src/in/spec
/usr/src/in/spec/archivemail.spec
[at на people archivemail]$ 



Подробная информация о списке рассылки Devel