Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832205 - app-admin/sudo-1.9.9 USE=ldap fails to install - FileNotFoundError: [Errno 2] No such file or directory: b'README.LDAP'
Summary: app-admin/sudo-1.9.9 USE=ldap fails to 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 (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-28 11:39 UTC by Johannes Penßel
Modified: 2022-01-29 10:17 UTC (History)
3 users (show)

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 Johannes Penßel 2022-01-28 11:39:34 UTC
app-admin/sudo-1.9.9 fails to emerge with USE=ldap enabled. The actual program compiles without issues, but the installation aborts at the dodoc ebuild function because it cannot find the README.LDAP file. (I think?)

make[1]: Leaving directory '/var/tmp/portage/app-admin/sudo-1.9.9/work/sudo-1.9.9/examples'
Traceback (most recent call last):
  File "/usr/lib/portage/python3.10/doins.py", line 607, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.10/doins.py", line 596, in main
    if _doins(
  File "/usr/lib/portage/python3.10/doins.py", line 439, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.10/doins.py", line 373, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.10/doins.py", line 181, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'README.LDAP'
 * ERROR: app-admin/sudo-1.9.9::gentoo failed (install phase):
 *   dodoc failed

compiling the package with USE=-ldap works around the issue.
Comment 1 Larry the Git Cow gentoo-dev 2022-01-28 16:46:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23164199eba78a6f2c69f10d05c4291e473e1fbd

commit 23164199eba78a6f2c69f10d05c4291e473e1fbd
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-01-28 16:45:47 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-01-28 16:45:47 +0000

    app-admin/sudo: README.LDAP renamed to README.LDAP.md
    
    Closes: https://bugs.gentoo.org/832205
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 app-admin/sudo/sudo-1.9.9.ebuild | 4 ++--
 app-admin/sudo/sudo-9999.ebuild  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 2 Tomáš Mózes 2022-01-29 10:17:40 UTC
*** Bug 832306 has been marked as a duplicate of this bug. ***