When building media-gfx/asymptote-2.67 USE="vim-syntax", the install phase fails with the following error message: >>> Install media-gfx/asymptote-2.67 into /var/tmp/portage/media-gfx/asymptote-2.67/image Traceback (most recent call last): File "/usr/lib/portage/python3.7/doins.py", line 594, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/python3.7/doins.py", line 585, in main os.path.dirname(source)): File "/usr/lib/portage/python3.7/doins.py", line 434, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/python3.7/doins.py", line 370, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/python3.7/doins.py", line 179, in run sstat = os.stat(source) FileNotFoundError: [Errno 2] No such file or directory: b'/var/tmp/portage/media-gfx/asymptote-2.67/files/asy-filetype.vim' * ERROR: media-gfx/asymptote-2.67::gentoo failed (install phase): * doins failed The error seems to come from line 190 in the ebuild: doins "${FILESDIR}"/asy-filetype.vim because asy-filetype.vim doesn't exist in $PORTAGEDIR/media-gfx/asymptote/files. I believe that the file which should be installed is base/asy_filetype.vim in the source package. Replacing line 190 of the ebuild with doins "${WORKDIR}"/${PF}/base/asy_filetype.vim solves the problem.
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 654768 [details] emerge --info
Created attachment 654782 [details] Build log
(In reply to Stefano Crocco from comment #0) > I believe that the file which should > be installed is base/asy_filetype.vim in the source package. You are right, this was a typo. Fixed. Is /usr/share/vim/vimfiles/ftdetect the correct place to install asy_filetype.vim? I don't use vim and cannot check.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4259517049cab11f21a9d34859f4b9e7ceadc51e commit 4259517049cab11f21a9d34859f4b9e7ceadc51e Author: Andrey Grozin <grozin@gentoo.org> AuthorDate: 2020-08-16 11:37:55 +0000 Commit: Andrey Grozin <grozin@gentoo.org> CommitDate: 2020-08-16 11:37:55 +0000 media-gfx/asymptote: fix typos Closes: https://bugs.gentoo.org/737234 Closes: https://bugs.gentoo.org/737278 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Andrey Grozin <grozin@gentoo.org> media-gfx/asymptote/asymptote-2.67.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(In reply to Andrey Grozin from comment #4) > (In reply to Stefano Crocco from comment #0) > > I believe that the file which should > > be installed is base/asy_filetype.vim in the source package. > You are right, this was a typo. Fixed. > > Is /usr/share/vim/vimfiles/ftdetect the correct place to install > asy_filetype.vim? I don't use vim and cannot check. Yes, it is