Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656042 - dev-python/git-review installs manpage in wrong place
Summary: dev-python/git-review installs manpage in wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-18 15:46 UTC by Nick Bowler
Modified: 2022-10-18 03:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Bowler 2018-05-18 15:46:00 UTC
Hi,

The dev-python/git-review package installs a man page, but it installs
to the wrong location and thus it doesn't get picked up by man.

  % qfile /usr/man/man1/git-review.1
  dev-python/git-review (/usr/man/man1/git-review.1)

  % tree /usr/man
  /usr/man
  └── man1
      └── git-review.1

  % man git-review
  No manual entry for git-review

  % man /usr/man/man1/git-review.1
  (works)

The manpage should presumably be installed to /usr/share/man/man1.

Portage 2.3.24 (python 3.5.5-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r11, 4.16.5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8300_@_2.50GHz-with-gentoo-2.4.1
KiB Mem:     4038936 total,     48188 free
KiB Swap:    1993724 total,   1519572 free
Timestamp of repository gentoo: Wed, 09 May 2018 00:45:01 +0000
Head commit of repository palemoon: bb6da539e7cc3814006cf3be9a1433e4bccd64aa

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            3.4.6-r2::gentoo, 4.1.2::gentoo, 4.2.4-r1::gentoo, 4.8.5-r1::gentoo, 4.9.4::gentoo, 5.4.0-r4::gentoo, 6.4.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.9.0-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /srv/repos/gentoo
    sync-type: webrsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    sync-user: portage
    priority: -1000

gentoo-draconx
    location: /srv/repos/gentoo-draconx
    masters: gentoo

gentoo-fixes
    location: /srv/repos/gentoo-fixes
    masters: gentoo

palemoon
    location: /srv/repos/palemoon
    sync-type: git
    sync-uri: https://github.com/deuiore/palemoon-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @OTHER-FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/ssl/certs/ca-certificates.crt /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build --autounmask-write=n --dynamic-deps=n --unordered-display --verbose-conflicts --with-bdeps-auto=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distfiles.gentoo.org/"
INSTALL_MASK="/usr/share/cursors/xorg-x11/default 	/usr/share/alsa/alsa.conf.d/51-pulseaudio-probe.conf 	/etc/portage/*postsync.d 	/etc/profile.d/qtgui4.sh 	/etc/portage/bin/post_sync"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_CA en ja"
MAKEOPTS="-j5"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bzip2 cairo cjk cli crypt cups curl cvs cxx doc dri enca exif fbcon fdt ffmpeg flac fontconfig fontforge fortran gdbm gnutls gpm graphviz gtk iconv icu idn imagemagick ipv6 jadetex jpeg jpeg2k kerberos kpathsea latex lcms libass lto mad modules mp3 mp4 multilib ncurses nls nptl ogg opengl openmp otr pam pcre perl png python readline sdl seccomp smp ssl svg tcpd tex4ht theora threads tiff truetype unicode vim-syntax vorbis xattr xcb xft xinerama xulrunner xv zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" KERNEL="linux" L10N="en-CA en ja ko" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm mips mipsel ppc ppc64" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-python/git-review-1.26.0::gentoo was built with the following:
USE="" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-05-19 17:44:44 UTC
it's working here just fine

 12:43:34 mthode@slaanesh ~/dev/gentoo/ebuilds/gentoo/dev-python/git-review (master=):) find /var/tmp/portage/dev-python/git-review-1.26.0/image/ | grep man
/var/tmp/portage/dev-python/git-review-1.26.0/image/usr/share/man
/var/tmp/portage/dev-python/git-review-1.26.0/image/usr/share/man/man1
/var/tmp/portage/dev-python/git-review-1.26.0/image/usr/share/man/man1/git-review.1.bz2
 12:43:43 mthode@slaanesh ~/dev/gentoo/ebuilds/gentoo/dev-python/git-review (master=):) man git-review
 12:43:54 mthode@slaanesh ~/dev/gentoo/ebuilds/gentoo/dev-python/git-review (master=):) echo $?
0
 12:43:58 mthode@slaanesh ~/dev/gentoo/ebuilds/gentoo/dev-python/git-review (master=):)
Comment 2 Jay Faulkner 2022-10-18 01:00:46 UTC
These manpages appear to be completely gone now. This bug can be closed IMO.

jay@jf-desktop ~ $ equery files git-review
 * Searching for git-review ...
 * Contents of dev-python/git-review-2.3.1:
/usr
/usr/bin
/usr/bin/git-review -> ../lib/python-exec/python-exec2
/usr/lib
/usr/lib/python-exec
/usr/lib/python-exec/python3.10
/usr/lib/python-exec/python3.10/git-review
/usr/lib/python3.10
/usr/lib/python3.10/site-packages
/usr/lib/python3.10/site-packages/git_review
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/AUTHORS
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/METADATA
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/RECORD
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/WHEEL
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/entry_points.txt
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/pbr.json
/usr/lib/python3.10/site-packages/git_review-2.3.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/git_review/__init__.py
/usr/lib/python3.10/site-packages/git_review/__pycache__
/usr/lib/python3.10/site-packages/git_review/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/__pycache__/__init__.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/__pycache__/cmd.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/__pycache__/cmd.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/__pycache__/cmd.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/cmd.py
/usr/lib/python3.10/site-packages/git_review/tests
/usr/lib/python3.10/site-packages/git_review/tests/__init__.py
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/__init__.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/check_test_id_hashes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/check_test_id_hashes.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/check_test_id_hashes.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/prepare.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/prepare.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/prepare.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/test_git_review.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/test_git_review.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/test_git_review.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/test_unit.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/test_unit.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/test_unit.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/utils.cpython-310.opt-2.pyc
/usr/lib/python3.10/site-packages/git_review/tests/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/git_review/tests/check_test_id_hashes.py
/usr/lib/python3.10/site-packages/git_review/tests/prepare.py
/usr/lib/python3.10/site-packages/git_review/tests/test_git_review.py
/usr/lib/python3.10/site-packages/git_review/tests/test_unit.py
/usr/lib/python3.10/site-packages/git_review/tests/utils.py
/usr/share
/usr/share/doc
/usr/share/doc/git-review-2.3.1
/usr/share/doc/git-review-2.3.1/AUTHORS.bz2
/usr/share/doc/git-review-2.3.1/ChangeLog.bz2
/usr/share/doc/git-review-2.3.1/README.rst.bz2
jay@jf-desktop ~ $ man git-review
No manual entry for git-review
jay@jf-desktop ~ $ eix git-review
[I] dev-python/git-review
     Available versions:  2.3.1 **9999*l {PYTHON_TARGETS="python3_8 python3_9 python3_10"}
     Installed versions:  2.3.1(03:12:04 PM 08/01/2022)(PYTHON_TARGETS="python3_10 -python3_8 -python3_9")
     Homepage:            https://git.openstack.org/cgit/openstack-infra/git-review
     Description:         Tool to submit code to Gerrit

jay@jf-desktop ~ $
Comment 3 Larry the Git Cow gentoo-dev 2022-10-18 03:02:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c643bd542c9c3b867df84b18509f3a2b1d7c72b3

commit c643bd542c9c3b867df84b18509f3a2b1d7c72b3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-18 03:01:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-18 03:02:02 +0000

    dev-python/git-review: install man page
    
    Closes: https://bugs.gentoo.org/656042
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{git-review-2.3.1.ebuild => git-review-2.3.1-r1.ebuild}         | 6 ++++++
 dev-python/git-review/git-review-9999.ebuild                        | 6 ++++++
 2 files changed, 12 insertions(+)