Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932239 - net-wireless/uhd-4.6.0.0 - [ncurses-6.5] [meson-9999] /.../mpmd_image_loader.cpp: fatal error: .../convenience.hpp: No such file or directory
Summary: net-wireless/uhd-4.6.0.0 - [ncurses-6.5] [meson-9999] /.../mpmd_image_loader....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-05-19 21:08 UTC by Toralf Förster
Modified: 2024-05-28 01:45 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.75 KB, text/plain)
2024-05-19 21:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,253.33 KB, text/plain)
2024-05-19 21:08 UTC, Toralf Förster
Details
environment (environment,145.77 KB, text/plain)
2024-05-19 21:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.83 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,396 bytes, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
net-wireless:uhd-4.6.0.0:20240519-201811.log.xz (net-wireless:uhd-4.6.0.0:20240519-201811.log.xz,11.62 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.82 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
Boost-1.85 fix from upstream (0008-lib-Replace-deprecated-boost-filesystem-usage.patch,3.46 KB, patch)
2024-05-21 18:18 UTC, Vladislav Mikhailikov
Details | Diff
Boost 1.85.0 patch from upstream (2nd part) (0026-fix-compilation-with-boost-1.85.0.patch,1.01 KB, patch)
2024-05-21 18:20 UTC, Vladislav Mikhailikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-05-19 21:08:06 UTC
too long lines were shrinked:

[258/483] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_
[259/483] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_
[260/483] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_
[261/483] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_
FAILED: lib/CMakeFiles/uhd.dir/usrp/mpmd/mpmd_image_loader.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOO
/var/tmp/portage/net-wireless/uhd-4.6.0.0/work/uhd-4.6.0.0/host/lib/usrp/mpmd/mpmd_image_loader.cpp:24:10: fatal error: boost/filesystem/convenience.hpp: No such file or directory
   24 | #include <boost/filesystem/convenience.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20240515-113056

  UNMASKED:
    <dev-build/meson-9999
If an issue only occurs with unmasked meson but cannot be reproduced with regular meson, then please re-assign it to ztrawhcse@
    >=sys-libs/ncurses-6.5
Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.5
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.5
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 20d4b79a1305ea472f7f8b1920cf3447ab2e41ea
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 19 19:19:24 2024 +0000

    2024-05-19 19:19:23 UTC

emerge -qpvO net-wireless/uhd
Comment 1 Toralf Förster gentoo-dev 2024-05-19 21:08:07 UTC
Created attachment 893439 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-19 21:08:09 UTC
Created attachment 893440 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-19 21:08:10 UTC
Created attachment 893441 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-19 21:08:11 UTC
Created attachment 893442 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-19 21:08:12 UTC
Created attachment 893443 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-19 21:08:13 UTC
Created attachment 893444 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-19 21:08:14 UTC
Created attachment 893445 [details]
net-wireless:uhd-4.6.0.0:20240519-201811.log.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-19 21:08:15 UTC
Created attachment 893446 [details]
qlist-info.txt.xz
Comment 10 Vladislav Mikhailikov 2024-05-21 18:18:57 UTC
Created attachment 893677 [details, diff]
Boost-1.85 fix from upstream

Subject: [PATCH 08/30] lib: Replace deprecated boost::filesystem usage

Recent versions of Boost were throwing compiler warnings due to usage of
deprecated functions. Our minimum version of Boost (1.65) already
provides the replacements, so this commit simply updates these
deprecated use cases.
---
 host/lib/usrp/mpmd/mpmd_image_loader.cpp                 | 6 ++----
 host/lib/usrp/x300/x300_image_loader.cpp                 | 4 ++--
 host/lib/usrp_clock/octoclock/octoclock_image_loader.cpp | 2 +-
Comment 11 Vladislav Mikhailikov 2024-05-21 18:20:16 UTC
Created attachment 893678 [details, diff]
Boost 1.85.0 patch from upstream (2nd part)

The header boost/filesystem/convenience.hpp was removed with boost 1.85.0

The deprecated extension-related functions were already replaced with
commit ea586168c596d13d05d145832519755794649ba0
Comment 12 Vladislav Mikhailikov 2024-05-21 18:21:21 UTC
Build passed ok. You can put patches into /etc/portage/patches/net-wireless/uhd for immediate fix.
Comment 13 Russell Dwiggins 2024-05-26 04:04:32 UTC
I applied the (2nd part) patch, however the build failed with the missing  convenience.hpp error.

Upstream fix failed 3 hunks.
Comment 14 Russell Dwiggins 2024-05-26 04:35:52 UTC
(In reply to Russell Dwiggins from comment #13)
> I applied the (2nd part) patch, however the build failed with the missing 
> convenience.hpp error.
> 
> Upstream fix failed 3 hunks.

Nevermind. I must have copied incorrectly. All working now.
Comment 15 Larry the Git Cow gentoo-dev 2024-05-28 01:45:16 UTC
The bug has been closed via the following commit(s):

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

commit bae5ae994b8a67ea627bf27c82973b808922e4f7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-28 01:36:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-28 01:36:09 +0000

    net-wireless/uhd: fix build w/ boost-1.85
    
    Closes: https://bugs.gentoo.org/932239
    Thanks-to: Vladislav Mikhailikov <vmikhailikov@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../uhd/files/uhd-4.6.0.0-boost-1.85-1.patch       | 80 ++++++++++++++++++++++
 .../uhd/files/uhd-4.6.0.0-boost-1.85-2.patch       | 31 +++++++++
 net-wireless/uhd/uhd-4.6.0.0.ebuild                |  5 ++
 3 files changed, 116 insertions(+)