Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 652912

Summary: cargo.eclass breaks if the source directory contains a directory named "man"
Product: Gentoo Linux Reporter: samuel.lauren
Component: EclassesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED FIXED    
Severity: normal CC: herrtimson, samuel.lauren
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild that triggers the problem
build log

Description samuel.lauren 2018-04-10 15:09:16 UTC
Created attachment 527020 [details]
ebuild that triggers the problem

cargo eclass breaks if the source directory contains a directory named `man`.

When the source directory contains a directory named `man`, cargo eclass tries to install man pages from it. However, this seems to be broken as the `cargo_src_install` invokes doman with the directory itself causing `install` to complain breaking the build.

I attached an ebuild that should trigger the issue.
Comment 1 samuel.lauren 2018-04-10 15:10:51 UTC
Created attachment 527022 [details]
build log
Comment 2 Georgy Yakovlev archtester gentoo-dev 2019-12-27 03:09:36 UTC
I believe it's been fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd53899da2ac044f815030e82a6fcf357df1dff9

closing.