< Back to IRCAM Forum

Error on Linux, unable to write /usr/lib/systemd/systemd/

Hi all, I’ve been trying to get openmusic running on Arch Linux, and I’m getting an error that I haven’t seen posted about elsewhere. When I try to run openmusic, it opens a window with the error message ERROR: Failed to make directory file /usr/lib/systemd/systemd/: File exists(17). It has a button for “ok”, which when pressed closes the window and the program continues to run with no output. The file /usr/lib/systemd/systemd is an already existing executable. When run in a terminal, I get the output:

"ERROR: Failed to make directory file /usr/lib/systemd/systemd/: File exists(17).

Call to OM-LISP::OM-ERROR-HANDLER
Call to INVOKE-DEBUGGER
Call to ERROR
Call to (SUBFUNCTION (LABELS SYSTEM::CHECK-DIRS) ENSURE-DIRECTORIES-EXIST)
Call to (SUBFUNCTION (LABELS SYSTEM::CHECK-DIRS) ENSURE-DIRECTORIES-EXIST)
Call to ENSURE-DIRECTORIES-EXIST
Call to OM-API:OM-CREATE-DIRECTORY
Call to |OpenMusic|::CHECK-FOLDER
Call to |OpenMusic|::LOAD-MODIF-PATCHES
Interpreted call to INIT-OM
Call to MP::PROCESS-SG-FUNCTION
" openmusic : Interrupted - quitting

I’m installing through the tar, installing with sudo make install. I’ve tried both OM 7.7 and 8.0-b1, and both do the same thing. I’m running Arch Linux, kernel version 6.18.9-arch1-2.

I’m not sure what’s going on here. If there’s any more info I can provide, please let me know.

Dear mburns,

Maybe the best way for you is to install the OMxx.tar.bz2 here are the instructions:

  • Download the archive
  • Un pack it and put it somewhere local in your home. I have a special bin/ folder where i keep my binaries
  • Once upacked create this script:
#!/bin/sh
LD_LIBRARY_PATH='.' /home/me/bin/OM_7.7/OM_7.7
  • Make it executable
chmod a+x omscript.sh

Then you can run it.

Tell me if it works for you.

Best
K

Hi Karim,

Thanks for getting back to me. I followed those instructions and it gets rid of that error. So is the Makefile not the recommended method to install via the tarball?

I am still having issues unfortunately. Now when I go to add any element other than a comment to a new patch, I now get this error:

OM > "ERROR: No applicable methods for #<standard-generic-function panel 40E107C50C> with args (nil)

Call to om-lisp::om-error-handler
Call to invoke-debugger
Call to error
Call to cerror
Call to (method no-applicable-method (t))
Call to clos::apply-no-applicable-method
Call to add-box-from-menu
Call to capi::internal-funcall-using-callback-type
Call to capi::execute-callback
Call to capi::execute-callback-1
Call to capi:execute-with-interface
Call to (method capi-library:representation-popup-menu (capi-gtk-library::screen-representation t t t t t t))
Call to capi:display-popup-menu
Call to om-open-pop-up-menu
Call to (method om-api::om-context-menu-callback (om-graphic-object t t))
Call to capi::in-process-capi-event-callback
Call to capi-internals::output-pane-interface-process-event-wrapper
Call to capi-gtk-library::output-pane-button-press-event-wrapper
Call to (method mp:general-handle-event (capi::execute-with-interface-event))
Call to capi-internals:loop-process-events
Call to capi::interface-event-loop
Call to capi::initialize-and-process-events
Call to (method capi-library:interface-process-wrapper (capi-gtk-library::gtk-representation t t))
Call to mp::process-sg-function
"

The panel id doesn’t change regardless of the element I try to add. I’ve tried with OM 8.0-b.1.

Dear mburns,

Oh, so you tried first to install OM using the MakeFile.
So no, definitively not. The makefile included in OM is to build the deb package.
I should remove it from the tar.gz
Sorry about that.
I know since you are on Arch, we don’t have a built arch package unfortunately.
The solution I gave you is the one that will make it run. I use it on my dev computer so i don’t have OMs all around.
It is the same as if you installed it using a Deb or rpm. So no worries.

Now for our problem here. Can you tell me the specification of your wm, if you are using X11 or wayland, etc…
Do you have a log ?
It could be some permission issues. Where did you install OM? and where are did you create the workspace?

BEst
K

I’m using wayland, specifically mangowc. I have no issues running apps in XWayland
I installed OM in ~/.local/bin/, and saved the workspace in ~/Documents/openmusic/. Here’s the ls outputs:

total 55M
drwxr-xr-x 3 matthew matthew 4.0K Feb 22 07:36 .
drwxr-xr-x 8 matthew matthew 4.0K Feb 22 07:35 ..
drwxr-xr-x 6 matthew matthew 4.0K Feb 22 07:42 OM_8.0-b.1
-rw-r--r-- 1 matthew matthew  55M Feb 21 12:50 OM_8.0-b.1.tar.bz2
total 12K
drwxr-xr-x  3 matthew matthew 4.0K Feb 23 08:00 .
drwxr-xr-x 16 matthew matthew 4.0K Feb 22 07:42 ..
drwxr-xr-x  8 matthew matthew 4.0K Feb 23 08:07 trio-a-solo
total 36K
drwxr-xr-x 8 matthew matthew 4.0K Feb 23 08:07 .
drwxr-xr-x 3 matthew matthew 4.0K Feb 23 08:00 ..
drwxr-xr-x 2 matthew matthew 4.0K Feb 22 07:44 elements
drwxr-xr-x 2 matthew matthew 4.0K Feb 22 07:43 globals
drwxr-xr-x 2 matthew matthew 4.0K Feb 22 07:43 in-files
drwxr-xr-x 2 matthew matthew 4.0K Feb 22 07:43 out-files
-rw-r--r-- 1 matthew matthew 4.0K Feb 23 08:07 preferences.lisp
drwxr-xr-x 4 matthew matthew 4.0K Feb 22 07:43 resources
drwxr-xr-x 2 matthew matthew 4.0K Feb 22 07:43 user

I made a log re-directing stdin & stderr. I can’t attach it as a new user, but here’s a dump:


"Loading PortMIDI library: libportmidi.so" 
"Loading SDIF library: /home/matthew/.local/bin/OM_8.0-b.1/resources/lib/linux/libsdif.so" 
#P"libsndfile.so" 
#P"libsamplerate.so" 
"Loading OM Audio library: /home/matthew/.local/bin/OM_8.0-b.1/resources/lib/linux/omaudiolib.so" 
#P"libfluidsynth.so" 
; Loading text file /home/matthew/.local/share/OpenMusic/8.0/OMPrefs.lisp
Initializing audio channels [0x2]
; Loading text file /home/matthew/Documents/openmusic/trio-a-solo/preferences.lisp
APPLYING PREFERENCES...

"MIDI: Restoring state from preferences..." Audio Setup...
  Audio driver: ALSA
  Selecting default device: Default ALSA Output (currently PipeWire Media Server)
  Initializing audio channels (0x2)Initializing audio channels [0x2]

Audio Setup...
  Audio driver: ALSA
  Selected device: Default ALSA Output (currently PipeWire Media Server)
  Initializing audio channels (0x2)Initializing audio channels [0x2]

(OM_8.0-b.1:4553): Gtk-CRITICAL **: 08:07:15.713: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:15.713: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:15.713: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:15.713: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:15.713: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-CRITICAL **: 08:07:15.741: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(OM_8.0-b.1:4553): Gtk-CRITICAL **: 08:07:16.777: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

; Loading text file /home/matthew/Documents/openmusic/trio-a-solo/elements/Pitch Organisation.omp

(OM_8.0-b.1:4553): Gtk-CRITICAL **: 08:07:19.447: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.447: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.447: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.448: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.448: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.448: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.448: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.448: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-CRITICAL **: 08:07:19.467: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)

(OM_8.0-b.1:4553): Gtk-WARNING **: 08:07:19.467: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget (node menuitem, owner GtkMenuItem)
Gdk-Message: 08:07:21.688: Window 0x7fc9084496d0 is a temporary window without parent, application will not be able to position it on screen.

(OM_8.0-b.1:4553): Gdk-CRITICAL **: 08:07:21.690: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed
Gdk-Message: 08:07:34.681: Window 0x7fc8f8120880 is a temporary window without parent, application will not be able to position it on screen.

(OM_8.0-b.1:4553): Gdk-CRITICAL **: 08:07:34.683: gdk_wayland_window_handle_configure_popup: assertion 'impl->transient_for' failed
/home/matthew/.local/bin/OM_8.0-b.1/OM_8.0-b.1 : Interrupted - quitting

Interestingly, that final Gdk-CRITICAL doesn’t happen on the error, but just for the right-click menu.

Let me know what else I can get you!

Dear mburns

I suspect that putting the OM folder in ~/.local/bin might be the problem.
Can you just for testing reasons put it in a non “hidden” folder and adapt the path in the script just to eliminate this possible problem.
Path in LW somethimes can be tricky

Best
k