[opensuse-buildservice] F12 kernel compile errors
Hello, I am trying to compile a F12 kernel via OBS. Here is my build log http://pastie.org/904842 . I am getting several "Warning: spec file parser line 462: can't expand %(...)" messages. It then fails later with "ERROR: Patch linux-2.6-build-nonintconfig. patch not listed as a source patch in specfile". If I comment out the part that checks for that patch it compile but does not display the "buildid" when finished. I believe this is due to the "can't expand" warning earlier since the "buildid" is called with a macro that cant expand. The spec file is basically a clone of the original F12 kernel srpm from the F12 repo. There where two things I changed; 1, compile firmware and removed PAE from i686 build. Link to spec file. https://build.opensuse.org/package/view_file?file=kernel.spec&package=netbook-kernel&project=home%3Aenormoz Any help would be appreciated !! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Enor MOZ wrote:
Hello, I am trying to compile a F12 kernel via OBS. Here is my build log http://pastie.org/904842 . I am getting several "Warning: spec file parser line 462: can't expand %(...)" messages. It then fails later with "ERROR: Patch linux-2.6-build-nonintconfig. patch not listed as a source patch in specfile". If I comment out the part that checks for that patch it compile but does not display the "buildid" when finished.
You mean the package doesn't have the buildid in it's Release tag? That's because the build service substitutes Release tags in the spec file, see your build log: ----------------------------------------------------------------- I have the following modifications for kernel.spec: 489c489 < Release: %{pkg_release} ---
Release: 79.1
I believe this is due to the "can't expand" warning earlier since the "buildid" is called with a macro that cant expand.
That expansion error is normally only a problem if it affects build dependencies. The build service needs to determine them before the actual build and can't execute arbitrary shell code to do that of course. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Enor MOZ
-
Ludwig Nussel