Open vanvught opened 2 years ago
Do you know when it last worked @vanvught ? What have you changed since?
Can we have the output of the following:
which olad
ldd olad
olad --help
olad -h
stract olad -l 3
Do any of the other OLA commands work?
Does olad run up with no options?
Hi Peter,
I can only think that it could have happened after a brew upgrade
.
All commands are broken. olad
runs fine without arguments.
Thanks, Arjan
[@MacBook-Air ~]$ which olad
/usr/local/bin/olad
[@MacBook-Air ~]$ ldd olad
zsh: command not found: ldd
[@MacBook-Air ~]$ olad --help
olad: unrecognized option `--help'
[@MacBook-Air ~]$ olad -h
olad: invalid option -- h
[arjanvanvught@MacBook-Air ~]$ stract olad -l 3
zsh: command not found: stract
[@MacBook-Air ~]$ otool -L /usr/local/bin/olad
/usr/local/bin/olad:
/usr/local/Cellar/ola/0.10.8_6/lib/libolaserver.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaartnet.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaartnetconf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/liboladummy.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolae131.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolae131conf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaespnet.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolagpio.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolagpiocore.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolakarate.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolakinet.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolamilinst.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaopendmx.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaopenpixelcontrol.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaosc.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/opt/liblo/lib/liblo.7.dylib (compatibility version 12.0.0, current version 12.1.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolapathport.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolarenard.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolasandnet.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolashownet.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolastageprofi.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolausbdmx.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/opt/libusb/lib/libusb-1.0.0.dylib (compatibility version 4.0.0, current version 4.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolausbpro.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolausbproconf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolaserverplugininterface.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libola.1.dylib (compatibility version 2.0.0, current version 2.1.0)
/usr/local/opt/libmicrohttpd/lib/libmicrohttpd.12.dylib (compatibility version 73.0.0, current version 73.0.0)
/usr/local/Cellar/ola/0.10.8_6/lib/libolacommon.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/opt/protobuf/lib/libprotobuf.32.dylib (compatibility version 33.0.0, current version 33.9.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.23.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3)
[@MacBook-Air ~]$ nm /usr/local/bin/olad
000000010000ba64 s GCC_except_table15
000000010000ba7c s GCC_except_table24
000000010000bac0 s GCC_except_table25
000000010000bad4 s GCC_except_table44
000000010000b9ec s GCC_except_table5
000000010000b353 t __GLOBAL__sub_I_Olad.cpp
U __Unwind_Resume
000000010000a5a3 T __Z17StartSignalThreadPN3ola2io12SelectServerEPNS_6thread12SignalThreadE
U __ZN3ola10ParseFlagsEPiPPc
U __ZN3ola10ServerInitEiPPcPNS_9ExportMapE
U __ZN3ola11GetRegistryEv
U __ZN3ola11StringToIntERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPtb
U __ZN3ola12FlagRegistry12RegisterFlagEPNS_13FlagInterfaceE
U __ZN3ola12SupportsUIDsEv
U __ZN3ola13SetHelpStringERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_
U __ZN3ola13logging_levelE
U __ZN3ola16EXIT_UNAVAILABLEE
U __ZN3ola17IncrementLogLevelEv
000000010000b2b8 t __ZN3ola17MethodCallback0_0INS_2io12SelectServerENS_9Callback0IvEEvE5DoRunEv
000000010000b2ae t __ZN3ola17MethodCallback0_0INS_2io12SelectServerENS_9Callback0IvEEvED0Ev
000000010000b2a8 t __ZN3ola17MethodCallback0_0INS_2io12SelectServerENS_9Callback0IvEEvED1Ev
000000010000b330 t __ZN3ola17MethodCallback0_0INS_9OlaServerENS_9Callback0IvEEvE5DoRunEv
000000010000b326 t __ZN3ola17MethodCallback0_0INS_9OlaServerENS_9Callback0IvEEvED0Ev
000000010000b320 t __ZN3ola17MethodCallback0_0INS_9OlaServerENS_9Callback0IvEEvED1Ev
000000010000b2ec t __ZN3ola18SingleUseCallback0IvE3RunEv
000000010000b2a0 t __ZN3ola19FunctionCallback0_0INS_9Callback0IvEEvE5DoRunEv
000000010000b28a t __ZN3ola19FunctionCallback0_0INS_9Callback0IvEEvED0Ev
000000010000b284 t __ZN3ola19FunctionCallback0_0INS_9Callback0IvEEvED1Ev
000000010000b30a t __ZN3ola19FunctionCallback2_0INS_18SingleUseCallback0IvEEvPNS_2io12SelectServerEPNS_6thread12SignalThreadEE5DoRunEv
000000010000b2e2 t __ZN3ola19FunctionCallback2_0INS_18SingleUseCallback0IvEEvPNS_2io12SelectServerEPNS_6thread12SignalThreadEED0Ev
000000010000b2dc t __ZN3ola19FunctionCallback2_0INS_18SingleUseCallback0IvEEvPNS_2io12SelectServerEPNS_6thread12SignalThreadEED1Ev
U __ZN3ola20InitLoggingFromFlagsEv
U __ZN3ola20StringToBoolTolerantERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPb
U __ZN3ola2io12SelectServer9TerminateEv
000000010000af08 t __ZN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE8SetValueERKS7_
000000010000ae26 t __ZN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2EPKcSA_SA_S7_SA_b
000000010000aecc t __ZN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED0Ev
000000010000a576 t __ZN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED1Ev
000000010000af1e t __ZN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED2Ev
000000010000adf8 t __ZN3ola4FlagIbE8SetValueERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
U __ZN3ola4FlagIbE9NO_PREFIXE
000000010000aca0 t __ZN3ola4FlagIbEC2EPKcS3_S3_bS3_b
000000010000ad76 t __ZN3ola4FlagIbED0Ev
000000010000a4d0 t __ZN3ola4FlagIbED1Ev
000000010000b266 t __ZN3ola4FlagItE8SetValueERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE
000000010000b220 t __ZN3ola4FlagItED0Ev
000000010000a580 t __ZN3ola4FlagItED1Ev
U __ZN3ola4base7Version10GetVersionEv
U __ZN3ola6thread12SignalThread20InstallSignalHandlerEiPNS_9Callback0IvEE
U __ZN3ola6thread12SignalThreadC1Ev
U __ZN3ola6thread12SignalThreadD1Ev
U __ZN3ola7EXIT_OKE
U __ZN3ola7GetEUIDEPj
U __ZN3ola7LogLineC1EPKciNS_9log_levelE
U __ZN3ola7LogLineD1Ev
U __ZN3ola8BaseFlag16NewCanonicalNameEPKc
U __ZN3ola8BaseFlag27ReplaceUnderscoreWithHyphenEPc
000000010000b294 t __ZN3ola9Callback0IvE3RunEv
U __ZN3ola9DaemoniseEv
U __ZN3ola9ExportMapD1Ev
U __ZN3ola9OlaDaemon3RunEv
U __ZN3ola9OlaDaemon4InitEv
U __ZN3ola9OlaDaemonC1ERKNS_9OlaServer7OptionsEPNS_9ExportMapE
U __ZN3ola9OlaDaemonD1Ev
U __ZN3ola9OlaServer13ReloadPluginsEv
0000000100010190 S __ZN9ola_flags10FLAGS_httpE
0000000100010210 S __ZN9ola_flags12FLAGS_daemonE
0000000100010249 S __ZN9ola_flags12flag_short_dE
0000000100010209 S __ZN9ola_flags12flag_short_fE
00000001000102b1 S __ZN9ola_flags12flag_short_iE
0000000100010381 S __ZN9ola_flags12flag_short_pE
0000000100010388 S __ZN9ola_flags15FLAGS_http_portE
00000001000101d0 S __ZN9ola_flags15FLAGS_http_quitE
00000001000102b8 S __ZN9ola_flags15FLAGS_interfaceE
0000000100010320 S __ZN9ola_flags18FLAGS_pid_locationE
0000000100010250 S __ZN9ola_flags19FLAGS_http_data_dirE
00000001000101c8 S __ZN9ola_flags20flag_registerer_httpE
0000000100010248 S __ZN9ola_flags22flag_registerer_daemonE
00000001000103c0 S __ZN9ola_flags25flag_registerer_http_portE
0000000100010208 S __ZN9ola_flags25flag_registerer_http_quitE
0000000100010318 S __ZN9ola_flags25flag_registerer_interfaceE
0000000100010380 S __ZN9ola_flags28flag_registerer_pid_locationE
00000001000102b0 S __ZN9ola_flags29flag_registerer_http_data_dirE
000000010000aee8 t __ZNK3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE4nameEv
000000010000aef2 t __ZNK3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE7has_argEv
000000010000aefa t __ZNK3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE8arg_typeEv
000000010000adaa t __ZNK3ola4FlagIbE4nameEv
000000010000adbe t __ZNK3ola4FlagIbE7has_argEv
000000010000b254 t __ZNK3ola4FlagItE4nameEv
000000010000b25e t __ZNK3ola4FlagItE7has_argEv
000000010000add2 t __ZNK3ola8BaseFlag4helpEv
000000010000adee t __ZNK3ola8BaseFlag7presentEv
000000010000adc8 t __ZNK3ola8BaseFlag8arg_typeEv
000000010000adb4 t __ZNK3ola8BaseFlag9short_optEv
000000010000af7c t __ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE20__throw_length_errorEv
U __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv
U __ZNKSt3__16locale9use_facetERNS0_2idE
U __ZNKSt3__18ios_base6getlocEv
U __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_
000000010000a4f4 t __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1IDnEEPKc
U __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_
U __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_
U __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev
000000010000b0d5 t __ZNSt3__116__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_
000000010000af85 t __ZNSt3__124__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m
U __ZNSt3__15ctypeIcE2idE
U __ZNSt3__16localeD1Ev
U __ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv
U __ZNSt3__18ios_base5clearEj
U __ZSt9terminatev
000000010000c240 S __ZTIN3ola13BaseCallback0IvEE
000000010000c0f0 S __ZTIN3ola13FlagInterfaceE
000000010000c2b0 S __ZTIN3ola17MethodCallback0_0INS_2io12SelectServerENS_9Callback0IvEEvEE
000000010000c358 S __ZTIN3ola17MethodCallback0_0INS_9OlaServerENS_9Callback0IvEEvEE
000000010000c2f8 S __ZTIN3ola18SingleUseCallback0IvEE
000000010000c268 S __ZTIN3ola19FunctionCallback0_0INS_9Callback0IvEEvEE
000000010000c310 S __ZTIN3ola19FunctionCallback2_0INS_18SingleUseCallback0IvEEvPNS_2io12SelectServerEPNS_6thread12SignalThreadEEE
000000010000c188 S __ZTIN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE
000000010000c118 S __ZTIN3ola4FlagIbEE
000000010000c1f8 S __ZTIN3ola4FlagItEE
000000010000c100 S __ZTIN3ola8BaseFlagE
000000010000c250 S __ZTIN3ola9Callback0IvEE
000000010000bdf4 S __ZTSN3ola13BaseCallback0IvEE
000000010000bd3d S __ZTSN3ola13FlagInterfaceE
000000010000be0d S __ZTSN3ola17MethodCallback0_0INS_2io12SelectServerENS_9Callback0IvEEvEE
000000010000bed8 S __ZTSN3ola17MethodCallback0_0INS_9OlaServerENS_9Callback0IvEEvEE
000000010000beba S __ZTSN3ola18SingleUseCallback0IvEE
000000010000bdb0 S __ZTSN3ola19FunctionCallback0_0INS_9Callback0IvEEvEE
000000010000be50 S __ZTSN3ola19FunctionCallback2_0INS_18SingleUseCallback0IvEEvPNS_2io12SelectServerEPNS_6thread12SignalThreadEEE
000000010000bd53 S __ZTSN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE
000000010000bd1e S __ZTSN3ola4FlagIbEE
000000010000bda1 S __ZTSN3ola4FlagItEE
000000010000bd2d S __ZTSN3ola8BaseFlagE
000000010000bde0 S __ZTSN3ola9Callback0IvEE
U __ZTVN10__cxxabiv117__class_type_infoE
U __ZTVN10__cxxabiv120__si_class_type_infoE
000000010000c280 s __ZTVN3ola17MethodCallback0_0INS_2io12SelectServerENS_9Callback0IvEEvEE
000000010000c328 s __ZTVN3ola17MethodCallback0_0INS_9OlaServerENS_9Callback0IvEEvEE
000000010000c210 s __ZTVN3ola19FunctionCallback0_0INS_9Callback0IvEEvEE
000000010000c2c8 s __ZTVN3ola19FunctionCallback2_0INS_18SingleUseCallback0IvEEvPNS_2io12SelectServerEPNS_6thread12SignalThreadEEE
000000010000c130 s __ZTVN3ola4FlagINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEE
000000010000c098 s __ZTVN3ola4FlagIbEE
000000010000c1a0 s __ZTVN3ola4FlagItEE
U __ZdaPv
U __ZdlPv
U __Znam
U __Znwm
U ____chkstk_darwin
000000010000af70 t ___clang_call_terminate
U ___cxa_atexit
U ___cxa_begin_catch
U ___cxa_end_catch
U ___gxx_personality_v0
U ___stack_chk_fail
U ___stack_chk_guard
0000000100010188 d __dyld_private
0000000100000000 T __mh_execute_header
000000010000a5ce T _main
U _memcpy
U _memset
U _strlen
U dyld_stub_binder
I can only think that it could have happened after a
brew upgrade
.
Okay, that's still good to know.
All commands are broken.
I assume you mean all OLA related commands? Presumably other CLI tools work?
Can you just check ola_plugin_info for example, which uses getopt_long directly.
olad
runs fine without arguments.[arjanvanvught@MacBook-Air ~]$ stract olad -l 3 zsh: command not found: stract
Ooops, I meant strace.
Can you also try make check
if you can run that from Homebrew, or otherwise try compiling outside of Homebrew (but you can use their dependencies).
Hi Peter,
I assume you mean all OLA related commands? Presumably other CLI tools work?
Yes, the OLA related commands are broken. Except for ola_plugin_info
:
[@MacBook-Air ~]$ ola_plugin_info -h
Usage: ola_plugin_info [--plugin-id <plugin-id>]
Get info on the plugins loaded by olad. Called without arguments this will
display the plugins loaded by olad. When used with --plugin-id this will
display the specified plugin's description.
-h, --help Display this help message and exit.
-p, --plugin-id <plugin_id> Id of the plugin to fetch the description of
--list-plugin-ids List plugin Ids only.
[@MacBook-Air ~]$ ola_plugin_info -p 11
E1.31 (Streaming DMX over ACN) Plugin
----------------------------
This plugin creates a single device with a configurable number of input
and output ports.
Each port can be assigned to a different E1.31 Universe.
--- Config file : ola-e131.conf ---
cid = 00010203-0405-0607-0809-0A0B0C0D0E0F
The CID to use for this device.
dscp = [int]
The DSCP value to tag the packets with, range is 0 to 63.
draft_discovery = [bool]
Enable the draft (2014) E1.31 discovery protocol.
ignore_preview = [true|false]
Ignore preview data.
input_ports = [int]
The number of input ports to create up to a max of 32.
ip = [a.b.c.d|<interface_name>]
The ip address or interface name to bind to. If not specified it will
use the first non-loopback interface.
output_ports = [int]
The number of output ports to create up to a max of 32.
prepend_hostname = [true|false]
Prepend the hostname to the source name when sending packets.
revision = [0.2|0.46]
Select which revision of the standard to use when sending data. 0.2 is the
standardized revision, 0.46 (default) is the ANSI standard version.
strace is not available.
[@MacBook-Air ~]$ strace
zsh: command not found: strace
Can you also try make check if you can run that from Homebrew, or otherwise try compiling outside of Homebrew (but you can use their dependencies).
With brew install
there are binaries only. Or do I miss something here?
Thanks. Arjan
Hi Peter,
I assume you mean all OLA related commands? Presumably other CLI tools work?
Yes, the OLA related commands are broken. Except for
ola_plugin_info
:
Is it really just that one, could you try a few others?
strace is not available.
Can you install strace via homebrew?
Can you also try make check if you can run that from Homebrew, or otherwise try compiling outside of Homebrew (but you can use their dependencies).
With
brew install
there are binaries only. Or do I miss something here?
Hmm, can you just try compiling OLA standalone then?
Hi Peter,
Just did a fresh installation on a new MacBook Pro M1, and there is the same issue.
@MacBook-Pro ~ % sw_vers
ProductName: macOS
ProductVersion: 13.0.1
BuildVersion: 22A400
@MacBook-Pro ~ % olad -l 3
olad: invalid option -- l
Running fine without options:
@MacBook-Pro ~ % olad
common/io/IOUtils.cpp:39: open(/dev/dmx0): No such file or directory
plugins/opendmx/OpenDmxPlugin.cpp:80: Could not open /dev/dmx0 No such file or directory
common/io/IOUtils.cpp:39: open(/dev/kldmx0): No such file or directory
plugins/karate/KaratePlugin.cpp:79: Could not open /dev/kldmx0 No such file or directory
@peternewman
Hi Peter,
Just did a fresh installation on a new MacBook Pro M1, and there is the same issue.
That's very unfortunate! Thanks for confirming though.
Was this just via Homebrew again?
Could you try building it direct from Git please (you can still install the dependencies via Homebrew or Macports), then you can run make check
which is likely to really help any troubleshooting!
https://www.openlighting.org/ola/mac-install/
It seems our formula, and Homebrew in general, doesn't normally let you run make check...
Well our flags test doesn't fail on the GitHub Action Runner on Mac: https://github.com/OpenLightingProject/ola/actions/runs/3643874927/jobs/6152519024#step:4:50441
Although it doesn't currently try and run any of your example failures...
What exit code does your olad --help
give?
Mine is zero on the Mac as tested via: https://github.com/OpenLightingProject/ola/actions/runs/3651600098/jobs/6169000247#step:5:50526
What exit code does your olad --help give?
64
[@MacBook-Air ~]$ olad --help
olad: unrecognized option `--help'
[@MacBook-Air ~]$ echo $?
64
[@MacBook-Air ~]$ ola_plugin_info -h
Usage: ola_plugin_info [--plugin-id <plugin-id>]
Get info on the plugins loaded by olad. Called without arguments this will
display the plugins loaded by olad. When used with --plugin-id this will
display the specified plugin's description.
-h, --help Display this help message and exit.
-p, --plugin-id <plugin_id> Id of the plugin to fetch the description of
--list-plugin-ids List plugin Ids only.
[@MacBook-Air ~]$ echo $?
0
Yeah confirmed I'm really seeing the help here: https://github.com/OpenLightingProject/ola/actions/runs/3659513411/jobs/6185596552#step:5:50662
So I guess it's something Arm related...
I'm going to need the output of make check to do much more...
So I guess it's something Arm related...
The Air is Intel, the Pro is ARM. The same issue for both platforms. Just do a clean install with brew
.
So I guess it's something Arm related...
The Air is Intel, the Pro is ARM. The same issue for both platforms.
Ah apologies.
Just do a clean install with
brew
.
Okay I can confirm that shows the fault having added it to our brew tests for future releases: https://github.com/Homebrew/homebrew-core/actions/runs/3660273000/jobs/6187291499#step:6:43
I don't have a Mac, so I'm very limited to the testing I can do unfortunately.
I can't see anything obvious in our changes for the 0.10 branch against the release brew will be using: https://github.com/OpenLightingProject/ola/compare/0.10.8...0.10
But the behaviour we're seeing everywhere else means its either a bug in homebrew, or something we've already fixed in OLA without realising.
Please can you at least build either ola 0.10 from source, or I think if you do brew install ola --HEAD
that should build our master branch (hopefully) and I suspect will be absolutely fine too.
I checked on my M1 air with updated brew 3.6.14.
Already had ola 0.10.8_3 installed and olad --help worked fine
Trying to brew install ola --HEAD gave an error: ==> Installing ola --HEAD ==> Patching ==> Applying protobuf3.diff patching file configure.ac 1 out of 1 hunks failed--saving rejects to configure.ac.rej
I didn't have time to look into the failure any further.
Bruce
On Fri, Dec 9, 2022 at 3:24 PM Peter Newman @.***> wrote:
So I guess it's something Arm related...
The Air is Intel, the Pro is ARM. The same issue for both platforms.
Ah apologies.
Just do a clean install with brew.
Okay I can confirm that shows the fault having added it to our brew tests for future releases:
https://github.com/Homebrew/homebrew-core/actions/runs/3660273000/jobs/6187291499#step:6:43
I don't have a Mac, so I'm very limited to the testing I can do unfortunately.
I can't see anything obvious in our changes for the 0.10 branch against the release brew will be using: 0.10.8...0.10 https://github.com/OpenLightingProject/ola/compare/0.10.8...0.10
But the behaviour we're seeing everywhere else means its either a bug in homebrew, or something we've already fixed in OLA without realising.
Please can you at least build either ola 0.10 from source, or I think if you do brew install ola --HEAD that should build our master branch (hopefully) and I suspect will be absolutely fine too.
— Reply to this email directly, view it on GitHub https://github.com/OpenLightingProject/ola/issues/1799#issuecomment-1344746948, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNHN5IEBEV5QZ2RTLJZMFDWMOIO3ANCNFSM6AAAAAASJFQZ3A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
The M1, fresh install
[@MacBook-Pro ~]$ brew --version
Homebrew 3.6.14
Homebrew/homebrew-core (git revision ed85a49fde0; last commit 2022-12-11)
Homebrew/homebrew-cask (git revision 0533e90b31; last commit 2022-12-11)
[@MacBook-Pro ~]$ olad --help
olad: unrecognized option `--help'
I have OLA 10.8.6 installed.
[@MacBook-Pro ~]$ brew info ola
==> ola: stable 0.10.8 (bottled), HEAD
Open Lighting Architecture for lighting control information
https://www.openlighting.org/ola/
/opt/homebrew/Cellar/ola/0.10.8_6 (462 files, 18.8MB) *
Poured from bottle on 2022-12-05 at 15:40:58
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/ola.rb
License: GPL-2.0-or-later and LGPL-2.1-or-later
==> Dependencies
Build: autoconf ✘, automake ✘, libtool ✔, pkg-config ✔
Required: liblo ✔, libmicrohttpd ✔, libusb ✔, numpy ✔, protobuf ✔, python@3.11 ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 57 (30 days), 166 (90 days), 725 (365 days)
install-on-request: 57 (30 days), 166 (90 days), 724 (365 days)
build-error: 11 (30 days)
============================================================================ 582:bosberg:~/src/ola$./olad/olad --help Usage: /Users/lowekamp/src/ola/olad/.libs/olad [options]
Start the OLA Daemon. ...
On Sun, Dec 11, 2022 at 1:13 PM Arjan @.***> wrote:
The M1, fresh install
@.*** ~]$ brew --version
Homebrew 3.6.14
Homebrew/homebrew-core (git revision ed85a49fde0; last commit 2022-12-11)
Homebrew/homebrew-cask (git revision 0533e90b31; last commit 2022-12-11)
@.*** ~]$ olad --help
olad: unrecognized option `--help'
I have OLA 10.8.6 installed.
@.*** ~]$ brew info ola
==> ola: stable 0.10.8 (bottled), HEAD
Open Lighting Architecture for lighting control information https://www.openlighting.org/ola/
/opt/homebrew/Cellar/ola/0.10.8_6 (462 files, 18.8MB) *
Poured from bottle on 2022-12-05 at 15:40:58
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/ola.rb
License: GPL-2.0-or-later and LGPL-2.1-or-later
==> Dependencies
Build: autoconf ✘, automake ✘, libtool ✔, pkg-config ✔
Required: liblo ✔, libmicrohttpd ✔, libusb ✔, numpy ✔, protobuf ✔, @.*** ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 57 (30 days), 166 (90 days), 725 (365 days)
install-on-request: 57 (30 days), 166 (90 days), 724 (365 days)
build-error: 11 (30 days)
— Reply to this email directly, view it on GitHub https://github.com/OpenLightingProject/ola/issues/1799#issuecomment-1345621356, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNHN5JWJJBRGNSK2ZOSPFDWMYKUNANCNFSM6AAAAAASJFQZ3A . You are receiving this because you commented.Message ID: @.***>
I checked on my M1 air with updated brew 3.6.14.
Already had ola 0.10.8_3 installed and olad --help worked fine
Thanks @brucelowekamp that's very useful to know, so it's either the changes made to the OLA brew since revision 3, or changes to the packages used as part of the build since then.
Trying to brew install ola --HEAD gave an error: ==> Installing ola --HEAD ==> Patching ==> Applying protobuf3.diff patching file configure.ac 1 out of 1 hunks failed--saving rejects to configure.ac.rej
Ah yeah that would make sense, the fix in that patch has been rolled into 0.10 branch onwards so won't apply cleanly anymore.
I didn't have time to look into the failure any further.
No worries, thanks for your time on it so far.
I'd be reassured to know that a clean build of 0.10 branch on a Mac works as expected, even more so (although slightly confused) if a clean build of 0.10.8 tag on a Mac failed (I guess ideally with that patch applied).
FWIW I have replicated a number of test failures on Mac on 0.10.8 with the Homebrew bots in https://github.com/Homebrew/homebrew-core/pull/117765 but building 0.10 branch on GitHub actions having installed the dependencies via Homebrew works fine:
@peternewman FYI, I have the same issue when installing from Homebrew, but building it locally on a M2 Mac works just fine.
olad/Olad.cpp:98: OLA Daemon version 0.10.9
The
olad
command does not accept any arguments:Showing the
olad
version: