rpmbuild on FC2

Siddhartha Annapureddy reddy at scs.cs.nyu.edu
Thu Jan 12 04:05:41 CET 2006


Hi all,
     thanks for the quick reply. I updated the kernel as follows:

uname -a:
Linux cannon.scs.stanford.edu 2.6.10-1.771_FC2 #1 Mon Mar 28 00:50:14 EST 
2005 i686 athlon i386 GNU/Linux

Then,
 	rpmbuild --rebuild heimdal-0.6.4-0.abo.1.3.src.rpm
 	rpmbuild --rebuild arla-0.39-0.abo.1.3.src.rpm --target=`uname -m`
The stuff worked neatly. Also, while I got 
kernel-module-nnpfs-2.6.10-1.771_FC2-0.39-0.abo.1.3.i686.rpm, there was no
devel rpm for the headers. Could you have them generated by default or 
something?

Also, when trying with the latest sources:
 	rpmbuild --rebuild heimdal-0.7-0.abo.1.4.src.rpm
gave the following errors. You might want to look into this.

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast 
-Wmissing-declarations -Wnested-externs -O2 -g -pipe -march=i386 
-mcpu=i686 -o .libs/snprintf-test snprintf_test-snprintf-test.o 
./.libs/libtest.a ./.libs/libroken.so -ldb -lcrypt -lresolv -pthread 
-Wl,--rpath -Wl,/usr/lib/heimdal/lib
snprintf_test-snprintf-test.o(.text+0x33): In function `try':
/usr/src/redhat/BUILD/heimdal-0.7/lib/roken/snprintf-test.c:51: undefined 
reference to `test_vsnprintf'
snprintf_test-snprintf-test.o(.text+0x7fd): In function `test_null':
/usr/src/redhat/BUILD/heimdal-0.7/lib/roken/snprintf-test.c:225: undefined 
reference to `test_snprintf'
snprintf_test-snprintf-test.o(.text+0x830): In function `test_length':
/usr/src/redhat/BUILD/heimdal-0.7/lib/roken/snprintf-test.c:232: undefined 
reference to `test_snprintf'
collect2: ld returned 1 exit status
make[3]: *** [snprintf-test] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/heimdal-0.7/lib/roken'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/heimdal-0.7/lib/roken'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/heimdal-0.7/lib'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.85348 (%build)

Thanks.

A.Siddhartha.

#########################################################################
A.Siddhartha                    I CAN THINK, I CAN WAIT, I CAN FAST.
353 Serra Mall, Room 288,       	-- Siddhartha
Stanford University,            	in Siddhartha by Hermann Hesse
Stanford, CA -- 94305. 
#########################################################################

On Wed, 11 Jan 2006, Alexander [ISO-8859-1] Boström wrote:

> tis 2006-01-10 klockan 19:48 -0500 skrev Siddhartha Annapureddy:
>> Hi,
>>   I had a problem with rpmbuild for arla. Here are the details of the
>> system and what I did. Let me know if you need more details.
>>
>> uname output --
>> Linux cannon.scs.stanford.edu 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004
>> i686 athlon i386 GNU/Linux
>>
>> Did the following on my machine:
>>  	# Downloaded heimdal-0.6.4-0.abo.1.3.src.rpm, then
>>  	rpmbuild --rebuild heimdal-0.6.4-0.abo.1.3.src.rpm
>>  	# Installed the resulting RPMS in /usr/src/redhat/RPMS
>>
>>  	# Downloaded arla-0.39-0.abo.1.3.src.rpm, then
>>  	rpmbuild --rebuild arla-0.39-0.abo.1.3.src.rpm --target=`uname -m`
>> --define "kernel `uname -r`"
>>
>> Got the following errors:
>
> Hello,
>
> Tomas suggested Arla might not be compatible with the early Linux 2.6
> kernels, so you'll probably have more luck using the latest errata
> kernel for FC2 (2.6.10-1.771_FC2).
>
> And also, try the source rpms from here:
>
> ftp://ftp.stacken.kth.se/pub/arla/distributions/fedora/4/i386/arla/SRPMS
>
> Sorry, I seem to have forgotten to update the web page with that link.
>
> /abo
>
>


More information about the Arla-drinkers mailing list