Mailinglist Archive: opensuse-buildservice (327 mails)

< Previous Next >
[opensuse-buildservice] Building kernel on OBS
  • From: Ciro Iriarte <cyruspy@xxxxxxxxx>
  • Date: Tue, 26 Apr 2011 16:03:48 -0400
  • Message-id: <BANLkTik9rGXwjhXMJ=18An6COPdsPhYZsw@mail.gmail.com>
Hi, I created packages from stock SLES11 src.rpm kernel packages but
they won't build out of the box.

kernel-source: Builds fine

kernel-syms: Fails with
-------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define
'disturl
obs://build.opensuse.org/home:ciriarte:ha/SLE_11_SP1/b337429349d28af850964c43249cf831-kernel-syms'
/usr/src/packages/SOURCES/kernel-syms.spec
error: Unable to open /usr/src/packages/SOURCES/kernel-spec-macros: No
such file or directory
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
-------

kernel-xen: Fails with
-------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define
'disturl
obs://build.opensuse.org/home:ciriarte:ha/SLE_11_SP1/8f408e830bec276a845d7d3eb47c8206-kernel-xen'
/usr/src/packages/SOURCES/kernel-xen.spec
chmod: cannot access `/usr/src/packages/SOURCES/symsets.pl': No such
file or directory
tar: /usr/src/packages/SOURCES/config.tar.bz2: Cannot open: No such
file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: config/i386/xen: Not found in archive
tar: Error exit delayed from previous errors
error: File /usr/src/packages/SOURCES/linux-2.6.32.tar.bz2: No such
file or directory
-------

kernel-default: Fails with
----
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define
'disturl
obs://build.opensuse.org/home:ciriarte:ha/SLE_11_SP1/b7f8b86cc6fd54f2f32c59fc664a0c43-kernel-default'
/usr/src/packages/SOURCES/kernel-default.spec
chmod: cannot access `/usr/src/packages/SOURCES/symsets.pl': No such
file or directory
tar: /usr/src/packages/SOURCES/config.tar.bz2: Cannot open: No such
file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: config/i386/default: Not found in archive
tar: Error exit delayed from previous errors
error: File /usr/src/packages/SOURCES/linux-2.6.32.tar.bz2: No such
file or directory
----

All the missing files seem to be included in kernel-source, tried to
add it as a build requirement but build still fails. Is there any
special requirement to build this packages?

Regards,

--
Ciro Iriarte
http://cyruspy.wordpress.com
--
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups