Package Details: lenmus 6.0.1-2

Git Clone URL: https://aur.archlinux.org/lenmus.git (read-only, click to copy)
Package Base: lenmus
Description: A free program for learning music
Upstream URL: http://www.lenmus.org/
Licenses: GPL
Submitter: kolewu
Maintainer: kolewu
Last Packager: kolewu
Votes: 9
Popularity: 0.000010
First Submitted: 2013-06-09 11:46 (UTC)
Last Updated: 2023-05-13 14:14 (UTC)

Latest Comments

1 2 Next › Last »

kolewu commented on 2023-05-13 14:18 (UTC)

Issue fixed with new release.

PortMidi has switched back to the original upstream release (now active again) and that has porttime included in the portmidi library.

Thank's for the headsup!

vt220 commented on 2023-05-10 08:49 (UTC) (edited on 2023-05-10 08:53 (UTC) by vt220)

It seems that due to (relatively) recent changes in portmidi library the package doesn't compile any more. The compilation fails with the following error:


Generation starts:
-- Configuring done (1.0s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PortTime_LIBRARY
linked by target "lenmus" in directory <path to pkg>/src/lenmus-Release_6.0.1
linked by target "lenmus" in directory <path to pkg>/src/lenmus-Release_6.0.1

-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
Aborting...


Workaround:

ln -s /usr/lib/libportmidi.so /usr/lib/libporttime.so

Note: it seems that portmidi merged its two libraries (libportmidi.so & libporttime.so) into one, but lenmus expects to find both of them. Creating the link satisfies this dependency. This is just a guess about what had happened, not something that I actually checked & verified. The workaround definitely works, though.

duprezjm commented on 2022-02-18 18:01 (UTC) (edited on 2022-02-18 18:04 (UTC) by duprezjm)

Super ! Thanks ! I delete my comments verey very too large ! Thanks again for your speed to fix the bug! Now everything is in order and I will be able to enjoy the new version of Lenmus!

kolewu commented on 2022-02-18 00:28 (UTC)

I have found the problem and fixed it in a new release. Thanks for the help!

kolewu commented on 2022-02-18 00:04 (UTC)

What's the result of lsb_release -a? For me it gives

LSB Version:    1.4
Distributor ID: Arch
Description:    Arch Linux
Release:    rolling
Codename:   n/a

duprezjm commented on 2022-02-17 22:45 (UTC)

This is my /etc/os-release

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux-logo

duprezjm commented on 2022-02-17 22:19 (UTC) (edited on 2022-02-18 18:02 (UTC) by duprezjm)

deleted

kolewu commented on 2022-02-17 18:43 (UTC) (edited on 2022-02-17 18:46 (UTC) by kolewu)

Please fence your logs for better readability (three backticks before and after the block of log or code).

That's not enough. Please use makepkg (or tell yay to give you the full log). I need exactly the lines I have given, at least the first 4. I suspect that your system will not be identified as "Arch" (or "ManjaroLinux") and this means portmidi is not configured fully (the libporttime.so is missing from the linker command). And preferably start your command with LANG=C makepkg to get english messages

duprezjm commented on 2022-02-17 15:11 (UTC) (edited on 2022-02-17 22:27 (UTC) by duprezjm)

Here is the log :

deleted

kolewu commented on 2022-02-17 13:07 (UTC)

@duprezjm Have you used the new version 6.0.0 or by chance the old one? This error should be fixed. On my Arch computer the buildlog shows this:

-- Determining Linux distro script:
--     Linux Distribution ID =Arch
--     SYSTEM_TYPE=Arch
--     PACKAGE_TYPE=TGZ
-- Found PortMidi: /usr/lib/libportmidi.so  
-- PortMidi found: include= /usr/include
-- PortMidi found: libraries= /usr/lib/libportmidi.so;/usr/lib/libporttime.so

and with my patch (fixed in upstream, too) "Arch" is a supported distro and the error should not show.