Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699300 - net-analyzer/netdata-1.18.1-r1 - src_install(): FileNotFoundError: [Errno 2] No such file or directory: b'99netdata'
Summary: net-analyzer/netdata-1.18.1-r1 - src_install(): FileNotFoundError: [Errno 2] ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-04 10:41 UTC by andcycle-gentoo
Modified: 2019-11-04 12:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andcycle-gentoo 2019-11-04 10:41:42 UTC
the new ebuild revision edit out env file
result in emerge install fail

--
# diff netdata-1.18.1.ebuild netdata-1.18.1-r1.ebuild
38,39d37
<       net-analyzer/tcpdump
<       net-analyzer/traceroute
126d123
<       echo "CONFIG_PROTECT=\"${EPREFIX}/usr/$(get_libdir)/netdata/conf.d\"" > 99netdata
--
changed ownership of '/var/tmp/portage/net-analyzer/netdata-1.18.1-r1/image/usr/share/netdata/web/version.txt' from root:root to root:netdata
changed ownership of '/var/tmp/portage/net-analyzer/netdata-1.18.1-r1/image/usr/share/netdata/web' from root:root to root:netdata
changed ownership of '/var/tmp/portage/net-analyzer/netdata-1.18.1-r1/image/usr/share/netdata' from root:root to root:netdata
Traceback (most recent call last):
  File "/usr/lib/portage/python3.6/doins.py", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.6/doins.py", line 602, in main
    os.path.dirname(source)):
  File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.6/doins.py", line 195, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'99netdata'
 * ERROR: net-analyzer/netdata-1.18.1-r1::gentoo failed (install phase):
 *   doins failed
 * 



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-04 11:10:13 UTC
oops
Comment 2 Craig Andrews gentoo-dev 2019-11-04 12:19:28 UTC
This issue only existed for a short time yesterday - I'm surprised anyone noticed.

Here's the commit that fixed it:
https://github.com/gentoo/gentoo/commit/0c41ed91620ab0525a23f5528f95bbab27b516e0