[opensuse-kernel] Please fix parallel build

Hi, Since about forever the kernel packages fail randomly as they use parallel make and have broken rules. I don't understand the kernel build system, but for someone who does, it should be easy to fix: #.../linux-obj> make mrproper #.../linux-obj> make archscripts HOSTCC arch/x86/tools/relocs /bin/sh: scripts/basic/fixdep: No such file or directory make[3]: *** [arch/x86/tools/relocs] Error 1 And make -j all will create the fixdep program in parallel to the archscripts -> BOOM Greetings, Stephan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org

On 20.9.2012 15:57, Stephan Kulow wrote:
Hi,
Since about forever the kernel packages fail randomly as they use parallel make and have broken rules.
I don't understand the kernel build system, but for someone who does, it should be easy to fix:
#.../linux-obj> make mrproper #.../linux-obj> make archscripts HOSTCC arch/x86/tools/relocs /bin/sh: scripts/basic/fixdep: No such file or directory make[3]: *** [arch/x86/tools/relocs] Error 1
This is already fixed in git, see http://kernel.opensuse.org/cgit/kernel/commit/?id=e5a041ae900fb27f542d1ad737.... Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/20/12 9:57 AM, Stephan Kulow wrote:
Hi,
Since about forever the kernel packages fail randomly as they use parallel make and have broken rules.
I don't understand the kernel build system, but for someone who does, it should be easy to fix:
#.../linux-obj> make mrproper #.../linux-obj> make archscripts HOSTCC arch/x86/tools/relocs /bin/sh: scripts/basic/fixdep: No such file or directory make[3]: *** [arch/x86/tools/relocs] Error 1
And make -j all will create the fixdep program in parallel to the archscripts -> BOOM
I committed a patch yesterday to fix the general issue. There seems to be something broken with 'make archscripts' alone as a result. 'make' should work without races now. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQWyP5AAoJEB57S2MheeWykUUQALgM3bdgQU6+0if0JxBqD1jY bWmvA01qqRZDEH9IYChgDjwTYAzzhcFP6zsxLU4edfO57OvBVCMkaI+p0jcDc5IX n+KNVVxb3utoblf0moNqjPRiC4yr0Wy6IsCgo1Cea8GHGEpGWjXT8tW3fbvsfpZe otMmuNJiYQ2stOOatL3d1hqc8Iuu8WlJknoOcdhbP145/gOxWvLXIHKFCcHWXUTq 2dYJdl+WwJJxduc1Lkj1tFfv5jXHCrqKSKW8QVl5nOBv/8WdAUUbfTYXxDp5pBGX apWatrC9k1LFsaFlm4e1DRcQkZBFcHakW/5PPaf5jrvrxGwZBhzz+j7VoOyITHAu SjYnblMHYO4qOULy9Z6dH4X3ua+J44kViyxkuFnOuOjh4pIfOY3B8vYTZIbx0YWp bvEpYwqixCuquZbyyf8HyLwPKA6qoeD1DG/+Y2mLNdQnFSqylC2/ffccm1k8RN8Q ZpNmDw2/21ByysaT64okT6q1vLFJe9eVcJWMbI7fgfPw7/LFQmo9bZpDbeeA6wKl 5onUDA1xslf1H+VJk+ID3PVSbak4AtwOOx1zNvMdfrO/epmu1Bg0BLF1OoL75ZvJ sK6OpuhVEpuq36NuRdfcMc1sUsiuBxf7B2iRFczRSnmIABnHIVRWT9CWq7pk6y+Y iQl3xnJWWxvuQgVbnp87 =S/ri -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/20/12 9:57 AM, Stephan Kulow wrote:
Hi,
Since about forever the kernel packages fail randomly as they use parallel make and have broken rules.
I don't understand the kernel build system, but for someone who does, it should be easy to fix:
#.../linux-obj> make mrproper #.../linux-obj> make archscripts HOSTCC arch/x86/tools/relocs /bin/sh: scripts/basic/fixdep: No such file or directory make[3]: *** [arch/x86/tools/relocs] Error 1
And make -j all will create the fixdep program in parallel to the archscripts -> BOOM
Thanks for the specific test case. The patch I committed yesterday fixed our builds but was still wrong. I've updated it with one that just makes the x86 archscripts target depend on scripts_basic. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQIcBAEBAgAGBQJQWyhSAAoJEB57S2MheeWyL54P/R2lr4XRGfrzK3Wz6eJuE17L gfyb6Hf5C9imt2P+GB49EjrBRds2b2mSnD5piKIF+sMWu1UiI+ob3x5keziqxj+M cdQKfvBVEEltnnq+wKxiNQwCN2P54bIMghDDuL8OnOxaUhBucknL29PPanifLXmG XZymVdMRdZDXfKeBppBWhOd7CLuCZK2zFT8YmCC8fDYiKFcBFkxq1Aa8I8R7NJmd mx2SVQsHC0pJ91KNjcPneSonK+TbNtxjznjOvIS9nr5o78Ou+FDrJfe5Uo2E/eoL 6/oSY6mlr6EjTWZ9YhRaTyU5GWzrHsJSKhed+VcI1r/G0UV79BkleZ/KfsKIM1p1 EfwUubY2K5y22bmctJM0QDnDCn47zOwr5gMZa7VDEIV46zp0TYNsfo2ynTUWkbUK nVbS1V5OQ93j7w4ILlMeax/px/pePxfF9056oCoi6OlNNhUTY1B19z2VQccl2JgJ CLO7XGBvluV+hHxKG443leCtfeEI7xvXJshuttiIXX2R/zCX5ZRzRHsbNrI2GA5f BxZ7vpSbPzW4lzvTwnYBlJGky7AqJtitH925Old2deKOdrGmoEwjfC0VsqMuGabh if8MX4OXBaBGrsc+Sk7WxgdkIm+aCs+GQaF7Y+FmSTikzZBxxUhcGjU31OcMqziH /2esz7hpEPl3QlmJ6bdF =N8uO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Jeff Mahoney
-
Michal Marek
-
Stephan Kulow