homebrew-core icon indicating copy to clipboard operation
homebrew-core copied to clipboard

First issues in Sequoia testing

Open fxcoudert opened this issue 1 year ago • 5 comments

This is a place to keep track of first issues encountered during Sequoia testing, aiming to test the most-used formulas locally (before a full CI set-up is completed).

  • ghostscript: wrong compiler flag unsupported option '-mfpu=' for target, upstream https://bugs.ghostscript.com/show_bug.cgi?id=707993
  • highway: clang crash 😢 (reported as FB14947714)
  • libvpx: Unrecognized toolchain 'arm64-darwin24-gcc'
  • protobuf: 1 failing test, 2 - full-test (Subprocess aborted)
  • tmux: error: call to undeclared function 'TAILQ_REPLACE'

fxcoudert avatar Aug 28 '24 17:08 fxcoudert

highway

[ 22%] Building CXX object CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -DTOOLCHAIN_MISS_SYS_AUXV_H -Dhwy_contrib_EXPORTS -I/tmp/highway-20240828-35558-u82r52/highway-1.2.0 -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wgnu-redeclared-enum -Winfinite-recursion -Wself-assign -Wstring-conversion -Wtautological-overlap-compare -Wthread-safety-analysis -Wundefined-func-template -fno-cxx-exceptions -fno-slp-vectorize -fno-vectorize -fdiagnostics-show-option -fcolor-diagnostics -Wc++2a-extensions -fmath-errno -fno-exceptions -Wno-psabi -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o -MF CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o -c /tmp/highway-20240828-35558-u82r52/highway-1.2.0/hwy/contrib/sort/vqsort_128a.cc
clang++: error: unable to execute command: Abort trap: 6
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin24.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /private/tmp/vqsort_128a-84ee1a.cpp
clang++: note: diagnostic msg: /private/tmp/vqsort_128a-84ee1a.sh
clang++: note: diagnostic msg: Crash backtrace is located in
clang++: note: diagnostic msg: /private/tmp/highway-20240828-35558-u82r52/highway-1.2.0/.brew_home/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang++: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang++: note: diagnostic msg: 

********************
gmake[2]: *** [CMakeFiles/hwy_contrib.dir/build.make:79: CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_128a.cc.o] Error 1
gmake[2]: Leaving directory '/private/tmp/highway-20240828-35558-u82r52/highway-1.2.0/builddir'
gmake[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/hwy_contrib.dir/all] Error 2
gmake[1]: Leaving directory '/private/tmp/highway-20240828-35558-u82r52/highway-1.2.0/builddir'
gmake: *** [Makefile:139: all] Error 2

fxcoudert avatar Aug 28 '24 17:08 fxcoudert

protobuf

67% tests passed, 1 tests failed out of 3

Total Test time (real) =  12.36 sec

The following tests FAILED:
	  2 - full-test (Subprocess aborted)
Errors while running CTest

fxcoudert avatar Aug 28 '24 17:08 fxcoudert

ghostscript

clang++ -Itesseract/include -Itesseract/src/api -Itesseract/src/arch -Itesseract/src/ccmain -Itesseract/src/ccstruct -Itesseract/src/ccutil -Itesseract/src/classify -Itesseract/src/cutil -Itesseract/src/dict -Itesseract/src/lstm -Itesseract/src/opencl -Itesseract/src/textord -Itesseract/src/training -Itesseract/src/viewer -Itesseract/src/wordrec -Ileptonica/src -I./base -I./obj -std=c++17 -DHAVE_NEON  -DHAVE_MKSTEMP  -DHAVE_FSEEKO  -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE   -DHAVE_BSWAP32  -DHAVE_STRERROR -DHAVE_ISNAN -DHAVE_ISINF  -DHAVE_PREAD_PWRITE=1 -DGS_RECURSIVE_MUTEXATTR=PTHREAD_MUTEX_RECURSIVE -O2 -DNDEBUG -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIBDL=1 -DGX_COLOR_INDEX_TYPE="unsigned long long" -D__USE_UNIX98=1 -DHAVE_SNPRINTF  -DBUILD_PDF=1 -I./pdf  -DHAVE_RESTRICT=1 -I/opt/homebrew/Cellar/libidn/1.42/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.3/include -I/opt/homebrew/Cellar/xz/5.6.2/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include  -fno-strict-aliasing -DHAVE_POPEN_PROTO=1    -DTESSERACT_IMAGEDATA_AS_PIX -DTESSERACT_DISABLE_DEBUG_FONTS -DGRAPHICS_DISABLED -UCLUSTER -DDISABLED_LEGACY_ENGINE -mfpu=neon -mcpu=cortex-a53 -D__ARM_NEON__ -o ./obj/tesseract_arch_intsimdmatrixneon.o -c tesseract/src/arch/intsimdmatrixneon.cpp
clang++: error: unsupported option '-mfpu=' for target 'arm64-apple-darwin24.0.0'
make: *** [obj/tesseract_arch_intsimdmatrixneon.o] Error 1

fxcoudert avatar Aug 28 '24 17:08 fxcoudert

ghostscript: -mfpu never worked on aarch64/arm64 but is only now an error: https://github.com/llvm/llvm-project/issues/74361.

https://github.com/ArtifexSoftware/ghostpdl/blob/5fb7114f814645ebf679a8228350e9770bf3f009/configure.ac#L990-L1007

It should be updated to look more like: https://github.com/tesseract-ocr/tesseract/blob/027ad18a8ddeb622b43e83dcc5a326124799cd85/configure.ac#L168-L184

Ideally we remove the vendored tesseract and use the system one which works, but we tried and failed to get that to work before.

Bo98 avatar Aug 28 '24 17:08 Bo98

protobuf: seems to be a file descriptor leak as https://github.com/Bo98/protobuf/commit/3df847287eae2e1cb1b8a1cca183f7527a67ce0a fixes it for me. Not entirely sure what's macOS 15 specific about that given the leak has been there for 16 years and there's little else appearing in lsof but it works I guess

Bo98 avatar Aug 29 '24 00:08 Bo98

tmux: likely needs https://github.com/tmux/tmux/commit/775789fbd5c4f3aa93061480cd64e61daf7fb689

libvpx: same issue we face every macOS bump. Patch needs updating

Bo98 avatar Aug 30 '24 15:08 Bo98

protobuf patch was accepted upstream: https://github.com/protocolbuffers/protobuf/commit/e490bff517916495ed3a900aa85791be01f674f5

Bo98 avatar Sep 02 '24 14:09 Bo98

qt

First: CMake was not built with zstd support which can be worked around with -DQT_AVOID_CMAKE_ARCHIVING_API=ON

Next failure:

[1/9995] cd /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui && /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/share/qt/libexec/syncqt @/private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_args && /opt/homebrew/Cellar/cmake/3.30.3/bin/cmake -E touch /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_timestamp
FAILED: qtbase/src/gui/Gui_syncqt_timestamp qtbase/include/QtGui/QtGuiVersion qtbase/include/QtGui/qtguiversion.h qtbase/include/QtGui/QtGui /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_timestamp /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/include/QtGui/QtGuiVersion /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/include/QtGui/qtguiversion.h /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/include/QtGui/QtGui
cd /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui && /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/share/qt/libexec/syncqt @/private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_args && /opt/homebrew/Cellar/cmake/3.30.3/bin/cmake -E touch /tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/Gui_syncqt_timestamp
ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/bus_interface.h:22 includes private header QtGui/private/qspi_struct_marshallers_p.h
WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/bus_interface.h does not include QT_BEGIN_NAMESPACE
ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/cache_adaptor.h:17 includes private header QtGui/private/qspi_struct_marshallers_p.h
WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/cache_adaptor.h does not include QT_BEGIN_NAMESPACE
ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/deviceeventcontroller_adaptor.h:17 includes private header QtGui/private/qspi_struct_marshallers_p.h
WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/deviceeventcontroller_adaptor.h does not include QT_BEGIN_NAMESPACE
ERROR: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/socket_interface.h:22 includes private header QtGui/private/qspi_struct_marshallers_p.h
WARNING: /private/tmp/qt-20240902-2507-kxd2up/qt-everywhere-src-6.7.0/qtbase/src/gui/socket_interface.h does not include QT_BEGIN_NAMESPACE
ninja: build stopped: subcommand failed.

fxcoudert avatar Sep 02 '24 16:09 fxcoudert

openjdk

==> make images
Building target 'images' in configuration 'macosx-aarch64-server-release'
Compiling up to 1 files for BUILD_TOOLS_HOTSPOT
Compiling up to 8 files for BUILD_TOOLS_LANGTOOLS
Warning: No SCM configuration present and no .src-rev
xattr: [Errno 13] Permission denied: '/private/tmp/openjdk-20240902-77094-ihxlkw/jdk22u-jdk-22.0.2-ga/build/macosx-aarch64-server-release/jdk/conf/management/jmxremote.password.template'
make[3]: *** [/private/tmp/openjdk-20240902-77094-ihxlkw/jdk22u-jdk-22.0.2-ga/build/macosx-aarch64-server-release/jdk/conf/management/jmxremote.password.template] Error 1
make[3]: *** Deleting file `/private/tmp/openjdk-20240902-77094-ihxlkw/jdk22u-jdk-22.0.2-ga/build/macosx-aarch64-server-release/jdk/conf/management/jmxremote.password.template'
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [jdk.management.agent-copy] Error 2
make[2]: *** Waiting for unfinished jobs....

ERROR: Build failed for target 'images' in configuration 'macosx-aarch64-server-release' (exit code 2) 

The failure is because file jmxremote.password.template (see full path above) has permission -r--r--r--, meaning it is not user-writable. Therefore, xattr fails to update it as it should.

chmod u+w build/macosx-aarch64-server-release/support/modules_conf/jdk.management.agent/management/jmxremote.password.template allows the build to proceed to another failure:

Exception in thread "main" java.lang.ClassFormatError: StackMapTable format error: bad verification type
	at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
	at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)
make[3]: *** [/private/tmp/openjdk-20240905-80958-8gr2kq/jdk22u-jdk-22.0.2-ga/build/macosx-aarch64-server-release/buildtools/create_symbols_javac/_the.COMPILE_CREATE_SYMBOLS_batch] Error 1
make[2]: *** [jdk.compiler-gendata] Error 2

fxcoudert avatar Sep 02 '24 20:09 fxcoudert

neovim: fails to build because of Segmentation fault: 11 /opt/homebrew/bin/luajit

For the record, I've been running Neovim in Sequoia since the first development beta without any issues (apart from https://github.com/neovim/neovim/pull/29548). Feel free to reach out on https://matrix.to/#/#neovim-dev:matrix.org if you need help.

clason avatar Sep 03 '24 16:09 clason

semgrep

Last 15 lines from /Users/fx/Library/Logs/Homebrew/semgrep/05.opam:
2024-09-03 22:35:25 +0000

opam
install
-y
--deps-only
./

[WARNING] Failed checks on semgrep package definition from source at git+file:///private/tmp/semgrep-20240904-56127-3268sj#HEAD:
           warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "LGPL-2.1"
[ERROR] Sorry, resolution of the request timed out.
        Try to specify a more precise request, use a different solver, or increase the allowed time by setting OPAMSOLVERTIMEOUT to a bigger value (currently, it is set to 60.0 seconds).

fxcoudert avatar Sep 03 '24 22:09 fxcoudert

erlang

Last 15 lines from /Users/fx/Library/Logs/Homebrew/erlang/02.make:
   34 | #include <asmjit/a64.h>
      |          ^
1 error generated.
make[4]: *** [obj/aarch64-apple-darwin24.0.0/opt/jit/beam_asm_module.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from beam/jit/arm/instr_bs.cpp:22:
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/numeric:176:10: fatal error: cannot open file '/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__numeric/transform_exclusive_scan.h': Too many open files
  176 | #include <__numeric/transform_exclusive_scan.h>
      |          ^
1 error generated.
make[4]: *** [obj/aarch64-apple-darwin24.0.0/opt/jit/instr_bs.o] Error 1
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [jit] Error 2
make: *** [emulator] Error 2

fxcoudert avatar Sep 03 '24 22:09 fxcoudert

fbthrift

cd /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared/thrift/annotation && ../../bin/thrift1 --gen mstch_cpp2:templates,no_metadata,include_prefix=thrift/annotation -o /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared/thrift/annotation -I /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00 /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/thrift/annotation/thrift.thrift
[ERROR:/tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/thrift/annotation/thrift.thrift:19] std::bad_cast
gmake[2]: *** [thrift/annotation/CMakeFiles/thriftannotation.dir/build.make:234: thrift/annotation/gen-cpp2/thrift_constants.h] Error 1
gmake[2]: Leaving directory '/private/tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared'
gmake[1]: *** [CMakeFiles/Makefile2:479: thrift/annotation/CMakeFiles/thriftannotation.dir/all] Error 2
gmake[1]: Leaving directory '/private/tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared'
gmake: *** [Makefile:159: all] Error 2

fxcoudert avatar Sep 04 '24 07:09 fxcoudert

libxmlb

Error: An exception occurred within a child process:
  ShebangDetectionError: Cannot detect Python shebang: formula does not depend on Python.

fxcoudert avatar Sep 04 '24 07:09 fxcoudert

swift

Last 15 lines from /Users/fx/Library/Logs/Homebrew/swift/01.build-script:
    return try rebased.withMemoryRebound(to: T.self, body)
               ~~~~~~~ ^~~~~~~~~~~~~~~~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface:31620:30: error: value of type 'UnsafeMutableBufferPointer<Element>' has no member 'withMemoryRebound'
    try Base(rebasing: self).withMemoryRebound(to: T.self, body)
        ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface:41379:18: error: value of type 'UnsafeMutableRawPointer?' has no member 'map'
    _end = start.map { $0 + _assumeNonNegative(count) }
           ~~~~~ ^~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface:41854:18: error: value of type 'UnsafeRawPointer?' has no member 'map'
    _end = start.map { $0 + _assumeNonNegative(count) }
           ~~~~~ ^~~
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/swift/Swift.swiftmodule/arm64e-apple-macos.swiftinterface:1:1: error: failed to build module 'Swift'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.7.24 clang-1600.0.25.1)', while this compiler is 'Swift version 5.10 (swift-5.10-RELEASE)'). Please select a toolchain which matches the SDK.
// swift-interface-format-version: 1.0
^
ninja: build stopped: subcommand failed.

fxcoudert avatar Sep 04 '24 09:09 fxcoudert

tor

==> Fetching tor
==> Downloading https://www.torproject.org/dist/tor-0.4.8.12.tar.gz
curl: (60) SSL certificate problem: self signed certificate in certificate chain                                                         
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Trying a mirror...
==> Downloading https://www.torservers.net/mirrors/torproject.org/dist/tor-0.4.8.12.tar.gz
curl: (60) SSL certificate problem: self signed certificate in certificate chain                                                         
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Error: tor: Failed to download resource "tor"

fxcoudert avatar Sep 05 '24 08:09 fxcoudert

libusrsctp

/tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_cc_functions.c:767:23: error: variable 't_cwnd' set but not used [-Werror,-Wunused-but-set-variable]
  767 |         uint32_t t_ssthresh, t_cwnd, incr;
      |                              ^
1 error generated.
gmake[2]: *** [usrsctplib/CMakeFiles/usrsctp.dir/build.make:135: usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_cc_functions.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_indata.c:3323:6: error: variable 'tot_retrans' set but not used [-Werror,-Wunused-but-set-variable]
 3323 |         int tot_retrans = 0;
      |             ^
1 error generated.
gmake[2]: *** [usrsctplib/CMakeFiles/usrsctp.dir/build.make:163: usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_indata.c.o] Error 1
/tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_pcb.c:7946:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
 7946 | sctp_drain()
      |           ^
      |            void
1 error generated.
gmake[2]: *** [usrsctplib/CMakeFiles/usrsctp.dir/build.make:205: usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_pcb.c.o] Error 1
/tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_output.c:9973:33: error: variable 'cnt_thru' set but not used [-Werror,-Wunused-but-set-variable]
 9973 |         int no_fragmentflg, bundle_at, cnt_thru;
      |                                        ^
/tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_output.c:13419:13: error: variable 'len' set but not used [-Werror,-Wunused-but-set-variable]
 13419 |         int error, len;
       |                    ^
2 errors generated.

fxcoudert avatar Sep 05 '24 09:09 fxcoudert

Pada Kha, 5 Sep 2024, 5:01 PTG FX Coudert @.***> menulis:

libusrsctp

/tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_cc_functions.c:767:23: error: variable 't_cwnd' set but not used [-Werror,-Wunused-but-set-variable] 767 | uint32_t t_ssthresh, t_cwnd, incr; | ^ 1 error generated. gmake[2]: *** [usrsctplib/CMakeFiles/usrsctp.dir/build.make:135: usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_cc_functions.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... /tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_indata.c:3323:6: error: variable 'tot_retrans' set but not used [-Werror,-Wunused-but-set-variable] 3323 | int tot_retrans = 0; | ^ 1 error generated. gmake[2]: *** [usrsctplib/CMakeFiles/usrsctp.dir/build.make:163: usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_indata.c.o] Error 1 /tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_pcb.c:7946:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 7946 | sctp_drain() | ^ | void 1 error generated. gmake[2]: *** [usrsctplib/CMakeFiles/usrsctp.dir/build.make:205: usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_pcb.c.o] Error 1 /tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_output.c:9973:33: error: variable 'cnt_thru' set but not used [-Werror,-Wunused-but-set-variable] 9973 | int no_fragmentflg, bundle_at, cnt_thru; | ^ /tmp/libusrsctp-20240905-96128-qgeo1n/usrsctp-0.9.5.0/usrsctplib/netinet/sctp_output.c:13419:13: error: variable 'len' set but not used [-Werror,-Wunused-but-set-variable] 13419 | int error, len; | ^ 2 errors generated.

— Reply to this email directly, view it on GitHub https://github.com/Homebrew/homebrew-core/issues/182758#issuecomment-2330985765, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKGVVFLM3U4L6GFQFXINEUDZVAMWXAVCNFSM6AAAAABNIWRIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQHE4DKNZWGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

%PDF-1.3 %���� 1 0 obj <</AAPL:Keywords 37 0 R /CreationDate 35 0 R /Creator 34 0 R /Keywords 36 0 R /ModDate 35 0 R /Producer 33 0 R /Title 32 0 R >> endobj 2 0 obj <</Contents 40 0 R /MediaBox[ 0 0 595 841]/Parent 3 0 R /Resources 6 0 R /Type/Page>> endobj 3 0 obj <</Count 1/Kids[ 2 0 R ]/MediaBox[ 0 0 595.28 841.89]/Type/Pages>> endobj 4 0 obj <</Filter/FlateDecode/Length 2337>>stream x��Yo\����)�Xrf������'������OB��� ���@g���$[0<3$���s��S�#NE���-�~��� }��������������T��K,���{��E�Z[~tuS0e�]YtUY6��!~��m�2�u�o���X������9��'�z�CU�cl��m���a��>�=]1���9M�����k+5��F��?����xw���_f �������}z��W�y}�m<�:�Z����cO6����u�M0���:��~Z��s�0�JU�I�_TG�����N(��uT���x�7����H~{:��V�H��p�����2tc��J�����i�����)� �U5��PI������)��.���v�q�C;��h%$jI�Q-�����5U��d��9U$�D2���=K��cX�c16e��<Q�n���>A�P��0���|

FaiMie184 avatar Sep 05 '24 09:09 FaiMie184

openvino

First it complains about C++14 not being set, so we need to pass -DCMAKE_CXX_STANDARD=14. But then:

In file included from /tmp/openvino-20240905-14990-exzern/openvino-2024.3.0/build/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.pb.cc:4:
/tmp/openvino-20240905-14990-exzern/openvino-2024.3.0/build/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.pb.h:12:2: error: This file was generated by a newer version of protoc which is
   12 | #error This file was generated by a newer version of protoc which is
      |  ^
/tmp/openvino-20240905-14990-exzern/openvino-2024.3.0/build/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.pb.h:13:2: error: incompatible with your Protocol Buffer headers. Please update
   13 | #error incompatible with your Protocol Buffer headers. Please update
      |  ^
/tmp/openvino-20240905-14990-exzern/openvino-2024.3.0/build/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.pb.h:14:2: error: your headers.
   14 | #error your headers.
      |  ^

fxcoudert avatar Sep 05 '24 11:09 fxcoudert

bind

Making all in misc
  CCLD     cfg_test
Undefined symbols for architecture arm64:
  "_mallocx", referenced from:
      _main in cfg_test-cfg_test.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The link line is as follows:

Making all in misc
/bin/sh ../../libtool  --tag=CC   --mode=link clang -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -Werror=vla -fno-strict-aliasing -fno-delete-null-pointer-checks -fdiagnostics-show-option -g -O2 -I/opt/homebrew/Cellar/userspace-rcu/0.14.1/include -pthread -Wno-deprecated-declarations  -Wl,-flat_namespace  -o cfg_test cfg_test-cfg_test.o  ../../lib/isc/libisc.la ../../lib/dns/libdns.la ../../lib/isccfg/libisccfg.la -lpthread  -L/opt/homebrew/Cellar/userspace-rcu/0.14.1/lib -lurcu-common -lurcu -lurcu-common -lurcu-cds
libtool: link: clang -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -Werror=vla -fno-strict-aliasing -fno-delete-null-pointer-checks -fdiagnostics-show-option -g -O2 -I/opt/homebrew/Cellar/userspace-rcu/0.14.1/include -Wno-deprecated-declarations -Wl,-flat_namespace -o .libs/cfg_test cfg_test-cfg_test.o  ../../lib/isc/.libs/libisc.dylib -L/opt/homebrew/Cellar/libuv/1.48.0/lib -L/opt/homebrew/Cellar/openssl@3/3.3.2/lib -L/opt/homebrew/Cellar/json-c/0.17/lib -L/opt/homebrew/Cellar/libnghttp2/1.63.0/lib -L/opt/homebrew/Cellar/userspace-rcu/0.14.1/lib ../../lib/dns/.libs/libdns.dylib ../../lib/isccfg/.libs/libisccfg.dylib /private/tmp/bind-20240905-35488-8ecamo/bind-9.20.1/lib/ns/.libs/libns.dylib /private/tmp/bind-20240905-35488-8ecamo/bind-9.20.1/lib/dns/.libs/libdns.dylib -lkrb5 /private/tmp/bind-20240905-35488-8ecamo/bind-9.20.1/lib/isc/.libs/libisc.dylib -lz -ljson-c -lnghttp2 -lxml2 -luv -lssl -lcrypto -lpthread -lurcu -lurcu-common -lurcu-cds -pthread
Undefined symbols for architecture arm64:
  "_mallocx", referenced from:
      _main in cfg_test-cfg_test.o

and

Configuration summary:
-------------------------------------------------------------------------------
Optional features enabled:
    Memory allocator: jemalloc
    GSS-API (--with-gssapi)
    DNSSEC validation active by default (--enable-auto-validation)
-------------------------------------------------------------------------------
    Library versions:
      OpenSSL:		3.3.2
      libuv:		1.48.0
      Userspace-RCU:	0.14.1
      jemalloc:		system
-------------------------------------------------------------------------------

So it's getting confused about which jemalloc to use (internal or external). Probably better to link to our own.

fxcoudert avatar Sep 05 '24 11:09 fxcoudert

bullet

cd /tmp/bullet-20240905-89618-s6lmcu/bullet3-3.25/builddbl/examples/OpenGLWindow && /opt/homebrew/Cellar/cmake/3.30.3/bin/cmake -E cmake_link_script CMakeFiles/OpenGLWindow.dir/link.txt --verbose=1
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++  -std=c++11 -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -dynamiclib -Wl,-headerpad_max_install_names -o libOpenGLWindow.dylib -install_name @rpath/libOpenGLWindow.dylib CMakeFiles/OpenGLWindow.dir/MacOpenGLWindow.o CMakeFiles/OpenGLWindow.dir/__/ThirdPartyLibs/glad/gl.o CMakeFiles/OpenGLWindow.dir/MacOpenGLWindowObjC.o CMakeFiles/OpenGLWindow.dir/EGLOpenGLWindow.o CMakeFiles/OpenGLWindow.dir/GLFWOpenGLWindow.o CMakeFiles/OpenGLWindow.dir/GLInstancingRenderer.o CMakeFiles/OpenGLWindow.dir/GLPrimitiveRenderer.o CMakeFiles/OpenGLWindow.dir/GLRenderToTexture.o CMakeFiles/OpenGLWindow.dir/LoadShader.o CMakeFiles/OpenGLWindow.dir/OpenSans.o CMakeFiles/OpenGLWindow.dir/SimpleCamera.o CMakeFiles/OpenGLWindow.dir/SimpleOpenGL2App.o CMakeFiles/OpenGLWindow.dir/SimpleOpenGL2Renderer.o CMakeFiles/OpenGLWindow.dir/SimpleOpenGL3App.o CMakeFiles/OpenGLWindow.dir/TwFonts.o CMakeFiles/OpenGLWindow.dir/fontstash.o CMakeFiles/OpenGLWindow.dir/opengl_fontstashcallbacks.o CMakeFiles/OpenGLWindow.dir/__/ThirdPartyLibs/stb_image/stb_image_write.o  -Wl,-rpath,/tmp/bullet-20240905-89618-s6lmcu/bullet3-3.25/builddbl/src/Bullet3Common -framework Cocoa ../../src/Bullet3Common/libBullet3Common.3.25.dylib /opt/homebrew/lib/libGL.dylib
Undefined symbols for architecture arm64:
  "_CGLGetCurrentContext", referenced from:
      _Mac_createWindow in MacOpenGLWindowObjC.o
  "_CGLSetParameter", referenced from:
      _Mac_createWindow in MacOpenGLWindowObjC.o
ld: symbol(s) not found for architecture arm64

Linker is missing -framework OpenGL but I don't know why

fxcoudert avatar Sep 05 '24 12:09 fxcoudert

gstreamer

error: failed to run custom build command for `gdk4-x11-sys v0.8.2 (https://github.com/gtk-rs/gtk4-rs?branch=0.8#cf84b5cd)`

Caused by:
  process didn't exit successfully: `/private/tmp/gstreamer-20240905-21640-rq97ka/gstreamer-1.24.7/build/subprojects/gst-plugins-rs/target/release/build/gdk4-x11-sys-c9bc7868f89c405a/build-script-build` (exit status: 1)
Full output:
  --- stdout
  cargo:rerun-if-env-changed=GTK4_X11_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwin
  cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:warning=
  pkg-config exited with status code 1
  > PKG_CONFIG_PATH=/opt/homebrew/opt/gobject-introspection/lib/pkgconfig:/opt/homebrew/opt/brotli/lib/pkgconfig:/opt/homebrew/opt/highway/lib/pkgconfig:/opt/homebrew/opt/imath/lib/pkgconfig:/opt/homebrew/opt/jpeg-turbo/lib/pkgconfig:/opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/libtiff/lib/pkgconfig:/opt/homebrew/opt/little-cms2/lib/pkgconfig:/opt/homebrew/opt/openexr/lib/pkgconfig:/opt/homebrew/opt/webp/lib/pkgconfig:/opt/homebrew/opt/jpeg-xl/lib/pkgconfig:/opt/homebrew/opt/libvmaf/lib/pkgconfig:/opt/homebrew/opt/aom/lib/pkgconfig:/opt/homebrew/opt/freetype/lib/pkgconfig:/opt/homebrew/opt/fontconfig/lib/pkgconfig:/opt/homebrew/opt/pcre2/lib/pkgconfig:/opt/homebrew/opt/mpdecimal/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/glib/lib/pkgconfig:/opt/homebrew/opt/libxau/lib/pkgconfig:/opt/homebrew/opt/libxdmcp/lib/pkgconfig:/opt/homebrew/opt/libxcb/lib/pkgconfig:/opt/homebrew/opt/libx11/lib/pkgconfig:/opt/homebrew/opt/libxext/lib/pkgconfig:/opt/homebrew/opt/libxrender/lib/pkgconfig:/opt/homebrew/opt/lzo/lib/pkgconfig:/opt/homebrew/opt/pixman/lib/pkgconfig:/opt/homebrew/opt/cairo/lib/pkgconfig:/opt/homebrew/opt/dav1d/lib/pkgconfig:/opt/homebrew/opt/faad2/lib/pkgconfig:/opt/homebrew/opt/fdk-aac/lib/pkgconfig:/opt/homebrew/opt/aribb24/lib/pkgconfig:/opt/homebrew/opt/frei0r/lib/pkgconfig:/opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/libidn2/lib/pkgconfig:/opt/homebrew/opt/libtasn1/lib/pkgconfig:/opt/homebrew/opt/nettle/lib/pkgconfig:/opt/homebrew/opt/p11-kit/lib/pkgconfig:/opt/homebrew/opt/libevent/lib/pkgconfig:/opt/homebrew/opt/libnghttp2/lib/pkgconfig:/opt/homebrew/opt/unbound/lib/pkgconfig:/opt/homebrew/opt/gnutls/lib/pkgconfig:/opt/homebrew/opt/graphite2/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/harfbuzz/lib/pkgconfig:/opt/homebrew/opt/fribidi/lib/pkgconfig:/opt/homebrew/opt/libunibreak/lib/pkgconfig:/opt/homebrew/opt/libass/lib/pkgconfig:/opt/homebrew/opt/libbluray/lib/pkgconfig:/opt/homebrew/opt/cjson/lib/pkgconfig:/opt/homebrew/opt/libmicrohttpd/lib/pkgconfig:/opt/homebrew/opt/mbedtls/lib/pkgconfig:/opt/homebrew/opt/librist/lib/pkgconfig:/opt/homebrew/opt/libsoxr/lib/pkgconfig:/opt/homebrew/opt/libssh/lib/pkgconfig:/opt/homebrew/opt/libvidstab/lib/pkgconfig:/opt/homebrew/opt/libogg/lib/pkgconfig:/opt/homebrew/opt/libvorbis/lib/pkgconfig:/opt/homebrew/opt/libvpx/lib/pkgconfig:/opt/homebrew/opt/opencore-amr/lib/pkgconfig:/opt/homebrew/opt/openjpeg/lib/pkgconfig:/opt/homebrew/opt/opus/lib/pkgconfig:/opt/homebrew/opt/rav1e/lib/pkgconfig:/opt/homebrew/opt/libsamplerate/lib/pkgconfig:/opt/homebrew/opt/flac/lib/pkgconfig:/opt/homebrew/opt/mpg123/lib/pkgconfig:/opt/homebrew/opt/libsndfile/lib/pkgconfig:/opt/homebrew/opt/rubberband/lib/pkgconfig:/opt/homebrew/opt/sdl2/lib/pkgconfig:/opt/homebrew/opt/speex/lib/pkgconfig:/opt/homebrew/opt/srt/lib/pkgconfig:/opt/homebrew/opt/svt-av1/lib/pkgconfig:/opt/homebrew/opt/leptonica/lib/pkgconfig:/opt/homebrew/opt/libb2/lib/pkgconfig:/opt/homebrew/opt/libarchive/lib/pkgconfig:/opt/homebrew/opt/pango/lib/pkgconfig:/opt/homebrew/opt/tesseract/lib/pkgconfig:/opt/homebrew/opt/theora/lib/pkgconfig:/opt/homebrew/opt/x264/lib/pkgconfig:/opt/homebrew/opt/x265/lib/pkgconfig:/opt/homebrew/opt/libsodium/lib/pkgconfig:/opt/homebrew/opt/zeromq/lib/pkgconfig:/opt/homebrew/opt/zimg/lib/pkgconfig:/opt/homebrew/opt/ffmpeg/lib/pkgconfig:/opt/homebrew/opt/gdk-pixbuf/lib/pkgconfig:/opt/homebrew/opt/graphene/lib/pkgconfig:/opt/homebrew/opt/dbus/lib/pkgconfig:/opt/homebrew/opt/libxfixes/lib/pkgconfig:/opt/homebrew/opt/libxi/lib/pkgconfig:/opt/homebrew/opt/libxtst/lib/pkgconfig:/opt/homebrew/opt/at-spi2-core/lib/pkgconfig:/opt/homebrew/opt/libepoxy/lib/pkgconfig:/opt/homebrew/opt/gtk+3/lib/pkgconfig:/opt/homebrew/opt/gtk4/lib/pkgconfig:/opt/homebrew/opt/json-glib/lib/pkgconfig:/opt/homebrew/opt/libshout/lib/pkgconfig:/opt/homebrew/opt/libpsl/lib/pkgconfig:/opt/homebrew/opt/libsoup/lib/pkgconfig:/opt/homebrew/opt/libusrsctp/lib/pkgconfig:/opt/homebrew/opt/orc/lib/pkgconfig:/opt/homebrew/opt/pygobject3/lib/pkgconfig:/opt/homebrew/opt/rtmpdump/lib/pkgconfig:/opt/homebrew/opt/srtp/lib/pkgconfig:/opt/homebrew/opt/taglib/lib/pkgconfig:/opt/homebrew/opt/xorgproto/share/pkgconfig:/opt/homebrew/opt/gsettings-desktop-schemas/share/pkgconfig:/opt/homebrew/opt/hicolor-icon-theme/share/pkgconfig:/private/tmp/gstreamer-20240905-21640-rq97ka/gstreamer-1.24.7/build/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/15 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 /opt/homebrew/Library/Homebrew/shims/mac/super/pkg-config --libs --cflags gtk4-x11 gtk4-x11 >= 4.4

  The system library `gtk4-x11` required by crate `gdk4-x11-sys` was not found.
  The file `gtk4-x11.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  PKG_CONFIG_PATH contains the following:
      - /opt/homebrew/opt/gobject-introspection/lib/pkgconfig
      - /opt/homebrew/opt/brotli/lib/pkgconfig
      - /opt/homebrew/opt/highway/lib/pkgconfig
      - /opt/homebrew/opt/imath/lib/pkgconfig
      - /opt/homebrew/opt/jpeg-turbo/lib/pkgconfig
      - /opt/homebrew/opt/libpng/lib/pkgconfig
      - /opt/homebrew/opt/xz/lib/pkgconfig
      - /opt/homebrew/opt/lz4/lib/pkgconfig
      - /opt/homebrew/opt/zstd/lib/pkgconfig
      - /opt/homebrew/opt/libtiff/lib/pkgconfig
      - /opt/homebrew/opt/little-cms2/lib/pkgconfig
      - /opt/homebrew/opt/openexr/lib/pkgconfig
      - /opt/homebrew/opt/webp/lib/pkgconfig
      - /opt/homebrew/opt/jpeg-xl/lib/pkgconfig
      - /opt/homebrew/opt/libvmaf/lib/pkgconfig
      - /opt/homebrew/opt/aom/lib/pkgconfig
      - /opt/homebrew/opt/freetype/lib/pkgconfig
      - /opt/homebrew/opt/fontconfig/lib/pkgconfig
      - /opt/homebrew/opt/pcre2/lib/pkgconfig
      - /opt/homebrew/opt/mpdecimal/lib/pkgconfig
      - /opt/homebrew/opt/openssl@3/lib/pkgconfig
      - /opt/homebrew/opt/readline/lib/pkgconfig
      - /opt/homebrew/opt/sqlite/lib/pkgconfig
      - /opt/homebrew/opt/[email protected]/lib/pkgconfig
      - /opt/homebrew/opt/glib/lib/pkgconfig
      - /opt/homebrew/opt/libxau/lib/pkgconfig
      - /opt/homebrew/opt/libxdmcp/lib/pkgconfig
      - /opt/homebrew/opt/libxcb/lib/pkgconfig
      - /opt/homebrew/opt/libx11/lib/pkgconfig
      - /opt/homebrew/opt/libxext/lib/pkgconfig
      - /opt/homebrew/opt/libxrender/lib/pkgconfig
      - /opt/homebrew/opt/lzo/lib/pkgconfig
      - /opt/homebrew/opt/pixman/lib/pkgconfig
      - /opt/homebrew/opt/cairo/lib/pkgconfig
      - /opt/homebrew/opt/dav1d/lib/pkgconfig
      - /opt/homebrew/opt/faad2/lib/pkgconfig
      - /opt/homebrew/opt/fdk-aac/lib/pkgconfig
      - /opt/homebrew/opt/aribb24/lib/pkgconfig
      - /opt/homebrew/opt/frei0r/lib/pkgconfig
      - /opt/homebrew/opt/gmp/lib/pkgconfig
      - /opt/homebrew/opt/libidn2/lib/pkgconfig
      - /opt/homebrew/opt/libtasn1/lib/pkgconfig
      - /opt/homebrew/opt/nettle/lib/pkgconfig
      - /opt/homebrew/opt/p11-kit/lib/pkgconfig
      - /opt/homebrew/opt/libevent/lib/pkgconfig
      - /opt/homebrew/opt/libnghttp2/lib/pkgconfig
      - /opt/homebrew/opt/unbound/lib/pkgconfig
      - /opt/homebrew/opt/gnutls/lib/pkgconfig
      - /opt/homebrew/opt/graphite2/lib/pkgconfig
      - /opt/homebrew/opt/icu4c/lib/pkgconfig
      - /opt/homebrew/opt/harfbuzz/lib/pkgconfig
      - /opt/homebrew/opt/fribidi/lib/pkgconfig
      - /opt/homebrew/opt/libunibreak/lib/pkgconfig
      - /opt/homebrew/opt/libass/lib/pkgconfig
      - /opt/homebrew/opt/libbluray/lib/pkgconfig
      - /opt/homebrew/opt/cjson/lib/pkgconfig
      - /opt/homebrew/opt/libmicrohttpd/lib/pkgconfig
      - /opt/homebrew/opt/mbedtls/lib/pkgconfig
      - /opt/homebrew/opt/librist/lib/pkgconfig
      - /opt/homebrew/opt/libsoxr/lib/pkgconfig
      - /opt/homebrew/opt/libssh/lib/pkgconfig
      - /opt/homebrew/opt/libvidstab/lib/pkgconfig
      - /opt/homebrew/opt/libogg/lib/pkgconfig
      - /opt/homebrew/opt/libvorbis/lib/pkgconfig
      - /opt/homebrew/opt/libvpx/lib/pkgconfig
      - /opt/homebrew/opt/opencore-amr/lib/pkgconfig
      - /opt/homebrew/opt/openjpeg/lib/pkgconfig
      - /opt/homebrew/opt/opus/lib/pkgconfig
      - /opt/homebrew/opt/rav1e/lib/pkgconfig
      - /opt/homebrew/opt/libsamplerate/lib/pkgconfig
      - /opt/homebrew/opt/flac/lib/pkgconfig
      - /opt/homebrew/opt/mpg123/lib/pkgconfig
      - /opt/homebrew/opt/libsndfile/lib/pkgconfig
      - /opt/homebrew/opt/rubberband/lib/pkgconfig
      - /opt/homebrew/opt/sdl2/lib/pkgconfig
      - /opt/homebrew/opt/speex/lib/pkgconfig
      - /opt/homebrew/opt/srt/lib/pkgconfig
      - /opt/homebrew/opt/svt-av1/lib/pkgconfig
      - /opt/homebrew/opt/leptonica/lib/pkgconfig
      - /opt/homebrew/opt/libb2/lib/pkgconfig
      - /opt/homebrew/opt/libarchive/lib/pkgconfig
      - /opt/homebrew/opt/pango/lib/pkgconfig
      - /opt/homebrew/opt/tesseract/lib/pkgconfig
      - /opt/homebrew/opt/theora/lib/pkgconfig
      - /opt/homebrew/opt/x264/lib/pkgconfig
      - /opt/homebrew/opt/x265/lib/pkgconfig
      - /opt/homebrew/opt/libsodium/lib/pkgconfig
      - /opt/homebrew/opt/zeromq/lib/pkgconfig
      - /opt/homebrew/opt/zimg/lib/pkgconfig
      - /opt/homebrew/opt/ffmpeg/lib/pkgconfig
      - /opt/homebrew/opt/gdk-pixbuf/lib/pkgconfig
      - /opt/homebrew/opt/graphene/lib/pkgconfig
      - /opt/homebrew/opt/dbus/lib/pkgconfig
      - /opt/homebrew/opt/libxfixes/lib/pkgconfig
      - /opt/homebrew/opt/libxi/lib/pkgconfig
      - /opt/homebrew/opt/libxtst/lib/pkgconfig
      - /opt/homebrew/opt/at-spi2-core/lib/pkgconfig
      - /opt/homebrew/opt/libepoxy/lib/pkgconfig
      - /opt/homebrew/opt/gtk+3/lib/pkgconfig
      - /opt/homebrew/opt/gtk4/lib/pkgconfig
      - /opt/homebrew/opt/json-glib/lib/pkgconfig
      - /opt/homebrew/opt/libshout/lib/pkgconfig
      - /opt/homebrew/opt/libpsl/lib/pkgconfig
      - /opt/homebrew/opt/libsoup/lib/pkgconfig
      - /opt/homebrew/opt/libusrsctp/lib/pkgconfig
      - /opt/homebrew/opt/orc/lib/pkgconfig
      - /opt/homebrew/opt/pygobject3/lib/pkgconfig
      - /opt/homebrew/opt/rtmpdump/lib/pkgconfig
      - /opt/homebrew/opt/srtp/lib/pkgconfig
      - /opt/homebrew/opt/taglib/lib/pkgconfig
      - /opt/homebrew/opt/xorgproto/share/pkgconfig
      - /opt/homebrew/opt/gsettings-desktop-schemas/share/pkgconfig
      - /opt/homebrew/opt/hicolor-icon-theme/share/pkgconfig
      - /private/tmp/gstreamer-20240905-21640-rq97ka/gstreamer-1.24.7/build/meson-uninstalled

  HINT: you may need to install a package such as gtk4-x11, gtk4-x11-dev or gtk4-x11-devel.

warning: build failed, waiting for other jobs to finish...
Error: CliError { error: Some(1 job failed), exit_code: 101 }

fxcoudert avatar Sep 05 '24 13:09 fxcoudert

[email protected]

/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -std=c++17 -fno-omit-frame-pointer -ftls-model=initial-exec  -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-virtual -Wcast-qual -Wno-null-conversion -Wno-unused-private-field -Wconditional-uninitialized -Wdeprecated -Wno-deprecated-declarations -Wno-shorten-64-to-32 -Wextra-semi -Wheader-hygiene -Wnon-virtual-dtor -Wundefined-reinterpret-cast -Wrange-loop-analysis -Winconsistent-missing-destructor-override -Winconsistent-missing-override -Wshadow-field -ffunction-sections -fdata-sections -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/mysql_ssl_rsa_setup.dir/logger.cc.o CMakeFiles/mysql_ssl_rsa_setup.dir/mysql_ssl_rsa_setup.cc.o CMakeFiles/mysql_ssl_rsa_setup.dir/path.cc.o -o ../runtime_output_directory/mysql_ssl_rsa_setup  ../archive_output_directory/libmysys.a ../archive_output_directory/libstrings.a ../archive_output_directory/libmysys.a ../archive_output_directory/libstrings.a ../archive_output_directory/libmytime.a /opt/homebrew/opt/zlib/lib/libz.dylib /opt/homebrew/lib/libzstd.dylib /opt/homebrew/lib/libssl.dylib /opt/homebrew/lib/libcrypto.dylib
Undefined symbols for architecture arm64:
  "_EVP_CIPHER_block_size", referenced from:
      my_aes_get_size(unsigned int, my_aes_opmode) in libmysys.a[93](my_aes_openssl.cc.o)
  "_EVP_CIPHER_iv_length", referenced from:
      my_aes_encrypt(unsigned char const*, unsigned int, unsigned char*, unsigned char const*, unsigned int, my_aes_opmode, unsigned char const*, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>*) in libmysys.a[93](my_aes_openssl.cc.o)
      my_aes_decrypt(unsigned char const*, unsigned int, unsigned char*, unsigned char const*, unsigned int, my_aes_opmode, unsigned char const*, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>*) in libmysys.a[93](my_aes_openssl.cc.o)
      my_aes_needs_iv(my_aes_opmode) in libmysys.a[93](my_aes_openssl.cc.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [runtime_output_directory/mysql_ssl_rsa_setup] Error 1
make[1]: *** [client/CMakeFiles/mysql_ssl_rsa_setup.dir/all] Error 2
make: *** [all] Error 2

fxcoudert avatar Sep 05 '24 13:09 fxcoudert

mono

CSC     [build-macos] resgen.exe
CSC     [build-macos] culevel.exe
CSC     [build-macos] mono-helix-client.exe
CSC     [build-macos] sn.exe
CSC     [build-macos] resx2sr.exe
CSC     [build-macos] commoncryptogenerator.exe
CSC     [build-macos] monolinker.exe
CSC     [build-macos] gacutil.exe
CSC     [build-macos] upload-to-sentry.exe
CSC     [build-macos] mono-cil-strip.exe
CSC     [build-macos] mono-api-info.exe
CompileUplevel.cs(943,25): warning CS0618: 'CodeDomProvider.CreateGenerator()' is obsolete: 'Callers should not use the ICodeGenerator interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this warning or also obsolete this method.'
CSC     [build-macos] mono-api-diff.exe
CSC     [build-macos] mono-api-html.exe
Mono.Cecil/HashCodeProvider.cs(33,43): warning CS0618: 'IHashCodeProvider' is obsolete: 'Please use IEqualityComparer instead.'
Mono.Cecil.Metadata/BlobHeap.cs(57,36): warning CS0618: 'IHashCodeProvider' is obsolete: 'Please use IEqualityComparer instead.'
Mono.Cecil/ExternTypeCollection.cs(85,60): warning CS0618: 'NameObjectCollectionBase.NameObjectCollectionBase(IHashCodeProvider, IComparer)' is obsolete: 'Please use NameObjectCollectionBase(IEqualityComparer) instead.'
Mono.Cecil/TypeDefinitionCollection.cs(85,64): warning CS0618: 'NameObjectCollectionBase.NameObjectCollectionBase(IHashCodeProvider, IComparer)' is obsolete: 'Please use NameObjectCollectionBase(IEqualityComparer) instead.'
Mono.Cecil/TypeReferenceCollection.cs(85,63): warning CS0618: 'NameObjectCollectionBase.NameObjectCollectionBase(IHashCodeProvider, IComparer)' is obsolete: 'Please use NameObjectCollectionBase(IEqualityComparer) instead.'
Mono.Cecil.Cil/SymbolStoreHelper.cs(67,29): warning CS0618: 'Assembly.LoadWithPartialName(string)' is obsolete: 'This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202'
Mono.Cecil.Metadata/MetadataWriter.cs(134,18): warning CS0618: 'Hashtable.Hashtable(IHashCodeProvider, IComparer)' is obsolete: 'Please use Hashtable(IEqualityComparer) instead.'
Mono.Cecil.Binary/ExportTable.cs(37,17): warning CS0649: Field 'ExportTable.Name' is never assigned to, and will always have its default value null

=================================================================
	Native Crash Reporting
=================================================================
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x104c74438 - /private/tmp/mono-20240905-11841-m5awb9/mono/mini/mono-sgen : mono_dump_native_crash_info
	0x104c37b5c - /private/tmp/mono-20240905-11841-m5awb9/mono/mini/mono-sgen : mono_handle_native_crash
	0x104bc5fe0 - /private/tmp/mono-20240905-11841-m5awb9/mono/mini/mono-sgen : mono_sigsegv_signal_handler_debug
	0x19e414184 - /usr/lib/system/libsystem_platform.dylib : _sigtramp
	0x104c980e0 - /private/tmp/mono-20240905-11841-m5awb9/mono/mini/mono-sgen : mono_coop_mutex_lock
	0x104c3f860 - /private/tmp/mono-20240905-11841-m5awb9/mono/mini/mono-sgen : mono_class_fill_runtime_generic_context
	0x104c3b004 - /private/tmp/mono-20240905-11841-m5awb9/mono/mini/mono-sgen : mono_rgctx_lazy_fetch_trampoline
	0x1050008fc - Unknown

fxcoudert avatar Sep 05 '24 15:09 fxcoudert

brew install --cask --no-quarantine gcenx/wine/wineskin results in a bunch of operation not permitted errors:

...
cp: chflags: /usr/local/Caskroom/wineskin/2.0.2/Wineskin Winery.app/Contents/PkgInfo: Operation not permitted
cp: chflags: /usr/local/Caskroom/wineskin/2.0.2/Wineskin Winery.app/Contents: Operation not permitted
cp: chflags: /usr/local/Caskroom/wineskin/2.0.2/Wineskin Winery.app: Operation not permitted

Tried to disable SIP and chowning -R the whole prefix.

slendidev avatar Sep 06 '24 16:09 slendidev

@xslendix, gcenx/wine/wineskin is a cask. This repository is for formulae. Please report this to gcenx/wine tap.

carlocab avatar Sep 06 '24 16:09 carlocab

@xslendix, gcenx/wine/wineskin is a cask. This repository is for formulae. Please report this to gcenx/wine tap.

Well this should be related to macOS sequoia right? doesn't seem like something related to the cask itself. I get the same errors for brew install chromium as well.

slendidev avatar Sep 06 '24 16:09 slendidev

chromium is also a cask. This issue (and repository) is not for casks.

carlocab avatar Sep 06 '24 17:09 carlocab

Found simular issue when brew install formula

brew install nvtop
==> Downloading https://ghcr.io/v2/homebrew/core/nvtop/manifests/3.1.0
Already downloaded: /$HOME/Library/Caches/Homebrew/downloads/a99001c0e27942fdd62dcbcb491f6f6f963dcba6b1b05fa3202d69ebda7e2af4--nvtop-3.1.0.bottle_manifest.json
==> Fetching nvtop
==> Downloading https://ghcr.io/v2/homebrew/core/nvtop/blobs/sha256:d6e99a21cc27e369de559bc2e3d77c580da551f93391b88d84f5ac97295cedd7
Already downloaded: /$HOME/Library/Caches/Homebrew/downloads/ecd90f4c8aeab5ae6d7208a272f560a66b4bc58f527e4fad1e956662b5786d33--nvtop--3.1.0.sonoma.bottle.tar.gz
==> Verifying attestation for nvtop
==> Pouring nvtop--3.1.0.sonoma.bottle.tar.gz
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/bin/nvtop: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/bin: Operation notpermitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/.brew/nvtop.rb: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/.brew: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/sbom.spdx.json: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/README.markdown: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/COPYING: Operationnot permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/man/man1/nvtop.1: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/man/man1: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/man: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/icons/nvtop.svg: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/icons: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/applications/nvtop.desktop: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/applications: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/metainfo/nvtop.metainfo.xml: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/metainfo: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop: Operation not permitted
Error: Failure while executing; `/usr/bin/env cp -pR /private/tmp/homebrew-unpack20241014-1196-eglcsw/nvtop /usr/local/Cellar` exited with 1. Here's the output:
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/bin/nvtop: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/bin: Operation notpermitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/.brew/nvtop.rb: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/.brew: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/sbom.spdx.json: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/README.markdown: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/COPYING: Operationnot permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/man/man1/nvtop.1: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/man/man1: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/man: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/icons/nvtop.svg: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/icons: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/applications/nvtop.desktop: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/applications: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/metainfo/nvtop.metainfo.xml: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share/metainfo: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0/share: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop/3.1.0: Operation not permitted
cp: chflags: /usr/local/Cellar/nvtop: Operation not permitted
csrutil status
System Integrity Protection status: disabled.

NextAlone avatar Oct 14 '24 01:10 NextAlone