Difference between revisions of "Development:Building:Build Errors"

From Camino Wiki
Jump to navigation Jump to search
(→‎Solution: don't you have to re-make mozilla?)
Line 53: Line 53:
 
=Other stuff we've seen; details to be filled in=
 
=Other stuff we've seen; details to be filled in=
  
==Too Many Open Files==
+
==pipe: Too Many Open Files==
* A bug in <tt>make</tt> that ships with Xcode 1.x; happens most often when making in the objdir
+
In Terminal on 10.3.x
* Just <tt>make</tt> again; if it continues to fail after a couple of tries, go back to <tt>mozilla</tt> and <tt>make -f client.mk</tt>
+
 
 +
====Error Message====
 +
pipe: Too Many Open Files
 +
 
 +
(often repeated a couple of times, followed by some "Error: Tier foo" lines)
 +
 
 +
====Cause====
 +
 
 +
* A bug in <tt>make</tt> that ships with Xcode 1.x (see {{bug|335506}}); happens most often when making in the objdir
 +
 
 +
====Solution====
 +
 
 +
There's no "real" solution to this issue.  Work-arounds include:
 +
* Just <tt>make</tt> again
 +
** If it continues to fail after a couple of tries, go back to <tt>mozilla</tt> and <tt>make -f client.mk</tt>
 +
* Manually upgrading your <tt>make</tt> (not recommended)
  
 
==Missing/Bad symlink/non-Uni SMF==
 
==Missing/Bad symlink/non-Uni SMF==

Revision as of 16:00, 1 August 2006

Introduction

A breakdown of the common Camino build errors, what causes them, and how to resolve the error.

pbxcp: libpermissions.dylib: No such file or directory

In XCode 2.3:

Error message

Build target "Camino" of project "Camino" with configuration "Development" - (1 error)
Copying ../dist/bin/components/libpermissions.dylib - (1 error)
pbxcp: libpermissions.dylib: No such file or directory
Build failed (1 error)

Cause

You have enabled a static build of Camino in your .mozconfig and this is not recommended for development.

Solution

You have to remove the following lines from your .mozconfig

ac_add_options --disable-shared
ac_add_options --enable-static

and make again (?)

make[7]: *** No rule to make target `nsIProxiedChannel.idl', needed by `_xpidlgen/nsIProxiedChannel.h'. Stop.

In Terminal

Error message

../../../dist/bin/xpidl -m header -w -I. -I../../../dist/idl -o _xpidlgen/nsINetUtil nsINetUtil.idl
make[7]: *** No rule to make target `nsIProxiedChannel.idl', needed by `_xpidlgen/nsIProxiedChannel.h'.   Stop.
make[6]: *** [export] Error 2
make[5]: *** [export] Error 2
make[4]: *** [export_tier_9] Error 2
make[3]: *** [tier_9] Error 2
make[2]: *** [default] Error 2
make[1]: *** [build] Error 2
make: *** [build] Error 2

Cause

Unknown

Solution

Unknown

Other stuff we've seen; details to be filled in

pipe: Too Many Open Files

In Terminal on 10.3.x

Error Message

pipe: Too Many Open Files

(often repeated a couple of times, followed by some "Error: Tier foo" lines)

Cause

  • A bug in make that ships with Xcode 1.x (see Bug 335506); happens most often when making in the objdir

Solution

There's no "real" solution to this issue. Work-arounds include:

  • Just make again
    • If it continues to fail after a couple of tries, go back to mozilla and make -f client.mk
  • Manually upgrading your make (not recommended)

Missing/Bad symlink/non-Uni SMF

Other

There are some described on the Camino Build instructions page, on Building Mozilla, and on the Mac Build Instructions pages