2

I'm not used to build apps from source and when I do, it's not free from hiccups.

While trying to build the app qman, I was met with this error code:

[1/11] Generating src/config.h with a custom command
FAILED: src/config.h
/usr/bin/cog -d -o src/config.h ../src/config.h.cog
cog: Cannot load more than one URL.
(cog:117462): GLib-GObject-CRITICAL **: 14:35:12.738: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[2/11] Generating src/config.c with a custom command
FAILED: src/config.c
/usr/bin/cog -d -o src/config.c ../src/config.c.cog
cog: Cannot load more than one URL.
(cog:117463): GLib-GObject-CRITICAL **: 14:35:12.739: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
ninja: build stopped: subcommand failed.

After running the command meson compile. Before that, I used the command meson setup build/ --prefix=/usr/local/stow/qman. I also installed the required dependencies.

I'm running Debian 13 Trixie.

Marcus Müller
49.5k4 gold badges76 silver badges115 bronze badges
asked Aug 23 at 17:53
5
  • This might actually just be a bug in the software and not your fault, and possibly not even for you to fix. Does it build in a debian 12 container (e.g., install the podman package, sudo apt install podman, then run podman run -it --rm debian:12 to get a clean-slate debian 12 environment)? Commented Aug 23 at 18:01
  • 1
    question: what is the first line of output of /usr/bin/cog -h? Commented Aug 23 at 20:51
  • 1
    @MarcusMüller are you thinking that maybe the build process is misidentifying the cog web browser as the cog file generation tool - which is listed as a qman build dependency ? Commented Aug 23 at 22:58
  • Hi. I managed to install the app. I installed cog from pip using pipx install cogapp. Unfortunately, it's something not clear at first sight. Thanks a bunch to all who commented. Commented Aug 23 at 23:41
  • @steeldriver exactly that! I should have written that! Commented Aug 24 at 14:53

1 Answer 1

3

This looks like a tool with the same executable name got installed – but as you noticed yourself (sorry for not stating that, but good work on your end!), you really need the cog file generation tool as available via pip (or your python package manager of choice) as cogapp, or, if you're on debian, Ubuntu, Fedora or derivative distros, as system package called python3-cogapp.

answered Aug 25 at 9:49

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.