xorg-driver-fglrx 8.4 i problemy z makrem %__kernel_ver

Tomasz Wittner tomasz.wittner w gmail.com
Nie, 20 Kwi 2008, 23:39:21 CEST


On Friday 18 of April 2008, 00:01, Zbyniu Krzystolik wrote:
> Mniej wiecej Thu, Apr 17, 2008 at 10:05:39PM +0200, zainteresowany Tomasz 
Wittner rzekl:
> > $ rpmbuild --define 'alt_kernel vanilla' -bb xorg-driver-video-fglrx.spec
> > [...]
> > Wrote:
> > /home/users/tw/rpm/RPMS/kernel-vanilla-video-firegl-8.4-0.1 at 2.6.24.4_1.pe
> >ntium4.rpm $ sudo \
> > rpm -Uvh
> > /home/users/tw/rpm/RPMS/kernel-vanilla-video-firegl-8.4-0.1 at 2.6.24.4_1.pe
> >ntium4.rpm
>
>                                                                            
> ^^^^^
>
> > Preparing...                ###########################################
> > [100%]
> > 1:kernel-vanilla-video-fi###########################################
> > [100%] WARNING: Couldn't open directory /lib/modules/2.6.24.3_vanilla-1:
> > No such file or directory
>
>                                                      ^^^^
>
> Coś tu nie pasuje w wersjach. ?
Ano - pierwsze:
[tw at f2 ~/rpm/SPECS]$ 
i /home/users/tw/rpm/RPMS/kernel-vanilla-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-drm-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-pcmcia-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-sound-alsa-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-headers-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-module-build-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-source-2.6.24.4-1.pentium4.rpm /home/users/tw/rpm/RPMS/kernel-vanilla-doc-2.6.24.4-1.pentium4.rpm
Preparing...                ########################################### [100%]
   1:kernel-vanilla         ########################################### [ 13%]
   2:kernel-vanilla-headers ########################################### [ 25%]
   3:kernel-vanilla-module-b########################################### [ 38%]
   4:kernel-vanilla-drm     ########################################### [ 50%]
WARNING: Couldn't open directory /lib/modules/2.6.24.3_vanilla-1: No such file 
or directory
FATAL: Could not open /lib/modules/2.6.24.3_vanilla-1/modules.dep.temp for 
writing: No such file or directory
error: %postun(kernel-vanilla-drm-2.6.24.3-2.i686) scriptlet failed, exit 
status 1
   5:kernel-vanilla-pcmcia  ########################################### [ 63%]
WARNING: Couldn't open directory /lib/modules/2.6.24.3_vanilla-1: No such file 
or directory
FATAL: Could not open /lib/modules/2.6.24.3_vanilla-1/modules.dep.temp for 
writing: No such file or directory
error: %postun(kernel-vanilla-pcmcia-2.6.24.3-2.i686) scriptlet failed, exit 
status 1
   6:kernel-vanilla-sound-al########################################### [ 75%]
WARNING: Couldn't open directory /lib/modules/2.6.24.3_vanilla-1: No such file 
or directory
FATAL: Could not open /lib/modules/2.6.24.3_vanilla-1/modules.dep.temp for 
writing: No such file or directory
error: %postun(kernel-vanilla-sound-alsa-2.6.24.3-2.i686) scriptlet failed, 
exit status 1
   7:kernel-vanilla-source  ########################################### [ 88%]
   8:kernel-vanilla-doc     ########################################### [100%]

Drugie, podczas budowania kernel-vanilla:Titanium

mkdir -p /home/users/tw/my/devel/pld/kernel-vanilla-Titanium/BUILD/linux-2.6.25/build-done/kernel/lib/modules/vanilla-2.6.25-0.1/kernel/sound/usb/usx2y; 
cp 
sound/usb/usx2y/snd-usb-usx2y.ko /home/users/tw/my/devel/pld/kernel-vanilla-Titanium/BUILD/linux-2.6.25/build-done/kernel/lib/modules/vanilla-2.6.25-0.1/kernel/sound/usb/usx2y ; 
true /home/users/tw/my/devel/pld/kernel-vanilla-Titanium/BUILD/linux-2.6.25/build-done/kernel/lib/modules/vanilla-2.6.25-0.1/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
  if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F 
System.map  -b /home/users/tw/my/devel/pld/kernel-vanilla-Titanium/BUILD/linux-2.6.25/build-done/kernel -r 
vanilla-2.6.25-0.1; fi
WARNING: Couldn't open 
directory /home/users/tw/my/devel/pld/kernel-vanilla-Titanium/BUILD/linux-2.6.25/build-done/kernel/lib/modules/2.6.24.4_vanilla-1: 
No such file or directory
FATAL: Could not 
open /home/users/tw/my/devel/pld/kernel-vanilla-Titanium/BUILD/linux-2.6.25/build-done/kernel/lib/modules/2.6.24.4_vanilla-1/modules.dep.temp 
for writing: No such file or directory
make: *** [_modinst_post] Error 1
error: Bad exit status from /home/users/tw/tmp/rpm-tmp.28049 (%build)

rpm-build-macros-0:1.449-1 

>
> Zbyniu



-- 
Tomasz Wittner


Więcej informacji o liście dyskusyjnej pld-devel-pl