* bug#52551: Supercollider and ableton-link build failure
@ 2021-12-16 13:27 Aleksandr Vityazev
2021-12-16 16:33 ` Maxime Devos
2021-12-16 16:37 ` Maxime Devos
0 siblings, 2 replies; 5+ messages in thread
From: Aleksandr Vityazev @ 2021-12-16 13:27 UTC (permalink / raw)
To: 52551
[-- Attachment #1: Type: text/plain, Size: 710 bytes --]
Hello,
tried to build a supercollider, but I had to build ableton-link to do
it. The build of the current version "3.0.2" crashes with an error:
--8<---------------cut here---------------start------------->8---
make[2]: Leaving directory '/tmp/guix-build-ableton-link-3.0.2.drv-0/build'
[ 55%] Built target LinkDiscoveryTest
make[1]: Leaving directory '/tmp/guix-build-ableton-link-3.0.2.drv-0/build'
make: *** [Makefile:94: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f>
--8<---------------cut here---------------end--------------->8---
And I fixed it with the following patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ableton-link --]
[-- Type: text/x-patch, Size: 4175 bytes --]
From d1dfc47ed0500315272a514448a295b74c05885f Mon Sep 17 00:00:00 2001
Message-Id: <d1dfc47ed0500315272a514448a295b74c05885f.1639659222.git.avityazev@posteo.org>
From: Aleksandr Vityazev <avityazev@posteo.org>
Date: Thu, 16 Dec 2021 14:19:12 +0300
Subject: [PATCH] gnu: ableton-link: Update to 3.0.3
* gnu/packages/audio.scm (ableton-link): Update to 3.0.3.
[arguments]: Remove trailing #T from phases; use the correct
path for the source directory.
---
gnu/packages/audio.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 2181b8e907..7d3e940835 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -5200,7 +5200,7 @@ (define-public mbelib
(define-public ableton-link
(package
(name "ableton-link")
- (version "3.0.2")
+ (version "3.0.3")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -5209,7 +5209,7 @@ (define-public ableton-link
(file-name (git-file-name name version))
(sha256
(base32
- "0262vm0v7hmqjhqx5xikh529p3c065p1yld6ymaiz74yq1dnnjir"))
+ "1wplqj11ww64gmw2kzlxpvfs3v04m2036f7k5ndm34zcv12b91fa"))
(modules '((guix build utils)))
(patches
(search-patches "ableton-link-system-libraries-debian.patch"))
@@ -5247,16 +5247,12 @@ (define-public ableton-link
(replace 'check
(lambda* (#:key inputs #:allow-other-keys)
(let* ((python (search-input-file inputs "/bin/python3"))
- (run-tests (string-append "../ableton-link-"
- ,version
- "-checkout/ci/run-tests.py")))
+ (run-tests "../source/ci/run-tests.py"))
(invoke python run-tests "--target" "LinkCoreTest")
(invoke python run-tests "--target" "LinkDiscoveryTest"))))
(add-before 'install 'patch-cmake
(lambda* (#:key inputs #:allow-other-keys)
- (let* ((source (string-append "../ableton-link-"
- ,version
- "-checkout/")))
+ (let* ((source "../source/"))
(substitute* (string-append source
"cmake_include/AsioStandaloneConfig.cmake")
(((string-append "\\$\\{CMAKE_CURRENT_LIST_DIR\\}/\\.\\./"
@@ -5267,14 +5263,13 @@ (define-public ableton-link
(("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include")
"${CMAKE_CURRENT_LIST_DIR}/../../../include")
(("\\$\\{CMAKE_CURRENT_LIST_DIR\\}/include/ableton/Link\\.hpp")
- "${CMAKE_CURRENT_LIST_DIR}/../../../include/ableton/Link.hpp"))
- #t)))
+ "${CMAKE_CURRENT_LIST_DIR}/../../../include/ableton/Link.hpp")))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(lib-cmake (string-append out "/lib/cmake/ableton-link"))
- (source (string-append "../ableton-link-" ,version "-checkout")))
+ (source "../source/"))
(for-each (lambda (test-file)
(delete-file test-file))
'("bin/LinkDiscoveryTest" "bin/LinkCoreTest"))
@@ -5285,8 +5280,7 @@ (define-public ableton-link
lib-cmake)
(install-file (string-append source
"/cmake_include/AsioStandaloneConfig.cmake")
- (string-append lib-cmake "/cmake_include"))
- #t))))))
+ (string-append lib-cmake "/cmake_include"))))))))
(home-page "https://github.com/Ableton/link")
(synopsis "Synchronize musical beat, tempo, and phase across multiple applications")
(description
--
2.34.0
[-- Attachment #3: Type: text/plain, Size: 7716 bytes --]
After that I tried to build the supercollider version "3.11.2" and got
the following error:
--8<---------------cut here---------------start------------->8---
[ 53%] Linking CXX static library libscide.a
cd /tmp/guix-build-supercollider-3.11.2.drv-0/build/editors/sc-ide && /gnu/store/aain9m7r37jlzd21kvgvrkhc2pm7mk1w-cmake-minimal-3.21.3/bin/cmake -P CMakeFiles/libscide.dir/cmake_clean_target.cmake
cd /tmp/guix-build-supercollider-3.11.2.drv-0/build/editors/sc-ide && /gnu/store/aain9m7r37jlzd21kvgvrkhc2pm7mk1w-cmake-minimal-3.21.3/bin/cmake -E cmake_link_script CMakeFiles/libscide.dir/link.txt --verbose=1
/gnu/store/6mqcv52gwn2dnbislgv9k99525mzmrrs-binutils-2.37/bin/ar qc libscide.a CMakeFiles/libscide.dir/core/main.cpp.o CMakeFiles/libscide.dir/core/app_palette.cpp.o CMakeFiles/libscide.dir/core/sig_mux.cpp.o CMakeFiles/libscide.dir/core/doc_manager.cpp.o CMakeFiles/libscide.dir/core/sc_process.cpp.o CMakeFiles/libscide.dir/core/sc_server.cpp.o CMakeFiles/libscide.dir/core/sc_introspection.cpp.o CMakeFiles/libscide.dir/core/sc_lexer.cpp.o CMakeFiles/libscide.dir/core/settings/serialization.cpp.o CMakeFiles/libscide.dir/core/settings/manager.cpp.o CMakeFiles/libscide.dir/core/settings/theme.cpp.o CMakeFiles/libscide.dir/core/settings/default_themes.cpp.o CMakeFiles/libscide.dir/core/session_manager.cpp.o CMakeFiles/libscide.dir/core/util/color.cpp.o CMakeFiles/libscide.dir/core/util/standard_dirs.cpp.o CMakeFiles/libscide.dir/core/util/scdoc_log.cpp.o CMakeFiles/libscide.dir/widgets/cmd_line.cpp.o CMakeFiles/libscide.dir/widgets/doc_list.cpp.o CMakeFiles/libscide.dir/widgets/documents_dialog.cpp.o CMakeFiles/libscide.dir/widgets/editor_box.cpp.o CMakeFiles/libscide.dir/widgets/find_replace_tool.cpp.o CMakeFiles/libscide.dir/widgets/lookup_dialog.cpp.o CMakeFiles/libscide.dir/widgets/main_window.cpp.o CMakeFiles/libscide.dir/widgets/multi_editor.cpp.o CMakeFiles/libscide.dir/widgets/post_window.cpp.o CMakeFiles/libscide.dir/widgets/session_switch_dialog.cpp.o CMakeFiles/libscide.dir/widgets/audio_status_box.cpp.o CMakeFiles/libscide.dir/widgets/lang_status_box.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/editor.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/sc_editor.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/highlighter.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/line_indicator.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/overlay.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/autocompleter.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/completion_menu.cpp.o CMakeFiles/libscide.dir/widgets/settings/dialog.cpp.o CMakeFiles/libscide.dir/widgets/settings/general_page.cpp.o CMakeFiles/libscide.dir/widgets/settings/sclang_page.cpp.o CMakeFiles/libscide.dir/widgets/settings/editor_page.cpp.o CMakeFiles/libscide.dir/widgets/settings/shortcuts_page.cpp.o CMakeFiles/libscide.dir/widgets/util/gui_utilities.cpp.o CMakeFiles/libscide.dir/widgets/util/text_format_list_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/popup_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/docklet.cpp.o CMakeFiles/libscide.dir/widgets/util/volume_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/status_box.cpp.o CMakeFiles/libscide.dir/widgets/style/style.cpp.o CMakeFiles/libscide.dir/__/__/common/SC_TextUtils.cpp.o CMakeFiles/libscide.dir/__/__/common/SC_Filesystem_macos.cpp.o CMakeFiles/libscide.dir/__/__/common/SC_Filesystem_win.cpp.o CMakeFiles/libscide.dir/__/__/common/SC_Filesystem_unix.cpp.o CMakeFiles/libscide.dir/__/__/common/SC_Filesystem_iphone.cpp.o CMakeFiles/libscide.dir/primitives/localsocket_utils.cpp.o CMakeFiles/libscide.dir/__/__/SCDoc/SCDoc.cpp.o CMakeFiles/libscide.dir/__/__/SCDoc/SCDoc.tab.cpp.o CMakeFiles/libscide.dir/__/__/SCDoc/lex.scdoc.cpp.o CMakeFiles/libscide.dir/widgets/help_browser.cpp.o CMakeFiles/libscide.dir/widgets/util/WebSocketTransport.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/widgets/web_page.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/widgets/QcWebView.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/layouts/stack_layout.cpp.o CMakeFiles/libscide.dir/core/moc_main.cpp.o CMakeFiles/libscide.dir/core/moc_sig_mux.cpp.o CMakeFiles/libscide.dir/core/moc_sc_process.cpp.o CMakeFiles/libscide.dir/core/moc_sc_server.cpp.o CMakeFiles/libscide.dir/core/moc_doc_manager.cpp.o CMakeFiles/libscide.dir/core/settings/moc_manager.cpp.o CMakeFiles/libscide.dir/core/moc_session_manager.cpp.o CMakeFiles/libscide.dir/widgets/moc_cmd_line.cpp.o CMakeFiles/libscide.dir/widgets/moc_doc_list.cpp.o CMakeFiles/libscide.dir/widgets/moc_documents_dialog.cpp.o CMakeFiles/libscide.dir/widgets/moc_editor_box.cpp.o CMakeFiles/libscide.dir/widgets/moc_find_replace_tool.cpp.o CMakeFiles/libscide.dir/widgets/moc_goto_line_tool.cpp.o CMakeFiles/libscide.dir/widgets/moc_lookup_dialog.cpp.o CMakeFiles/libscide.dir/widgets/moc_main_window.cpp.o CMakeFiles/libscide.dir/widgets/moc_multi_editor.cpp.o CMakeFiles/libscide.dir/widgets/moc_popup_text_input.cpp.o CMakeFiles/libscide.dir/widgets/moc_post_window.cpp.o CMakeFiles/libscide.dir/widgets/moc_session_switch_dialog.cpp.o CMakeFiles/libscide.dir/widgets/moc_sessions_dialog.cpp.o CMakeFiles/libscide.dir/widgets/moc_tool_box.cpp.o CMakeFiles/libscide.dir/widgets/moc_audio_status_box.cpp.o CMakeFiles/libscide.dir/widgets/moc_lang_status_box.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_editor.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_sc_editor.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_highlighter.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_line_indicator.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_overlay.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_autocompleter.cpp.o CMakeFiles/libscide.dir/widgets/code_editor/moc_completion_menu.cpp.o CMakeFiles/libscide.dir/widgets/settings/moc_dialog.cpp.o CMakeFiles/libscide.dir/widgets/settings/moc_general_page.cpp.o CMakeFiles/libscide.dir/widgets/settings/moc_sclang_page.cpp.o CMakeFiles/libscide.dir/widgets/settings/moc_editor_page.cpp.o CMakeFiles/libscide.dir/widgets/settings/moc_shortcuts_page.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_path_chooser_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_text_format_list_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_key_sequence_edit.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_popup_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_color_widget.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_docklet.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_volume_widget.cpp.o CMakeFiles/libscide.dir/widgets/moc_help_browser.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_WebSocketTransport.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_WebSocketClientWrapper.cpp.o CMakeFiles/libscide.dir/widgets/util/moc_IDEWebChannelWrapper.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/widgets/moc_web_page.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/widgets/moc_QcWebView.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/moc_QcCallback.cpp.o CMakeFiles/libscide.dir/__/__/QtCollider/layouts/moc_stack_layout.cpp.o CMakeFiles/libscide.dir/qrc_resources.cpp.o
/gnu/store/6mqcv52gwn2dnbislgv9k99525mzmrrs-binutils-2.37/bin/ranlib libscide.a
make[2]: Leaving directory '/tmp/guix-build-supercollider-3.11.2.drv-0/build'
[ 53%] Built target libscide
make[1]: Leaving directory '/tmp/guix-build-supercollider-3.11.2.drv-0/build'
make: *** [Makefile:169: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f>
--8<---------------cut here---------------end--------------->8---
Build version 3.12.1 also crashes at this step.
--
Aleksandr Vityazev
^ permalink raw reply related [flat|nested] 5+ messages in thread
* bug#52551: Supercollider and ableton-link build failure
2021-12-16 13:27 bug#52551: Supercollider and ableton-link build failure Aleksandr Vityazev
@ 2021-12-16 16:33 ` Maxime Devos
2021-12-16 16:37 ` Maxime Devos
1 sibling, 0 replies; 5+ messages in thread
From: Maxime Devos @ 2021-12-16 16:33 UTC (permalink / raw)
To: Aleksandr Vityazev, 52551
Aleksandr Vityazev schreef op do 16-12-2021 om 13:27 [+0000]:
> (lambda* (#:key inputs #:allow-other-keys)
> (let* ((python (search-input-file inputs
> "/bin/python3"))
> - (run-tests (string-append "../ableton-link-"
> - ,version
> - "-checkout/ci/run-
> tests.py")))
> + (run-tests "../source/ci/run-tests.py"))
> (invoke python run-tests "--target" "LinkCoreTest")
> (invoke python run-tests "--target"
> "LinkDiscoveryTest"))))
(Unrelated to the build failure) this phase doesn't respect #:tests?/--
without-tests/tries to run tests even when cross-compiling. This would
probably be noticed by "guix lint ableton-link".
I recommend wrapping the 'let*' form in a (when tests? [...])
(adding tests? before the #:alllow-other-keys).
Greetings,
Maxime
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52551: Supercollider and ableton-link build failure
2021-12-16 13:27 bug#52551: Supercollider and ableton-link build failure Aleksandr Vityazev
2021-12-16 16:33 ` Maxime Devos
@ 2021-12-16 16:37 ` Maxime Devos
2021-12-17 8:29 ` Aleksandr Vityazev
1 sibling, 1 reply; 5+ messages in thread
From: Maxime Devos @ 2021-12-16 16:37 UTC (permalink / raw)
To: Aleksandr Vityazev, 52551
Aleksandr Vityazev schreef op do 16-12-2021 om 13:27 [+0000]:
> /gnu/store/6mqcv52gwn2dnbislgv9k99525mzmrrs-binutils-2.37/bin/ranlib
> libscide.a
> make[2]: Leaving directory '/tmp/guix-build-supercollider-3.11.2.drv-
> 0/build'
> [ 53%] Built target libscide
> make[1]: Leaving directory '/tmp/guix-build-supercollider-3.11.2.drv-
> 0/build'
> make: *** [Makefile:169: all] Error 2
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "8")
> exit-status: 2 term-signal: #f stop-signal: #f>
> --8<---------------cut here---------------end--------------->8---
>
> Build version 3.12.1 also crashes at this step.
Running make with parallelism can mix up the error messages.
Probably the actual error message is before a lot of
[$$%] Built target [...] lines.
I recommend building with "--cores=1" for debugging.
Greetings,
Maxime.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52551: Supercollider and ableton-link build failure
2021-12-16 16:37 ` Maxime Devos
@ 2021-12-17 8:29 ` Aleksandr Vityazev
2021-12-20 15:33 ` Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: Aleksandr Vityazev @ 2021-12-17 8:29 UTC (permalink / raw)
To: Maxime Devos; +Cc: 52551
On 2021-12-16, 16:37 +0000, Maxime Devos <maximedevos@telenet.be> wrote:
> Running make with parallelism can mix up the error messages.
> Probably the actual error message is before a lot of
> [$$%] Built target [...] lines.
> I recommend building with "--cores=1" for debugging.
Thanks, that helped, patches sent to guix-patches@gnu.org.
--
Aleksandr Vityazev
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#52551: Supercollider and ableton-link build failure
2021-12-17 8:29 ` Aleksandr Vityazev
@ 2021-12-20 15:33 ` Maxim Cournoyer
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2021-12-20 15:33 UTC (permalink / raw)
To: Aleksandr Vityazev; +Cc: 52551-done
Hello,
Aleksandr Vityazev <avityazev@posteo.org> writes:
> On 2021-12-16, 16:37 +0000, Maxime Devos <maximedevos@telenet.be> wrote:
>
>> Running make with parallelism can mix up the error messages.
>> Probably the actual error message is before a lot of
>> [$$%] Built target [...] lines.
>> I recommend building with "--cores=1" for debugging.
>
> Thanks, that helped, patches sent to guix-patches@gnu.org.
These were pushed by Ludovic with
e874c730eaa369e42cff3b2c2e3599d33a7aceff and
0745c8205a4ef77b6b2f8e004d3c4d6e6e7ddccc.
Closing.
Thank you!
Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-20 17:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 13:27 bug#52551: Supercollider and ableton-link build failure Aleksandr Vityazev
2021-12-16 16:33 ` Maxime Devos
2021-12-16 16:37 ` Maxime Devos
2021-12-17 8:29 ` Aleksandr Vityazev
2021-12-20 15:33 ` Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).