During `app-shells/fish-4.0.1` installation, I began receiving a compilation error. ``` [9/17] cd /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1 && /usr/bin/msgfmt-o /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build/fr.gmo po/fr.po [9/17] cd /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1 && /usr/bin/cmake -E copy /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1/target/x86_64-unknown-linux-gnu/release/fish /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build Error copying file "/var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1/target/x86_64-unknown-linux-gnu/release/fish" to "/var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build". FAILED: CMakeFiles/fish /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build/CMakeFiles/fish cd /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1 && /usr/bin/cmake -E copy/var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1/target/x86_64-unknown-linux-gnu/release/fish /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build [11/17] cd /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1 && /usr/bin/msgfmt -o /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build/sv.gmo po/sv.po [12/17] cd /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1 && /usr/bin/msgfmt -o /var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1_build/zh_CN.gmo po/zh_CN.po ``` The Ebuild tries to copy the file in: `/var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1/target/x86_64-unknown-linux-gnu/release/fish` But the file is actually in: `/var/tmp/portage/app-shells/fish-4.0.1/work/fish-4.0.1/target/release/fish` I am not sure what might cause this problem
Please always include the full build.log and emerge --info.
Created attachment 923478 [details] emerge --info emerge --info of app-shells/fish
Created attachment 923479 [details] build log
i am suffering from the bug as well i have attached the emerge --info and the build log.
Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43d6b775ecc15a036d51c987efbf546c4f84b30 commit b43d6b775ecc15a036d51c987efbf546c4f84b30 Author: idealseal <realidealseal@protonmail.com> AuthorDate: 2025-04-05 10:46:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-05 11:50:17 +0000 app-shells/fish: adjust patches to find right target dir Closes: https://bugs.gentoo.org/953010 Closes: https://bugs.gentoo.org/953027 Signed-off-by: idealseal <realidealseal@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/41465 Signed-off-by: Sam James <sam@gentoo.org> .../fish-4.0.1-use-cargo-eclass-for-build.patch | 14 ++++++++------ .../fish-9999-use-cargo-eclass-for-build.patch | 22 ++++++++++++---------- 2 files changed, 20 insertions(+), 16 deletions(-)
Confirmed! It's solved. Thanks!