[darwinbuild] Building ChatServer

Shantonu Sen ssen at opendarwin.org
Wed Sep 21 16:59:19 PDT 2005


The problem is that the ChatServer dependencies were missing, so  
darwinbuild's on-demand downloading of dependencies was not  
downloading anything really at all. I've fixed this in the plists.  
Please:

1) Recreate your build environment, or just
# rm -rf .build
# rm -rf BuildRoot

2) Redownload 8C46od1.plist

3)
# darwinbuild -init 8C46od1.plist

4)
# darwinbuild ChatServer

You won't notice a change in 8C46od1.plist that relates to  
ChatServer, the change will be in .build/8A428.plist (after step 3))

I've started this on a clean system, and the build is progressing  
nicely. I expect it to finish.

Shantonu

On Sep 21, 2005, at 12:09 PM, Transcoreadmin wrote:

> You sent me an email yesterday, and I used the command you suggested:
>
> darwinbuild -init 8C46od1.plist
>
> I have so far succeeded in building:
>
> DarwinTools             IOKitTools              Libnotify
> DirectoryService        Libinfo                 xnu
>
> but am still stumped on ChatServer.  I have attached my ChatServer  
> log to the end for info.  There are two logs there, my original  
> problem, and my current problem.  The more packages I build the  
> different the error messages are.
>
> I am sorry if I am omitting too many details, I am very new to this  
> and I don't know what is significant.
>
> Brad.
>
> Here is the log for the first build (fresh - only ChatServer built):
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> private/var/tmp/ChatServer/build-ChatServer-37.1~1.sh: line 1:  
> date: command not found
> BUILDING ChatServer-37.1~1 on
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> Build configuration:
> private/var/tmp/ChatServer/build-ChatServer-37.1~1.sh: line 1:  
> hostname: command not found
>    Build host:        Build tool:      make
>    Build action:    install
>    Build number:    8C46od1
> private/var/tmp/ChatServer/build-ChatServer-37.1~1.sh: line 1:  
> tail: command not found
>    cc version:     private/var/tmp/ChatServer/build- 
> ChatServer-37.1~1.sh: line 1: cut: command not found
>    cctools version:
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> Build parameters:
> SRCROOT: /SourceCache/ChatServer/ChatServer-37.1
> OBJROOT: /private/var/tmp/ChatServer/ChatServer-37.1.obj
> SYMROOT: /private/var/tmp/ChatServer/ChatServer-37.1.sym
> DSTROOT: /private/var/tmp/ChatServer/ChatServer-37.1.root
> RC_ProjectName: ChatServer
> RC_ProjectSourceVersion: 37.1
> RC_ProjectNameAndSourceVersion: ChatServer-37.1
> RC_ProjectBuildVersion: 1
> INSTALLED_PRODUCT_ASIDES: YES
> MACOSX_DEPLOYMENT_TARGET: 10.4
> NEXT_ROOT:
> RC_ARCHS: ppc i386
> RC_CFLAGS: -pipe -no-cpp-precomp -arch ppc -arch i386
> RC_JASPER: YES
> RC_NONARCH_CFLAGS: -pipe -no-cpp-precomp
> RC_OS: macos
> RC_RELEASE: Tiger
> RC_XBS: YES
> RC_i386: YES
> RC_ppc: YES
> SEPARATE_STRIP: YES
> UNAME_RELEASE: 8.0
> UNAME_SYSNAME: Darwin
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> Environment variables:
> CHROOTED=YES
> DARWINBUILD_BUILD=8C46od1
> DARWINXREF_DB_FILE=/Volumes/Builds/.build/xref.db
> DARWIN_BUILDROOT=/Volumes/Builds
> DSTROOT=/private/var/tmp/ChatServer/ChatServer-37.1.root
> GROUP=wheel
> HOME=/var/root
> INSTALLED_PRODUCT_ASIDES=YES
> LOGNAME=root
> MACOSX_DEPLOYMENT_TARGET=10.4
> NEXT_ROOT=
> OBJROOT=/private/var/tmp/ChatServer/ChatServer-37.1.obj
> PATH=/bin:/sbin:/usr/bin:/usr/sbin/:/usr/local/bin:/usr/local/sbin
> RC_ARCHS=ppc i386
> RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc -arch i386
> RC_JASPER=YES
> RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp
> RC_OS=macos
> RC_ProjectBuildVersion=1
> RC_ProjectName=ChatServer
> RC_ProjectNameAndSourceVersion=ChatServer-37.1
> RC_ProjectSourceVersion=37.1
> RC_RELEASE=Tiger
> RC_XBS=YES
> RC_i386=YES
> RC_ppc=YES
> SEPARATE_STRIP=YES
> SHELL=/bin/sh
> SRCROOT=/SourceCache/ChatServer/ChatServer-37.1
> SYMROOT=/private/var/tmp/ChatServer/ChatServer-37.1.sym
> UNAME_RELEASE=8.0
> UNAME_SYSNAME=Darwin
> USER=root
> _=/usr/bin/printenv
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> Installed Roots:
>                        430729679498b2e929193b2186f21c8dd6685d76
>                        6c80f46a6d0c201170ab9bd9825129d958a3b084
>                        878461d23de61f7a6ceb40f3db652f989b8542d4
>                        8b1e44695d92e2a77453d84109c4dfee2047e395
> Libm                 -> c9e4224fed99430172b56a5fbd646ae3d084137b
> Libsystem            -> 6c80f46a6d0c201170ab9bd9825129d958a3b084
>                        ae220bea38d26766da4173154bb884fc7c95bbd3
> bash                 -> e80fd2ee4e3d7818481d5fbdf2ef2f3eb42a0258
>                        c0152f3e2f90414fdf884b7e6abab0a18d3a5acc
>                        c9e4224fed99430172b56a5fbd646ae3d084137b
>                        daf3f209c80cf06dbf2059574615ee313546b1dc
> dyld                 -> daf3f209c80cf06dbf2059574615ee313546b1dc
>                        e6fdf5e61b40aab38fd25dcc129a462d4a836aed
>                        e80fd2ee4e3d7818481d5fbdf2ef2f3eb42a0258
>                        f8379a497bc216c8a31d98013ba85fc5eb6a5674
>                        fd70634e4180baca3bfdef27b2b9ae4678b1848d
> files                -> fd70634e4180baca3bfdef27b2b9ae4678b1848d
> ncurses              -> 878461d23de61f7a6ceb40f3db652f989b8542d4
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> make install  "SRCROOT=/SourceCache/ChatServer/ChatServer-37.1"  
> "OBJROOT=/private/var/tmp/ChatServer/ChatServer-37.1.obj" "SYMROOT=/ 
> private/var/tmp/ChatServer/ChatServer-37.1.sym" "DSTROOT=/private/ 
> var/tmp/ChatServer/ChatServer-37.1.root"  
> "RC_ProjectName=ChatServer" "RC_ProjectSourceVersion=37.1"  
> "RC_ProjectNameAndSourceVersion=ChatServer-37.1"  
> "RC_ProjectBuildVersion=1" "INSTALLED_PRODUCT_ASIDES=YES"  
> "MACOSX_DEPLOYMENT_TARGET=10.4" "NEXT_ROOT=" "RC_ARCHS=ppc i386"  
> "RC_CFLAGS=-pipe -no-cpp-precomp -arch ppc -arch i386"  
> "RC_JASPER=YES" "RC_NONARCH_CFLAGS=-pipe -no-cpp-precomp"  
> "RC_OS=macos" "RC_RELEASE=Tiger" "RC_XBS=YES" "RC_i386=YES"  
> "RC_ppc=YES" "SEPARATE_STRIP=YES" "UNAME_RELEASE=8.0"  
> "UNAME_SYSNAME=Darwin"
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
>
> Build log begins here:
>
> sh: line 1: make: command not found
> private/var/tmp/ChatServer/build-ChatServer-37.1~1.sh: line 104:  
> make: command not found
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> EXIT STATUS: 127
>
>
> *******************************************************
> Here is the end of my current build:
> *******************************************************
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
>     during execution
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> /usr/bin/install -c -m 644 ./lib/expat.h ./lib/expat_external.h / 
> private/var/tmp/ChatServer/ChatServer-37.1.obj/build/usr/local/include
> /bin/sh ./conftools/mkinstalldirs /private/var/tmp/ChatServer/ 
> ChatServer-37.1.obj/build/usr/local/bin /private/var/tmp/ChatServer/ 
> ChatServer-37.1.obj/build/usr/local/man/man1
> /bin/sh ./libtool --mode=install /usr/bin/install -c xmlwf/xmlwf / 
> private/var/tmp/ChatServer/ChatServer-37.1.obj/build/usr/local/bin/ 
> xmlwf
> /usr/bin/install -c xmlwf/xmlwf /private/var/tmp/ChatServer/ 
> ChatServer-37.1.obj/build/usr/local/bin/xmlwf
> /usr/bin/install -c -m 644 ./doc/xmlwf.1 /private/var/tmp/ 
> ChatServer/ChatServer-37.1.obj/build/usr/local/man/man1
> cd /private/var/tmp/ChatServer/ChatServer-37.1.obj/libraries/ 
> gettext-0.13 && make
> cd . && /usr/bin/aclocal
> /bin/sh: line 1: /usr/bin/aclocal: No such file or directory
> make[1]: *** [aclocal.m4] Error 127
> make: *** [do_build] Error 2
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> ++++++++++++
> EXIT STATUS: 2
> /Volumes/Builds/BuildRoot/private/var/tmp/ChatServer/ 
> ChatServer-37.1.root is empty. Build verification failed.
>
> Kevin Van Vechten wrote:
>
>> What did command you used for `darwinbuild -init`?
>>
>> Also, if you can make some of the logs available, that would be   
>> helpful in diagnosing problems ...
>>
>> - Kevin
>>
>> On Sep 21, 2005, at 11:21 AM, Transcoreadmin wrote:
>>
>>
>>> I followed the directions on the darwinbuild web pages,  
>>> including  setting up a disk image for builds, but I can't get  
>>> very many  things to build.  I tried to run darwinbuild  
>>> ChatServer and I got  an error that make was not found.  I next  
>>> ran darwinbuild xnu, and  that succeeded, but now the ChatServer  
>>> build gives an error that  gcc can't create executables.  I have  
>>> successfully built Libinfo,  but for example I have been unable  
>>> to build WebCore, Security, or  ChatServer.  Am I missing a step  
>>> here?
>>>
>>
>>
>>
>
> _______________________________________________
> darwinbuild mailing list
> darwinbuild at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/darwinbuild




More information about the darwinbuild-dev mailing list