[Freeswitch-users] Errors during compiling from today's 1.2.stable build

Ken Rice krice at freeswitch.org
Mon Nov 11 21:58:38 MSK 2013


Did you re-bootstrap and configure after git pull?

On 11/11/13 2:42 PM, "bedgar at vseinc.com" <bedgar at vseinc.com> wrote:

> Anthony,
>  
> As I am still encountering this identical problem on multiple servers up to
> commit 9aeaebe17bba4f64b54a2ccc8541eb361890232d I will do as Ken suggested and
> open a Jira and include logs of my bootstrap, configure, and make.
>  
> Brian
>  
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony
> Minessale
> Sent: Monday, November 11, 2013 2:12 PM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] Errors during compiling from today's
> 1.2.stable build
>  
> 
> Yah I already said I figured it out and fixed it on saturday by reverting a
> commit that was made in this same thread.
> 
> I guess that's what happens when they get too long.....
> 
>  
> 
>  
> 
>  
> 
> On Mon, Nov 11, 2013 at 12:24 PM, Mario G <mario_fs at mgtech.com> wrote:
>> 
>> See FS-5956, I think it's the same problem.
>> 
>> Mario G
>> 
>>  
>> 
>> On Nov 11, 2013, at 8:14 AM, <bedgar at vseinc.com> wrote:
>> 
>> 
>>> Anthony,
>>> 
>>>  
>>> 
>>> Sorry that this is a pretty long thread.  I was finally able to pull a
>>> server from production to rerun the build using commit
>>> 60f3a9aec1b82155284366b4ecfda61785ec7ce9.  I am still encountering the
>>> issue.
>>> 
>>>  
>>> 
>>> /bin/sh: fork: retry: Resource temporarily unavailable
>>> 
>>> /bin/sh: fork: Resource temporarily unavailable
>>> 
>>> make[680]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la
>>> <http://libaprutil-1.la> ] Error 254
>>> 
>>> make[679]: *** [core] Error 2
>>> 
>>> make[678]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la
>>> <http://libaprutil-1.la> ] Error 2  - (repeats over and over until dying)
>>> 
>>>  
>>> 
>>> Brian
>>> 
>>>  
>>> 
>>> From: freeswitch-users-bounces at lists.freeswitch.org
>>> <mailto:freeswitch-users-bounces at lists.freeswitch.org>
>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org
>>> <mailto:users-bounces at lists.freeswitch.org> ] On Behalf Of Anthony Minessale
>>> Sent: Saturday, November 9, 2013 1:13 PM
>>> To: FreeSWITCH Users Help
>>> Subject: Re: [Freeswitch-users] Errors during compiling from today's
>>> 1.2.stable build
>>> 
>>>  
>>> 
>>> Try latest, a recent patch someone made to the configure stuff seems to have
>>> triggered make recursion loop.
>>> 
>>> I reverted it.
>>> 
>>>  
>>> 
>>> On Sat, Nov 9, 2013 at 12:05 PM, Anthony Minessale
>>> <anthony.minessale at gmail.com <mailto:anthony.minessale at gmail.com> > wrote:
>>>> 
>>>> This is a pretty long thread....
>>>> 
>>>> The issue is something is spawning a ton of processes in the make and the
>>>> system can't handle it do to limitations of some sort.
>>>> 
>>>> You should probably capture a full log of the build and look closely at
>>>> what is happening right before it starts having the problem.
>>>> 
>>>>  
>>>> 
>>>>  
>>>> 
>>>> On Fri, Nov 8, 2013 at 11:51 PM, <bedgar at vseinc.com
>>>> <mailto:bedgar at vseinc.com> > wrote:
>>>>> 
>>>>> Ken,
>>>>> 
>>>>>  
>>>>> 
>>>>> Okay.  Will do.  I will not leave the thread in a hangŠ
>>>>> 
>>>>>  
>>>>> 
>>>>> Regards,
>>>>> 
>>>>>  
>>>>> 
>>>>> Brian
>>>>> 
>>>>>  
>>>>> 
>>>>> From: freeswitch-users-bounces at lists.freeswitch.org
>>>>> <mailto:freeswitch-users-bounces at lists.freeswitch.org>
>>>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org
>>>>> <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
>>>>> Rice
>>>>> Sent: Friday, November 8, 2013 11:04 PM
>>>>> 
>>>>> 
>>>>> To: FreeSWITCH Users Help
>>>>> Subject: Re: [Freeswitch-users] Errors during compiling from today's
>>>>> 1.2.stable build
>>>>> 
>>>>>  
>>>>> There shouldn¹t be any impact... That particular flag was needed quite a
>>>>> while ago to avoid issues with stupidity in how ³Enterprise Linux²
>>>>> platforms like to link to all sorts of things and shouldn¹t really be
>>>>> needed (imho that is)
>>>>> 
>>>>> I suspect something is wrong with that particular platform...
>>>>> 
>>>>> If you continue having build problems and can replicate it on another box,
>>>>> please get a log of bootstrap.sh, configure and make output and open a
>>>>> jira
>>>>> See http://wiki.freeswitch.org/wiki/Reporting_Bugs
>>>>> <http://wiki.freeswitch.org/wiki/Reporting_Bugs>
>>>>> 
>>>>> On 11/8/13 11:51 PM, "bedgar at vseinc.com <http://bedgar@vseinc.com> "
>>>>> <bedgar at vseinc.com <http://bedgar@vseinc.com> > wrote:
>>>>>> 
>>>>>> Ken,
>>>>>>  
>>>>>> What is the impact of remaking on an existing node¹s build without that
>>>>>> configure parameter?
>>>>>>  
>>>>>> I still have yet to run through the iterations.  I did not use ­j.  I am
>>>>>> very careful of adding options.  The only other deviation I usually is
>>>>>> ./devel-bootstrap which I did not use here.
>>>>>>  
>>>>>> I will post my results when possible.
>>>>>>  
>>>>>> Regards,
>>>>>>  
>>>>>> Brian
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>> From: freeswitch-users-bounces at lists.freeswitch.org
>>>>>> <http://freeswitch-users-bounces@lists.freeswitch.org>
>>>>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org
>>>>>> <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
>>>>>> Rice
>>>>>> Sent: Friday, November 8, 2013 10:24 PM
>>>>>> To: FreeSWITCH Users Help
>>>>>> Subject: Re: [Freeswitch-users] Errors during compiling from today's
>>>>>> 1.2.stable build
>>>>>> 
>>>>>> Gaaahhh  ok that¹s just wrong and I will remove that from the wiki... But
>>>>>> you have something else wrong it appears... I just build using the
>>>>>> command
>>>>>> 
>>>>>> ./bootstrap.sh && ./configure --without-pgsql && make
>>>>>> 
>>>>>> Without issue on a fully updated centos 6.4 x86_64 install...
>>>>>> 
>>>>>> Are you sure you arent doing something like make ­j?
>>>>>> 
>>>>>> 
>>>>>> On 11/8/13 11:00 PM, "bedgar at vseinc.com <http://bedgar@vseinc.com> "
>>>>>> <bedgar at vseinc.com <http://bedgar@vseinc.com> > wrote:
>>>>>>> 
>>>>>>> Ken,
>>>>>>>  
>>>>>>> This is based on the wiki which has been followed precisely since moving
>>>>>>> to CentOS 6.x.  Is this no longer valid?  Is there a clarification
>>>>>>> needed in the wiki?
>>>>>>>  
>>>>>>> https://wiki.freeswitch.org/wiki/Installation_Guide#CentOS_.26_RedHat_En
>>>>>>> terprise_Linux
>>>>>>> <https://wiki.freeswitch.org/wiki/Installation_Guide#CentOS_.26_RedHat_E
>>>>>>> nterprise_Linux>
>>>>>>>  
>>>>>>> Release(es) 6 and Later
>>>>>>> A change by Red Hat in RHEL 6 and later releases was to compile the
>>>>>>> kernel to run tickless by default. As previously brought up on the
>>>>>>> mailing lists, it is recommended that the kernel's tickless feature
>>>>>>> should be disabled for optimum performance when running FreeSwitch under
>>>>>>> the newer operating system's kernel. You can disable the tickless
>>>>>>> feature by appending nohz=off to your boot options under GRUB. The GRUB
>>>>>>> start up configuration file is located under /boot/grub or as
>>>>>>> /etc/grub.conf. Add it to the line beginning with "kernel". This is also
>>>>>>> applicable to Fedora releases 8 and later.
>>>>>>> Also, when using release 6 and later, make sure to configure with
>>>>>>> "./configure --without-pgsql", this is to make sure that FreeSWITCH uses
>>>>>>> it's own curl library, instead of the system provided, and that it
>>>>>>> doesn't try to use the system provided postgresql libs. If using the
>>>>>>> system provided versions linking errors will occur. Hopefully this will
>>>>>>> be auto detected in a near future. Related Jira issues were: FS-3384,
>>>>>>> FS-3630, FS-3384 and FS-3393.
>>>>>>> In addition, FS may not behave 100% correctly in CentOS 6.x, please
>>>>>>> review Jira issues: FS-4396, FS-4316, FS-4291
>>>>>>> UPDATE: We have anecdotal evidence that CentOS 6.3 does not seem to have
>>>>>>> the problems listed above. If you experience any of the above symptoms
>>>>>>> with CentOS 6.3 please comment on the Jira cases listed.
>>>>>>> 
>>>>>>>  
>>>>>>> Brian
>>>>>>> 
>>>>>>>  
>>>>>>> 
>>>>>>> From: freeswitch-users-bounces at lists.freeswitch.org
>>>>>>> <http://freeswitch-users-bounces@lists.freeswitch.org>
>>>>>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org
>>>>>>> <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of
>>>>>>> Ken Rice
>>>>>>> Sent: Friday, November 8, 2013 9:43 PM
>>>>>>> To: FreeSWITCH Users Help
>>>>>>> Subject: Re: [Freeswitch-users] Errors during compiling from today's
>>>>>>> 1.2.stable build
>>>>>>> 
>>>>>>> Why are you using ‹without-pgsql?
>>>>>>> 
>>>>>>> 
>>>>>>> On 11/8/13 10:18 PM, "bedgar at vseinc.com <http://bedgar@vseinc.com> "
>>>>>>> <bedgar at vseinc.com <http://bedgar@vseinc.com> > wrote:

Sorry, Ken:
 
  ./bootstrap.sh
  ./configure --without-pgsql
  make
  sudo make install
 
These are my standard orders and were also followed in this case.
 
Brian
 

From: freeswitch-users-bounces at lists.freeswitch.org
<http://freeswitch-users-bounces@lists.freeswitch.org>
[mailto:freeswitch-users-bounces at lists.freeswitch.org
<mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
Rice
Sent: Friday, November 8, 2013 9:02 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's
1.2.stable build

What configure line are you using, I don¹t have any problems on cent 5 or 6
32 and 64 bit versions


On 11/8/13 9:29 PM, "bedgar at vseinc.com <http://bedgar@vseinc.com> "
<bedgar at vseinc.com <http://bedgar@vseinc.com> > wrote:

Ken and Anthony,
 
Sorry for the repost as it did not stay in the thread ­
 
This is on a physical server that was already successfully running 1.2.14.
It is CentOS 6.4.
 
It was a fresh git to an empty directory.
 
Only special thing was the configure  requirement that I always do for
CentOS.
 
Brian 

 

From: freeswitch-users-bounces at lists.freeswitch.org
<http://freeswitch-users-bounces@lists.freeswitch.org>
[mailto:freeswitch-users-bounces at lists.freeswitch.org
<mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
Rice
Sent: Friday, November 8, 2013 5:28 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's
1.2.stable build

What platform is this on?


On 11/8/13 5:57 PM, "bedgar at vseinc.com <http://bedgar@vseinc.com> "
<bedgar at vseinc.com <http://bedgar@vseinc.com> > wrote:

I had trouble building from a git of 1.2.stable this afternoon.
 
bootstrap successful
configure successful
make ­ not so good
 
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
/bin/sh: fork: retry: Resource temporarily unavailable
 
Had to kill the make with Ctrl-C
 
make[392]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la
<http://libaprutil-1.la> ] Interrupt
make[391]: *** [core] Interrupt
 
rsync¹d from another server from a build that retrieved this morning and
successfully installed after I did a git clean -d -f ­x
 
Successful - FreeSWITCH Version 1.2.14+git~20131108T143841Z~0339e80780~64bit
(git 0339e80 2013-11-08 14:38:41Z 64bit)
 
Did another git of the stable build and still had the same error.  Did
something get borked in stable today?
 
Brian
    






_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <http://consulting@freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>


 <>

Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org>
http://wiki.freeswitch.org <http://wiki.freeswitch.org>
http://www.cluecon.com <http://www.cluecon.com>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<http://FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org>

 
>>>>> 

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
G+ ClueCon :    http://fs0.us/cluecon-gplus
FB ClueCon :    http://fs0.us/cluecon-fb
G+ FreeSwitch : http://fs0.us/freeswitch-gplus
FB FreeSWITCH : http://fs0.us/freeswitch-fb
Twitter : @FreeSWITCH_WIRE
irc.freenode.net #freeswitch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131111/9ac6ba8d/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list