Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802699 - dev-lang/ghc-8.10.4-r1 installs files into unexpected paths
Summary: dev-lang/ghc-8.10.4-r1 installs files into unexpected paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-18 06:36 UTC by Agostino Sarubbo
Modified: 2021-07-19 07:25 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,177.78 KB, application/x-xz)
2021-07-18 06:36 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-07-18 06:36:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/ghc-8.10.4-r1 installs files into unexpected paths.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-18 06:36:25 UTC
Created attachment 724624 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-18 08:39:21 UTC
The revision is missing in /usr/share/doc part:

>>> Completed installing dev-lang/ghc-8.10.4-r1 into /var/tmp/portage/dev-lang/ghc-8.10.4-r1/image

 * Final size of build directory: 3447340 KiB (   3.2 GiB)
 * Final size of installed tree:  1026684 KiB (1002.6 MiB)

 * QA Notice: The ebuild is installing to one or more unexpected paths:
 *
 *   /usr/share/doc/ghc-8.10.4
 *
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
Comment 3 Larry the Git Cow gentoo-dev 2021-07-18 08:58:30 UTC
The bug has been closed via the following commit(s):

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

commit 707f933c98950a47f589d97538fb43346e6cd796
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-07-18 08:52:12 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-07-18 08:58:27 +0000

    dev-lang/ghc: use /usr/share/doc/${PF}
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/802699
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-lang/ghc/ghc-8.10.4-r1.ebuild | 4 ++--
 dev-lang/ghc/ghc-8.10.5-r1.ebuild | 4 ++--
 dev-lang/ghc/ghc-8.8.4-r1.ebuild  | 4 ++--
 dev-lang/ghc/ghc-9.0.1-r1.ebuild  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-19 07:25:04 UTC
Caused by commit f423849485dc8b830d1fa4c067801a2ee2e21eb0
Author: David Seifert <soap@gentoo.org>
Date:   Sat Jul 17 23:29:56 2021 +0200

    dev-lang/ghc: Add sys-libs/ncurses[unicode(+)]

    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-lang/ghc/{ghc-8.10.4.ebuild => ghc-8.10.4-r1.ebuild} | 2 +-
 dev-lang/ghc/{ghc-8.10.5.ebuild => ghc-8.10.5-r1.ebuild} | 2 +-
 dev-lang/ghc/{ghc-8.8.4.ebuild => ghc-8.8.4-r1.ebuild}   | 2 +-
 dev-lang/ghc/{ghc-9.0.1.ebuild => ghc-9.0.1-r1.ebuild}   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)