Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libpjsip: disable parallel build
@ 2016-05-12 12:48 Luca Ceresoli
  2016-05-12 13:50 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Ceresoli @ 2016-05-12 12:48 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>

---

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(+)

diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index 730d9fe..ebb5897 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -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)" \
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libpjsip: disable parallel build
  2016-05-12 12:48 [Buildroot] [PATCH] libpjsip: disable parallel build Luca Ceresoli
@ 2016-05-12 13:50 ` Thomas Petazzoni
  2016-05-12 13:58   ` Luca Ceresoli
  2016-05-27 11:47   ` Luca Ceresoli
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-05-12 13:50 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 12 May 2016 14:48:13 +0200, Luca Ceresoli wrote:
> 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
> 
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> 
> ---

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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libpjsip: disable parallel build
  2016-05-12 13:50 ` Thomas Petazzoni
@ 2016-05-12 13:58   ` Luca Ceresoli
  2016-05-27 11:47   ` Luca Ceresoli
  1 sibling, 0 replies; 5+ messages in thread
From: Luca Ceresoli @ 2016-05-12 13:58 UTC (permalink / raw)
  To: buildroot

Dear Thomas,

On 12/05/2016 15:50, Thomas Petazzoni wrote:
> Hello,
> 
> On Thu, 12 May 2016 14:48:13 +0200, Luca Ceresoli wrote:
>> 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
>>
>> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
>>
>> ---
> 
> 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.
-- 
Luca

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libpjsip: disable parallel build
  2016-05-12 13:50 ` Thomas Petazzoni
  2016-05-12 13:58   ` Luca Ceresoli
@ 2016-05-27 11:47   ` Luca Ceresoli
  2016-05-27 19:44     ` Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Luca Ceresoli @ 2016-05-27 11:47 UTC (permalink / raw)
  To: buildroot

Hi Thomas, all,

On 12/05/2016 15:50, Thomas Petazzoni wrote:
> Hello,
> 
> On Thu, 12 May 2016 14:48:13 +0200, Luca Ceresoli wrote:
>> 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
>>
>> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
>>
>> ---
> 
> 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.

-- 
Luca

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH] libpjsip: disable parallel build
  2016-05-27 11:47   ` Luca Ceresoli
@ 2016-05-27 19:44     ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-05-27 19:44 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 27 May 2016 13:47:44 +0200, Luca Ceresoli wrote:

> > 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.

> 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-27 19:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12 12:48 [Buildroot] [PATCH] libpjsip: disable parallel build Luca Ceresoli
2016-05-12 13:50 ` Thomas Petazzoni
2016-05-12 13:58   ` Luca Ceresoli
2016-05-27 11:47   ` Luca Ceresoli
2016-05-27 19:44     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox