nothing to do with systrace, you need to uninstall samba and/or .libs-samba before building.
On 2011-10-15, Olivier Cherrier <o...@symacx.com> wrote: > > Hi, > > On amd64 -current, when building net/samba, it ends up with: > > cc -O2 -pipe -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I. > -I/usr/ports/pobj/samba-3. 6.0/samba-3.6.0/source3 > -I/usr/ports/pobj/samba-3.6.0/samba-3.6.0/source3/../lib/iniparser/src > -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent > -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include > -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. > -I./../lib/popt -I/usr/ports/pobj/samba-3.6.0/samba-3.6.0/source3/lib -I.. > -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c rpc_client/init_samr.c -o > rpc_client/init_samr.o > creating > /usr/ports/pobj/samba-3.6.0/samba-3.6.0/source3/exports/libnetapi.syms > Linking shared library bin/libnetapi.so.1.0 > systrace: intercept_get_string: string too long > passdb/lookup_sid.o(.text+0x1514): In function `sids_to_unix_ids': >: undefined reference to `wbcSidsToUnixIds' > collect2: ld returned 1 exit status > gmake: *** [bin/libnetapi.so.1.0] Error 1 > > > I am using the following /etc/mk.conf: > USE_SYSTRACE=Yes > SKIPDIR='gnu/usr.bin/cvs' > USE_CCACHE=Yes > CCACHE_ENV="CCACHE_LOGFILE=/tmp/ccache.log CCACHE_COMPRESS=yes" > CLEANDEPENDS=yes > > > Is there a workaround for that or is it a Systrace limitation ? > > Thanks, >