Date: Wed, 30 Oct 2024 12:47:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282417] devel/radare2: error: use of undeclared identifier 'info' Message-ID: <bug-282417-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282417 Bug ID: 282417 Summary: devel/radare2: error: use of undeclared identifier 'info' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: freebsd@sysctl.cz Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org Hi, this is from poudriere i need radare2 for iaito package. https://github.com/radareorg/radare2/issues/23568 -I/wrkdirs/usr/ports/devel/radare2/work/radare2-5.9.6/libr/../shlr/bochs/in= clude/ -I/wrkdirs/usr/ports/devel/radare2/work/radare2-5.9.6/libr/../shlr/gdb/incl= ude/ -I/wrkdirs/usr/ports/devel/radare2/work/radare2-5.9.6/libr/../shlr/qnx/incl= ude/ -Ip/librapwrap/include -I/wrkdirs/usr/ports/devel/radare2/work/radare2-5.9.6/libr/../shlr/winkd/ -DXNU_USE_PTRACE=3D0 -I/wrkdirs/usr/ports/devel/radare2/work/radare2-5.9.6/libr/../shlr/sdb/incl= ude -fvisibility=3Dhidden -o p/debug_native.o p/debug_native.c p/debug_native.c:671:3: error: expected expression 671 | struct ptrace_xstate_info info; | ^ p/debug_native.c:672:51: error: use of undeclared identifier 'info' 672 | ret =3D ptrace (PT_GETXSTATE_INFO, pid, (caddr_t)&i= nfo, sizeof (info)); | ^ p/debug_native.c:672:65: error: use of undeclared identifier 'info' 672 | ret =3D ptrace (PT_GETXSTATE_INFO, pid, (caddr_t)&i= nfo, sizeof (info)); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ p/debug_native.c:673:7: error: use of undeclared identifier 'info' 673 | if (info.xsave_len !=3D 0) { | ^ p/debug_native.c:674:50: error: use of undeclared identifier 'info' 674 | ret =3D ptrace (PT_GETXSTATE, pid, (caddr_t)buf, info.xsave_len); | ^ p/debug_native.c:1083:8: warning: variable 'map_is_shared' set but not used [-Wunused-but-set-variable] 1083 | bool map_is_shared =3D false; | ^ p/debug_native.c:1025:6: warning: unused variable 'ign' [-Wunused-variable] 1025 | int ign; | ^~~ p/debug_native.c:1026:7: warning: unused variable 'unkstr' [-Wunused-variab= le] 1026 | char unkstr[128]; | ^~~~~~ 3 warnings and 5 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282417-7788>