r7204 on Arch: issue with too many open files

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
warpme
Contributor
Posts: 438
Joined: Fri Aug 26, 2005 8:17 pm

r7204 on Arch: issue with too many open files

Post by warpme » Wed Nov 24, 2010 8:50 pm

Pablo,

I'm trying build minimyth r7529.
commit 7204 giving me following errors:

Code: Select all

make: /home/piotro/.minimyth/minimyth.conf.mk:205: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:206: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:207: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:208: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:205: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:206: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:207: pipe: Too many open files
make: /home/piotro/.minimyth/minimyth.conf.mk:208: pipe: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
I'm on ArchLinux. May You hint me where problem might be ?

thx in advance

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: r7204 on Arch: issue with too many open files

Post by Pablo » Wed Dec 01, 2010 5:20 am

Sorry, I do not have any idea.

What is on line 205 of file /home/piotro/.minimyth/minimyth.conf.mk?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

warpme
Contributor
Posts: 438
Joined: Fri Aug 26, 2005 8:17 pm

Re: r7204 on Arch: issue with too many open files

Post by warpme » Wed Dec 01, 2010 9:20 pm

Sorry for lack of this info in oryginal post:

Lines in question are:

Code: Select all

 # Get rid of Qt environment variables
$(foreach var, $(shell set | grep '^QMAKE' | sed 's%=.*$$%%'), $(eval $(var) :=))
$(foreach var, $(shell set | grep '^QMAKE' | sed 's%=.*$$%%'), $(eval unexport $(var)))
$(foreach var, $(shell set | grep '^QT' | sed 's%=.*$$%%'), $(eval $(var) :=))
$(foreach var, $(shell set | grep '^QT' | sed 's%=.*$$%%'), $(eval unexport $(var)))

m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

Re: r7204 on Arch: issue with too many open files

Post by m_kane » Sat Dec 18, 2010 4:22 pm

same problem here with latest code. Using centos 5.
Warpme, did you find any solution to this?

m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

Re: r7204 on Arch: issue with too many open files

Post by m_kane » Sat Dec 18, 2010 6:02 pm

I tried this with Opensuse 11.1 and same results.
There must be something wrong with build system

edit:

I commented out last four lines.. now building. Hope it finishes ok.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: r7204 on Arch: issue with too many open files

Post by Pablo » Tue Dec 21, 2010 5:05 am

Odd. What shell (bash, dash, ash, csh, etc) are you using?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

Re: r7204 on Arch: issue with too many open files

Post by m_kane » Tue Dec 21, 2010 8:08 pm

Pablo wrote:Odd. What shell (bash, dash, ash, csh, etc) are you using?
I think bash in both machines.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: r7204 on Arch: issue with too many open files

Post by Pablo » Fri Dec 31, 2010 6:47 pm

This is odd as I am building on CentOS 5 as well.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

m_kane
Contributor
Posts: 377
Joined: Sun Mar 25, 2007 8:32 pm

Re: r7204 on Arch: issue with too many open files

Post by m_kane » Fri Dec 31, 2010 8:03 pm

What those lines actually do? Can I build without them?

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: r7204 on Arch: issue with too many open files

Post by Pablo » Fri Dec 31, 2010 8:53 pm

m_kane wrote:What those lines actually do? Can I build without them?
The goal of those lines it to make sure that your environment does not have any Qt related environment variables that might cause MiniMyth packages to not build/link according to MiniMyth's Qt version. In most cases, there are no Qt environment variables set. As a result, in most cases, these lines are not needed. Personally, I do not need them on either my CentOS 5 or Fedora 14 build systems.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply