midiwala doesn't work on Arch Linux #21
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mark/midiminder#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've got midiminder working on my up-to-date Arch Linux machine, but when I try to run
midiwalanothing happens. Runningmidiwala --listgive the following output:I've also built midiminder on a Libre Computer Le Potato single board computer running a version of Raspbian based on Debian 11.11,
midiwalaworks as expected in that environment.can you run the following two command on the Arch linux set up and paste the output here?
Arch doesn't use dpkg or any of the apt/deb tools, but I
pacman -Q fmtshows that I have fmt 11.0.2-1 installed, including the header files needed for development.My aconnect output differs depending on what I have connected at any given moment. Currently it shows the following:
Like I said, midiminder itself is working. Here's the output from
midiminder save -:These work as expected... I have some udev rules (example) set up to automatically start a service when certain hardware is plugged in. When that happens, midiminder sees the new MIDI ports and makes all of the specified connections. It's only midiwala that fails. Typing
midiwalaby itself does nothing... no output, it just returns me to the command prompt.midiwala listoutputs the two lines I included in the original bug report.Hope this is helpful!
Found it! There was a API breaking change in libfmt 11.0!
Please checkout the fmt11fix branch and see if this works for you, too.
Yep, I built the fmt11fix branch and now midiwala works as expected. Thank you!
Since this is a breaking API change, I'm guessing you might not be merging this back into the main branch and/or making a release with the libfmt 11.0 fix right away? I've put together a PKGBUILD file setup that installs midiminder as an Arch package. It's currently pulling down the 1.0 release tarball, but I can change that so it pulls down a specific commit from the fmt11fix branch instead, if midiwala on the main branch will only work with libfmt 10.x for a while longer.
The breaking change in libfmt was to drop support for a particular kind of format string usage. The fixed format strings are compatible with older libfmt - and I've checked that they build and work on the oldest systems I support (Debian Buster).
SO - I merged that, and another pending tiny fix, into master. If you want me to tag it I can - or if you just want your PKGBUILD to build head of master, that seems fine to me, too. (And I think aligns with Arch's approach?)
Oh good, I'm glad it can be safely merged. 👍
Arch has a convention of having
<package-name>-gitpackages that build from the latest commit, but in most cases a package release points to a fixed, reproducible build. That's what I'd prefer for mine, anyway. You don't need to take any additional action on my account; I'll update my package to pull from the commit where the libfmt fix landed for now, and then I'll switch back to using a tarball after your next release.Thanks again for taking a look!