[WBEL-users] rhel3 rebuiild

Hamzah Khan deadlydemon@blueyonder.co.uk
Wed, 07 Jul 2004 20:47:04 +0100


Hello
I have a two month holiday until i start collage and i can't think of 
anything to do,
so i decided to use the instructions on the wbel3 site to make my own 
distro.
i have taroon beta installed on my server and have downloaded the SRPMS 
for rhel3 from the redhat site.
I used the same scripts on the HOWTO to build the SRPMS and it was all 
going great. Quite a few SRPMS
had dependency problems but i fixed them by finding the rpms on rpmfind 
and installing them.
Now i have only 3 packages to build but they have an error i do not
understand.
The ones that do not build at all are:
aspell-fr-0.6-8.src.rpm
aspell-pt_BR-2.4-12.src.rpm
hdparm-5.4-1.src.rpm
I have copied the errors below. Please can some one help me fix this, 
I’ve been trying for three days now and I haven’t had anything different.


aspell-fr-0.6-8.src.rpm:
find: /var/tmp/aspell-fr-0.6-root/usr/lib/debug: No such file or directory
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip 
/usr/bin/objdump
Processing files: aspell-fr-0.6-8
error: File not found by glob: 
/var/tmp/aspell-fr-0.6-root/usr/share/pspell/*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.18428
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd aspell-dict-francais-0.06
+ DOCDIR=/var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ export DOCDIR
+ rm -rf /var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ /bin/mkdir -p /var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ cp -pr README LISEZMOI COPYING 
/var/tmp/aspell-fr-0.6-root/usr/share/doc/aspell-fr-0.6
+ exit 0
Processing files: aspell-fr-debuginfo-0.6-8

RPM build errors:
File not found by glob: /var/tmp/aspell-fr-0.6-root/usr/share/pspell/*


aspell-pt_BR-2.4-12.src.rpm:
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.18428
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd br.ispell-2.4
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cp /usr/src/redhat/SOURCES/pt_BR.dat .
+ ln -s /usr/share/aspell/iso8859-1.dat
+ LC_CTYPE=pt_BR
+ aspell --lang pt_BR --data-dir=. create master ./pt_BR
Error: The language "" is not known. This is probably becuase the file 
"./pt.dat" can not be opened for reading.
error: Bad exit status from /var/tmp/rpm-tmp.18428 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.18428 (%build)


hdparm-5.4-1.src.rpm:
gcc -O2 -g -pipe -march=i386 -mcpu=i686 -W -Wall -Wbad-function-cast 
-Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions 
-Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -c -o 
hdparm.o hdparm.c
In file included from hdparm.c:23:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel 
header; include <endian.h> instead!
hdparm.c:55: `readahead' redeclared as different kind of symbol
/usr/include/bits/fcntl.h:185: previous declaration of `readahead'
hdparm.c:55: warning: `readahead' was declared `extern' and later `static'
make: *** [hdparm.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.18429 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.18429 (%build)