Bug 2272918

Summary: muse: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: museAssignee: Orcan Ogetbil <oget.fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: oget.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/muse
Whiteboard:
Fixed In Version: muse-4.2.1-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-19 02:04:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2260875, 2244836    

Description Karolina Surma 2024-04-03 09:26:40 UTC
Description of problem:
Package muse fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
4.0.0-9.fc40

Steps to Reproduce:
koji build --scratch f41 muse-4.0.0-9.fc40.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/muse

Reproducible: Always

Actual Results:  
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In function ‘void MusECore::initOSC()’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:312:58: error: invalid conversion from ‘int (*)(const char*, const char*, lo_arg**, int, void*, void*)’ to ‘lo_method_handler’ {aka ‘int (*)(const char*, const char*, lo_arg**, int, lo_message_*, void*)’} [-fpermissive]
  312 |   meth = lo_server_thread_add_method(serverThread, 0, 0, oscMessageHandler, 0);
      |                                                          ^~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          int (*)(const char*, const char*, lo_arg**, int, void*, void*)
In file included from /usr/include/lo/lo.h:33,
                 from /builddir/build/BUILD/muse-4.0/muse/osc.cpp:50:
/usr/include/lo/lo_serverthread.h:151:72: note:   initializing argument 4 of ‘lo_method_* lo_server_thread_add_method(lo_server_thread, const char*, const char*, lo_method_handler, const void*)’
  151 |                                const char *typespec, lo_method_handler h,
      |                                                      ~~~~~~~~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In destructor ‘virtual MusECore::OscIF::~OscIF()’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:431:21: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  431 |     lo_address_free(_uiOscTarget);
      |                     ^~~~~~~~~~~~
      |                     |
      |                     void*
/usr/include/lo/lo.h:91:33: note:   initializing argument 1 of ‘void lo_address_free(lo_address)’
   91 | void lo_address_free(lo_address t);
      |                      ~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In member function ‘virtual int MusECore::OscIF::oscUpdate(lo_arg**)’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:458:25: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  458 |         lo_address_free(_uiOscTarget);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void*
/usr/include/lo/lo.h:91:33: note:   initializing argument 1 of ‘void lo_address_free(lo_address)’
   91 | void lo_address_free(lo_address t);
      |                      ~~~~~~~~~~~^
In file included from /usr/include/lo/lo.h:266:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:523:15: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  523 |       lo_send(_uiOscTarget, _uiOscSampleRatePath, "i", MusEGlobal::sampleRate);
      |               ^~~~~~~~~~~~
      |               |
      |               void*
In file included from /usr/include/lo/lo.h:32:
/usr/include/lo/lo_lowlevel.h:1085:33: note:   initializing argument 1 of ‘int lo_send_internal(lo_address, const char*, int, const char*, const char*, ...)’
 1085 | int lo_send_internal(lo_address t, const char *file, const int line,
      |                      ~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In member function ‘virtual int MusECore::OscIF::oscExiting(lo_arg**)’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:662:25: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  662 |         lo_address_free(_uiOscTarget);
      |                         ^~~~~~~~~~~~
      |                         |
      |                         void*
/usr/include/lo/lo.h:91:33: note:   initializing argument 1 of ‘void lo_address_free(lo_address)’
   91 | void lo_address_free(lo_address t);
      |                      ~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In member function ‘virtual void MusECore::OscIF::oscSendProgram(long unsigned int, long unsigned int, bool)’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:752:13: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  752 |     lo_send(_uiOscTarget, _uiOscProgramPath, "ii", bank, prog);
      |             ^~~~~~~~~~~~
      |             |
      |             void*
/usr/include/lo/lo_lowlevel.h:1085:33: note:   initializing argument 1 of ‘int lo_send_internal(lo_address, const char*, int, const char*, const char*, ...)’
 1085 | int lo_send_internal(lo_address t, const char *file, const int line,
      |                      ~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In member function ‘virtual void MusECore::OscIF::oscSendControl(long unsigned int, float, bool)’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:767:13: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  767 |     lo_send(_uiOscTarget, _uiOscControlPath, "if", dssiPort, v);
      |             ^~~~~~~~~~~~
      |             |
      |             void*
/usr/include/lo/lo_lowlevel.h:1085:33: note:   initializing argument 1 of ‘int lo_send_internal(lo_address, const char*, int, const char*, const char*, ...)’
 1085 | int lo_send_internal(lo_address t, const char *file, const int line,
      |                      ~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In member function ‘virtual void MusECore::OscIF::oscSendConfigure(const char*, const char*)’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:779:13: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  779 |     lo_send(_uiOscTarget, _uiOscConfigurePath, "ss", key, val);
      |             ^~~~~~~~~~~~
      |             |
      |             void*
/usr/include/lo/lo_lowlevel.h:1085:33: note:   initializing argument 1 of ‘int lo_send_internal(lo_address, const char*, int, const char*, const char*, ...)’
 1085 | int lo_send_internal(lo_address t, const char *file, const int line,
      |                      ~~~~~~~~~~~^
/builddir/build/BUILD/muse-4.0/muse/osc.cpp: In member function ‘virtual void MusECore::OscIF::oscShowGui(bool)’:
/builddir/build/BUILD/muse-4.0/muse/osc.cpp:992:15: error: invalid conversion from ‘void*’ to ‘lo_address’ {aka ‘lo_address_*’} [-fpermissive]
  992 |       lo_send(_uiOscTarget, uiOscGuiPath, "");
      |               ^~~~~~~~~~~~
      |               |
      |               void*
/usr/include/lo/lo_lowlevel.h:1085:33: note:   initializing argument 1 of ‘int lo_send_internal(lo_address, const char*, int, const char*, const char*, ...)’
 1085 | int lo_send_internal(lo_address t, const char *file, const int line,
      |                      ~~~~~~~~~~~^
[ 96%] Building CXX object muse/CMakeFiles/core.dir/pos.cpp.o

Comment 1 Fedora Update System 2024-06-10 05:16:28 UTC
FEDORA-2024-4fa0c7a86c (muse-4.2.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4fa0c7a86c

Comment 2 Fedora Update System 2024-06-11 04:15:28 UTC
FEDORA-2024-4fa0c7a86c has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4fa0c7a86c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4fa0c7a86c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-06-19 02:04:37 UTC
FEDORA-2024-4fa0c7a86c (muse-4.2.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.