Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781620 - app-misc/mosquitto-2.0.10 fails to emerge, fails on missing 'readme.md'
Summary: app-misc/mosquitto-2.0.10 fails to emerge, fails on missing 'readme.md'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL: https://github.com/eclipse/mosquitto/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 06:23 UTC by Yuri Sevatz
Modified: 2021-04-09 14:20 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 Yuri Sevatz 2021-04-09 06:23:32 UTC
app-misc/mosquitto-2.0.10 seems to have had a recent change before the release of 2.0.10, that renamed readme.md to README.md

See https://github.com/eclipse/mosquitto/tree/v2.0.10 for details

Reproducible: Always

Steps to Reproduce:
1. ebuild /var/db/repos/gentoo/app-misc/mosquitto/mosquitto-2.0.10.ebuild install
Actual Results:  
Traceback (most recent call last):
  File "/usr/lib/portage/python3.8/doins.py", line 594, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.8/doins.py", line 582, in main
    if _doins(
  File "/usr/lib/portage/python3.8/doins.py", line 434, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.8/doins.py", line 370, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.8/doins.py", line 179, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'readme.md'

Expected Results:  
ebuild should probably replace 'readme.md' with 'README.md'
Comment 1 Yuri Sevatz 2021-04-09 06:25:15 UTC
Relates to:

https://bugs.gentoo.org/768480
Comment 2 Yuri Sevatz 2021-04-09 06:27:41 UTC
Specific commit in 2.0.10 branch:

https://github.com/eclipse/mosquitto/commit/c552401cbd81d0517f8dc3413de75b59e0be0e36
Comment 3 Larry the Git Cow gentoo-dev 2021-04-09 14:20:09 UTC
The bug has been closed via the following commit(s):

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

commit 0d9648667b07ccba56fdf353726db7cc905ae6a1
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-09 14:18:41 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-09 14:20:01 +0000

    app-misc/mosquitto: Fix README installation
    
    Closes: https://bugs.gentoo.org/781620
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-misc/mosquitto/mosquitto-2.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Matt Turner gentoo-dev 2021-04-09 14:20:31 UTC
Oops. Thanks!