Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

9L30/BuildRoot/private/var/tmp/SmartCardServices/build-SmartCardServices-34733~12.sh: line 159: 3670 Segmentation fault #111

Open
macosforgebot opened this Issue Mar 7, 2010 · 18 comments

Comments

Projects
None yet
1 participant
@macosforgebot
Copy link

macosforgebot commented Mar 7, 2010

@LudovicRousseau originally submitted this as ticket:113

  • Owner: wsiegrist@…
  • Version: 9L30
  • Cc: eheck@…, thomas.akesson@…

~/Documents/CodeApple/9L30$ sudo darwinbuild SmartCardServices
Password:
*** Fetching Sources ...
Found SmartCardServices-34733.tar.gz in /Users/rousseau/Documents/CodeApple/9L30/Sources
Found SmartCardServices-34733.MacTypes.patch in /Users/rousseau/Documents/CodeApple/9L30/Sources
*** Copying Sources ...
*** Applying Patch SmartCardServices-34733.MacTypes.patch ...
patching file ./src/PCSC/PCSCDevice.h
patching file ./src/PCSC/PCSCDriverBundle.h
patching file ./src/PCSC/hotplug_macosx.cpp
patching file ./src/PCSC/pcscdmonitor.h
patching file ./src/PCSC/pcscdserver.h
patching file ./src/PCSC/reader.h
patching file ./src/PCSC/readerstate.h
patching file ./src/PCSC/sys_macosx.cpp
*** Installing Roots ...
files already loaded and no newer roots have been built.
bash already loaded and no newer roots have been built.
Libsystem already loaded and no newer roots have been built.
Libm already loaded and no newer roots have been built.
dyld already loaded and no newer roots have been built.
libgcc already loaded and no newer roots have been built.
libstdcxx already loaded and no newer roots have been built.
libiconv already loaded and no newer roots have been built.
ncurses already loaded and no newer roots have been built.
CF already loaded and no newer roots have been built.
CarbonHeaders already loaded and no newer roots have been built.
CoreOSMakefiles already loaded and no newer roots have been built.
Csu already loaded and no newer roots have been built.
IOKitUser already loaded and no newer roots have been built.
IOUSBFamily already loaded and no newer roots have been built.
Libsystem already loaded and no newer roots have been built.
Libm already loaded and no newer roots have been built.
dyld already loaded and no newer roots have been built.
libgcc already loaded and no newer roots have been built.
libstdcxx already loaded and no newer roots have been built.
Libc_headers already loaded and no newer roots have been built.
Libsyscall already loaded and no newer roots have been built.
OpenSSL already loaded and no newer roots have been built.
PowerManagement already loaded and no newer roots have been built.
configd already loaded and no newer roots have been built.
Security already loaded and no newer roots have been built.
SystemStubs already loaded and no newer roots have been built.
adv_cmds already loaded and no newer roots have been built.
ncurses already loaded and no newer roots have been built.
architecture already loaded and no newer roots have been built.
basic_cmds already loaded and no newer roots have been built.
bootstrap_cmds already loaded and no newer roots have been built.
cctools already loaded and no newer roots have been built.
developer_cmds already loaded and no newer roots have been built.
file_cmds already loaded and no newer roots have been built.
libutil already loaded and no newer roots have been built.
files already loaded and no newer roots have been built.
flex already loaded and no newer roots have been built.
gcc already loaded and no newer roots have been built.
libiconv already loaded and no newer roots have been built.
gcc_42 already loaded and no newer roots have been built.
gnumake already loaded and no newer roots have been built.
launchd_libs already loaded and no newer roots have been built.
ld64 already loaded and no newer roots have been built.
libsecurity_cdsa_client already loaded and no newer roots have been built.
libsecurity_cdsa_utilities already loaded and no newer roots have been built.
libsecurity_cssm already loaded and no newer roots have been built.
libsecurity_utilities already loaded and no newer roots have been built.
libsecurityd already loaded and no newer roots have been built.
misc_cmds already loaded and no newer roots have been built.
perl already loaded and no newer roots have been built.
shell_cmds already loaded and no newer roots have been built.
bsm already loaded and no newer roots have been built.
libresolv already loaded and no newer roots have been built.
pam already loaded and no newer roots have been built.
system_cmds already loaded and no newer roots have been built.
CFOpenDirectory already loaded and no newer roots have been built.
DirectoryService already loaded and no newer roots have been built.
passwordserver_sasl already loaded and no newer roots have been built.
Kerberos already loaded and no newer roots have been built.
LDAPFramework already loaded and no newer roots have been built.
zlib already loaded and no newer roots have been built.
text_cmds already loaded and no newer roots have been built.
xnu already loaded and no newer roots have been built.
*** Installing Headers ...
*** Redirecting ...
DARWINTRACE_REDIRECT="/Users/rousseau/Documents/CodeApple/9L30/BuildRoot"
DARWINTRACE_LOG="/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.trace~13"
DYLD_INSERT_LIBRARIES=/usr/local/share/darwinbuild/darwintrace.dylib
DYLD_FORCE_FLAT_NAMESPACE=1

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
BUILDING SmartCardServices-34733~13 on Sun Mar  7 16:47:41 CET 2010
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Build configuration:
    Build host:           iMac-de-Ludovic-Rousseau.local
    Build tool:           xcodebuild
    Build action:         install
    Build number:         9L30
    Host kernel version:  Darwin Kernel Version 10.2.0: Tue Nov  3 23:08:29 PST 2009; root:xnu-1486.2.11~3/RELEASE_I386
    cc version:           gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
    cctools version:      ools-750~70, GNU assembler version 1.38
/Developer/usr/bin/xcodebuild -version 
    xcode version:        
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Build parameters:
SRCROOT: /Users/rousseau/Documents/CodeApple/9L30/BuildRoot/SourceCache/SmartCardServices/SmartCardServices-34733
OBJROOT: /Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.obj
SYMROOT: /Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.sym
DSTROOT: /Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.root
RC_ProjectName: SmartCardServices
RC_ProjectSourceVersion: 34733
RC_ProjectNameAndSourceVersion: SmartCardServices-34733
RC_ProjectBuildVersion: 13
INSTALLED_PRODUCT_ASIDES: YES
MACOSX_DEPLOYMENT_TARGET: 10.5
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_PRIVATE: /private
RC_RELEASE: Leopard
RC_XBS: YES
RC_i386: YES
RC_ppc: YES
SEPARATE_STRIP: YES
UNAME_RELEASE: 9.0
UNAME_SYSNAME: Darwin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Environment variables:
DARWINBUILD_BUILD=9L30
DARWINXREF_DB_FILE=/Users/rousseau/Documents/CodeApple/9L30/.build/xref.db
DARWIN_BUILDROOT=/Users/rousseau/Documents/CodeApple/9L30
DSTROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.root
GROUP=wheel
HOME=/var/root
INSTALLED_PRODUCT_ASIDES=YES
INSTALL_XCODE=YES
LOGNAME=root
MACOSX_DEPLOYMENT_TARGET=10.5
NEXT_ROOT=
OBJROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.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_PRIVATE=/private
RC_ProjectBuildVersion=13
RC_ProjectName=SmartCardServices
RC_ProjectNameAndSourceVersion=SmartCardServices-34733
RC_ProjectSourceVersion=34733
RC_RELEASE=Leopard
RC_XBS=YES
RC_i386=YES
RC_ppc=YES
SDKROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot
SEPARATE_STRIP=YES
SHELL=/bin/sh
SRCROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/SourceCache/SmartCardServices/SmartCardServices-34733
SYMROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.sym
UNAME_RELEASE=9.0
UNAME_SYSNAME=Darwin
USER=root
USE_CHROOT=NO
_=/usr/bin/printenv
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installed Roots:
CF                   -> 93875e2c155676766d4b6fb59daba71ce907ebc0
CFOpenDirectory      -> 0c25a0dcfa180bfd26f5b6275cc39ce4df39771a
CarbonHeaders        -> 9ad461d85a524828f009f4a3cb024614178ea538
CoreOSMakefiles      -> dbb4977317027267e5762604b18f05a0198c0b74
Csu                  -> 1c2236c2e36fdcafc65a8cbd95c7f049e923d475
DirectoryService     -> 9b30cda900f9571127fa359684145a36a83e11dc
ICU                  -> 35dfcb85bc01ddb5bdf9ecf45cf8cf6031f3d1af
IOKitUser            -> 6d7d43f15d6f6ef7cbaeddc46b42654311b03715
IOUSBFamily          -> c5d1dd5794e0e1eff86579bb78a4a37a5efe900b
Kerberos             -> 11f6e1910bbf4334a5e450e84911b8f0984c5662
LDAPFramework        -> c133b9453caeab300469aebc0ae61d633f4e22ad
Libc_headers         -> 79404e2baf06178e59fa7e73872df6e675d73c4b
Libm                 -> 7d90dffecd558d133aa75cd2a872621ca1c47b17
Libsyscall           -> f725a9d0133a8bf041832d58dc9861cfa64e3b46
Libsystem            -> ae3fbce2fe5e9793ee9d669a3aa4fccee29baceb
OpenSSL              -> 2b2617f00a84a924fbd46f3196a26579de249276
PowerManagement      -> 5011fdc2da411e55e4d4764ea86d805a0b66a3aa
Security             -> aacc876869628403ad5b694b2c63e51608faa277
SecurityTokend       -> eb0b9fd75761f5026e56ca2669b733ca7a1450b6
SmartCardServices    -> 2ee677de8495525ae0d07a4cc7707737584a3fbc
SystemStubs          -> 0541c508a94818cc7597ae78b1349b05a94cbdf8
adv_cmds             -> 5f58a79967ff079812ce43ceefc2cf8f8c4d82f4
architecture         -> ea808a324c8d2457bc55189150aa8ec52df00e0e
autozone             -> a809becf73c9a07799c929a1ddd882204e06b5fa
bash                 -> aa535fae9e6986ba91773a789aa901d69f650305
basic_cmds           -> 183bfe5b452b4cad8baa177bbc3eac84b00f753c
bootstrap_cmds       -> b21930681ec13f1bb229fa52273f4663c7e1ef6a
bsm                  -> c18bd0abba6b8953085578b8907ff364a14903a1
cctools              -> 2770299750486b09b5f1b294c6ce2419bef4730c
configd              -> 7b77acaf740ab406db8593c00222737fdd788abf
developer_cmds       -> d17beca19a0e2d5a9b80739c5ab0ae2901571bb1
dyld                 -> 871994f59d8d9619bcf31259b1922f7c5389f2e0
file_cmds            -> 479e72f694fdaa20be9fa059ff2e77edd466b789
files                -> a74e16641ecb587a36abf2e6f2c4467da1700af8
flex                 -> abf3de4cac1d29242a8c6e549dd92147360453e1
gcc                  -> f1055f8d81cb32b211737f2274a9cc89cf7665ee
gcc_42               -> c3f864170329b1ba93491d5cea3f6b51972abfa6
gnumake              -> 5608039be88517611b35e7694b7b015c1209adb5
gnutar               -> de3203ad0b51f891d07325d2ea48c768e050d785
launchd_libs         -> db0e8e3ff621d0353f79dce6afc7def8719a0724
ld64                 -> 1d3edd0681f31e544d59b4301cb7fa7a0f3fd283
libgcc               -> 92f5a0e69750f372edd7980cc559a17cb862e7d8
libiconv             -> 5af87457c8c411fb0354a4a76bebb303c25f0cec
libresolv            -> 6c9ec0e8a7ca78c8735b192ee1bdc5d18fefd549
libsecurity_cdsa_client -> 260e0da686e8a6a4a773ee1d0b6c4bf7d101cba1
libsecurity_cdsa_utilities -> e80dccc4556ad606b7ec8e806478349121a15837
libsecurity_cssm     -> 5cc74ebfe9bf1dc8e0af690eb5ebf4a26f9d0d4d
libsecurity_utilities -> a2ca40bb9dd306625d695fe1539b51210678154e
libsecurityd         -> a0f91a21c6100905b78f0bab502f55511d5a58b8
libstdcxx            -> d23396753f76e4e57fe134cb59e327c71bd81fb7
libutil              -> efb446b4ef8f332d28a785b281f231024d1d4115
misc_cmds            -> 2f25239e125c8f34645347242a90a0c7a688b9c4
ncurses              -> 49e2dec29d18c48d5b2ac3bdb652773bfba3ac53
objc4                -> 317caffa821a920a511fe6578f5ce86744e9a113
pam                  -> 1cdc9b0d6a88d4840ef9ac3259c9c328886e8a4d
passwordserver_sasl  -> 2cfb6a96d895122824585edfab47bd8e84b821bf
perl                 -> 5ed9fcbe6002c17dd21891b4e9f59154745e803c
shell_cmds           -> 7ee6f073866bbef056089798c00ac9c583d4bc76
system_cmds          -> 49995c8c994c4c7f24260ff8ccb7f4d06170d475
text_cmds            -> c87266a4f64676b995012eaa2a1e3e18e94269c7
                        xcodebuild
xnu                  -> c3907dab813c4d725b2275d98ad94675b51dbd99
zlib                 -> 91e931224468ad0e24c36c35620125fcb3f1ad1a
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
xcodebuild install -sdk Darwinbuild_9L30_20100305104311 "SRCROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/SourceCache/SmartCardServices/SmartCardServices-34733" "OBJROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.obj" "SYMROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.sym" "DSTROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.root" "RC_ProjectName=SmartCardServices" "RC_ProjectSourceVersion=34733" "RC_ProjectNameAndSourceVersion=SmartCardServices-34733" "RC_ProjectBuildVersion=13" "INSTALLED_PRODUCT_ASIDES=YES" "MACOSX_DEPLOYMENT_TARGET=10.5" "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_PRIVATE=/private" "RC_RELEASE=Leopard" "RC_XBS=YES" "RC_i386=YES" "RC_ppc=YES" "SEPARATE_STRIP=YES" "UNAME_RELEASE=9.0" "UNAME_SYSNAME=Darwin" < /dev/null
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Build log begins here:

/Developer/usr/bin/xcodebuild install -sdk Darwinbuild_9L30_20100305104311 SRCROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/SourceCache/SmartCardServices/SmartCardServices-34733 OBJROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.obj SYMROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.sym DSTROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.root RC_ProjectName=SmartCardServices RC_ProjectSourceVersion=34733 RC_ProjectNameAndSourceVersion=SmartCardServices-34733 RC_ProjectBuildVersion=13 INSTALLED_PRODUCT_ASIDES=YES MACOSX_DEPLOYMENT_TARGET=10.5 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_PRIVATE=/private RC_RELEASE=Leopard RC_XBS=YES RC_i386=YES RC_ppc=YES SEPARATE_STRIP=YES UNAME_RELEASE=9.0 UNAME_SYSNAME=Darwin 
/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/build-SmartCardServices-34733~13.sh: line 159:  3804 Segmentation fault      xcodebuild install -sdk Darwinbuild_9L30_20100305104311 "SRCROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/SourceCache/SmartCardServices/SmartCardServices-34733" "OBJROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.obj" "SYMROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.sym" "DSTROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.root" "RC_ProjectName=SmartCardServices" "RC_ProjectSourceVersion=34733" "RC_ProjectNameAndSourceVersion=SmartCardServices-34733" "RC_ProjectBuildVersion=13" "INSTALLED_PRODUCT_ASIDES=YES" "MACOSX_DEPLOYMENT_TARGET=10.5" "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_PRIVATE=/private" "RC_RELEASE=Leopard" "RC_XBS=YES" "RC_i386=YES" "RC_ppc=YES" "SEPARATE_STRIP=YES" "UNAME_RELEASE=9.0" "UNAME_SYSNAME=Darwin" < /dev/null
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 BUILD TIME: 0h 0m 0s
EXIT STATUS: 139

The important part is: /Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/build-SmartCardServices-34733~13.sh: line 159: 3804 Segmentation fault

Line 159 is:

xcodebuild install -sdk Darwinbuild_9L30_20100305104311 "SRCROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/SourceCache/SmartCardServices/SmartCardServices-34733" "OBJROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.obj" "SYMROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.sym" "DSTROOT=/Users/rousseau/Documents/CodeApple/9L30/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-34733.root" "RC_ProjectName=SmartCardServices" "RC_ProjectSourceVersion=34733" "RC_ProjectNameAndSourceVersion=SmartCardServices-34733" "RC_ProjectBuildVersion=13" "INSTALLED_PRODUCT_ASIDES=YES" "MACOSX_DEPLOYMENT_TARGET=10.5" "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_PRIVATE=/private" "RC_RELEASE=Leopard" "RC_XBS=YES" "RC_i386=YES" "RC_ppc=YES" "SEPARATE_STRIP=YES" "UNAME_RELEASE=9.0" "UNAME_SYSNAME=Darwin" < /dev/null 

Why is that?

I can rebuild SmartCardServices for 10C540 on Snow Leopard but not for 9L30 or another other Leopard versions.

For an unknown reason I have (always) bug #⁠111 on one iMac and (always) this bug on another iMac. But in all cases I can't rebuild SmartCardServices.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Oct 25, 2010

eheck@… originally submitted this as attachment:xcodebuild_2010-10-25-115234_localhost.crash:⁠ticket:113


Crash log

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Oct 25, 2010

eheck@… originally submitted this as comment:1:⁠ticket:113


FWIW, I have a segmentation fault at the same location in the build script. Crash log shows KERN_INVALID_ADDRESS in CFMachPortInvalidate. I attached one. Script runs without segfault when I remove the "export DARWINTRACE_REDIRECT" line.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Oct 25, 2010

eheck@… originally submitted this as comment:2:⁠ticket:113

  • Cc eheck@… added
@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Jan 10, 2011

thomas.akesson@… originally submitted this as comment:3:⁠ticket:113


I currently get the segfault even with 10C540. Also fails with the workaround to remove "export DARWINTRACE_REDIRECT".

Is anyone able to build currently? Thanks.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Jan 10, 2011

thomas.akesson@… originally submitted this as comment:4:⁠ticket:113

  • Cc thomas.akesson@… added
@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Jan 14, 2011

@LudovicRousseau originally submitted this as comment:5:⁠ticket:113


  • I updated Darwninbuild to revision 910.
  • I created a BuildRoot for 10J567.
  • I am using a iMac model iMac10,1 on Mac OS X 10.6.6

I still have the problem. Removing the line export DARWINTRACE_REDIRECT="..." does not solves the issue.

The line number has changed. It is now line 141 instead of 159. But the line is still a call to xcodebuild install -sdk Darwinbuild_10J567_20110114110724 "..."

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Jan 14, 2011

@LudovicRousseau originally submitted this as comment:6:⁠ticket:113


Maybe that is important. The log now contains the line

2011-01-14 10:51:49.402 xcodebuild[1558:60f] Warning: SDK name collision for name 'macosx0.0': SDK at path '/Developer/SDKs/MacOSX10.5.sdk' being superceded by SDK at path '/Developer/SDKs/MacOSX10.6.sdk'.

This line is also present in the log of bug #⁠119

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 4, 2011

eheck@… originally submitted this as comment:7:⁠ticket:113


To answer the question if anyone is able to build currently: I'm building with "-nochroot". That works.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 7, 2011

@LudovicRousseau originally submitted this as comment:8:⁠ticket:113


# darwinbuild -nochroot SmartCardServices
[...]

** BUILD FAILED **


The following build commands failed:
PCSC:
    CompileC /Users/lroussea/Documents/CodeApple/10J567/BuildRoot/private/var/tmp/SmartCardServices/SmartCardServices-36160.obj/SmartCardServices.build/PCSC.build/Objects-normal/i386/readerstate.o /Volumes/BuildRoot_10J567_20110207103029/SourceCache/SmartCardServices/SmartCardServices-36160/src/PCSC/readerstate.cpp normal i386 c++ com.apple.compilers.gcc.4_2
(1 failure)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 BUILD TIME: 0h 0m 1s
EXIT STATUS: 1

eheck, what is your complete command line?

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 7, 2011

eheck@… originally submitted this as comment:9:⁠ticket:113


My command line is exactly as yours. Do you have all header files? To be able to build SmartCardServices and Tokend I need libsecurity_cdsa_client, libsecurity_cdsa_utilities, libsecurity_utilities, libsecurityd and the extra header files in Security and SecurityTokend. Don't know if there's a better way to do this but I'm getting them with darwinbuild -load into a new build root, then copy the contents of /usr/local/SecurityPieces and the missing header files of the other frameworks to my regular system.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 7, 2011

@LudovicRousseau originally submitted this as comment:10:⁠ticket:113


I already have the headers installed in the BuildRoot.

sh-3.2# darwinbuild -load libsecurity_cdsa_client
libsecurity_cdsa_client already loaded and no newer roots have been built.
sh-3.2# darwinbuild -load libsecurity_cdsa_utilities
libsecurity_cdsa_utilities already loaded and no newer roots have been built.
sh-3.2# darwinbuild -load libsecurity_utilities
libsecurity_utilities already loaded and no newer roots have been built.

But of course the frameworks are not installed in my "normal" system.

I am not really happy to copy files from /Volumes/BuildRoot_* to my normal system. It looks like a hack and not a correct/viable solution.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 7, 2011

eheck@… originally submitted this as comment:11:⁠ticket:113


I'm also not happy with it but it's currently the only way I can get my work done. Building with the build root doesn't work and building with the files on the regular system (i.e. "-nochroot") does. And I don't have the time to investigate this segfault problem more deeply (especially since we cannot be sure that darwinbuild is the problem, maybe xcodebuild is).

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 7, 2011

thomas.akesson@… originally submitted this as comment:12:⁠ticket:113


Thanks for the info. I see similar issues as Ludovic.

I will look into the possibility to set up a VMware of Mac OS X for building in order to avoid the copy operation on my MBP. Will post back any findings or progress.

Did anyone try building with XCode 4? It is available as a developer seed I have heard.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 7, 2011

@LudovicRousseau originally submitted this as comment:13:⁠ticket:113


I discovered I have crash logs in /Library/Logs/CrashReporter. The process crashing is xcodebuild. So maybe not really darwinbuild fault.

I attach the crash log here and created bug rdar://8965776 on bugreport.apple.com

@macosforgebot

This comment has been minimized.

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented Feb 12, 2011

leo@… originally submitted this as comment:14:⁠ticket:113


Replying to ludovic.rousseau@…:

  • I updated Darwninbuild to revision 910.

I test revision 908 (tags/darwinbuild-23) and 936 (tags/darwinbuild-24)

  • I created a BuildRoot for 10J567.
  • I am using a iMac model iMac10,1 on Mac OS X 10.6.6

Another workaround: degrade Mac OS X to 10.6.3

This bug don't reproduce for darwinbuild "@23", Mac OS X 10.6.0-10.6.3 and all Xcode 3.2.x (except Xcode 3.2.5 - required 10.6.4 or late)

darwinbuild SmartCardServices

Fail with "Segmentation fault" for Mac OS X 10.6.4-10.6.7 (10J855) and all Xcode 3.2.x (except Xcode 3.2 - fault "resource deadlock avoided")

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented May 24, 2011

helpcrypto@… originally submitted this as comment:15:⁠ticket:113


Same here: Segmentation fault on diferent lines for many projects:

libsecurity_utilities SmartcardServices TokenD

on Mac OSX 10.6.7+xcode 3.2 building for 10A432 and 10C540

Need more trace? Can i do something for help fixing this?

BTW, "darwinbuild SmartcardCCID" gives me "project doesnt exists" I followed instructios here: http://smartcardservices.macosforge.org/trac/wiki/documentation/building

@macosforgebot

This comment has been minimized.

Copy link
Author

macosforgebot commented May 3, 2013

@LudovicRousseau originally submitted this as comment:16:⁠ticket:113


I confirm that using Mac OS X10.6.3 does "solve" the problem. Thanks leo@ for the suggestion.

No need to downgrade darwinbuild. I am using revision 1062.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.