Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670342 - sys-apps/linux-misc-apps-4.19 USE=usbip - FileNotFoundError: [Errno 2] No such file or directory: b'drivers/usb/usbip/usbip_protocol.txt'
Summary: sys-apps/linux-misc-apps-4.19 USE=usbip - FileNotFoundError: [Errno 2] No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2018-11-05 02:22 UTC by Bob Wya
Modified: 2018-11-27 21:17 UTC (History)
2 users (show)

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


Attachments
sys-apps/linux-misc-apps-4.19.ebuild patch (linux-misc-apps-4.19.ebuild.patch,452 bytes, patch)
2018-11-05 02:22 UTC, Bob Wya
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Wya 2018-11-05 02:22:33 UTC
Created attachment 554112 [details, diff]
sys-apps/linux-misc-apps-4.19.ebuild patch

This 4.19 version bump also requires a change in location for: usbip_protocol.txt
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-11-05 09:31:24 UTC
make[1]: Leaving directory '/home/jer/portage/sys-apps/linux-misc-apps-4.19/work/linux-4.19/tools/usb/usbip'
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'drivers/usb/usbip/usbip_protocol.txt'
 * ERROR: sys-apps/linux-misc-apps-4.19::gentoo failed (install phase):
 *   dodoc failed
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2018-11-07 23:27:11 UTC
The file is actually located at 'Documentation/usb/usbip_protocol.txt', not at 'drivers/usb/usbip/usbip_protocol.txt'.
Comment 3 Larry the Git Cow gentoo-dev 2018-11-27 21:17:45 UTC
The bug has been closed via the following commit(s):

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

commit e7091bf7dfc6971b0cc502d41022a750cb895d57
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2018-11-16 20:52:26 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2018-11-27 21:17:17 +0000

    sys-apps/linux-misc-apps: fix install path usbip_protocol.txt
    
    The installation fails, as the path for usbip_protocol.txt is wrong.
    
    Closes: https://bugs.gentoo.org/670342
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    (cherry picked from commit b0da5dfbe83895e8bd584bcad15f9314120bb64f)
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/10433

 sys-apps/linux-misc-apps/linux-misc-apps-4.19.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)