Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953027 - app-shells/fish-4.0.1 compilation failed because wrong path
Summary: app-shells/fish-4.0.1 compilation failed because wrong path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: idealseal
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-04-01 19:26 UTC by ignamartinoli
Modified: 2025-04-05 17:35 UTC (History)
5 users (show)

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


Attachments
emerge --info (info.txt,7.43 KB, text/plain)
2025-04-01 20:51 UTC, Thomas Clarke
Details
build log (log.txt,85.85 KB, text/plain)
2025-04-01 20:51 UTC, Thomas Clarke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ignamartinoli 2025-04-01 19:26:54 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-01 19:32:19 UTC
Please always include the full build.log and emerge --info.
Comment 2 Thomas Clarke 2025-04-01 20:51:22 UTC
Created attachment 923478 [details]
emerge --info

emerge --info of app-shells/fish
Comment 3 Thomas Clarke 2025-04-01 20:51:43 UTC
Created attachment 923479 [details]
build log
Comment 4 Thomas Clarke 2025-04-01 20:52:39 UTC
i am suffering from the bug as well i have attached the emerge --info and the build log.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-01 20:54:50 UTC
Thanks!
Comment 6 Larry the Git Cow gentoo-dev 2025-04-05 11:51:20 UTC
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(-)
Comment 7 ignamartinoli 2025-04-05 17:35:05 UTC
Confirmed! It's solved. Thanks!