Could someone review this patch that enables the Go-based plugins of Netdata?
I tested it in QEMU with the Go example package enable locally.
I have this error when building the image (with Kas)
----------------------------------------------------
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 5371 tasks of which 5341 didn't need to be
rerun and all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
Exception ignored in: <function SetupHome.__del__ at 0x7fe2f82682c0>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/kas/libcmds.py", line 166, in
__del__
shutil.rmtree(self.tmpdirname)
File "/usr/lib/python3.11/shutil.py", line 732, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.11/shutil.py", line 660, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.11/shutil.py", line 660, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.11/shutil.py", line 660, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
[Previous line repeated 2 more times]
File "/usr/lib/python3.11/shutil.py", line 683, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.11/shutil.py", line 681, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'rounder_example_test.go'
Workaround for network access
-----------------------------
I there a way to avoid the 'do_compile[network] = "1"'. It seems to be
needed to fetch the Go packages specified in the go.mod file.
INSAGE_SKIP
-----------
How to avoid the QA error/warning `already-stripped`?
ERROR: netdata-1.47.1-r0 do_package: QA Issue: File
'/usr/libexec/netdata/plugins.d/go.d.plugin' from netdata was already stripped,
this will prevent future debugging! [already-stripped]
ERROR: netdata-1.47.1-r0 do_package: Fatal QA errors were found, failing task.
Jan Vermaete (1):
netdata: enable Go-based plugins
.../recipes-webadmin/netdata/netdata_1.47.1.bb | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
--
2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112309):
https://lists.openembedded.org/g/openembedded-devel/message/112309
Mute This Topic: https://lists.openembedded.org/mt/108467198/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-