-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Description
Recently our CI builds at https://github.com/KomodoPlatform/atomicDEX-Desktop/actions have been failing to build libwally.
I suspect it may have something to do with a recent libtools update https://savannah.gnu.org/forum/forum.php?forum_id=10139
related mac errors in log:
2022-03-21T15:15:44.8170920Z *** Warning: Linking the shared library libwallycore.la against the
2022-03-21T15:15:44.8262000Z *** static library secp256k1/.libs/libsecp256k1.a is not portable!
2022-03-21T15:15:44.8762380Z copying selected object files to avoid basename conflicts...
2022-03-21T15:15:44.9182980Z /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: libwallycore_la-elements.o has no symbols
2022-03-21T15:15:44.9184050Z /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: libwallycore_la-blech32.o has no symbols
2022-03-21T15:15:44.9576510Z /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libwallycore.a(libwallycore_la-elements.o) has no symbols
2022-03-21T15:15:44.9577510Z /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libwallycore.a(libwallycore_la-blech32.o) has no symbols
2022-03-22T10:49:20.9051540Z ./libtool: line 151: -o: command not found
2022-03-22T10:49:29.0185510Z CCLD libsecp256k1.la
2022-03-22T10:49:29.0256440Z ./libtool: line 151: -o: command not found
2022-03-22T10:49:30.3257350Z error: /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: no output file specified (specify with -o output)
2022-03-22T10:49:30.3258410Z Usage: /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
2022-03-22T10:49:30.3259840Z Usage: /Applications/Xcode_13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
2022-03-22T10:49:30.3281370Z make[2]: *** [libsecp256k1.la] Error 1
2022-03-22T10:49:30.3292420Z make[1]: *** [install-recursive] Error 1
2022-03-22T10:49:30.3301950Z make: *** [install-recursive] Error 1
Related Linux errors in log:
2022-03-22T15:40:02.5243502Z === configuring in src/secp256k1 (/home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/cmake-3.19.0-rc3-Linux-x86_64/libwally-core/src/secp256k1)
2022-03-22T15:40:02.5293435Z configure: WARNING: no configuration information is in src/secp256k1
2022-03-22T15:40:02.5804049Z Making install in src
2022-03-22T15:40:02.5865562Z make[1]: Entering directory '/home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/cmake-3.19.0-rc3-Linux-x86_64/libwally-core/src'
2022-03-22T15:40:02.5918363Z Making install in secp256k1
2022-03-22T15:40:02.5941948Z make[2]: *** No rule to make target 'install'. Stop.
2022-03-22T15:40:02.5942747Z make[2]: Entering directory '/home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/cmake-3.19.0-rc3-Linux-x86_64/libwally-core/src/secp256k1'
2022-03-22T15:40:02.5945184Z make[2]: Leaving directory '/home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/cmake-3.19.0-rc3-Linux-x86_64/libwally-core/src/secp256k1'
2022-03-22T15:40:02.5950953Z Makefile:1666: recipe for target 'install-recursive' failed
2022-03-22T15:40:02.5952592Z make[1]: Leaving directory '/home/runner/work/atomicDEX-Desktop/atomicDEX-Desktop/cmake-3.19.0-rc3-Linux-x86_64/libwally-core/src'
2022-03-22T15:40:02.5953409Z make[1]: *** [install-recursive] Error 1
2022-03-22T15:40:02.5977357Z make: *** [install-recursive] Error 1
2022-03-22T15:40:02.5978115Z Makefile:434: recipe for target 'install-recursive' failed
I've attempted a few things to resolve this without success in our CI_libwally_test
branch. For example:
- pinning older version of libtools
- using
macos-10.15
instead ofmac latest
in https://github.com/KomodoPlatform/atomicDEX-Desktop/blob/CI_libwally_test/.github/workflows/atomicdex-desktop-ci.yml
Our windows builds are ok, because we used a cached prebuild.
Any hints you might have or insights regarding what might be missing / misconfigured in our workflow file or https://github.com/actions/virtual-environments would be appreciated
Metadata
Metadata
Assignees
Labels
No labels