RPM build succeeded, I think.

Larry Kollar (kollar@stc.net)
Fri, 16 Jul 1999 00:02:37 -0400


After many iterations, tweaking the Makefile in abi/src/pkg/linux among
other things, I finally wound up with a .ppc.rpm! But there's a problem
near (I hope) the end. I've included the tailend of my last make run for
anyone who wants to make a suggestion.

I'd like to end up with a .src.rpm, since the MkLinux world is about to
go through the travails of upgrading to glibc2 -- easier than trying to
maintain *two* RPMs.... But I'll settle for a ppc.rpm for now.

BTW, the incantation that finally did it for me was (as root):

make distribution UNIX_CAN_BUILD_STATIC=0 ABI_BUILD_VERSION=0.7.3 \
ABI_DIST_TARGET=rpm RPM_SOURCE_DIR=/usr/src/redhat

And now, I'm going to bed. :-)

Larry

(tail end of Make follows)

Wrote: /usr/src/redhat/RPMS/ppc/abisuite-0.7.3-1.ppc.rpm
+ umask 022
+ echo Executing: %clean
Executing: %clean
+ cd /usr/src/redhat/BUILD
+ cd abisuite-0.7.3
+ rm -rf /usr/share/abisuite
+ rm -rf /usr/doc/abisuite
+ rm -f /usr/bin/X11/AbiWord
+ rm -f /usr/bin/X11/abiword
+ rm -f /usr/lib/menu/abisuite
+ rm -rf /usr/src/redhat/BUILD/abisuite-0.7.3
+ rm -f /usr/src/redhat/SOURCES/abisuite-0.7.3.tar
+ rm -f /usr/src/redhat/SOURCES/../SPECS/abisuite-0.7.3.spec
+ exit 0
Bad owner/group: /var/tmp/rpmbu22325aaa/abisuite-0.7.3.spec
Bad owner/group: /usr/src/redhat/SOURCES/abisuite-0.7.3.tar
Build failed.
make[2]: *** [rpm] Error 1
make[2]: Leaving directory `/home/larry/src/abi-0.7.3/src/pkg/linux'
make[1]: *** [distribution] Error 2
make[1]: Leaving directory `/home/larry/src/abi-0.7.3/src'
make: *** [distribution] Error 2
[root@curly abi-0.7.3]# ls -l /var/tmp/rpmbu22325aaa/
total 0
lrwxrwxrwx 1 root root 41 Jul 15 23:40 abisuite-0.7.3.spec -> /usr/src/redhat/SPECS/abisuite-0.7.3.spec
lrwxrwxrwx 1 root root 42 Jul 15 23:40 abisuite-0.7.3.tar -> /usr/src/redhat/SOURCES/abisuite-0.7.3.tar
[root@curly abi-0.7.3]#



This archive was generated by hypermail 1.03b2.