Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937524 - net-libs/libnpupnp-6.2.0 - [icu-75.1] [gcc-15] ../.../ThreadPool.cpp: error: struct ThreadPoolJob has no member named priority
Summary: net-libs/libnpupnp-6.2.0 - [icu-75.1] [gcc-15] ../.../ThreadPool.cpp: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-07 17:32 UTC by Toralf Förster
Modified: 2025-03-14 19:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.31 KB, text/plain)
2024-08-07 17:32 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,70.27 KB, application/x-xz)
2024-08-07 17:32 UTC, Toralf Förster
Details
environment (environment,118.04 KB, text/plain)
2024-08-07 17:32 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-08-07 17:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.44 KB, application/x-xz)
2024-08-07 17:32 UTC, Toralf Förster
Details
net-libs:libnpupnp-6.1.3:20240807-020044.log (net-libs:libnpupnp-6.1.3:20240807-020044.log,14.51 KB, text/plain)
2024-08-07 17:32 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,76.07 KB, application/x-xz)
2024-08-07 17:32 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.60 KB, application/x-xz)
2024-08-07 17:32 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-08-07 17:32:29 UTC
../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:435:46: error: MED_PRIORITY is not a member of ThreadPool
  435 |                     CalcWaitTime(ThreadPool::MED_PRIORITY, job);
      |                                              ^~~~~~~~~~~~
../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:439:46: error: LOW_PRIORITY is not a member of ThreadPool
  439 |                     CalcWaitTime(ThreadPool::LOW_PRIORITY, job);
      |                                              ^~~~~~~~~~~~
../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:451:26: error: struct ThreadPoolJob has no member named priority
  451 |         SetPriority(job->priority);
      |                          ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240802-065003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
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.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 9ae55650c16d3fc6430fda45270d69629692b3f9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 6 23:33:54 2024 +0000

    2024-08-06 23:33:54 UTC

emerge -qpvO net-libs/libnpupnp
[ebuild  N    ] net-libs/libnpupnp-6.1.3
Comment 1 Toralf Förster gentoo-dev 2024-08-07 17:32:30 UTC
Created attachment 899389 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-07 17:32:31 UTC
Created attachment 899390 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-07 17:32:32 UTC
Created attachment 899391 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-07 17:32:33 UTC
Created attachment 899392 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-07 17:32:34 UTC
Created attachment 899393 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-07 17:32:35 UTC
Created attachment 899394 [details]
net-libs:libnpupnp-6.1.3:20240807-020044.log
Comment 7 Toralf Förster gentoo-dev 2024-08-07 17:32:36 UTC
Created attachment 899395 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-07 17:32:37 UTC
Created attachment 899396 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-10-21 06:57:28 UTC
tinderbox_x86 has reproduced this issue with version 6.2.0 - Updating summary.
Comment 10 Erik Mackdanz gentoo-dev 2024-11-04 14:01:21 UTC
I can reproduce this on gcc-15.0.0_pre20241027

It is reproducible with or without the flags from the tinderbox logs:
CXXFLAGS="-O3 -pipe -march=native -fno-diagnostics-color"
Comment 11 Larry the Git Cow gentoo-dev 2025-03-14 19:50:11 UTC
The bug has been closed via the following commit(s):

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

commit d39109d01adcfe62dae44f78111d15b04ed636be
Author:     Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
AuthorDate: 2025-03-14 19:29:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-14 19:49:07 +0000

    net-libs/libnpupnp: add 6.2.1
    
    Simple bump to 6.2.1, has a fix [1] for a gcc 15 build failure
    
    [1] https://framagit.org/medoc92/npupnp/-/commit/6ebb992a
    
    Closes: https://bugs.gentoo.org/937524
    Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/41082
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libnpupnp/Manifest               |  1 +
 net-libs/libnpupnp/libnpupnp-6.2.1.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)