[Freeswitch-users] Errors during compiling from today's 1.2.stable build
bedgar at vseinc.com
bedgar at vseinc.com
Thu Nov 21 17:06:33 MSK 2013
Ken,
Thank you for fixing this with commit 728722ce906cf651d6ae0866f44539c6ef2d8e25. I now get successful builds while using dreaded symlinks…
I posted an update to FS-5960.
Yahoo.
Brian
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Thursday, November 14, 2013 8:19 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build
can you find me on irc (swk on #freeswitch on irc.freenode.net<http://irc.freenode.net>) and get me access to this box?
Ken
Sent from my iPad
On Nov 14, 2013, at 6:57, <bedgar at vseinc.com<mailto:bedgar at vseinc.com>> wrote:
Ken,
I reread my post and realized that I had forgotten to indicate that I did a clean git to current v1.2.stable. I have tried multiple builds prior to that reverted commit and many git pulls and reset hard commits after, including a fresh git pull after 7am today 11/14. All of the after’s fail in make.
There must be remnants. I feel that is still not resolved. In my FS-5960 I will attach the current results of my:
git on a symbolic link, bootstrap, configure, and make.
Just run through this exercise…
mkdir fs-new
ln -s /home/fsbuild/src/fs-new freeswitch
git clone git://git.freeswitch.org/freeswitch.git
Initialized empty Git repository in /home/fsbuild/src/fs-new/.git/
remote: Counting objects: 228417, done.
remote: Compressing objects: 100% (46916/46916), done.
remote: Total 228417 (delta 178031), reused 224250 (delta 174677)
Receiving objects: 100% (228417/228417), 95.80 MiB | 5.07 MiB/s, done.
Resolving deltas: 100% (178031/178031), done.
cd freeswitch/
git checkout -b v1.2.stable origin/v1.2.stable
Branch v1.2.stable set up to track remote branch v1.2.stable from origin.
Switched to a new branch 'v1.2.stable'
git pull
Already up-to-date.
git log
commit 86c63fb41de1918e4b0f955c8b27cb67b615c7b9
Author: Jeff Lenk <jeff at jefflenk.com<mailto:jeff at jefflenk.com>>
Date: Wed Nov 13 19:36:49 2013 -0600
fix windows esl compile
./bootstrap.sh
good
./configure
good
make
no good
gcc -o build/print_git_revision build/print_git_revision.c
/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
make[680]: *** [/home/fsbuild/src/freeswitch/libs/apr-util/libaprutil-1.la] Error 254
make[679]: *** [core] Error 2
until dead
Sorry for the omissions.
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] On Behalf Of Ken Rice
Sent: Wednesday, November 13, 2013 8:54 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build
This has been resolved... The entire patch set for that commit were reverted and removed... If you are still having problems, you need to do a full rebuild
For v1.2.stable branch
# git clean –fdx && git reset —hard origin/v1.2.stable && git pull && ./bootstrap.sh && ./configure && make
Or
For master branch
# git clean –fdx && git reset —hard origin/master && git pull && ./bootstrap.sh && ./configure && make
On 11/13/13 8:21 PM, "bedgar at vseinc.com" <bedgar at vseinc.com> wrote:
Something must have changed in the bootstrap or configure process that is causing a problem when symbolic links exist in the path to the local source directory. If I make everything absolute paths I can build. This problem begins with commit cef8007d1cdd3cfffbe9e51854ed840154ed6f06 shown above.
I hope that this can be addressed.
Brian
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mario G
Sent: Monday, November 11, 2013 3:12 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build
FYI, did not fix it here with fresh git clone.
Mario
On Nov 11, 2013, at 12:01 PM, bedgar at vseinc.com wrote:
Ken,
I started everything from scratch and removed the configure option that you deleted from the wiki. Opened JIRA FS-5960.
Brian
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
Sent: Monday, November 11, 2013 1:59 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Errors during compiling from today's 1.2.stable build
Did you re-bootstrap and configure after git pull?
On 11/11/13 2:42 PM, "bedgar at vseinc.com <x-msg://48/bedgar@vseinc.com> " <bedgar at vseinc.com <x-msg://48/bedgar@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 <x-msg://48/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 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 <x-msg://48/mario_fs@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 <x-msg://48/bedgar@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 <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 <http://libaprutil-1.la> > ] Error 2 - (repeats over and over until dying)
Brian
From: freeswitch-users-bounces at lists.freeswitch.org <x-msg://48/freeswitch-users-bounces@lists.freeswitch.org> <mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> > [mailto:freeswitch- <mailto:freeswitch-> users-bounces at lists.freeswitch.org <x-msg://48/users-bounces@lists.freeswitch.org> <mailto: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 <x-msg://48/anthony.minessale@gmail.com> <mailto: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 <x-msg://48/bedgar@vseinc.com> <mailto: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 <x-msg://48/freeswitch-users-bounces@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 <x-msg://48/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 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
Seehttp://wiki.freeswitch.org/wiki/Reporting_Bugs <http://wiki.freeswitch.org/wiki/Reporting_Bugs> <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 <x-msg://48/bedgar@vseinc.com> <http://bedgar@vseinc.com <http://bedgar@vseinc.com> > " <bedgar at vseinc.com <x-msg://48/bedgar@vseinc.com> <http://bedgar@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 <x-msg://48/freeswitch-users-bounces@lists.freeswitch.org> <http://freeswitch-users-bounces@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> <mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> > ]On Behalf OfKen 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 <x-msg://48/bedgar@vseinc.com> <http://bedgar@vseinc.com <http://bedgar@vseinc.com> > " <bedgar at vseinc.com <x-msg://48/bedgar@vseinc.com> <http://bedgar@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_Enterprise_Linux <https://wiki.freeswitch.org/wiki/Installation_Guide#CentOS_.26_RedHat_Enterprise_Linux> <https://wiki.freeswitch.org/wiki/Installation_Guide#CentOS_.26_RedHat_Enterprise_Linux <https://wiki.freeswitch.org/wiki/Installation_Guide#CentOS_.26_RedHat_Enterprise_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 <x-msg://48/freeswitch-users-bounces@lists.freeswitch.org> <http://freeswitch-users-bounces@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> <mailto:freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> > ]On Behalf OfKen 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 <x-msg://48/bedgar@vseinc.com> <http://bedgar@vseinc.com <http://bedgar@vseinc.com> > " <bedgar at vseinc.com <x-msg://48/bedgar@vseinc.com> <http://bedgar@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 <x-msg://48/freeswitch-users-bounces@lists.freeswitch.org> <http://freeswitch-users-bounces@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> <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 <x-msg://48/bedgar@vseinc.com> <http://bedgar@vseinc.com <http://bedgar@vseinc.com> > " <bedgar at vseinc.com <x-msg://48/bedgar@vseinc.com> <http://bedgar@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 <x-msg://48/freeswitch-users-bounces@lists.freeswitch.org> <http://freeswitch-users-bounces@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> <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 <x-msg://48/bedgar@vseinc.com> <http://bedgar@vseinc.com <http://bedgar@vseinc.com> > " <bedgar at vseinc.com <x-msg://48/bedgar@vseinc.com> <http://bedgar@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 <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 <x-msg://48/consulting@freeswitch.org> <http://consulting@freeswitch.org <http://consulting@freeswitch.org> >
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com> <http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com> >
<> < <> >
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org> <http://www.freeswitch.org <http://www.freeswitch.org> >
http://wiki.freeswitch.org <http://wiki.freeswitch.org> <http://wiki.freeswitch.org <http://wiki.freeswitch.org> >
http://www.cluecon.com <http://www.cluecon.com> <http://www.cluecon.com <http://www.cluecon.com> >
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <x-msg://48/FreeSWITCH-users@lists.freeswitch.org> <http://FreeSWITCH-users@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> <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://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> >
http://www.freeswitch.org <http://www.freeswitch.org> <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<http://irc.freenode.net> #freeswitch
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131121/d36423b7/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list