[opensuse-buildservice] Compiling Kernel:HEAD for ARM on private OBS
moin, I'm currently trying to compile Kernel:HEAD on a private OBS instance for armv7l. compilation happens via qemu-user on an x86_64 system. i linked the project from the main buildservice into my instance. Most of the packages in that project are now "unresolvable" with "nothing provides dwarfextract". That BuildRequire is wrapped in an architecture check for s390 but triggers anyway. I suspect this might be due to wrong extraction of BuildRequires from the spec and what is described here: http://en.opensuse.org/openSUSE:Specfile_guidelines#OBS_Caveat If i completely remove that dependency in the spec file, i get similar build errors to what is described in that article. If i look at that package on build.opensuse.org, the builds for armv6l and aarch64 seem to run ok, the build for armv7l is "scheduled" and the binaries are a few months old. Since i dont want to chase something that's not a problem with my OBS instance or project setup, i'd like to know: - Should a setup like that work at all (i.e. Kernel:HEAD for ARM in qemu)? - Is there a currently a problem with armv7l in the official Kernel:HEAD project (since the armv7l RPMs are so old) or with my OBS instance? Any hints on how to debug this would be greatly appreciated.... Thanks in advance! tty, axel A part of the log: [ 119s] error: Macro %endif has empty body [ 119s] error: Macro %if has illegal name (%define) [ 119s] error: Macro %endif has empty body [ 119s] error: Macro %if has illegal name (%define) [ 121s] error: line 54: Unknown tag: armv7l armv7hl i386 i486 i586 i686 pentium3 pentium4 athlon geode x86_64 [ 121s] error: Macro %endif has empty body [ 121s] error: Macro %if has illegal name (%define) [ 121s] Building target platforms: armv7hl-suse-linux [ 121s] Building for target armv7hl-suse-linux [...] [ 117s] Warning: spec file parser line 365: can't expand %(...) [ 117s] Warning: spec file parser line 368: can't expand %(...) [ 117s] Warning: spec file parser line 370: can't expand %(...) [...] [ 117s] Warning: spec file parser line 42: can't expand %(...) [ 117s] Warning: spec file parser line 50: can't expand %(...) [ 117s] Odd number of elements in hash assignment at /var/run/obs/worker/1/build/Build/Rpm.pm line 133, <SPEC> line 245. [ 117s] Use of uninitialized value in list assignment at /var/run/obs/worker/1/build/Build/Rpm.pm line 133, <SPEC> line 245. [ 117s] Use of uninitialized value in concatenation (.) or string at /var/run/obs/worker/1/build/Build/Rpm.pm line 367, <SPEC> line 245. [ 117s] Odd number of elements in hash assignment at /var/run/obs/worker/1/build/Build/Rpm.pm line 133, <SPEC> line 246. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Axel Theilmann <honx@dudelab.org> writes:
[ 119s] error: Macro %endif has empty body [ 119s] error: Macro %if has illegal name (%define) [ 119s] error: Macro %endif has empty body [ 119s] error: Macro %if has illegal name (%define) [ 121s] error: line 54: Unknown tag: armv7l armv7hl i386 i486 i586 i686 pentium3 pentium4 athlon geode x86_64 [ 121s] error: Macro %endif has empty body [ 121s] error: Macro %if has illegal name (%define)
Looks like a problem with your prjconf. What does osc buildconfig show? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
moin,
Looks like a problem with your prjconf. What does osc buildconfig show?
i attached the prjconf, the specfile used during the build (after its been preprocessed by OBS) and a full build log. the prjconf is mainly based on Factory:ARM. its a bit messy because of cut&paste, but i have looked through it a number of times and did not find anything that i think could produce the build error with the macros. the binfmt errors at the top of the log should not be a problem. the binfmt is already registered and calling arm binaries works. tty, axel
Le 14/11/2013 14:00, Axel Theilmann a écrit :
moin,
Looks like a problem with your prjconf. What does osc buildconfig show? i attached the prjconf, the specfile used during the build (after its been preprocessed by OBS) and a full build log.
I think you should add a ":Macros" after defining some macros and before doing something else. As it is done in Factory:ARM prjconf. Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
moin,
Looks like a problem with your prjconf. What does osc buildconfig show? i attached the prjconf, the specfile used during the build (after its been preprocessed by OBS) and a full build log.
I think you should add a ":Macros" after defining some macros and before doing something else. As it is done in Factory:ARM prjconf.
i can try that, but other ARM-builds from that project work fine with that prjconf. tty, axel -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
moin,
i can try that
same result. tty, axel -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Axel Theilmann <honx@dudelab.org> writes:
moin,
i can try that
same result.
You didn't close the Macros sections properly. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
moin,
i can try that
same result.
You didn't close the Macros sections properly.
i did (at least i think i did) and the result stayed the same. i also merged the two Macros sections into one and put it at the end (and moved alle definitions needed in the prjconf earlier to %define statement), again, same result. i'll attach my current prjconf with the closed macro sections. tty, axel
Hi Axel, On Thu, 14 Nov 2013 15:12:46 +0100 Axel Theilmann <honx@dudelab.org> wrote:
You didn't close the Macros sections properly.
i did (at least i think i did) and the result stayed the same.
i also merged the two Macros sections into one and put it at the end (and moved alle definitions needed in the prjconf earlier to %define statement), again, same result.
I had a similar problem - at least I think it was similar - with PMBS lately. Did you update your OBS to the latest stable? There seem to have been an issue with macro sorting. Greetings, Stefan -- Stefan Botter Network Manager Jacobs University Bremen gGmbH Campus Ring 1 | 28759 Bremen | Germany Commercial registry: Amtsgericht Bremen, HRB 18117 President & Geschäftsführer: Prof. Dr. Heinz-Otto Peitgen Provost & Geschäftsführerin: Prof. Dr.-Ing. Katja Windt Chair Board of Governors: Prof. Dr. Karin Lochte
moin,
I had a similar problem - at least I think it was similar - with PMBS lately. Did you update your OBS to the latest stable? There seem to have been an issue with macro sorting.
yes, i'm running obs-server-2.4.5-6.1.x86_64 from OBS:Server:2.4 tty, axel -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
moin,
You didn't close the Macros sections properly.
i did (at least i think i did) and the result stayed the same.
i found another problem with the macro sections in the prjconfig. i fixed it and now it works. thanks for your help! :) tty, axel -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Andreas Schwab
-
Axel Theilmann
-
Guillaume Gardet
-
Stefan Botter