Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899394 Details for
Bug 937524
net-libs/libnpupnp-6.2.0 - [icu-75.1] [gcc-15] ../.../ThreadPool.cpp: error: struct ThreadPoolJob has no member named priority
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-libs:libnpupnp-6.1.3:20240807-020044.log
net-libs:libnpupnp-6.1.3:20240807-020044.log (text/plain), 14.51 KB, created by
Toralf Förster
on 2024-08-07 17:32:35 UTC
(
hide
)
Description:
net-libs:libnpupnp-6.1.3:20240807-020044.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-08-07 17:32:35 UTC
Size:
14.51 KB
patch
obsolete
> * Package: net-libs/libnpupnp-6.1.3:0 > * Repository: gentoo > * Maintainer: stasibear@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking libnpupnp-6.1.3.tar.gz to /var/tmp/portage/net-libs/libnpupnp-6.1.3/work >>>> Source unpacked in /var/tmp/portage/net-libs/libnpupnp-6.1.3/work >>>> Preparing source in /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3 ... >meson setup -Db_lto=false --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/net-libs/libnpupnp-6.1.3/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3 /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3-build >The Meson build system >Version: 1.5.1 >Source dir: /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3 >Build dir: /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3-build >Build type: native build >Project name: libnpupnp >Project version: 6.1.3 >C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 15.0.0 "x86_64-pc-linux-gnu-g++ (Gentoo Hardened 15.0.0_pre20240804 p8) 15.0.0 20240804 (experimental)") >C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.42 >Host machine cpu family: x86_64 >Host machine cpu: x86_64 >Run-time dependency threads found: YES >Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.2.0 >Run-time dependency libcurl found: YES 8.9.1 >Run-time dependency libmicrohttpd found: YES 1.0.1 >Run-time dependency expat found: YES 2.6.2 >Compiler for C++ supports arguments -Wno-deprecated-declarations: YES >Compiler for C++ supports arguments /D_CRT_SECURE_NO_WARNINGS: NO >Compiler for C++ supports arguments /wd4251: NO >Configuring upnpconfig.h using configuration >Configuring autoconfig.h using configuration >Build targets in project: 1 > >libnpupnp 6.1.3 > > User defined options > Native files : /var/tmp/portage/net-libs/libnpupnp-6.1.3/temp/meson.x86_64-pc-linux-gnu.amd64.ini > build.pkg_config_path: /usr/share/pkgconfig > buildtype : plain > libdir : lib64 > localstatedir : /var/lib > pkg_config_path : /usr/share/pkgconfig > prefix : /usr > sysconfdir : /etc > werror : false > wrap_mode : nodownload > b_lto : false > b_pch : false > >Found ninja-1.12.1 at /usr/bin/ninja >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3 ... >ninja -v -j4 -l0 >[1/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.2.1.p -I. -I../libnpupnp-6.1.3 -I../libnpupnp-6.1.3/inc -I../libnpupnp-6.1.3/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -DSMALLUT_EXTERNAL_INSTANTIATIONS -Wno-deprecated-declarations -O3 -pipe -march=native -fno-diagnostics-color -fPIC -pthread -MD -MQ libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o -MF libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o.d -o libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o -c ../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp >FAILED: libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o >x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.2.1.p -I. -I../libnpupnp-6.1.3 -I../libnpupnp-6.1.3/inc -I../libnpupnp-6.1.3/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -DSMALLUT_EXTERNAL_INSTANTIATIONS -Wno-deprecated-declarations -O3 -pipe -march=native -fno-diagnostics-color -fPIC -pthread -MD -MQ libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o -MF libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o.d -o libnpupnp.so.13.2.1.p/src_threadutil_ThreadPool.cpp.o -c ../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp >In file included from ../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:34: >../libnpupnp-6.1.3/src/inc/ThreadPool.h:129:10: error: use of enum âThreadPriorityâ without previous declaration > 129 | enum ThreadPriority : uint16_t {LOW_PRIORITY, MED_PRIORITY, HIGH_PRIORITY}; > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/inc/ThreadPool.h:129:27: error: âuint16_tâ was not declared in this scope > 129 | enum ThreadPriority : uint16_t {LOW_PRIORITY, MED_PRIORITY, HIGH_PRIORITY}; > | ^~~~~~~~ >../libnpupnp-6.1.3/src/inc/ThreadPool.h:39:1: note: âuint16_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â > 38 | #include <memory> > +++ |+#include <cstdint> > 39 | >../libnpupnp-6.1.3/src/inc/ThreadPool.h:129:36: error: default member initializer for unnamed bit-field > 129 | enum ThreadPriority : uint16_t {LOW_PRIORITY, MED_PRIORITY, HIGH_PRIORITY}; > | ^ >../libnpupnp-6.1.3/src/inc/ThreadPool.h:142:51: error: âThreadPriorityâ has not been declared > 142 | int addJob(std::unique_ptr<JobWorker> worker, ThreadPriority priority = MED_PRIORITY); > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/inc/ThreadPool.h:154:58: error: âThreadPriorityâ has not been declared > 154 | int addPersistent(std::unique_ptr<JobWorker> worker, ThreadPriority priority = MED_PRIORITY); > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/inc/ThreadPool.h:142:77: error: âMED_PRIORITYâ was not declared in this scope > 142 | int addJob(std::unique_ptr<JobWorker> worker, ThreadPriority priority = MED_PRIORITY); > | ^~~~~~~~~~~~ >../libnpupnp-6.1.3/src/inc/ThreadPool.h:154:84: error: âMED_PRIORITYâ was not declared in this scope > 154 | int addPersistent(std::unique_ptr<JobWorker> worker, ThreadPriority priority = MED_PRIORITY); > | ^~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:66:54: error: âThreadPool::ThreadPriorityâ has not been declared > 66 | ThreadPoolJob(std::unique_ptr<JobWorker> worker, ThreadPool::ThreadPriority _prio, int j, steady_clock::time_point rt) > | ^~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:69:17: error: âThreadPriorityâ in âclass ThreadPoolâ does not name a type > 69 | ThreadPool::ThreadPriority priority; > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp: In constructor âThreadPoolJob::ThreadPoolJob(std::unique_ptr<JobWorker>, int, int, std::chrono::_V2::steady_clock::time_point)â: >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:67:40: error: class âThreadPoolJobâ does not have any field named âpriorityâ > 67 | : m_worker(std::move(worker)), priority(_prio), requestTime(rt), jobId(j) {} > | ^~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp: At global scope: >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:83:23: error: âThreadPriorityâ has not been declared > 83 | void CalcWaitTime(ThreadPriority p, const std::unique_ptr<ThreadPoolJob>& job); > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:175:6: error: variable or field âCalcWaitTimeâ declared void > 175 | void ThreadPool::Internal::CalcWaitTime(ThreadPriority p, const std::unique_ptr<ThreadPoolJob>& job) > | ^~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:175:41: error: âThreadPriorityâ was not declared in this scope > 175 | void ThreadPool::Internal::CalcWaitTime(ThreadPriority p, const std::unique_ptr<ThreadPoolJob>& job) > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:175:59: error: expected primary-expression before âconstâ > 175 | void ThreadPool::Internal::CalcWaitTime(ThreadPriority p, const std::unique_ptr<ThreadPoolJob>& job) > | ^~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:245:36: error: âThreadPriorityâ is not a member of âThreadPoolâ > 245 | static int SetPriority(ThreadPool::ThreadPriority priority) > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp: In member function âvoid ThreadPool::Internal::WorkerThread()â: >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:431:46: error: âHIGH_PRIORITYâ is not a member of âThreadPoolâ > 431 | CalcWaitTime(ThreadPool::HIGH_PRIORITY, job); > | ^~~~~~~~~~~~~ >../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); > | ^~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:451:34: error: âSetPriorityâ cannot be used as a function > 451 | SetPriority(job->priority); > | ^ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:455:33: error: âMED_PRIORITYâ is not a member of âThreadPoolâ > 455 | SetPriority(ThreadPool::MED_PRIORITY); > | ^~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:455:45: error: âSetPriorityâ cannot be used as a function > 455 | SetPriority(ThreadPool::MED_PRIORITY); > | ^ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp: At global scope: >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:570:66: error: âThreadPriorityâ has not been declared > 570 | int ThreadPool::addPersistent(std::unique_ptr<JobWorker> worker, ThreadPriority priority) > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:597:59: error: âThreadPriorityâ has not been declared > 597 | int ThreadPool::addJob(std::unique_ptr<JobWorker> worker, ThreadPriority prio) > | ^~~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp: In member function âint ThreadPool::addJob(std::unique_ptr<JobWorker>, int)â: >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:608:18: error: âstruct ThreadPoolJobâ has no member named âpriorityâ > 608 | switch (job->priority) { > | ^~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:609:10: error: âHIGH_PRIORITYâ was not declared in this scope > 609 | case HIGH_PRIORITY: > | ^~~~~~~~~~~~~ >../libnpupnp-6.1.3/src/threadutil/ThreadPool.cpp:612:10: error: âMED_PRIORITYâ was not declared in this scope > 612 | case MED_PRIORITY: > | ^~~~~~~~~~~~ >[2/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.2.1.p -I. -I../libnpupnp-6.1.3 -I../libnpupnp-6.1.3/inc -I../libnpupnp-6.1.3/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -DSMALLUT_EXTERNAL_INSTANTIATIONS -Wno-deprecated-declarations -O3 -pipe -march=native -fno-diagnostics-color -fPIC -pthread -MD -MQ libnpupnp.so.13.2.1.p/src_api_upnpdebug.cpp.o -MF libnpupnp.so.13.2.1.p/src_api_upnpdebug.cpp.o.d -o libnpupnp.so.13.2.1.p/src_api_upnpdebug.cpp.o -c ../libnpupnp-6.1.3/src/api/upnpdebug.cpp >[3/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.2.1.p -I. -I../libnpupnp-6.1.3 -I../libnpupnp-6.1.3/inc -I../libnpupnp-6.1.3/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -DSMALLUT_EXTERNAL_INSTANTIATIONS -Wno-deprecated-declarations -O3 -pipe -march=native -fno-diagnostics-color -fPIC -pthread -MD -MQ libnpupnp.so.13.2.1.p/src_dispatcher_miniserver.cpp.o -MF libnpupnp.so.13.2.1.p/src_dispatcher_miniserver.cpp.o.d -o libnpupnp.so.13.2.1.p/src_dispatcher_miniserver.cpp.o -c ../libnpupnp-6.1.3/src/dispatcher/miniserver.cpp >[4/28] x86_64-pc-linux-gnu-g++ -Ilibnpupnp.so.13.2.1.p -I. -I../libnpupnp-6.1.3 -I../libnpupnp-6.1.3/inc -I../libnpupnp-6.1.3/src/inc -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -DDLL_EXPORT -DNOMINMAX -DSMALLUT_NO_REGEX -DSMALLUT_EXTERNAL_INSTANTIATIONS -Wno-deprecated-declarations -O3 -pipe -march=native -fno-diagnostics-color -fPIC -pthread -MD -MQ libnpupnp.so.13.2.1.p/src_api_upnpapi.cpp.o -MF libnpupnp.so.13.2.1.p/src_api_upnpapi.cpp.o.d -o libnpupnp.so.13.2.1.p/src_api_upnpapi.cpp.o -c ../libnpupnp-6.1.3/src/api/upnpapi.cpp >ninja: build stopped: subcommand failed. > * ERROR: net-libs/libnpupnp-6.1.3::gentoo failed (compile phase): > * ninja -v -j4 -l0 failed > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 2889: Called meson_src_compile > * environment, line 2108: Called eninja > * environment, line 1532: Called die > * The specific snippet of code: > * "$@" || die -n "${*} failed" > * > * If you need support, post the output of `emerge --info '=net-libs/libnpupnp-6.1.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-libs/libnpupnp-6.1.3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-libs:libnpupnp-6.1.3:20240807-020044.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libnpupnp-6.1.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-libs/libnpupnp-6.1.3/temp/environment'. > * Working directory: '/var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3-build' > * S: '/var/tmp/portage/net-libs/libnpupnp-6.1.3/work/libnpupnp-6.1.3' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 937524
:
899389
|
899390
|
899391
|
899392
|
899393
| 899394 |
899395
|
899396