Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945987 - dev-libs/json-glib-1.10.0: missing dependency on dev-python/docutils
Summary: dev-libs/json-glib-1.10.0: missing dependency on dev-python/docutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-06 20:23 UTC by Michał Górny
Modified: 2024-12-06 21:48 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-12-06 20:23:53 UTC
Sorry for no proper logs but this failed on remote Docker, and the error is pretty clear:

630.8  * Package:    dev-libs/json-glib-1.10.0:0
630.8  * Repository: gentoo
630.8  * Maintainer: voyageur@gentoo.org gnome@gentoo.org
630.8  * USE:        arm64 elibc_glibc introspection kernel_linux nls
630.8  * FEATURES:   preserve-libs userpriv
630.8 >>> Unpacking source...
630.8 >>> Unpacking json-glib-1.10.0.tar.xz to /var/tmp/portage/dev-libs/json-glib-1.10.0/work
630.8 >>> Source unpacked in /var/tmp/portage/dev-libs/json-glib-1.10.0/work
630.8 >>> Preparing source in /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0 ...
630.8 >>> Source prepared.
630.8 >>> Configuring source in /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0 ...
630.8  * .arm64: running multilib-minimal_abi_src_configure
630.8 meson setup -Db_lto=true --libdir lib64 --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/dev-libs/json-glib-1.10.0/temp/meson.aarch64-unknown-linux-gnu.arm64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain --wrap-mode nofallback -Dinstalled_tests=false -Dintrospection=enabled -Ddocumentation=disabled -Dman=true -Dnls=enabled -Dtests=false /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0 /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0-.arm64
630.8 The Meson build system
630.8 Version: 1.5.1
630.8 Source dir: /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0
630.8 Build dir: /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0-.arm64
630.8 Build type: native build
630.8 Project name: json-glib
630.8 Project version: 1.10.0
630.8 C compiler for the host machine: aarch64-unknown-linux-gnu-gcc (gcc 14.2.1 "aarch64-unknown-linux-gnu-gcc (Gentoo 14.2.1_p20241116 p3) 14.2.1 20241116")
630.8 C linker for the host machine: aarch64-unknown-linux-gnu-gcc ld.bfd 2.42
630.8 Host machine cpu family: aarch64
630.8 Host machine cpu: aarch64
630.8 Found pkg-config: YES (/usr/bin/aarch64-unknown-linux-gnu-pkg-config) 2.3.0
630.8 Run-time dependency gio-2.0 found: YES 2.78.6
630.8 Has header "unistd.h" : YES 
630.8 Compiler for C supports arguments -Wcast-align: YES 
630.8 Compiler for C supports arguments -Wlogical-op: YES 
630.8 Compiler for C supports arguments -Wmissing-declarations: YES 
630.8 Compiler for C supports arguments -Wmissing-format-attribute: YES 
630.8 Compiler for C supports arguments -Wmissing-prototypes: YES 
630.8 Compiler for C supports arguments -Wmissing-noreturn: YES 
630.8 Compiler for C supports arguments -Wold-style-definition: YES 
630.8 Compiler for C supports arguments -Wpointer-arith: YES 
630.8 Compiler for C supports arguments -Wshadow: YES 
630.8 Compiler for C supports arguments -Wstrict-prototypes: YES 
630.8 Compiler for C supports arguments -Wunused: YES 
630.8 Compiler for C supports arguments -Wno-discarded-qualifiers: YES 
630.8 Compiler for C supports arguments -Wno-int-conversion: YES 
630.8 Compiler for C supports arguments -fno-strict-aliasing: YES 
630.8 Compiler for C supports arguments -Wno-uninitialized: YES 
630.8 Compiler for C supports arguments -Werror=address: YES 
630.8 Compiler for C supports arguments -Werror=array-bounds: YES 
630.8 Compiler for C supports arguments -Werror=empty-body: YES 
630.8 Compiler for C supports arguments -Werror=format=2: YES 
630.8 Compiler for C supports arguments -Werror=implicit: YES 
630.8 Compiler for C supports arguments -Werror=init-self: YES 
630.8 Compiler for C supports arguments -Werror=int-to-pointer-cast: YES 
630.8 Compiler for C supports arguments -Werror=main: YES 
630.8 Compiler for C supports arguments -Werror=missing-braces: YES 
630.8 Compiler for C supports arguments -Werror=nested-externs: YES 
630.8 Compiler for C supports arguments -Werror=nonnull: YES 
630.8 Compiler for C supports arguments -Werror=pointer-to-int-cast: YES 
630.8 Compiler for C supports arguments -Werror=return-type: YES 
630.8 Compiler for C supports arguments -Werror=sequence-point: YES 
630.8 Compiler for C supports arguments -Werror=trigraphs: YES 
630.8 Compiler for C supports arguments -Werror=undef: YES 
630.8 Compiler for C supports arguments -Werror=write-strings: YES 
630.8 Compiler for C supports link arguments -Wl,-Bsymbolic: YES 
630.8 Compiler for C supports link arguments -Wl,-z,relro: YES 
630.8 Compiler for C supports link arguments -Wl,-z,now: YES 
630.8 Compiler for C supports link arguments -Wl,--default-symver: YES 
630.8 Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
630.8 Program python3 found: YES (/usr/bin/python3)
630.8 Configuring config.h using configuration
630.8 Build-time dependency glib-2.0 found: YES 2.78.6
630.8 Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
630.8 Dependency glib-2.0 found: YES 2.78.6 (cached)
630.8 Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
630.8 Configuring json-version.h using configuration
630.8 Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
630.8 Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
630.8 Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
630.8 Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
630.8 Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
630.8 Program xgettext found: YES (/usr/bin/xgettext)
630.8 Program msgfmt found: YES (/usr/bin/msgfmt)
630.8 Program msginit found: YES (/usr/bin/msginit)
630.8 Program msgmerge found: YES (/usr/bin/msgmerge)
630.8 Program xgettext found: YES (/usr/bin/xgettext)
630.8 Program rst2man rst2man.py found: NO
630.8 
630.8 ../json-glib-1.10.0/doc/meson.build:19:10: ERROR: Program 'rst2man rst2man.py' not found or not executable
630.8 
630.8 A full log can be found at /var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0-.arm64/meson-logs/meson-log.txt
630.8  * ERROR: dev-libs/json-glib-1.10.0::gentoo failed (configure phase):
630.8  *   configure failed
630.8  * 
630.8  * Call stack:
630.8  *     ebuild.sh, line  136:  Called src_configure
630.8  *   environment, line 3235:  Called meson-multilib_src_configure
630.8  *   environment, line 1997:  Called multilib-minimal_src_configure
630.8  *   environment, line 2191:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
630.8  *   environment, line 2441:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
630.8  *   environment, line 2146:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
630.8  *   environment, line 2144:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
630.8  *   environment, line  569:  Called multilib-minimal_abi_src_configure
630.8  *   environment, line 2185:  Called multilib_src_configure
630.8  *   environment, line 2666:  Called meson_src_configure
630.8  *   environment, line 2078:  Called die
630.8  * The specific snippet of code:
630.8  *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
630.8  * 
630.8  * If you need support, post the output of `emerge --info '=dev-libs/json-glib-1.10.0::gentoo'`,
630.8  * the complete build log and the output of `emerge -pqv '=dev-libs/json-glib-1.10.0::gentoo'`.
630.8  * The complete build log is located at '/var/tmp/portage/dev-libs/json-glib-1.10.0/temp/build.log'.
630.8  * The ebuild environment file is located at '/var/tmp/portage/dev-libs/json-glib-1.10.0/temp/environment'.
630.8  * Working directory: '/var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0-.arm64'
630.8  * S: '/var/tmp/portage/dev-libs/json-glib-1.10.0/work/json-glib-1.10.0'
Comment 1 Bernard Cafarelli gentoo-dev 2024-12-06 21:31:27 UTC
Indeed, I updated a few deps but missed this one:
https://gitlab.gnome.org/GNOME/json-glib/-/blob/main/doc/meson.build?ref_type=heads#L19

It is needed for documentation but also for man pages, adding to build dependencies
Comment 2 Larry the Git Cow gentoo-dev 2024-12-06 21:48:27 UTC
The bug has been closed via the following commit(s):

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

commit 3a0143c90d0e3dddc19915db45709d584f6f9ed9
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2024-12-06 21:47:20 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2024-12-06 21:48:25 +0000

    dev-libs/json-glib: missing dev-python/docutils build dep
    
    Also drop xsltproc dependenccy, not used anymore in current code
    
    Closes: https://bugs.gentoo.org/945987
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 dev-libs/json-glib/json-glib-1.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)