Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675474 - net-p2p/bitcoind-0.17.1 USE=examples - dodoc: FileNotFoundError: [Errno 2] No such file or directory: b'contrib/tidy_datadir.sh'
Summary: net-p2p/bitcoind-0.17.1 USE=examples - dodoc: FileNotFoundError: [Errno 2] No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-01-15 08:23 UTC by Florian Schmaus
Modified: 2019-01-15 14:48 UTC (History)
1 user (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 Florian Schmaus gentoo-dev 2019-01-15 08:23:00 UTC
net-p2p/bitcoind-0.17.1 emerge fails with USE="example", because "contrib/tidy_datadir.sh" is no longer shipped. Fix is trival: Remove the reference to 'tidy_datadir.sh' at the dodoc invocation.

>>> Install bitcoind-0.17.1 into /var/tmp/portage/net-p2p/bitcoind-0.17.1/image category net-p2p
make -j 3 -l 4 DESTDIR=/var/tmp/portage/net-p2p/bitcoind-0.17.1/image install
Making install in src
make[1]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/src'
make[2]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/src'
make[3]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/src'
 /bin/mkdir -p '/var/tmp/portage/net-p2p/bitcoind-0.17.1/image/usr/bin'
  /bin/sh ../libtool --preserve-dup-deps  --mode=install /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c bitcoind '/var/tmp/portage/net-p2p/bitcoind-0.17.1/image/usr/bin'
libtool: install: /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c bitcoind /var/tmp/portage/net-p2p/bitcoind-0.17.1/image/usr/bin/bitcoind
make[3]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/src'
make[2]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/src'
make[1]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/src'
Making install in doc/man
make[1]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/doc/man'
make[2]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/doc/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/var/tmp/portage/net-p2p/bitcoind-0.17.1/image/usr/share/man/man1'
 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 bitcoind.1 '/var/tmp/portage/net-p2p/bitcoind-0.17.1/image/usr/share/man/man1'
make[2]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/doc/man'
make[1]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8/doc/man'
make[1]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8'
make[2]: Entering directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8'
make[1]: Leaving directory '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8'
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'contrib/tidy_datadir.sh'
 * ERROR: net-p2p/bitcoind-0.17.1::gentoo failed (install phase):
 *   dodoc failed
 *
 * If you need support, post the output of `emerge --info '=net-p2p/bitcoind-0.17.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-p2p/bitcoind-0.17.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-p2p/bitcoind-0.17.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/bitcoind-0.17.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8'
 * S: '/var/tmp/portage/net-p2p/bitcoind-0.17.1/work/bitcoin-ef70f9b52b851c7997a9f1a0834714e3eebc1fd8'
Comment 1 Larry the Git Cow gentoo-dev 2019-01-15 14:48:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08137c8530718d5fb7b3be219614a9a85783d561

commit 08137c8530718d5fb7b3be219614a9a85783d561
Author:     Florian Schmaus <flo@geekplace.eu>
AuthorDate: 2019-01-15 08:26:20 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2019-01-15 14:48:22 +0000

    net-p2p/bitcoind: Fix dodoc in case USE=examples
    
    The referenced file 'contrib/tidy_datadir.sh' is no longer shipped by
    upstream.
    
    Closes: https://bugs.gentoo.org/675474
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    
    Signed-off-by: Florian Schmaus <flo@geekplace.eu>
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 net-p2p/bitcoind/bitcoind-0.17.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)