Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #404868 > unrolled thread

Bug#1117390: cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2

Started bySantiago Vila <sanvila@debian.org>
First post2025-11-19 11:20 +0100
Last post2025-11-19 15:30 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.bugs.rc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1117390: cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2 Santiago Vila <sanvila@debian.org> - 2025-11-19 11:20 +0100
    Processed: Re: Bug#1117390: cppgir: FTBFS: dh_auto_build: error:  cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true"  VERBOSE=1 returned exit code 2 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-19 11:20 +0100
    Bug#1117390: cppgir: FTBFS: ERROR could not find GIR for Gst-1.0 Simon McVittie <smcv@debian.org> - 2025-11-19 14:20 +0100
      Bug#1117390: cppgir: FTBFS: ERROR could not find GIR for Gst-1.0 Santiago Vila <sanvila@debian.org> - 2025-11-19 15:30 +0100

#404868 — Bug#1117390: cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2

FromSantiago Vila <sanvila@debian.org>
Date2025-11-19 11:20 +0100
SubjectBug#1117390: cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
Message-ID<LSNs5-e6GQ-1@gated-at.bofh.it>
retitle 1117390 cppgir: FTBFS: ERROR could not find GIR for Gst-1.0
thanks

On Wed, Nov 19, 2025 at 09:58:18AM +0000, Simon McVittie wrote:
> Version: 2.0+git20250629.2a7d9ce-1
> 
> On Sun, 05 Oct 2025 at 17:34:20 +0000, Santiago Vila wrote:
> > During a rebuild of all packages in unstable, this package failed to build.
> > https://people.debian.org/~sanvila/build-logs/202510/
> 
> It isn't obvious what actually failed here: there's no obvious failing
> command in the log, but there are too many compiler warnings to be confident
> that I haven't missed one.
> 
> The new version that was uploaded today seems to be building successfully,
> so if the build failure doesn't recur, I think we can call this fixed.

Hi. I confirm that this is fixed in the above version.

And yes, it was not obvious what actually failed. However, I can see
what failed when I look at a build log made on a machine with 1 CPU,
the relevant part of the build log seems to be like this:


make  -f CMakeFiles/wrappers.dir/build.make CMakeFiles/wrappers.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 40%] Generating wrapper code for: GObject-2.0;Gio-2.0;Gst-1.0;Gtk-3.0
cd /<<PKGBUILDDIR>> && /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cppgir --class --class-full --ignore data/cppgir.ignore:d
ata/cppgir_unix.ignore --output /<<PKGBUILDDIR>>/debian/tmp GObject-2.0 Gio-2.0 Gst-1.0 Gtk-3.0
ERROR could not find GIR for Gst-1.0
make[3]: *** [CMakeFiles/wrappers.dir/build.make:78: /<<PKGBUILDDIR>>/debian/tmp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1439: CMakeFiles/wrappers.dir/all] Error 2


So I'm doing the above retitle just for completeness & posterity.

Thanks a lot.

[toc] | [next] | [standalone]


#404869 — Processed: Re: Bug#1117390: cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-11-19 11:20 +0100
SubjectProcessed: Re: Bug#1117390: cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
Message-ID<LSNs5-e6GQ-3@gated-at.bofh.it>
In reply to#404868
Processing commands for control@bugs.debian.org:

> retitle 1117390 cppgir: FTBFS: ERROR could not find GIR for Gst-1.0
Bug #1117390 {Done: Simon McVittie <smcv@debian.org>} [src:cppgir] cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
Changed Bug title to 'cppgir: FTBFS: ERROR could not find GIR for Gst-1.0' from 'cppgir: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1117390: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117390
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#404883 — Bug#1117390: cppgir: FTBFS: ERROR could not find GIR for Gst-1.0

FromSimon McVittie <smcv@debian.org>
Date2025-11-19 14:20 +0100
SubjectBug#1117390: cppgir: FTBFS: ERROR could not find GIR for Gst-1.0
Message-ID<LSQgh-e8zy-1@gated-at.bofh.it>
In reply to#404868
On Wed, 19 Nov 2025 at 11:14:32 +0100, Santiago Vila wrote:
>I confirm that this is fixed in the above version.
>
>And yes, it was not obvious what actually failed. However, I can see
>what failed when I look at a build log made on a machine with 1 CPU,
>the relevant part of the build log seems to be like this:
>
>make  -f CMakeFiles/wrappers.dir/build.make CMakeFiles/wrappers.dir/build
>make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
>[ 40%] Generating wrapper code for: GObject-2.0;Gio-2.0;Gst-1.0;Gtk-3.0
>cd /<<PKGBUILDDIR>> && /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cppgir --class --class-full --ignore data/cppgir.ignore:d
>ata/cppgir_unix.ignore --output /<<PKGBUILDDIR>>/debian/tmp GObject-2.0 Gio-2.0 Gst-1.0 Gtk-3.0
>ERROR could not find GIR for Gst-1.0

I wonder why this wasn't visible in the log you initially linked, which 
was presumably from a machine with more than one CPU? I would expect 
that a parallel build could interleave warning/error output from more 
than one process, but I would also have expected the error to turn up 
*somewhere* in the log.

"ERROR could not find GIR for Gst-1.0" looks like a symptom of #1060906 
(older cppgir didn't look at the Debian-specific multiarch GIR XML 
search paths), combined with libgstreamer1.0-dev (>= 1.26.6-2) 
installing Gst-1.0.gir into the multiarch GIR XML directory so that it 
can be Multi-Arch: same again. So it does make sense that this newer 
version, which searches all the right directories, fixes the FTBFS.

     smcv

[toc] | [prev] | [next] | [standalone]


#404887 — Bug#1117390: cppgir: FTBFS: ERROR could not find GIR for Gst-1.0

FromSantiago Vila <sanvila@debian.org>
Date2025-11-19 15:30 +0100
SubjectBug#1117390: cppgir: FTBFS: ERROR could not find GIR for Gst-1.0
Message-ID<LSRm1-e9km-1@gated-at.bofh.it>
In reply to#404883
On Wed, Nov 19, 2025 at 01:17:50PM +0000, Simon McVittie wrote:
> On Wed, 19 Nov 2025 at 11:14:32 +0100, Santiago Vila wrote:
> > [ 40%] Generating wrapper code for: GObject-2.0;Gio-2.0;Gst-1.0;Gtk-3.0
> > cd /<<PKGBUILDDIR>> && /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cppgir --class --class-full --ignore data/cppgir.ignore:d
> > ata/cppgir_unix.ignore --output /<<PKGBUILDDIR>>/debian/tmp GObject-2.0 Gio-2.0 Gst-1.0 Gtk-3.0
> > ERROR could not find GIR for Gst-1.0
> 
> I wonder why this wasn't visible in the log you initially linked, which was
> presumably from a machine with more than one CPU?

The string "ERROR could not find GIR for Gst-1.0" does indeed appear in
the full log I provided in this directory:

(Note: I'm hesitant to use the full path because I delete old logs
from time to time and don't want to make search engines to
index more things than necessary).

https://people.debian.org/~sanvila/build-logs/202510/

[ It just does not appear in the lines I quoted in the bug report
  itself, because I only quote the last lines. I often feel that
  I'm quoting too many lines, so this would be a counter-example ].

Thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web