Opened 2 years ago
Last modified 21 months ago
#66438 new defect
spice-gtk configure failure
Reported by: | ANONIMNIQ | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | spice-gtk |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Error: Failed to configure spice-gtk: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-logs/meson-log.txt Error: Failed to configure spice-gtk: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port virt-manager failed
Attachments (2)
Change History (8)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Port: | spice-gtk added; virt-manager removed |
Summary: | Error: Failed to configure spice-gtk: consult → spice-gtk configure failure |
comment:2 follow-up: 3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:3 Changed 2 years ago by ANONIMNIQ
Build started at 2022-12-14T18:02:54.201560 Main binary: /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 Build Options: -Dgtk_doc=disabled -Dpolkit=disabled -Dsasl=disabled -Dsmartcard=disabled -Dusbredir=disabled -Dwebdav=disabled -Dprefix=/opt/local Python system: Darwin The Meson build system Version: 0.63.3 Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/spice-gtk-0.41 Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build Build type: native build Running command: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/spice-gtk-0.41/build-aux/git-version-gen /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/spice-gtk-0.41/.tarball-version --- stdout --- 0.41 --- stderr ---
Project name: spice-gtk Project version: 0.41
Detecting compiler via: /usr/bin/clang --version compiler returned <Popen: returncode: 0 args: ['/usr/bin/clang', '--version']> compiler stdout: Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiler stderr:
Running command: /usr/bin/clang -E -dM -
Detecting linker via: /usr/bin/clang -Wl,--version -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk linker returned <Popen: returncode: 1 args: ['/usr/bin/clang', '-Wl,--version', '-L/opt/loca...> linker stdout:
linker stderr: ld: unknown option: --version clang: error: linker command failed with exit code 1 (use -v to see invocation)
Detecting Apple linker via: /usr/bin/clang -Wl,-v -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk linker stdout:
linker stderr: @(#)PROGRAM:ld PROJECT:ld64-820.1 BUILD 18:42:34 Sep 11 2022 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em Library search paths:
/opt/local/lib /opt/local/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib /usr/local/lib
Framework search paths:
/Library/Frameworks/ /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sanity testing C compiler: /usr/bin/clang Is cross compiler: False. Sanity check compiler command line: /usr/bin/clang sanitycheckc.c -o sanitycheckc.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk Sanity check compile stdout:
Sanity check compile stderr:
Running test binary command: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/sanitycheckc.exe C compiler for the host machine: /usr/bin/clang (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)") C linker for the host machine: /usr/bin/clang ld64 820.1
Detecting compiler via: /usr/bin/clang --version compiler returned <Popen: returncode: 0 args: ['/usr/bin/clang', '--version']> compiler stdout: Apple clang version 14.0.0 (clang-1400.0.29.202) Target: x86_64-apple-darwin22.1.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiler stderr:
Running command: /usr/bin/clang -E -dM -
Detecting linker via: /usr/bin/clang -Wl,--version -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk linker returned <Popen: returncode: 1 args: ['/usr/bin/clang', '-Wl,--version', '-L/opt/loca...> linker stdout:
linker stderr: ld: unknown option: --version clang: error: linker command failed with exit code 1 (use -v to see invocation)
Detecting Apple linker via: /usr/bin/clang -Wl,-v -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk linker stdout:
linker stderr: @(#)PROGRAM:ld PROJECT:ld64-820.1 BUILD 18:42:34 Sep 11 2022 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em Library search paths:
/opt/local/lib /opt/local/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib /usr/local/lib
Framework search paths:
/Library/Frameworks/ /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sanity testing C compiler: /usr/bin/clang Is cross compiler: False. Sanity check compiler command line: /usr/bin/clang sanitycheckc.c -o sanitycheckc.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk Sanity check compile stdout:
Sanity check compile stderr:
Running test binary command: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/sanitycheckc.exe C compiler for the build machine: /usr/bin/clang (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)") C linker for the build machine: /usr/bin/clang ld64 820.1 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: x86_64 Host machine cpu: x86_64 Target machine cpu family: x86_64 Target machine cpu: x86_64
Executing subproject spice-common
Project name: spice-common Project version: undefined C compiler for the host machine: /usr/bin/clang (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)") C linker for the host machine: /usr/bin/clang ld64 820.1 C compiler for the build machine: /usr/bin/clang (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)") C linker for the build machine: /usr/bin/clang ld64 820.1 Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpiexia9m_ Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpiexia9m_/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("alloca.h")
#error "Header 'alloca.h' could not be found"
#endif
#else
#include <alloca.h>
#endif
Compiler stdout:
Compiler stderr: Has header "alloca.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpj486owsl Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpj486owsl/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("arpa/inet.h")
#error "Header 'arpa/inet.h' could not be found"
#endif
#else
#include <arpa/inet.h>
#endif
Compiler stdout:
Compiler stderr: Has header "arpa/inet.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpohsnrpta Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpohsnrpta/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("dlfcn.h")
#error "Header 'dlfcn.h' could not be found"
#endif
#else
#include <dlfcn.h>
#endif
Compiler stdout:
Compiler stderr: Has header "dlfcn.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpubhtvdek Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpubhtvdek/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("inttypes.h")
#error "Header 'inttypes.h' could not be found"
#endif
#else
#include <inttypes.h>
#endif
Compiler stdout:
Compiler stderr: Has header "inttypes.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpcqa7oqj1 Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpcqa7oqj1/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("netinet/in.h")
#error "Header 'netinet/in.h' could not be found"
#endif
#else
#include <netinet/in.h>
#endif
Compiler stdout:
Compiler stderr: Has header "netinet/in.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmppzv4x3jr Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmppzv4x3jr/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("stdlib.h")
#error "Header 'stdlib.h' could not be found"
#endif
#else
#include <stdlib.h>
#endif
Compiler stdout:
Compiler stderr: Has header "stdlib.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp2ilz5y5l Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp2ilz5y5l/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("sys/socket.h")
#error "Header 'sys/socket.h' could not be found"
#endif
#else
#include <sys/socket.h>
#endif
Compiler stdout:
Compiler stderr: Has header "sys/socket.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp3f5p6975 Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp3f5p6975/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("sys/stat.h")
#error "Header 'sys/stat.h' could not be found"
#endif
#else
#include <sys/stat.h>
#endif
Compiler stdout:
Compiler stderr: Has header "sys/stat.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpjnznr3ae Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpjnznr3ae/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("sys/types.h")
#error "Header 'sys/types.h' could not be found"
#endif
#else
#include <sys/types.h>
#endif
Compiler stdout:
Compiler stderr: Has header "sys/types.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmplv_8z3ge Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmplv_8z3ge/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("unistd.h")
#error "Header 'unistd.h' could not be found"
#endif
#else
#include <unistd.h>
#endif
Compiler stdout:
Compiler stderr: Has header "unistd.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpmez_63fe Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpmez_63fe/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("regex.h")
#error "Header 'regex.h' could not be found"
#endif
#else
#include <regex.h>
#endif
Compiler stdout:
Compiler stderr: Has header "regex.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpzsbjvjxx Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpzsbjvjxx/testfile.c -E -P -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -P -O0 -Werror=implicit-function-declaration
Code:
#ifdef has_include
#if __has_include("sys/mman.h")
#error "Header 'sys/mman.h' could not be found"
#endif
#else
#include <sys/mman.h>
#endif
Compiler stdout:
Compiler stderr: Has header "sys/mman.h" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpvmxq_t2h Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpvmxq_t2h/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpvmxq_t2h/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Wl,-no_weak_imports -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
#define alloca meson_disable_define_of_alloca
#include <limits.h> #undef alloca
#ifdef cplusplus extern "C" #endif char alloca (void);
#if defined stub_alloca defined stub_alloca fail fail fail this function is not going to work #endif
int main(void) {
return alloca ();
}
Compiler stdout: Compiler stderr:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpvmxq_t2h/testfile.c:10:14: warning: incompatible redeclaration of library function 'alloca' [-Wincompatible-library-redeclaration]
char alloca (void);
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpvmxq_t2h/testfile.c:10:14: note: 'alloca' is a builtin with type 'void *(unsigned long)' 1 warning generated. Undefined symbols for architecture x86_64:
"_alloca", referenced from:
_main in testfile-53f4cb.o
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp6bud8xc8 Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp6bud8xc8/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp6bud8xc8/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Wl,-no_weak_imports -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
int main(void) {
/* With some toolchains (MSYS2/mingw for example) the compiler
- provides various builtins which are not really implemented and
- fall back to the stdlib where they aren't provided and fail at
- build/link time. In case the user provides a header, including
- the header didn't lead to the function being defined, and the
- function we are checking isn't a builtin itself we assume the
- builtin is not functional and we just error out. */
#if !1 && !defined(alloca) && !0
#error "No definition for builtin_alloca found in the prefix"
#endif
#ifdef has_builtin
#if __has_builtin(builtin_alloca)
#error "builtin_alloca not found"
#endif
#elif ! defined(alloca)
builtin_alloca;
#endif return 0; }
Compiler stdout: Compiler stderr: Checking for function "alloca" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp6910ekk_ Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp6910ekk_/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp6910ekk_/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Wl,-no_weak_imports -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
#define sigaction meson_disable_define_of_sigaction
#include <limits.h> #undef sigaction
#ifdef cplusplus extern "C" #endif char sigaction (void);
#if defined stub_sigaction defined stub_sigaction fail fail fail this function is not going to work #endif
int main(void) {
return sigaction ();
}
Compiler stdout: Compiler stderr: Checking for function "sigaction" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpnsei5iym Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpnsei5iym/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpnsei5iym/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Wl,-no_weak_imports -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
#define drand48 meson_disable_define_of_drand48
#include <limits.h> #undef drand48
#ifdef cplusplus extern "C" #endif char drand48 (void);
#if defined stub_drand48 defined stub_drand48 fail fail fail this function is not going to work #endif
int main(void) {
return drand48 ();
}
Compiler stdout: Compiler stderr: Checking for function "drand48" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpg4dst6az Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpg4dst6az/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpg4dst6az/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Wl,-no_weak_imports -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
#define setlinebuf meson_disable_define_of_setlinebuf
#include <limits.h> #undef setlinebuf
#ifdef cplusplus extern "C" #endif char setlinebuf (void);
#if defined stub_setlinebuf defined stub_setlinebuf fail fail fail this function is not going to work #endif
int main(void) {
return setlinebuf ();
}
Compiler stdout: Compiler stderr: Checking for function "setlinebuf" : YES Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmphegr82q9 Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmphegr82q9/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmphegr82q9/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -lm -Wl,-undefined,dynamic_lookup -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
int main(void) { return 0; }
Compiler stdout: Compiler stderr:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
Library m found: YES
Pkg-config binary for 1 is not cached.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Found pkg-config: /opt/local/bin/pkg-config (0.29.2)
Determining dependency 'spice-protocol' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --modversion spice-protocol
-> 0
0.14.3
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --cflags spice-protocol
-> 0
-I/opt/local/include/spice-1
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs spice-protocol
-> 0
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs spice-protocol
-> 0
Run-time dependency spice-protocol found: YES 0.14.3
Pkg-config binary for 1 is cached.
Determining dependency 'glib-2.0' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --modversion glib-2.0
-> 0
2.70.5
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --cflags glib-2.0
-> 0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs glib-2.0
-> 0
-L/opt/local/lib -lglib-2.0 -lintl
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs glib-2.0
-> 0
-L/opt/local/lib -lglib-2.0 -lintl
Running compile:
Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp1ku8qo9x
Command line: /usr/bin/clang -L/opt/local/lib -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp1ku8qo9x/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmp1ku8qo9x/output.exe -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
Code:
#include<stdio.h>
int main(void) {
printf("%ld\n", (long)(sizeof(void *))); return 0;
}
Compiler stdout: Compiler stderr: Program stdout:
8
Program stderr:
Running compile: Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpx9t02qe2 Command line: /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpx9t02qe2/testfile.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/build/meson-private/tmpx9t02qe2/output.obj -c -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -D_XOPEN_SOURCE -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -O0 -Werror=implicit-function-declaration -Werror=unknown-warning-option -Werror=unused-command-line-argument -Werror=ignored-optimization-argument --print-search-dirs
Code: Compiler stdout:
programs: =/Library/Developer/CommandLineTools/usr/bin
libraries: =/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0
Compiler stderr:
Run-time dependency glib-2.0 found: YES 2.70.5
Pkg-config binary for 1 is cached.
Determining dependency 'pixman-1' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --modversion pixman-1
-> 0
0.38.4
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --cflags pixman-1
-> 0
-I/opt/local/include/pixman-1
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs pixman-1
-> 0
-L/opt/local/lib -lpixman-1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs pixman-1
-> 0
-L/opt/local/lib -lpixman-1
Run-time dependency pixman-1 found: YES 0.38.4
Pkg-config binary for 1 is cached.
Determining dependency 'openssl' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --modversion openssl
-> 0
3.0.7
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --cflags openssl
-> 0
-I/opt/local/libexec/openssl3/include
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs openssl
-> 0
-L/opt/local/libexec/openssl3/lib -lssl -lcrypto
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs openssl
-> 0
-L/opt/local/libexec/openssl3/lib -lssl -lcrypto
Run-time dependency openssl found: YES 3.0.7
Pkg-config binary for 1 is cached.
Determining dependency 'gio-2.0' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --modversion gio-2.0
-> 0
2.70.5
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --cflags gio-2.0
-> 0
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs gio-2.0
-> 0
-L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs gio-2.0
-> 0
-L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
Run-time dependency gio-2.0 found: YES 2.70.5
Pkg-config binary for 1 is cached.
Determining dependency 'opus' with pkg-config executable '/opt/local/bin/pkg-config'
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --modversion opus
-> 0
1.3.1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --cflags opus
-> 0
-I/opt/local/include/opus
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs opus
-> 0
-L/opt/local/lib -lopus
env[PKG_CONFIG_PATH]:
Called /opt/local/bin/pkg-config --libs opus
-> 0
-L/opt/local/lib -lopus
Run-time dependency opus found: YES 1.3.1
Could not introspect Python (['/opt/local/bin/python3.9', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/.tmp/tmpto0jnokc.py']): exit code -6
Program stdout:
Program stderr:
dyld[1238]: Library not loaded: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python
Referenced from: <770A2A3F-44FC-38BE-9CAB-1EC043731F2A> /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 Reason: tried: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file, not in dyld cache)
subprojects/spice-common/meson.build:130:2: ERROR: <PythonExternalProgram '/opt/local/bin/python3.9' -> opt/local/bin/python3.9?> is not a valid python or it is missing distutils
comment:4 Changed 2 years ago by ANONIMNIQ
Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | meson-log.txt added |
---|
Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
meson-log.txt says the problem is:
Could not introspect Python (['/opt/local/bin/python3.9', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/.tmp/tmpto0jnokc.py']): exit code -6 Program stdout: Program stderr: dyld[1238]: Library not loaded: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python Referenced from: <770A2A3F-44FC-38BE-9CAB-1EC043731F2A> /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 Reason: tried: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.9/Python' (no such file, not in dyld cache) subprojects/spice-common/meson.build:130:2: ERROR: <PythonExternalProgram '/opt/local/bin/python3.9' -> ['/opt/local/bin/python3.9']> is not a valid python or it is missing distutils
This is very curious. It says your /opt/local/bin/python3.9 is linked with /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python which doesn't exist. It should be linked instead with /opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python, and is on my system. Try reinstalling python39:
sudo port clean python39 sudo port -n upgrade --force python39
comment:6 Changed 21 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Please attach the two logs mentioned in the error messages.