[bind10-dev] Mac OS X builder

qiaojing qiaojingky at gmail.com
Tue Feb 15 08:03:37 UTC 2011


Hi, Jeremy,

I had a try with building BIND 10 on my MacBook. The system is:

AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ sysctl kern.osrelease
kern.osrelease: 10.6.0
AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ sysctl hw.machine
hw.machine: i386
AppleMac-UsermatoMacBook-Pro-7:bind10-devel-20110120 applemacuser$ g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

and everything is ok with configure and make, but till the unittest phrase, it throws a segmentation fault.

/configure   --prefix=/Users/applemacuser/Downloads/bind10/bind10_install
--with-pythonpath=/usr/local/bin/python3.1
--with-boost-include=/Users/applemacuser/Downloads/bind10/boost_1_45_0
                --with-gtest=/usr/local 
                --with-lcov=/usr/bin/lcov
--with-pycoverage=/usr/local/bin/coverage 
--disable-setproctitle-check 

The result is:

    
     BIND 10 source configure results:
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Package:
  Name:          bind10-devel
  Version:       20110120
C++ Compiler:    g++
Flags:
  DEFS:          -DHAVE_CONFIG_H
  CPPFLAGS:       -I$(top_srcdir)/ext/asio -DASIO_DISABLE_THREADS=1
  CXXFLAGS:      -g -O2 -fprofile-arcs -ftest-coverage
  B10_CXXFLAGS:  -Wall -Wextra -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -Werror -fPIC
  Python:        -I/usr/local/include/python3.1 -I/usr/local/include/python3.1
                 -L/usr/local/lib  -R/usr/local/lib
                 -lpython3.1
  Boost:         -I/Users/applemacuser/Downloads/bind10/boost_1_45_0
  SQLite:        -I/usr/local/include  
                 -L/usr/local/lib -lsqlite3  
Features:
   SQLite3
Developer:
  Google Tests:  /usr/local
  C++ Code Coverage: yes
  Python Code Coverage: yes
  Generate Manuals:  no
  Now you can type "make" to build BIND 10
                

then make check, the last of output is:

Running test: sqlite3_ds_test.py
/bin/sh: line 1: 44842 Segmentation fault      env
PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/log
TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branch --append /Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/$pytest
make[7]: *** [check-local] Error 139
make[6]: *** [check-am] Error 2
make[5]: *** [check-recursive] Error 1
make[4]: *** [check-recursive] Error 1
make[3]: *** [check-recursive] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1


When removes configure option --with-pycoverage=/usr/local/bin/coverage,  the problem disappears.
The coverage program is:
AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ coverage --version
Coverage.py, version 3.4.  http://nedbatchelder.com/code/coverage


Could you pls help me to find the reason? Thanks.

Qiao Jing

2011-02-15 



qiaojing 



发件人: Jeremy C. Reed 
发送时间: 2011-01-28  04:19:47 
收件人: bind10-dev 
抄送: 
主题: [bind10-dev] Mac OS X builder 
 
I setup a Mac OS X system to do builds of BIND 10. Now available at
http://bind10.isc.org/~tester/builder/builder.html
The system is:
macmini:builder jreed$ sysctl kern.osrelease 
kern.osrelease: 10.6.0
macmini:builder jreed$ sysctl hw.machine 
hw.machine: x86_64
It does builds using GCC:
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
and Clang++
clang version 2.8 (tags/RELEASE_28 115909)
I am using googletest 1.5.0 built with G++.
At this time I am doing 32bit builds using -m32.
  Jeremy C. Reed
  ISC
_______________________________________________
bind10-dev mailing list
bind10-dev at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind10-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110215/8af806a0/attachment.html>


More information about the bind10-dev mailing list