rebuild kernel src.rpm woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm trying to rebuild the kernel 2197 src.rpm for athlon and i386 but it
keeps failing with the following exit status in the i386 build section:
ln: creating symbolic link
`/var/tmp/kernel-2.4.22-1.2197.nptl.mh-root/lib/modules/*/build' to
'../../../usr/src/linux-2.4.22-1.2197.mh': No such file or directory.
bad exit status from /var/tmp/rpm-tmp.34893 (%install)

However, the directory does exist:
$ ls -ld
/var/tmp/kernel-2.4.22-1.2197.nptl.mh-root/usr/src/linux-2.4.22-1.2197.nptl.mh/
drwxr-xr-x  3 root root 1024 Jul 16 11:54
/var/tmp/kernel-2.4.22-1.2197.nptl.mh-root/usr/src/linux-2.4.22-1.2197.nptl.mh/

Also, if I build for athlon, I don't get this error and the build
process succeeds with a fresh kernel*2197.nptl.mh.athlon.rpm. But I want
the kernel-source and kernel-doc as well so I need to also build for
i386. The only change of kernel-2.4.spec is the "Release" field to add
"mh" to the end and changing to "%define buildsmp 0" at the top to not
build SMP. Also, note, when building for target i386, (before failing),
it starts to build all archs; upi586, upi686, upathlon, smpi586, .. etc
instead of just the kernel-source.i386.rpm and kernel-doc.i386.rpm. But
I'm only using --target i386,athlon and have buildsmp off..

Here's my rpmbuild cmd-line I'm using:
# rpmbuild -ba --target i386,athlon kernel-2.4.spec

Any ideas on unraveling these issues? 

Thanks,
Matt 
-- 
"Would you buy a car with the hood welded shut?"
 - Bob Young on the benefits of the open source development model.
mhelios - www.fedoraforum.org 

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux