Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712222 - sys-apps/portage-2.3.93: emerge --buildpkgonly tries to install sources with FEATURES=installsources
Summary: sys-apps/portage-2.3.93: emerge --buildpkgonly tries to install sources with ...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Reported: 2020-03-12 09:39 UTC by Guilherme Amadio
Modified: 2020-03-12 09:39 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Guilherme Amadio gentoo-dev 2020-03-12 09:39:58 UTC
I am using emerge --buildpkgonly as a regular user to test packages. I tried this for a package I have enabled debugging, and for that one portage errors out trying to install sources into /usr/src/debug:

$ FEATURES=test emerge --buildpkgonly --jobs=1 -av1 clhep
>>> Completed installing sci-physics/clhep- into /tmp/portage/sci-physics/clhep-

 * Final size of build directory: 414268 KiB (404.5 MiB)
 * Final size of installed tree:  106892 KiB (104.3 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R
installsources: rsyncing source files
/usr/lib/portage/python3.6/ line 467: /var/cache/binpkgs/sci-physics/clhep- Permission denied

I think that when only building the package, portage should not try to install sources into /usr/src/debug.