Opened 18 months ago

Last modified 18 months ago

#67494 new defect

libsigsegv @2.14_0+universal build failure

Reported by: ammantesfaye (amman letta) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: libsigsegv

Description

Build fails with error log below.

$ uname -a
Darwin quokka 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:44 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T8103 arm64

$ port version
Version: 2.8.1

$ port install clisp
Error: Failed to build libsigsegv: command execution failed
Error: See /Users/a/port/var/macports/logs/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/main.log for details.
Error: Unable to execute port: upgrade libsigsegv failed

main.log

version:1
:debug:main Starting logging for libsigsegv @2.14_0+universal
:debug:sysinfo macOS 13.4 (darwin/22.5.0) arch arm
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode none, CLT 14.3.0.0.1.1679647830
:debug:sysinfo SDK 13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
:debug:main libsigsegv has no conflicts
:debug:main Executing org.macports.main (libsigsegv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Wed May 24 12:25:42 MDT 2023
:debug:archivefetch Executing org.macports.archivefetch (libsigsegv)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (libsigsegv)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (libsigsegv)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (libsigsegv)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (libsigsegv)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (libsigsegv)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed May 24 12:25:42 MDT 2023
:notice:build --->  Building libsigsegv
:debug:build Executing org.macports.build (libsigsegv)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/Users/a/port/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/Users/a/port/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='13.0'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
:info:build Executing:  cd "/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14" && /usr/bin/make -j8 -w all 
:debug:build system:  cd "/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14'
:info:build /Library/Developer/CommandLineTools/usr/bin/make TARGETSTACK=" all" all-recursive
:info:build make[1]: Entering directory `/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14'
:info:build Making all in src
:info:build make[2]: Entering directory `/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14/src'
:info:build /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I..  -I. -I. -I/Users/a/port/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -arch x86_64 -c -o handler.lo handler.c
:info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/Users/a/port/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64 -arch x86_64 -c handler.c  -fno-common -DPIC -o .libs/handler.o
:info:build In file included from handler.c:19:
:info:build ./handler-unix.c:157:43: error: no member named '__sp' in 'struct __darwin_x86_thread_state64'; did you mean '__rsp'?
:info:build           uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER);
:info:build                                           ^
:info:build ./fault-macos-arm64.h:23:77: note: expanded from macro 'SIGSEGV_FAULT_STACKPOINTER'
:info:build #define SIGSEGV_FAULT_STACKPOINTER  ((ucontext_t *) ucp)->uc_mcontext->__ss.__sp
:info:build                                                                             ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include/mach/i386/_structs.h:724:13: note: '__rsp' declared here
:info:build         __uint64_t      __rsp;
:info:build                         ^
:info:build 1 error generated.
:info:build make[2]: *** [handler.lo] Error 1
:info:build make[2]: Leaving directory `/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14'
:info:build Command failed:  cd "/Users/a/port/var/macports/build/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/work/libsigsegv-2.14" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build Failed to build libsigsegv: command execution failed
:debug:build Error code: CHILDSTATUS 92269 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /Users/a/port/var/macports/logs/_Users_a_port_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsigsegv/libsigsegv/main.log for details.

Change History (2)

comment:1 Changed 18 months ago by jmroot (Joshua Root)

Keywords: clisp removed
Port: libsigsegv added
Summary: clisp 2.50.0 fails to build libsigsegv: command execution failedlibsigsegv @2.14_0+universal build failure

comment:2 in reply to:  description Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to ammantesfaye:

:debug:archivefetch Skipping completed org.macports.configure (libsigsegv)

This tells us this was not a clean build. Please sudo port clean libsigsegv and try again, and when it fails again, attach (not paste) the main.log file to this ticket.

Note: See TracTickets for help on using tickets.