1 |
On 10/15/19 3:49 AM, Joakim Tjernlund wrote: |
2 |
> Hi |
3 |
> |
4 |
> I just did ebuild binutils-2.32-r1.ebuild install qmerge |
5 |
> on my target and noticed that I still got man pages etc: |
6 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/ld.1 |
7 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/c++filt.1 |
8 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/windmc.1 |
9 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/windres.1 |
10 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/elfedit.1 |
11 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/strip.1 |
12 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/strings.1 |
13 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/size.1 |
14 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/readelf.1 |
15 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/ranlib.1 |
16 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/objdump.1 |
17 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/objcopy.1 |
18 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/nm.1 |
19 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/dlltool.1 |
20 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/ar.1 |
21 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/addr2line.1 |
22 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/gprof.1 |
23 |
> /usr/share/binutils-data/powerpc-unknown-linux-gnu/2.32/man/man1/as.1 |
24 |
> .... |
25 |
> |
26 |
> portageq envvar FEATURES has: |
27 |
> assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr |
28 |
> |
29 |
> I would expect noman etc would omit man pages, info etc here? |
30 |
> |
31 |
> sys-apps/portage-2.3.76 |
32 |
|
33 |
The FEATURES=noman code only handles /usr/share/man: |
34 |
|
35 |
> for f in man info doc; do |
36 |
> if has no${f} ${FEATURES}; then |
37 |
> INSTALL_MASK+=" /usr/share/${f}" |
38 |
> fi |
39 |
> done |
40 |
|
41 |
I guess maybe sys-devel/binutils installs the man pages in a different |
42 |
location because it supports installation of multiple slots. It looks |
43 |
like we can use the MANPATH variable to improve FEATURES=noman support, |
44 |
so I've filed this bug: |
45 |
|
46 |
https://bugs.gentoo.org/697786 |
47 |
-- |
48 |
Thanks, |
49 |
Zac |