Summary: | dev-db/postgresql: Slot-Specific Symlinks to man Pages Broken | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Frank Limpert <frank_limpert> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mbucas |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info dev-db/postgresql:9.6 |
Not only symlinks in man7 are affected. After re-emerging dev-db/postgresql:9.6 and switching back and forth eselect postgresql, I found also symlinks in /usr/share/man/man1 and /usr/share/man/man3 dead for the same reason: pointing to the un-compressed man pages. # equery l 'eselect*' app-admin/eselect-1.4.8 app-eselect/eselect-blas-0.1 app-eselect/eselect-ctags-1.18 app-eselect/eselect-fontconfig-1.1 app-eselect/eselect-java-0.3.0 app-eselect/eselect-postgresql-2.1 app-eselect/eselect-python-20160516 app-eselect/eselect-vi-1.1.9 app-eselect/eselect-wxwidgets-20140423 Hmm, this is a problem. On my desktop and laptop, the symlinks are fine. (The laptop's man pages didn't get compressed, though....) However, on the server, all broken. The ebuilds do a doins, followed by docompress, then it creates the symlinks. At the moment, I have no inkling as to the inconsistency as my desktop has the same version of everything the server uses, as far as I know. commit 099885d492e52d178f6d8b6bb27e747f83d29b65 Author: Aaron W. Swenson <titanofold@gentoo.org> Date: Thu Jul 13 15:07:35 2017 -0400 dev-db/postgresql: Spinlocks, pushd, and man All versions now generate slotted man pages instead of using symlinks. This is cleaner, and won’t result in broken links. You can now run ‘man psql96’ (or similar) and actually get the man page for psql, version 9.6.x. 10_beta2 and 9999 now dies if it can’t pushd into the directory it needs to be in when generating the man pages. Re-disabled spinlocks for versions 9.5 and after. Somehow this got excluded from the 9.6 release. Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
Created attachment 474730 [details] emerge --info dev-db/postgresql:9.6 symlinks in /usr/share/man/man7 for dev-db/postgresql-9.6.3 are dead example: # ls -l /usr/share/man/man7/VALUES* /usr/share/man/man7/VALUES.7.bz2 -> ../../postgresql-9.6/man/man7/VALUES.7.bz2 /usr/share/man/man7/VALUES95.7.bz2 -> ../../postgresql-9.5/man/man7/VALUES.7.bz2 /usr/share/man/man7/VALUES96.7 -> ../../postgresql-9.6/man/man7/VALUES.7 ok for postgresql-9.5.7: # ls -l /usr/share/postgresql-9.5/man/man7/VAL* /usr/share/postgresql-9.5/man/man7/VALUES.7.bz2 but broken here: # ls -l /usr/share/postgresql-9.6/man/man7/VAL* /usr/share/postgresql-9.6/man/man7/VALUES.7.bz2 my guess: In the ebuild, the order of compressing and symlinking of those man pages got reversed somehow.