[MacPorts] #61074: sqlite3 @3.33.0_0+universal: Failed to build sqlite3: command execution failed

MacPorts noreply at macports.org
Fri Aug 28 09:14:19 UTC 2020


#61074: sqlite3 @3.33.0_0+universal: Failed to build sqlite3: command execution
failed
----------------------+-------------------------
  Reporter:  qiet72   |      Owner:  Schamschula
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.3
Resolution:           |   Keywords:
      Port:  sqlite3  |
----------------------+-------------------------

Comment (by qiet72):

 ok, I did a fresh install of mac os x 10.7.5 with all updates. I then
 installed Xcode 4.6.3 and the command line tools for November 2012.
 Installed MacPorts 2.6.3 via pkg. Then without installing anything else, I
 did the following; "sudo port -N install dosbox". The sqlite3 port fails
 to compile again:\\
 {{{
 :info:build /bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang
 -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS4
 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLIT
 E_ENABLE_GEOPOLY -DSQLITE_HAVE_ZLIB  -DSQLITE_ENABLE_EXPLAIN_COMMENTS
 -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_STMTVTAB
 -DSQLITE_ENABLE_DBSTAT_VTAB  -pipe -Os -arch x86_64 -arch i386
 -L/opt/local
 /lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o sqlite3
 sqlite3-shell.o sqlite3-sqlite3.o -ledit   -lz
 :info:build libtool: link: /usr/bin/clang -D_REENTRANT=1
 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5
 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
 -DSQLIT
 E_HAVE_ZLIB -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_DBPAGE_VTAB
 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_DBSTAT_VTAB -pipe -Os -arch
 x86_64 -arch i386 -Wl,-headerpad_max_install_names -arch x86_64 -arch i386
 -o sqlite3 sqlite3-shell.o sqlite3-sqlite3.o  -L/opt/local/lib
 /opt/local/lib/libedit.dylib -lz
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "___atomic_load_n", referenced from:
 :info:build       _sqlite3_step in sqlite3-sqlite3.o
 :info:build       _sqlite3RunParser in sqlite3-sqlite3.o
 :info:build       _sqlite3WalFindFrame in sqlite3-sqlite3.o
 :info:build       _sqlite3WalCheckpoint in sqlite3-sqlite3.o
 :info:build       _walTryBeginRead in sqlite3-sqlite3.o
 :info:build       _pcache1UnderMemoryPressure in sqlite3-sqlite3.o
 :info:build       _sqlite3VdbeExec in sqlite3-sqlite3.o
 :info:build       ...
 :info:build   "___atomic_store_n", referenced from:
 :info:build       _sqlite3_soft_heap_limit64 in sqlite3-sqlite3.o
 :info:build       _sqlite3Malloc in sqlite3-sqlite3.o
 :info:build       _sqlite3OomFault in sqlite3-sqlite3.o
 :info:build       _sqlite3_step in sqlite3-sqlite3.o
 :info:build       _sqlite3RunParser in sqlite3-sqlite3.o
 :info:build       _sqlite3_interrupt in sqlite3-sqlite3.o
 :info:build       _sqlite3_wal_checkpoint_v2 in sqlite3-sqlite3.o
 :info:build       ...
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build gnumake: *** [sqlite3] Error 1
 :info:build gnumake: *** Waiting for unfinished jobs....
 :info:build gnumake: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlite3/sqlite3/work
 /sqlite-autoconf-3330000'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlite3/sqlite3/work
 /sqlite-autoconf-3330000" && /usr/bin/gnumake -j4 -w all
 :info:build Exit code: 2
 :error:build Failed to build sqlite3: command execution failed
 :debug:build Error code: CHILDSTATUS 8432 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_sqlite3/sqlite3/main.log
 for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61074#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list