Mailinglist Archive: opensuse-packaging (220 mails)

< Previous Next >
Re: [opensuse-packaging] kernel compile problems
  • From: Andre Hübner <andre.huebner@xxxxxx>
  • Date: Wed, 23 Sep 2009 10:30:43 +0200
  • Message-id: <0DB9D9BC744D4726AC632743D91C02A3@xxxxxxxxx>
Hello,

I do not think that version of gcc can compile the 2.6.27 kernel. Try
updating gcc before worrying about the kernel being incorrect.

updating gcc is a almost futile project, im happy about successful updating binutils and compilingtools...
but gcc update seems not to be necessary, kernel 2.6.25.20-25.1 compiled without problems and changes.
so far so good, now my gcc problem turned into a rpm/spec problem.
I need new udev for this kernel. compiling is successful but i have problems in %files section of spec.
%files section contains lines like:

%attr(600,root,root) %dev(c,5,1) /lib/udev/devices/console
%attr(660,root,root) %dev(c,1,11) /lib/udev/devices/kmsg
%attr(666,root,root) %dev(c,1,3) /lib/udev/devices/null
%attr(666,root,root) %dev(c,1,5) /lib/udev/devices/zero

In suse 8.2 rpm3 is the default which is not able to handle the %dev(c,4,65) notation.

Processing files: udev-120-13.1
File must begin with "/": %dev(c,5,1)
File must begin with "/": %dev(c,1,11)
File must begin with "/": %dev(c,1,3)
File must begin with "/": %dev(c,1,5)
File must begin with "/": %dev(c,5,2)
File must begin with "/": %dev(c,5,0)

after that it sopps without further error-message.
How to turn into rpm3 compatible lines? Is this possible?

Thanks,
Andre

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References