Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764824 - sys-auth/fprintd-1.90.8 fails to build: Problem encountered: Python3 module 'cairo' required by test suite not found
Summary: sys-auth/fprintd-1.90.8 fails to build: Problem encountered: Python3 module '...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marco Scardovi (scardracs)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 764554
  Show dependency tree
 
Reported: 2021-01-10 15:59 UTC by Sergei Trofimovich (RETIRED)
Modified: 2021-03-27 19:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-10 15:59:51 UTC
>>> Configuring source in /var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8 ...
meson setup --buildtype plain --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/sys-auth/fprintd-1.90.8/temp/meson.ia64-unknown-linux-gnu.ia64.ini -Dtest=enabled -Dpam=true -Dgtk_doc=false -Dman=true -Dsystemd_system_unit_dir=/lib/systemd/system -Dpam_modules_dir=/lib/security -Dlibsystemd=libsystemd /var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8 /var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-1.90.8-build
The Meson build system
Version: 0.55.3
Source dir: /var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8
Build dir: /var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-1.90.8-build
Build type: native build
Project name: fprintd
Project version: 1.90.8
C compiler for the host machine: ia64-unknown-linux-gnu-gcc (gcc 10.2.0 "ia64-unknown-linux-gnu-gcc (Gentoo 10.2.0-r3 p4) 10.2.0")
C linker for the host machine: ia64-unknown-linux-gnu-gcc ld.bfd 2.35.1
Host machine cpu family: ia64
Host machine cpu: ia64
Compiler for C supports arguments -fno-strict-aliasing: YES
Compiler for C supports arguments -Wcast-align: YES
Compiler for C supports arguments -Werror=address: YES
Compiler for C supports arguments -Werror=array-bounds: YES
Compiler for C supports arguments -Werror=empty-body: YES
Compiler for C supports arguments -Werror=implicit: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=int-to-pointer-cast: YES
Compiler for C supports arguments -Werror=main: YES
Compiler for C supports arguments -Werror=missing-braces: YES
Compiler for C supports arguments -Werror=nonnull: YES
Compiler for C supports arguments -Werror=pointer-to-int-cast: YES
Compiler for C supports arguments -Werror=redundant-decls: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=sequence-point: YES
Compiler for C supports arguments -Werror=trigraphs: YES
Compiler for C supports arguments -Werror=write-strings: YES
Compiler for C supports arguments -Wformat-nonliteral: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wformat=2: YES
Compiler for C supports arguments -Wignored-qualifiers: YES
Compiler for C supports arguments -Wimplicit-function-declaration: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wmissing-include-dirs: YES
Compiler for C supports arguments -Wmissing-noreturn: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wshadow: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Wno-pedantic -Wpedantic: YES
Found pkg-config: /usr/bin/ia64-unknown-linux-gnu-pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.66.2
Run-time dependency gio-2.0 found: YES 2.66.2
Run-time dependency gio-unix-2.0 found: YES 2.66.2
Run-time dependency gmodule-2.0 found: YES 2.66.2
Run-time dependency libfprint-2 found: YES 1.90.6
Run-time dependency polkit-gobject-1 found: YES 0.117
Run-time dependency dbus-1 found: YES 1.12.20
Run-time dependency libsystemd found: YES 246
Has header "security/pam_modules.h" : YES
Library pam found: YES
Program pod2man found: YES
Program xsltproc found: YES
Run-time dependency systemd found: YES 246
Run-time dependency pam_wrapper found: YES 1.1.3
Program xmllint found: YES
Program python3 found: YES

meson.build:149:8: ERROR: Problem encountered: Python3 module 'cairo' required by test suite not found

A full log can be found at /var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-1.90.8-build/meson-logs/meson-log.txt
 * ERROR: sys-auth/fprintd-1.90.8::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2845:  Called meson_src_configure
 *   environment, line 1965:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=sys-auth/fprintd-1.90.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-auth/fprintd-1.90.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-auth/fprintd-1.90.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/fprintd-1.90.8/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8'
 * S: '/var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8'

>>> Failed to emerge sys-auth/fprintd-1.90.8, Log file:

>>>  '/var/tmp/portage/sys-auth/fprintd-1.90.8/temp/build.log'
 * Messages for package sys-auth/fprintd-1.90.8:
 * ERROR: sys-auth/fprintd-1.90.8::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 2845:  Called meson_src_configure
 *   environment, line 1965:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=sys-auth/fprintd-1.90.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-auth/fprintd-1.90.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-auth/fprintd-1.90.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/fprintd-1.90.8/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8'
 * S: '/var/tmp/portage/sys-auth/fprintd-1.90.8/work/fprintd-v1.90.8'
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2021-01-10 23:39:48 UTC
pycairo is already in test deps...
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-11 10:10:09 UTC
Maybe ebuild uses active python instead of one picked by python USE flags:

guppy / # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.7 (uninstalled)
  [2]   python2.7
  [3]   python3.9
  [4]   python3.6 (uninstalled)
  [5]   python3.8 (fallback)

guppy / # LANG=C eix pycairo
[I] dev-python/pycairo
     Available versions:  (~)1.20.0^t {doc examples test PYTHON_TARGETS="pypy3 python3_6 python3_7 python3_8 python3_9"}
     Installed versions:  1.20.0^t(15:37:25 01/10/21)(-doc -examples -test PYTHON_TARGETS="python3_8 -pypy3 -python3_6 -python3_7 -python3_9")
     Homepage:            https://www.cairographics.org/pycairo/ https://github.com/pygobject/pycairo
     Description:         Python bindings for the cairo library

guppy / # python --version
Python 2.7.18
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-01-11 10:16:05 UTC
(In reply to Sergei Trofimovich from comment #2)
> Maybe ebuild uses active python instead of one picked by python USE flags:
> 
> guppy / # eselect python list
> Available Python interpreters, in order of preference:
>   [1]   python3.7 (uninstalled)
>   [2]   python2.7
>   [3]   python3.9
>   [4]   python3.6 (uninstalled)
>   [5]   python3.8 (fallback)

Confirmed on slightly less exotic setup:

This works:
  # eselect python list
  Available Python interpreters, in order of preference:
    [1]   python3.8
    [2]   python3.9
    [3]   python2.7

This fails with missing cairo:
  # eselect python list
  Available Python interpreters, in order of preference:
    [1]   python3.9
    [2]   python3.8
    [3]   python2.7
Comment 4 Marco Scardovi (scardracs) 2021-03-25 13:50:18 UTC
I have just tested forcing test for the latest package (1.90.9) and no problems encountered. Could you mind test it again for your architecture?
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2021-03-27 19:01:31 UTC
(In reply to Marco Scardovi from comment #4)
> I have just tested forcing test for the latest package (1.90.9) and no
> problems encountered. Could you mind test it again for your architecture?

Perhaps dev-lang/python-exec-conf changed it's behaviour WRT supported implementations since. Does not happen anymore.