Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927000 - app-misc/ola-0.10.9-r2 - plugins/.../OSCNode.cpp: error: cannot convert lo_arg to lo_blob {aka lo_blob_ } in initialization
Summary: app-misc/ola-0.10.9-r2 - plugins/.../OSCNode.cpp: error: cannot convert lo_ar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-14 08:39 UTC by Toralf Förster
Modified: 2024-06-12 13:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
app-misc:ola-0.10.9-r2:20240314-054930.log.xz (app-misc:ola-0.10.9-r2:20240314-054930.log.xz,23.22 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.73 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
environment (environment,112.85 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,13.95 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.56 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,102.42 KB, text/plain)
2024-03-14 08:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,50.64 KB, application/x-xz)
2024-03-14 08:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-03-14 08:39:46 UTC
  164 |   std::auto_ptr<ola::io::UnmanagedFileDescriptor> m_descriptor;
      |        ^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/unique_ptr.h:65:28: note: declared here
   65 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
plugins/osc/OSCNode.cpp: In function 'int ola::plugin::osc::OSCDataHandler(const char*, const char*, lo_arg**, int, void*, void*)':
plugins/osc/OSCNode.cpp:153:28: error: cannot convert 'lo_arg*' to 'lo_blob' {aka 'lo_blob_*'} in initialization
  153 |       lo_blob blob = argv[0];
      |                      ~~~~~~^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20240313-090619

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.0
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit f0e24e6b01f5719445270d72ff0f76d5f9ec97c3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 14 05:34:16 2024 +0000

    2024-03-14 05:34:15 UTC

emerge -qpvO app-misc/ola
[ebuild  N    ] app-misc/ola-0.10.9-r2  USE="osc usb -doc -examples -ftdi -http -python -rdm-tests -tcmalloc -test -zeroconf" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2024-03-14 08:39:47 UTC
Created attachment 887611 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-14 08:39:48 UTC
Created attachment 887612 [details]
app-misc:ola-0.10.9-r2:20240314-054930.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-03-14 08:39:49 UTC
Created attachment 887613 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-14 08:39:50 UTC
Created attachment 887614 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-14 08:39:51 UTC
Created attachment 887615 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-14 08:39:52 UTC
Created attachment 887616 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-14 08:39:53 UTC
Created attachment 887617 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-03-14 08:39:54 UTC
Created attachment 887618 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-03-14 08:39:55 UTC
Created attachment 887619 [details]
temp.tar.xz
Comment 10 jannis 2024-04-02 15:43:15 UTC
This happens due to >media-libs/liblo-0.31 (which is no longer in tree). Upstream fix is here: https://github.com/OpenLightingProject/ola/pull/1954

I plan to fetch that PR as a patch and modify the ebuild to fix the build
Comment 11 jannis 2024-04-02 15:44:24 UTC
Oh, and it should only happen with USE="osc". So if one doesn't need OSC support in ola, USE="-osc" would be a valid workaround.
Comment 12 Larry the Git Cow gentoo-dev 2024-06-12 13:04:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8319838698e3d4c532c7a8547ebdc1ae5dcb2264

commit 8319838698e3d4c532c7a8547ebdc1ae5dcb2264
Author:     Jannis Achstetter <kripton@kripserver.net>
AuthorDate: 2024-04-08 20:51:47 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2024-06-12 13:04:01 +0000

    app-misc/ola: Fix compilation against media-libs/liblo-0.32
    
    Changes to the PR made by marecki at merge time:
     - run ola-0.10.9-liblo.patch through scrub-patch
     - revert the revision bump as not needed while fixing build failures
    
    Closes: https://bugs.gentoo.org/927000
    Upstream-PR: https://github.com/OpenLightingProject/ola/pull/1954
    Upstream-Commit: https://github.com/OpenLightingProject/ola/commit/e083653d2d18018fe6ef42f757bc06462de87f28
    Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 app-misc/ola/files/ola-0.10.9-liblo.patch | 27 +++++++++++++++++++++++++++
 app-misc/ola/ola-0.10.9-r2.ebuild         |  3 +++
 2 files changed, 30 insertions(+)