Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730198

Summary: net-dns/bind-9.16.4 - FileNotFoundError: [Errno 2] No such file or directory: b'doc/arm/Bv9ARM.pdf'
Product: Gentoo Linux Reporter: Krzysztof Olędzki <ole+gentoo>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED FIXED    
Severity: normal CC: hanno, ole+gentoo, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=730168
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 728590    

Description Krzysztof Olędzki 2020-06-30 04:35:47 UTC
There are three issues with the new net-dns/bind-9.16.4 package:
1. it fails fails with USE=doc
2. it triggers package collision
3. it does not update paths in man files (/etc/named.conf)

Please see: https://bugs.gentoo.org/728590#c5 for a potential fix to all these issues


Issue #1:
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'doc/arm/Bv9ARM.pdf'
 * ERROR: net-dns/bind-9.16.4::gentoo failed (install phase):
 *   dodoc failed
 *
 * If you need support, post the output of `emerge --info '=net-dns/bind-9.16.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/bind-9.16.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/bind-9.16.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/bind-9.16.4/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/bind-9.16.4/work/bind-9.16.4'
 * S: '/var/tmp/portage/net-dns/bind-9.16.4/work/bind-9.16.4'

- Issue #2:
 * Detected file collision(s):
 *
 *      /usr/share/man/man1/delv.1.bz2
 *      /usr/share/man/man1/nsupdate.1.bz2
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-dns/bind-tools-9.16.3:0::gentoo
 *      /usr/share/man/man1/delv.1.bz2
 *      /usr/share/man/man1/nsupdate.1.bz2
 *
 * Package 'net-dns/bind-9.16.4' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-07-12 15:40:10 UTC
Fixed.