Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677282 - sci-mathematics/pspp-1.2.0 USE=cairo should depend on x11-libs/pango
Summary: sci-mathematics/pspp-1.2.0 USE=cairo should depend on x11-libs/pango
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-02-05 00:03 UTC by nolvoa
Modified: 2020-10-04 16:38 UTC (History)
0 users

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


Attachments
emerge --info data (emerge_info,5.32 KB, text/plain)
2019-02-05 00:03 UTC, nolvoa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nolvoa 2019-02-05 00:03:37 UTC
Created attachment 563764 [details]
emerge --info data

Building with cairo USE flag fails with message:

configure: error: The following required prerequisites are not installed.
You must install them before PSPP can be built:
        cairo 1.5 or later and pango 1.22 or later (or use --without-cairo)

The USE flags for the build were:

USE="cairo examples ncurses nls perl -doc -emacs -gtk -postgres -static-libs"

x11-libs/cairo-1.16.0-r2 _is_ automatically installed, at the time of the error. The problem lies with Pango, which is not installed automatically. Running:

emerge x11-libs/pango
emerge sci-mathematics/pspp

fixes the problem. Checking the dependencies with:

qdepends sci-mathematics/pspp | tr ' ' "\n"
qdepends x11-libs/cairo | tr ' ' "\n"

shows nothing to pull in x11-libs/pango.

This error is likely to show up when building PSPP, with the cairo USE flag, in a console-only (e.g., server) environment, where there are no other X applications to pull in Pango. The typical scenario is when you need PSPP to generate PNG, PDF, Postscript, or SVG on a machine that is not itself running X.
Comment 1 Larry the Git Cow gentoo-dev 2020-10-04 16:38:58 UTC
The bug has been closed via the following commit(s):

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

commit 2e42197fcabcd1372267affa74297e1e9c19c092
Author:     John Helmert III <jchelmert3@posteo.net>
AuthorDate: 2020-10-04 16:38:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-04 16:38:32 +0000

    sci-mathematics/pspp: Add security patches
    
    This fixes several QA issues, adds a missing dependency, fixes
    compiling with GCC 10, fixes tests, and adds patches for security.
    
    Bug: https://bugs.gentoo.org/679392
    Closes: https://bugs.gentoo.org/674362
    Closes: https://bugs.gentoo.org/677282
    Closes: https://bugs.gentoo.org/682342
    Closes: https://bugs.gentoo.org/708548
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: John Helmert III <jchelmert3@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/16785
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../pspp/files/pspp-1.2.0-CVE-2018-20230.patch     | 134 +++++++++++++++++++++
 .../pspp/files/pspp-1.2.0-CVE-2019-9211.patch      |  74 ++++++++++++
 .../pspp/files/pspp-1.2.0-fix-gcc10.patch          |  30 +++++
 .../pspp/files/pspp-1.2.0-fix-overflow.patch       |  32 +++++
 .../pspp/files/pspp-1.2.0-fix-segfaults.patch      |  45 +++++++
 .../pspp/files/pspp-1.2.0-fix-tests.patch          |  61 ++++++++++
 sci-mathematics/pspp/files/pspp-1.2.0-py3.patch    |  38 ++++++
 sci-mathematics/pspp/pspp-1.2.0-r1.ebuild          | 112 +++++++++++++++++
 8 files changed, 526 insertions(+)