Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658440 - media-libs/mesa-9999: docs/patents.txt removed by upstream
Summary: media-libs/mesa-9999: docs/patents.txt removed by upstream
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-18 20:33 UTC by thomasg
Modified: 2018-06-18 21:24 UTC (History)
1 user (show)

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


Attachments
remove installation of patents.txt (mesa-remove-patentstxt.patch,756 bytes, patch)
2018-06-18 20:33 UTC, thomasg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description thomasg 2018-06-18 20:33:10 UTC
Created attachment 536296 [details, diff]
remove installation of patents.txt

Apparently the last patent issues documented in mesa upstream's docs/patents.txt has been resolved by the space-time-continuum, and thus upstream removed the file.

Portage is not too happy since dodoc explicitly installs this file, so attached you'll find a patch removing this from the ebuild, so mesa-9999 builds again.


Traceback (most recent call last):
  File "/usr/lib/portage/python2.7/doins.py", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python2.7/doins.py", line 602, in main
    os.path.dirname(source)):
  File "/usr/lib/portage/python2.7/doins.py", line 450, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python2.7/doins.py", line 386, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python2.7/doins.py", line 195, in run
    sstat = os.stat(source)
OSError: [Errno 2] No such file or directory: 'docs/patents.txt'
 * ERROR: media-libs/mesa-9999::gentoo failed (install phase):
 *   dodoc failed
Comment 1 Matt Turner gentoo-dev 2018-06-18 21:24:45 UTC
I fixed this with

commit 9dab5e51498c81043e88aae21c74ff51988340e4
Author: Matt Turner <mattst88@gentoo.org>
Date:   Mon Jun 11 17:58:08 2018 -0700

    media-libs/mesa: Remove now unnecessary bindist flag
    
    The patent expired! See upstream commit 66673bef941a (mesa:
    Unconditionally enable floating-point textures)