libpjsip: disable parallel build
PATCH 1/1 libpjsip: disable parallel build
The libpjsip package has build issues on the autobuilders that look like parallel build issues. These issues seem to be extremely hard to reproduce, so let's disable parallel build and see if this fixes the issue.
The suspect error message is:
...-ld: cannot find -lpjsua
collect2: error: ld returned 1 exit status
Some of the failures:
http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf
http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91
http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e
http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608
http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585
---
No, this is _not_ the fix that I would like to see. But I'm still unable to reproduce despite having attempted several builds, so this is the best I could come up with... :-|
--- package/libpjsip/libpjsip.mk | 1 + 1 file changed, 1 insertion(+)
package/libpjsip/libpjsip.mk +1 -0
@@ -11,6 +11,7 @@ LIBPJSIP_DEPENDENCIES = libsrtp LIBPJSIP_LICENSE = GPLv2+ LIBPJSIP_LICENSE_FILES = COPYING LIBPJSIP_INSTALL_STAGING = YES +LIBPJSIP_MAKE = $(MAKE1) LIBPJSIP_CONF_ENV = \ LD="$(TARGET_CC)" \
Signature · 1 line
2.7.4
PATCH 1/1 libpjsip: disable parallel build
Hello,
Quoted 16 lines · Luca Ceresoli
The libpjsip package has build issues on the autobuilders that look like parallel build issues. These issues seem to be extremely hard to reproduce, so let's disable parallel build and see if this fixes the issue.
The suspect error message is:
...-ld: cannot find -lpjsua
collect2: error: ld returned 1 exit statusSome of the failures:
http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf
http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91
http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e
http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608
http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585
Quoted 3 lines
Signed-off-by Luca Ceresoli <[email protected]>---
I also hate to apply such patches without really knowing what's going on. But I've applied it nonetheless, so that we can see if it actually solves the problem or not. If it does, then we can think of a better solution, or at least reporting the build issue upstreaming to the pjsip developers.
So, applied to master! Please monitor the autobuilders in the next hours/days to see if the issue is resolved or not.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 libpjsip: disable parallel build
Dear Thomas,
Quoted 23 lines · Thomas Petazzoni
Hello,
Quoted 16 lines · Luca Ceresoli
The libpjsip package has build issues on the autobuilders that look like parallel build issues. These issues seem to be extremely hard to reproduce, so let's disable parallel build and see if this fixes the issue.
The suspect error message is:
...-ld: cannot find -lpjsua
collect2: error: ld returned 1 exit statusSome of the failures:
http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf
http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91
http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e
http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608
http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585Quoted 3 lines
Signed-off-by Luca Ceresoli <[email protected]>---
Quoted 8 lines
I also hate to apply such patches without really knowing what's going on. But I've applied it nonetheless, so that we can see if it actually solves the problem or not. If it does, then we can think of a better solution, or at least reporting the build issue upstreaming to the pjsip developers.
So, applied to master! Please monitor the autobuilders in the next hours/days to see if the issue is resolved or not.
I'm doing it almost daily since weeks now, why should I stop? ;)
Thanks for having applied it.
Signature · 1 line
Luca
PATCH 1/1 libpjsip: disable parallel build
In reply to Thomas PetazzoniHi Thomas, all,
Quoted 23 lines · Thomas Petazzoni
Hello,
Quoted 16 lines · Luca Ceresoli
The libpjsip package has build issues on the autobuilders that look like parallel build issues. These issues seem to be extremely hard to reproduce, so let's disable parallel build and see if this fixes the issue.
The suspect error message is:
...-ld: cannot find -lpjsua
collect2: error: ld returned 1 exit statusSome of the failures:
http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf
http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91
http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e
http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608
http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585Quoted 3 lines
Signed-off-by Luca Ceresoli <[email protected]>---
Quoted 8 lines
I also hate to apply such patches without really knowing what's going on. But I've applied it nonetheless, so that we can see if it actually solves the problem or not. If it does, then we can think of a better solution, or at least reporting the build issue upstreaming to the pjsip developers.
So, applied to master! Please monitor the autobuilders in the next hours/days to see if the issue is resolved or not.
It's 15 days since this patch has been applied, and we had no more autobuild failures on libpjsip-2.4.5 after that.
The time frame between the previous patch to libpjsip (9db9a6d2b3c595) and this one lasted ~45 days and produced 13 autobuild failures.
I'm starting being moderately optimistic about having solved the problem. I'll wait a few more days, then unless we see new failures I'll report to the upstream mailing list.
Signature · 1 line
Luca
PATCH 1/1 libpjsip: disable parallel build
Hello,
Quoted 5 lines · Luca Ceresoli
Quoted 2 lines
So, applied to master! Please monitor the autobuilders in the next hours/days to see if the issue is resolved or not.
It's 15 days since this patch has been applied, and we had no more autobuild failures on libpjsip-2.4.5 after that.
Yes, I also haven't seen any libpjsip failure since quite some time.
Quoted 6 lines
The time frame between the previous patch to libpjsip (
9db9a6d2b3c595) and this one lasted ~45 days and produced 13 autobuild failures.I'm starting being moderately optimistic about having solved the problem. I'll wait a few more days, then unless we see new failures I'll report to the upstream mailing list.
I agree that disabling parallel build seems to have fixed the problem, so you can report the issue upstream.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com