[MacPorts] #59483: MacPorts base 2.6.2 fails to build or upgrade on 10.13 with Xcode 10.1 installed as cannot build darwintrace +universal

MacPorts noreply at macports.org
Sat Oct 26 01:23:22 UTC 2019


#59483: MacPorts base 2.6.2 fails to build or upgrade on 10.13 with Xcode 10.1
installed as cannot build darwintrace +universal
--------------------+----------------------
 Reporter:  kencu   |      Owner:  jmr
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  base    |    Version:  2.6.2
 Keywords:          |       Port:
--------------------+----------------------
 {{{
 macOS 10.13.6 17G8037
 Xcode 10.1 10B61
 }}}
 {{{
 Darwin 17.7.0 Darwin Kernel Version 17.7.0: Sun Jun  2 20:31:42 PDT 2019;
 root:xnu-4570.71.46~1/RELEASE_X86_64 x86_64
 }}}

 {{{
 clang -dynamiclib -g -O2 -std=c99 -Wextra -Wall   -fPIC -arch x86_64 -arch
 i386  -Wl,-single_module access.o close.o darwintrace.o dup2.o mkdir.o
 open.o proc.o readdir.o readlink.o rename.o rmdir.o sip_copy_proc.o stat.o
 unlink.o -o darwintrace.dylib  -arch x86_64 -arch i386 -install_name
 /opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib
 ld: warning: The i386 architecture is deprecated for macOS (remove from
 the Xcode build setting: ARCHS)
 ld: warning: ignoring file
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd,
 missing required architecture i386 in file
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
 Undefined symbols for architecture i386:
   "__DefaultRuneLocale", referenced from:
       _check_interpreter in proc.o
   "___error", referenced from:
       __dt_access in access.o
       __dt_close in close.o
       ___darwintrace_setup_tls in darwintrace.o
       ___darwintrace_sock_destructor in darwintrace.o
       ___darwintrace_close in darwintrace.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       ...
   "___getdirentries64", referenced from:
       __dt_getdirentries64 in readdir.o
       __interpose___getdirentries64 in readdir.o
   "___maskrune", referenced from:
       _check_interpreter in proc.o
   "___snprintf_chk", referenced from:
       ___darwintrace_sandbox_check in darwintrace.o
   "___stack_chk_fail", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _check_interpreter in proc.o
       __dt_getdirentries64 in readdir.o
   "___stack_chk_guard", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _check_interpreter in proc.o
       __dt_getdirentries64 in readdir.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _check_interpreter in proc.o
       __dt_getdirentries64 in readdir.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _check_interpreter in proc.o
       __dt_getdirentries64 in readdir.o
   "___stderrp", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _frecv in darwintrace.o
       _store_env in proc.o
       _lazy_copy in sip_copy_proc.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _frecv in darwintrace.o
       _store_env in proc.o
       _lazy_copy in sip_copy_proc.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _frecv in darwintrace.o
       _store_env in proc.o
       _lazy_copy in sip_copy_proc.o
   "___strcat_chk", referenced from:
       _store_env in proc.o
       __dt_getdirentries64 in readdir.o
   "___strlcpy_chk", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
   "_abort", referenced from:
       ___darwintrace_setup_tls in darwintrace.o
       ___darwintrace_sock_destructor in darwintrace.o
       ___darwintrace_close in darwintrace.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _fsend in darwintrace.o
       ...
   "_access", referenced from:
       __dt_access in access.o
       __interpose_access in access.o
   "_asprintf", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_close$UNIX2003", referenced from:
       __dt_close in close.o
       __interpose_close in close.o
       _check_interpreter in proc.o
       _lazy_copy in sip_copy_proc.o
   "_connect$UNIX2003", referenced from:
       ___darwintrace_setup in darwintrace.o
   "_copyfile", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_dup2", referenced from:
       __dt_dup2 in dup2.o
       __interpose_dup2 in dup2.o
   "_execve", referenced from:
       __interpose_execve in proc.o
       _sip_copy_execve in sip_copy_proc.o
      (maybe you meant: _sip_copy_execve)
   "_fclose", referenced from:
       ___darwintrace_sock_destructor in darwintrace.o
       ___darwintrace_close in darwintrace.o
   "_fcntl$UNIX2003", referenced from:
       ___darwintrace_setup in darwintrace.o
       __dt_dup2 in dup2.o
       __dt_getdirentries64 in readdir.o
   "_fdopen$UNIX2003", referenced from:
       ___darwintrace_setup in darwintrace.o
       __dt_dup2 in dup2.o
   "_fgetc", referenced from:
       _copy_needed in sip_copy_proc.o
   "_fileno", referenced from:
       __dt_close in close.o
       ___darwintrace_sock_destructor in darwintrace.o
       ___darwintrace_close in darwintrace.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _fsend in darwintrace.o
       _frecv in darwintrace.o
       ...
   "_fopen$UNIX2003", referenced from:
       _store_env in proc.o
       _copy_needed in sip_copy_proc.o
   "_fprintf", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _lazy_copy in sip_copy_proc.o
   "_free", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       __dt_execve in proc.o
       __dt_posix_spawn in proc.o
       _sip_copy_execve in sip_copy_proc.o
       _copy_needed in sip_copy_proc.o
       _lazy_copy in sip_copy_proc.o
       ...
   "_fwrite$UNIX2003", referenced from:
       ___darwintrace_setup in darwintrace.o
       _frecv in darwintrace.o
   "_getattrlist$UNIX2003", referenced from:
       ___darwintrace_is_in_sandbox in darwintrace.o
   "_getenv", referenced from:
       _store_env in proc.o
   "_geteuid", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_getline", referenced from:
       _copy_needed in sip_copy_proc.o
   "_getpid", referenced from:
       ___darwintrace_setup in darwintrace.o
   "_lstat", referenced from:
       __dt_lstat in stat.o
       __interpose_lstat in stat.o
   "_lstat$INODE64", referenced from:
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       __dt_mkdir in mkdir.o
       __interpose_lstat$INODE64 in stat.o
   "_lstat64", referenced from:
       __dt_lstat64 in stat.o
       __interpose_lstat64 in stat.o
   "_malloc", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _store_env in proc.o
       __dt_execve in proc.o
       __dt_posix_spawn in proc.o
       _copy_needed in sip_copy_proc.o
   "_mkdir", referenced from:
       __dt_mkdir in mkdir.o
       __interpose_mkdir in mkdir.o
       _lazy_copy in sip_copy_proc.o
   "_mktemp", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_open$UNIX2003", referenced from:
       __dt_open in open.o
       __interpose_open in open.o
       _check_interpreter in proc.o
   "_perror", referenced from:
       ___darwintrace_setup_tls in darwintrace.o
       ___darwintrace_sock_destructor in darwintrace.o
       ___darwintrace_close in darwintrace.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_is_in_sandbox in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _fsend in darwintrace.o
       ...
   "_posix_spawn", referenced from:
       __interpose_posix_spawn in proc.o
       _sip_copy_posix_spawn in sip_copy_proc.o
      (maybe you meant: _sip_copy_posix_spawn)
   "_posix_spawnattr_getflags", referenced from:
       __dt_posix_spawn in proc.o
   "_pthread_getspecific", referenced from:
       __dt_close in close.o
       ___darwintrace_close in darwintrace.o
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _fsend in darwintrace.o
       _frecv in darwintrace.o
       __dt_dup2 in dup2.o
       ...
   "_pthread_key_create", referenced from:
       ___darwintrace_setup_tls in darwintrace.o
   "_pthread_self", referenced from:
       ___darwintrace_setup in darwintrace.o
   "_pthread_setspecific", referenced from:
       ___darwintrace_sock_destructor in darwintrace.o
       ___darwintrace_close in darwintrace.o
       ___darwintrace_setup in darwintrace.o
       __dt_dup2 in dup2.o
   "_read$UNIX2003", referenced from:
       _frecv in darwintrace.o
       _check_interpreter in proc.o
   "_readlink", referenced from:
       ___darwintrace_is_in_sandbox in darwintrace.o
       __dt_readlink in readlink.o
       __interpose_readlink in readlink.o
   "_realloc", referenced from:
       _copy_needed in sip_copy_proc.o
   "_rename", referenced from:
       __dt_rename in rename.o
       __interpose_rename in rename.o
       _lazy_copy in sip_copy_proc.o
   "_rmdir", referenced from:
       __dt_rmdir in rmdir.o
       __interpose_rmdir in rmdir.o
   "_socket", referenced from:
       ___darwintrace_setup in darwintrace.o
   "_stat", referenced from:
       __dt_stat in stat.o
       __interpose_stat in stat.o
   "_stat$INODE64", referenced from:
       _copy_needed in sip_copy_proc.o
       _lazy_copy in sip_copy_proc.o
       __interpose_stat$INODE64 in stat.o
   "_stat64", referenced from:
       __dt_stat64 in stat.o
       __interpose_stat64 in stat.o
   "_strchr", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_strcmp", referenced from:
       ___darwintrace_is_in_sandbox in darwintrace.o
   "_strcspn", referenced from:
       ___darwintrace_is_in_sandbox in darwintrace.o
   "_strdup", referenced from:
       _copy_needed in sip_copy_proc.o
       _lazy_copy in sip_copy_proc.o
   "_strerror$UNIX2003", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_strlen", referenced from:
       ___darwintrace_setup in darwintrace.o
       _store_env in proc.o
       __dt_getdirentries64 in readdir.o
   "_strncmp", referenced from:
       ___darwintrace_is_in_sandbox in darwintrace.o
       _copy_needed in sip_copy_proc.o
   "_strrchr", referenced from:
       _lazy_copy in sip_copy_proc.o
   "_strsep", referenced from:
       _check_interpreter in proc.o
   "_strtok_r", referenced from:
       _copy_needed in sip_copy_proc.o
   "_unlink", referenced from:
       _lazy_copy in sip_copy_proc.o
       __dt_unlink in unlink.o
       __interpose_unlink in unlink.o
   "_write$UNIX2003", referenced from:
       ___darwintrace_setup in darwintrace.o
       ___darwintrace_sandbox_check in darwintrace.o
       _fsend in darwintrace.o
 ld: symbol(s) not found for architecture i386
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59483>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list