Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255835 - dev-util/biew installs man pages in /usr/man
Summary: dev-util/biew installs man pages in /usr/man
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 22:55 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-25 18:40 UTC (History)
2 users (show)

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


Attachments
revised ebuild to solve wrong man page install (biew-5.7.0-r1.ebuild,1.32 KB, text/plain)
2009-05-02 14:25 UTC, Wim Muskee
Details
makefile patch to set the correct man page install dir (biew-570-r1-makefile.patch,542 bytes, patch)
2009-05-02 14:26 UTC, Wim Muskee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-21 22:55:30 UTC
Should be /usr/share/man
Comment 1 Nico R. 2009-02-12 11:29:31 UTC
biew installs its man page /twice/ on my system:

$ qlist -e dev-util/biew | grep man
/usr/man/man1/biew.1.bz2
/usr/share/man/man1/biew.1.bz2


They are equal:

$ cmp /usr/man/man1/biew.1.bz2 /usr/share/man/man1/biew.1.bz2 && echo equal || echo unequal
equal


And not hardlinked:

$ /usr/bin/env LC_ALL=POSIX bash -c 'stat /usr/man/man1/biew.1.bz2 /usr/share/man/man1/biew.1.bz2 | grep -E "(File|Size|Inode):" | sed -e "s,^.*\(Inode:\),\1,"'
  File: `/usr/man/man1/biew.1.bz2'
  Size: 1617            Blocks: 8          IO Block: 4096   regular file
Inode: 1828202     Links: 1
  File: `/usr/share/man/man1/biew.1.bz2'
  Size: 1617            Blocks: 8          IO Block: 4096   regular file
Inode: 604736      Links: 1


This is a freshly-emerged dev-util/biew-5.7.0.
Comment 2 Wim Muskee 2009-05-02 14:25:19 UTC
Created attachment 190125 [details]
revised ebuild to solve wrong man page install

Indeed, the man pages for biew-5.7.0 were installed twice. Once by the make install and once by the doman in the ebuild.

I removed the doman in the ebuild and fixed the makefile (see patch) to install the man files in the correct dir.
Comment 3 Wim Muskee 2009-05-02 14:26:44 UTC
Created attachment 190127 [details, diff]
makefile patch to set the correct man page install dir

patches the already included makefile patch
Comment 4 Sandro Bonazzola 2009-05-08 18:19:31 UTC
(In reply to comment #3)
> Created an attachment (id=190127) [edit]
> makefile patch to set the correct man page install dir
> 
> patches the already included makefile patch

Proposed patches works for me but:
+	$(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(PREFIX)/share/man/man1/biew.1

should be:
+	$(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(DATADIR)/man/man1/biew.1


 

Comment 5 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-25 18:40:28 UTC
Commited in portage, thanks for the patch