[devel] сборка c помощью hsh и внутри hsh-shell: разные результаты

Eugene Prokopiev =?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Чт Май 3 20:34:55 MSD 2007


Здравствуйте!

$ ./build.sh iaxshell-0.1-alt1.src.rpm
...
Installing iaxshell-0.1-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.56037
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf iaxshell-0.1
+ echo 'Source #0 (iaxshell-0.1.tar.bz2):'
Source #0 (iaxshell-0.1.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/iaxshell-0.1.tar.bz2
+ /bin/tar -xf -
+ cd iaxshell-0.1
+ /bin/chmod -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.56037
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd iaxshell-0.1
+ '[' -n '' ']'
+ NPROCS=4
+ make -j4
make: Entering directory `/usr/src/RPM/BUILD/iaxshell-0.1'
cc -Wall -c -o iaxshell.o iaxshell.c
cc -Wall -c -o iaxreadline.o iaxreadline.c
cc -Wall -o iaxshell iaxshell.o iaxreadline.o -liaxclient -lreadline 
-lpthread -lm
i586-alt-linux-gcc: iaxshell.o: No such file or directory
i586-alt-linux-gcc: iaxreadline.o: No such file or directory
make: *** [iaxshell] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/usr/src/RPM/BUILD/iaxshell-0.1'

RPM build errors:
error: Bad exit status from /usr/src/tmp/rpm-tmp.56037 (%build)
     Bad exit status from /usr/src/tmp/rpm-tmp.56037 (%build)
Command exited with non-zero status 1
0.26user 0.04system 0:00.25elapsed 119%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+9726minor)pagefaults 0swaps
hsh-rebuild: rebuild of `iaxshell-0.1-alt1.src.rpm' failed.

$ hsh-shell
$ cd /usr/src/RPM/BUILD/iaxshell-0.1
$ ls
Makefile  iaxclient.h    iaxreadline.h  iaxshell.c  iaxshell.o
README    iaxreadline.c  iaxreadline.o  iaxshell.h
$ make
cc -Wall -o iaxshell iaxshell.o iaxreadline.o -liaxclient -lreadline 
-lpthread -lm
$ ls
Makefile  iaxclient.h    iaxreadline.h  iaxshell    iaxshell.h
README    iaxreadline.c  iaxreadline.o  iaxshell.c  iaxshell.o

Кто прокомментирует?

-- 
С уважением, Прокопьев Евгений



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