Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932240 - dev-libs/boost-1.85.0[tools] - [ncurses-6.5] /.../add_dependent_lib.cpp: error: const class boost::filesystem::path has no member named leaf
Summary: dev-libs/boost-1.85.0[tools] - [ncurses-6.5] /.../add_dependent_lib.cpp: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Seifert
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-20 07:00 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,24.46 KB, text/plain)
2024-05-19 21:08 UTC, Toralf Förster
Details
dev-libs:boost-1.85.0:20240519-203213.log.xz (dev-libs:boost-1.85.0:20240519-203213.log.xz,35.47 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,151.99 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
environment (environment,145.06 KB, text/plain)
2024-05-19 21:08 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,56.47 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,46.67 KB, application/x-xz)
2024-05-19 21:08 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,144.00 KB, application/x-xz)
2024-05-19 21:08 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-05-19 21:08:23 UTC
too long lines were shrinked:


gcc.compile.c++ ../bin.v2/tools/bcp/gcc-13.2/gentoorelease/link-static/pch-off/threading-multi/add_dependent_lib.o

    "x86_64-pc-linux-gnu-g++"    -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -march=native -fno-diagnostics-color -std=c++17 -m64 -pthread -finline-functions -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILES

/var/tmp/portage/dev-libs/boost-1.85.0/work/boost_1_85_0-abi_x86_64.amd64/tools/bcp/add_dependent_lib.cpp: In function void init_library_scanner(const boost::filesystem::path&, bool, const std::string&, bool):
/var/tmp/portage/dev-libs/boost-1.85.0/work/boost_1_85_0-abi_x86_64.amd64/tools/bcp/add_dependent_lib.cpp:46:10: error: const class boost::filesystem::path has no member named leaf
   46 |    if((p.leaf() == "bin") || (p.leaf() == "bin-stage"))
      |          ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240506-180046

  UNMASKED:
    >=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-13 *
clang/llvm (if any):
clang version 18.1.6
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.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   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 8d6a420530f405ac3521db2a02228a347f6c89b5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun May 19 19:48:57 2024 +0000

    2024-05-19 19:48:56 UTC

emerge -qpvO dev-libs/boost
Comment 1 Toralf Förster gentoo-dev 2024-05-19 21:08:24 UTC
Created attachment 893447 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-19 21:08:25 UTC
Created attachment 893448 [details]
dev-libs:boost-1.85.0:20240519-203213.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-05-19 21:08:26 UTC
Created attachment 893449 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-05-19 21:08:28 UTC
Created attachment 893450 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-19 21:08:29 UTC
Created attachment 893451 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-19 21:08:30 UTC
Created attachment 893452 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-19 21:08:31 UTC
Created attachment 893453 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-19 21:08:32 UTC
Created attachment 893454 [details]
qlist-info.txt.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-05-20 07:00:28 UTC
The bug has been closed via the following commit(s):

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

commit 9292ab9aa7003a86b551aba3470bb23581e6ab2c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-20 06:56:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-20 06:56:36 +0000

    dev-libs/boost: fix USE=tools build
    
    Closes: https://bugs.gentoo.org/932240
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/boost/boost-1.85.0.ebuild                 |   1 +
 .../boost/files/boost-1.85.0-bcp-filesystem.patch  | 188 +++++++++++++++++++++
 2 files changed, 189 insertions(+)