Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750761 - dev-tex/hevea: ebuilds install outside Prefix
Summary: dev-tex/hevea: ebuilds install outside Prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-22 20:55 UTC by Steven Trogdon
Modified: 2021-01-16 21:12 UTC (History)
2 users (show)

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


Attachments
build log for hevea-2.29 (build.log.bz2,5.84 KB, application/x-bzip)
2020-10-22 20:56 UTC, Steven Trogdon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Trogdon 2020-10-22 20:55:05 UTC
* ERROR: dev-tex/hevea-2.29::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 596:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *                      die "Aborting due to QA concerns: there are files installed outside the prefix"

as well as for hevea-2.30 and hevea-2.31. It appears an EPREFIX is missing in the install

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/texmf-site
 * /usr/share/texmf-site/tex
 * /usr/share/texmf-site/tex/latex
 * /usr/share/texmf-site/tex/latex/hevea
 * /usr/share/texmf-site/tex/latex/hevea/hevea.sty
 * /usr/bin
 * /usr/bin/imagen
 * /usr/bin/esponja
 * /usr/bin/hacha
 * /usr/bin/bibhva
 * /usr/bin/hevea
 * /usr/lib64
 * /usr/lib64/hevea
 * /usr/lib64/hevea/multibib.hva

...
Comment 1 Steven Trogdon 2020-10-22 20:56:37 UTC
Created attachment 667979 [details]
build log for hevea-2.29
Comment 2 Steven Trogdon 2020-10-24 03:20:26 UTC
I believe changing DESTDIR="${D}" to DESTDIR="${ED}" in src_install() will install correctly in Prefix. Not sure if a similar sort of change should be made in src_compile() to insure "compiled-in" paths are correct.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-24 03:40:38 UTC
(In reply to Steven Trogdon from comment #2)
> I believe changing DESTDIR="${D}" to DESTDIR="${ED}" in src_install() will
> install correctly in Prefix. Not sure if a similar sort of change should be
> made in src_compile() to insure "compiled-in" paths are correct.

Yeah, it might be preferable to do it in PREFIX instead. I think it's one or t'other. It doesn't help that I'm not sure every upstream uses them right.
Comment 4 Larry the Git Cow gentoo-dev 2021-01-16 21:12:34 UTC
The bug has been closed via the following commit(s):

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

commit 3b341e67632441348e9f4eb2d5b82f97282e0799
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-01-16 21:08:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-16 21:12:30 +0000

    dev-tex/hevea: bump to 2.35
    
    Closes: https://bugs.gentoo.org/750962
    Closes: https://bugs.gentoo.org/750761
    Closes: https://bugs.gentoo.org/734350
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-tex/hevea/Manifest          |  1 +
 dev-tex/hevea/hevea-2.35.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)