Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652912 - cargo.eclass breaks if the source directory contains a directory named "man"
Summary: cargo.eclass breaks if the source directory contains a directory named "man"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-10 15:09 UTC by samuel.lauren
Modified: 2019-12-27 03:09 UTC (History)
2 users (show)

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


Attachments
ebuild that triggers the problem (xcolor-0.4.0.ebuild,1.00 KB, text/plain)
2018-04-10 15:09 UTC, samuel.lauren
Details
build log (file_652912.txt,32.87 KB, text/plain)
2018-04-10 15:10 UTC, samuel.lauren
Details

Note You need to log in before you can comment on or make changes to this bug.
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.