Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 852284 Details for
Bug 895142
net-misc/netevent-2.2.1 - src/socket.cpp: error: uint8_t was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:netevent-2.2.1:20230217-164829.log
net-misc:netevent-2.2.1:20230217-164829.log (text/plain), 10.84 KB, created by
Toralf Förster
on 2023-02-17 16:55:09 UTC
(
hide
)
Description:
net-misc:netevent-2.2.1:20230217-164829.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-02-17 16:55:09 UTC
Size:
10.84 KB
patch
obsolete
> * Package: net-misc/netevent-2.2.1:0 > * Repository: gentoo > * Maintainer: chewi@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking netevent-2.2.1.tar.gz to /var/tmp/portage/net-misc/netevent-2.2.1/work >>>> Source unpacked in /var/tmp/portage/net-misc/netevent-2.2.1/work >>>> Preparing source in /var/tmp/portage/net-misc/netevent-2.2.1/work/netevent-2.2.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/netevent-2.2.1/work/netevent-2.2.1 ... >Checking for rst2man...no, disabling documentation building >Checking for UI_DEV_SETUP (kernel >= 4.4)...ok >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/netevent-2.2.1/work/netevent-2.2.1 ... >make -j4 'CPPFLAGS=-Wall -Wno-unknown-pragmas' >x86_64-pc-linux-gnu-g++ -Wall -Wno-unknown-pragmas -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -I. -c -o src/main.o src/main.cpp -MMD -MT src/main.o -MF src/main.d >x86_64-pc-linux-gnu-g++ -Wall -Wno-unknown-pragmas -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -I. -c -o src/daemon.o src/daemon.cpp -MMD -MT src/daemon.o -MF src/daemon.d >x86_64-pc-linux-gnu-g++ -Wall -Wno-unknown-pragmas -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -I. -c -o src/writer.o src/writer.cpp -MMD -MT src/writer.o -MF src/writer.d >x86_64-pc-linux-gnu-g++ -Wall -Wno-unknown-pragmas -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -I. -c -o src/reader.o src/reader.cpp -MMD -MT src/reader.o -MF src/reader.d >x86_64-pc-linux-gnu-g++ -Wall -Wno-unknown-pragmas -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -I. -c -o src/socket.o src/socket.cpp -MMD -MT src/socket.o -MF src/socket.d >x86_64-pc-linux-gnu-g++ -Wall -Wno-unknown-pragmas -pipe -march=native -fno-diagnostics-color -O2 -std=c++14 -I. -c -o src/bitfield.o src/bitfield.cpp -MMD -MT src/bitfield.o -MF src/bitfield.d >src/socket.cpp: In member function âvoid Socket::bindUnix(const std::string&)â: >src/socket.cpp:55:9: error: âuint8_tâ was not declared in this scope > 55 | uint8_t *data; > | ^~~~~~~ >src/socket.cpp:11:1: note: âuint8_tâ is defined in header â<cstdint>â; did you forget to â#include <cstdint>â? > 10 | #include <sys/un.h> > +++ |+#include <cstdint> > 11 | >src/socket.cpp:55:18: error: âdataâ was not declared in this scope > 55 | uint8_t *data; > | ^~~~ >src/socket.cpp:58:41: error: âuint8_tâ does not name a type > 58 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^~~~~~~ >src/socket.cpp:58:41: note: âuint8_tâ is defined in header â<cstdint>â; did you forget to â#include <cstdint>â? >src/socket.cpp:58:48: error: expected â>â before â*â token > 58 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ >src/socket.cpp:58:48: error: expected â(â before â*â token > 58 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ > | ( >src/socket.cpp:58:49: error: expected primary-expression before â>â token > 58 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ >src/socket.cpp:58:69: error: expected â)â before â;â token > 58 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ > | ) >src/socket.cpp:60:41: error: âuint8_tâ does not name a type > 60 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^~~~~~~ >src/socket.cpp:60:41: note: âuint8_tâ is defined in header â<cstdint>â; did you forget to â#include <cstdint>â? >src/socket.cpp:60:48: error: expected â>â before â*â token > 60 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ >src/socket.cpp:60:48: error: expected â(â before â*â token > 60 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ > | ( >src/socket.cpp:60:49: error: expected primary-expression before â>â token > 60 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ >src/socket.cpp:60:69: error: expected â)â before â;â token > 60 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ > | ) >src/socket.cpp:65:43: error: ISO C++ forbids declaration of âtype nameâ with no type [-fpermissive] > 65 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^~~~~~~ >src/socket.cpp:65:43: error: expected â>â before âuint8_tâ >src/socket.cpp:65:43: error: expected â(â before âuint8_tâ > 65 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^~~~~~~ > | ( >src/socket.cpp:65:51: error: expected primary-expression before â>â token > 65 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^ >src/socket.cpp:65:59: error: expected â)â before â;â token > 65 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^ > | ) >src/socket.cpp: In member function âvoid Socket::connectUnix(const std::string&)â: >src/socket.cpp:104:9: error: âuint8_tâ was not declared in this scope > 104 | uint8_t *data; > | ^~~~~~~ >src/socket.cpp:104:9: note: âuint8_tâ is defined in header â<cstdint>â; did you forget to â#include <cstdint>â? >src/socket.cpp:104:18: error: âdataâ was not declared in this scope > 104 | uint8_t *data; > | ^~~~ >src/socket.cpp:107:41: error: âuint8_tâ does not name a type > 107 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^~~~~~~ >src/socket.cpp:107:41: note: âuint8_tâ is defined in header â<cstdint>â; did you forget to â#include <cstdint>â? >src/socket.cpp:107:48: error: expected â>â before â*â token > 107 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ >src/socket.cpp:107:48: error: expected â(â before â*â token > 107 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ > | ( >src/socket.cpp:107:49: error: expected primary-expression before â>â token > 107 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ >src/socket.cpp:107:69: error: expected â)â before â;â token > 107 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[1]); > | ^ > | ) >src/socket.cpp:109:41: error: âuint8_tâ does not name a type > 109 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^~~~~~~ >src/socket.cpp:109:41: note: âuint8_tâ is defined in header â<cstdint>â; did you forget to â#include <cstdint>â? >src/socket.cpp:109:48: error: expected â>â before â*â token > 109 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ >src/socket.cpp:109:48: error: expected â(â before â*â token > 109 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ > | ( >src/socket.cpp:109:49: error: expected primary-expression before â>â token > 109 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ >src/socket.cpp:109:69: error: expected â)â before â;â token > 109 | data = reinterpret_cast<uint8_t*>(&addr.sun_path[0]); > | ^ > | ) >src/socket.cpp:114:43: error: ISO C++ forbids declaration of âtype nameâ with no type [-fpermissive] > 114 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^~~~~~~ >src/socket.cpp:114:43: error: expected â>â before âuint8_tâ >src/socket.cpp:114:43: error: expected â(â before âuint8_tâ > 114 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^~~~~~~ > | ( >src/socket.cpp:114:51: error: expected primary-expression before â>â token > 114 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^ >src/socket.cpp:114:59: error: expected â)â before â;â token > 114 | auto beg = reinterpret_cast<const uint8_t*>(&addr); > | ^ > | ) >make: *** [Makefile:59: src/socket.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: net-misc/netevent-2.2.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/netevent-2.2.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/netevent-2.2.1::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:netevent-2.2.1:20230217-164829.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/netevent-2.2.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/netevent-2.2.1/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/netevent-2.2.1/work/netevent-2.2.1' > * S: '/var/tmp/portage/net-misc/netevent-2.2.1/work/netevent-2.2.1' >
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 895142
:
852274
|
852276
|
852278
|
852280
|
852282
| 852284 |
852286