Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695850 - media-libs/giflib-5.2.1 USE=doc - dodoc: FileNotFoundError: [Errno 2] No such file or directory: b'doc/*.txt'
Summary: media-libs/giflib-5.2.1 USE=doc - dodoc: FileNotFoundError: [Errno 2] No such...
Status: RESOLVED DUPLICATE of bug 682118
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
Depends on:
Reported: 2019-09-29 09:56 UTC by Roy Bamford
Modified: 2020-01-29 21:35 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Roy Bamford gentoo-dev 2019-09-29 09:56:51 UTC
Only tested on arm64 but it looks arch independent.

# less /var/log/portage/media-libs:giflib-5.2.1:20190928-135313.log
 * Package:    media-libs/giflib-5.2.1
 * Repository: gentoo
 * Maintainer:
 * USE:        arm64 doc elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
Notice USE=doc
>>> Source compiled.
>>> Test phase [not enabled]: media-libs/giflib-5.2.1

>>> Install media-libs/giflib-5.2.1 into /var/tmp/portage/media-libs/giflib-5.2.1/image
 * .arm64: running multilib-minimal_abi_src_install
make -j100 DESTDIR=/var/tmp/portage/media-libs/giflib-5.2.1/image PREFIX=/usr LIBDIR=/usr/lib64 install 
install -d "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/bin"
install -d "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/include"
install -d "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/lib64"
install -d "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/share/man/man1"
install gif2rgb gifbuild giffix giftext giftool gifclrmp "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/bin"
install -m 644 gif_lib.h "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/include"
install -m 644 libgif.a "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/lib64/libgif.a"
install -m 644 doc/*.1 "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/share/man/man1"
install -m 755 "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/lib64/"
ln -sf "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/lib64/"
ln -sf "/var/tmp/portage/media-libs/giflib-5.2.1/image/usr/lib64/"
Traceback (most recent call last):
  File "/usr/lib/portage/python3.6/", line 611, in <module>
  File "/usr/lib/portage/python3.6/", line 602, in main
  File "/usr/lib/portage/python3.6/", line 450, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.6/", line 386, in install_file
    return, dest_dir)
  File "/usr/lib/portage/python3.6/", line 195, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'doc/*.txt'
 * ERROR: media-libs/giflib-5.2.1::gentoo failed (install phase):
 *   dodoc failed

Reproducible: Always

Steps to Reproduce:
1.USE=doc emerge -1 media-libs/giflib
Actual Results:  
dodoc fails.

Expected Results:  
media-libs/giflib-5.2.1 installs with its documentation.
USE=-doc emerge -1 media-libs/giflib works as expected.
Comment 1 Sergey Gromov 2019-11-04 18:14:17 UTC
The txt files in doc/ were moved to doc/gifstandard/ together with a new HTML version in giflib 4.2.0.
Comment 2 Sergey Gromov 2019-11-04 18:18:48 UTC
Correction: only versions >=5.1.9 are affected.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-01-29 21:35:40 UTC

*** This bug has been marked as a duplicate of bug 682118 ***