Package Details: rtpmidid-git r797.78749d5-1

Git Clone URL: https://aur.archlinux.org/rtpmidid-git.git (read-only, click to copy)
Package Base: rtpmidid-git
Description: RTP MIDI User Space Driver Daemon
Upstream URL: https://github.com/davidmoreno/rtpmidid
Licenses: GPL3
Conflicts: rtpmidid
Provides: rtpmidid
Submitter: agalakhov
Maintainer: agalakhov
Last Packager: agalakhov
Votes: 2
Popularity: 0.000000
First Submitted: 2020-07-05 15:25 (UTC)
Last Updated: 2024-10-11 22:25 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

EdeWolf commented on 2021-09-18 18:39 (UTC) (edited on 2021-09-18 18:41 (UTC) by EdeWolf)

Build fails. Anything I might have done wrong? The last lines, more errors before:

...
/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/lib/poller.cpp:212:13: error: 'void run_expired_timer_events(std::vector<timer_event_t>&)' defined but not used [-Werror=unused-function]
  212 | static void run_expired_timer_events(std::vector<timer_event_t> &events) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/lib/poller.cpp:202:12: error: 'int chrono_ms_to_int(std::chrono::milliseconds&)' defined but not used [-Werror=unused-function]
  202 | static int chrono_ms_to_int(std::chrono::milliseconds &ms) {
      |            ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]:  [lib/CMakeFiles/rtpmidid-static.dir/build.make:118: lib/CMakeFiles/rtpmidid-static.dir/mdns_rtpmidi.cpp.o] Error 1
make[3]:  Waiting for unfinished jobs....
make[3]:  [lib/CMakeFiles/rtpmidid-static.dir/build.make:146: lib/CMakeFiles/rtpmidid-static.dir/poller.cpp.o] Error 1
/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/lib/poller.cpp:212:13: error: 'void run_expired_timer_events(std::vector<timer_event_t>&)' defined but not used [-Werror=unused-function]
  212 | static void run_expired_timer_events(std::vector<timer_event_t> &events) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/lib/poller.cpp:202:12: error: 'int chrono_ms_to_int(std::chrono::milliseconds&)' defined but not used [-Werror=unused-function]
  202 | static int chrono_ms_to_int(std::chrono::milliseconds &ms) {
      |            ^~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[3]:  [lib/CMakeFiles/rtpmidid-shared.dir/build.make:146: lib/CMakeFiles/rtpmidid-shared.dir/poller.cpp.o] Error 1
make[3]:  Waiting for unfinished jobs....
make[3]:  [lib/CMakeFiles/rtpmidid-shared.dir/build.make:118: lib/CMakeFiles/rtpmidid-shared.dir/mdns_rtpmidi.cpp.o] Error 1
make[3]:  [lib/CMakeFiles/rtpmidid-shared.dir/build.make:90: lib/CMakeFiles/rtpmidid-shared.dir/rtpclient.cpp.o] Error 1
make[3]:  [lib/CMakeFiles/rtpmidid-static.dir/build.make:90: lib/CMakeFiles/rtpmidid-static.dir/rtpclient.cpp.o] Error 1
make[3]:  [lib/CMakeFiles/rtpmidid-shared.dir/build.make:104: lib/CMakeFiles/rtpmidid-shared.dir/rtpserver.cpp.o] Error 1
make[3]:  [lib/CMakeFiles/rtpmidid-static.dir/build.make:104: lib/CMakeFiles/rtpmidid-static.dir/rtpserver.cpp.o] Error 1
make[3]: Leaving directory '/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/build'
make[2]:  [CMakeFiles/Makefile2:170: lib/CMakeFiles/rtpmidid-shared.dir/all] Error 2
make[2]:  Waiting for unfinished jobs....
make[3]: Leaving directory '/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/build'
make[2]:  [CMakeFiles/Makefile2:144: lib/CMakeFiles/rtpmidid-static.dir/all] Error 2
make[2]: Leaving directory '/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/build'
make[1]:  [Makefile:101: all] Error 2
make[1]: Leaving directory '/home/bauer/1_src/rtpmidid-git/src/rtpmidid-git/build'
make: *** [Makefile:29: build/bin/rtpmidid] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...

klingt.net commented on 2020-10-28 14:53 (UTC) (edited on 2020-10-28 14:57 (UTC) by klingt.net)

The package misses user and group setup: https://github.com/davidmoreno/rtpmidid/blob/88acef422cdd30b90d3f3315a3c28dab4fa0eb69/debian/postinst#L23-L26

I manually setup both, but still the service fails with:

Oct 28 15:46:55 kn-portable-arch rtpmidid[31861]: rtpmidid: browser.c:581: avahi_service_browser_new: Assertion `client' failed.
Oct 28 15:46:55 kn-portable-arch systemd[1]: rtpmidid.service: Main process exited, code=dumped, status=6/ABRT
Oct 28 15:46:55 kn-portable-arch systemd[1]: rtpmidid.service: Failed with result 'core-dump'.

Update, avahi-daemon service was not running. (The systemd service file should require it, I may send a PR upstream).