Bug#1058535: libhinawa: FTBFS: make: *** [debian/rules:8: binary] Error 25

2023-12-12 Thread Kentaro HAYASHI
On Tue, 12 Dec 2023 21:51:47 +0100
Lucas Nussbaum  wrote:
> Source: libhinawa
> Version: 4.0.0-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20231212 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
snip
 [15/15] /usr/bin/gi-docgen generate --no-namespace-dir
--config=doc/hinawa.toml --output-dir=doc/hinawa
--content-dir=/<>/doc src/Hinawa-4.0.gir
> FAILED: doc/hinawa 
> /usr/bin/gi-docgen generate --no-namespace-dir
> --config=doc/hinawa.toml --output-dir=doc/hinawa
> --content-dir=/<>/doc src/Hinawa-4.0.gir WARNING:
> Section domains raised Invalid version: '2.5.' INFO: Loading config
> file: doc/hinawa.toml

It need a patch somthing like:

+diff --git a/src/hinawa_enum_types.h b/src/hinawa_enum_types.h
+index 1687046..a1c1ebf 100644
+--- a/src/hinawa_enum_types.h
 b/src/hinawa_enum_types.h
+@@ -98,7 +98,7 @@ typedef enum {
+  * A set of error code for [struct@GLib.Error] for operations in
[class@FwReq].
+  * The actual value is equivalent to [enum@FwRcode].
+  *
+- * Since: 2.5.
++ * Since: 2.5
+  */
+ typedef enum {
+   HINAWA_FW_REQ_ERROR_CONFLICT_ERROR  =
HINAWA_FW_RCODE_CONFLICT_ERROR, 



Bug#1058535: libhinawa: FTBFS: make: *** [debian/rules:8: binary] Error 25

2023-12-12 Thread Lucas Nussbaum
Source: libhinawa
Version: 4.0.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> dh_auto_configure -- -Ddoc=true
>   cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 
> meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr 
> --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu 
> -Dpython.bytecompile=-1 -Ddoc=true
> The Meson build system
> Version: 1.3.0
> Source dir: /<>
> Build dir: /<>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: hinawa
> Project version: 4.0.0
> C compiler for the host machine: cc (gcc 13.2.0 "cc (Debian 13.2.0-8) 13.2.0")
> C linker for the host machine: cc ld.bfd 2.41.50.20231206
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Header "include/linux/firewire-cdev.h" has symbol "FW_CDEV_EVENT_REQUEST3" : 
> NO 
> Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
> Run-time dependency gobject-2.0 found: YES 2.78.3
> Build-time dependency glib-2.0 found: YES 2.78.3
> Program /usr/bin/glib-genmarshal found: YES (/usr/bin/glib-genmarshal)
> Dependency glib-2.0 found: YES 2.78.3 (cached)
> Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
> Dependency glib-2.0 found: YES 2.78.3 (cached)
> Program /usr/bin/glib-mkenums found: YES (/usr/bin/glib-mkenums)
> Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
> Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
> Program /usr/bin/g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
> Dependency gobject-introspection-1.0 found: YES 1.78.1 (cached)
> Program /usr/bin/g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
> Program fw-node found: YES (/usr/bin/python3 /<>/tests/fw-node)
> Program fw-req found: YES (/<>/tests/fw-req)
> Program fw-resp found: YES (/<>/tests/fw-resp)
> Program fw-fcp found: YES (/<>/tests/fw-fcp)
> Program cycle-time found: YES (/usr/bin/python3 
> /<>/tests/cycle-time)
> Program hinawa-enum found: YES (/usr/bin/python3 
> /<>/tests/hinawa-enum)
> Program hinawa-functions found: YES (/usr/bin/python3 
> /<>/tests/hinawa-functions)
> Configuring hinawa.toml using configuration
> Run-time dependency gi-docgen found: YES 2023.3
> Program gi-docgen found: YES (/usr/bin/gi-docgen)
> Build targets in project: 8
> 
> hinawa 4.0.0
> 
>   User defined options
> buildtype : plain
> libdir: lib/x86_64-linux-gnu
> localstatedir : /var
> prefix: /usr
> sysconfdir: /etc
> wrap_mode : nodownload
> python.bytecompile: -1
> doc   : true
> 
> Found ninja-1.11.1 at /usr/bin/ninja
> make[1]: Leaving directory '/<>'
>dh_auto_build -O--buildsystem=meson
>   cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v
> [1/15] /usr/bin/glib-genmarshal --prefix hinawa_sigs_marshal --stdinc 
> --output src/hinawa_sigs_marshal.h --header ../src/hinawa_sigs_marshal.list 
> --pragma-once
> INFO: Reading ../src/hinawa_sigs_marshal.list...
> [2/15] /usr/bin/glib-genmarshal --prefix hinawa_sigs_marshal --stdinc 
> --output src/hinawa_sigs_marshal.c --body ../src/hinawa_sigs_marshal.list 
> --include-header hinawa_sigs_marshal.h
> INFO: Reading ../src/hinawa_sigs_marshal.list...
> [3/15] /usr/bin/meson --internal exe --unpickle 
> /<>/obj-x86_64-linux-gnu/meson-private/meson_exe_glib-mkenums_2f524c9b023ec2ae23e6f08f59994151641f9f41.dat
> [4/15] /usr/bin/meson --internal exe --unpickle 
> /<>/obj-x86_64-linux-gnu/meson-private/meson_exe_glib-mkenums_c023153e6dc728bc4ca9c5bbd7bf1ecd9fe95298.dat
> [5/15] cc -Isrc/libhinawa.so.4.0.0.p -Isrc -I../src -I../include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 
> src/libhinawa.so.4.0.0.p/cycle_time.c.o -MF 
> src/libhinawa.so.4.0.0.p/cycle_time.c.o.d -o 
> src/libhinawa.so.4.0.0.p/cycle_time.c.o -c ../src/cycle_time.c
> [6/15] cc -Isrc/libhinawa.so.4.0.0.p -Isrc -I../src -I../include 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -g -O2 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ 
> src/libhinawa.so.4.0.0.p/meson-generated_.._hinawa_sigs_marshal.c.o -MF 
> src/libhinawa.so.4.0.0.p/meson-generated_.._hinawa_sigs_marshal.c.o.d -o 
> src/libhinawa.so.4.0.0.p/meson-generated_.._hinawa_sigs_marshal.c.o -c 
> src/hinawa_sigs_marshal.c
> [7/15] cc