You are not logged in.
Hi, I'm trying to install linthesia on my system, but I can't even begin compilng it since the compilation of one of its dependencies, gconfmm is failing. This is the error log:
make[2]: *** [Makefile:419: callback.lo] Error 1
make[2]: Leaving directory '/home/tralph3/.cache/paru/clone/gconfmm/src/gconfmm-2.28.3/gconf/gconfmm'
make[1]: *** [Makefile:465: all-recursive] Error 1
make[1]: Leaving directory '/home/tralph3/.cache/paru/clone/gconfmm/src/gconfmm-2.28.3'
make: *** [Makefile:318: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> Making package: linthesia 1:20161105-1 (vie 21 may 2021 21:12:56)
==> Retrieving sources...
-> Updating linthesia git repo...
Fetching origin
==> Validating source files with sha256sums...
linthesia ... Skipped
==> Making package: linthesia 1:20161105-1 (vie 21 may 2021 21:12:58)
==> Checking runtime dependencies...
==> Missing dependencies:
-> gconfmm
==> Checking buildtime dependencies...
==> Missing dependencies:
-> gconfmm
==> ERROR: Could not resolve all dependencies.
:: Packages failed to build: gconfmm-2.28.3-6 linthesia-1:20161105-1
Any ideas? I should have the needed dependencies to compile packages, base devel and so on, I compiled other things before on this system without issues.
Last edited by tralph3 (2021-05-22 00:14:52)
Offline
This is the *tail* of the error log, please post the complete output.
Offline
Will do when I get home but, the rest is just the standard compilation output, warnings and such, not even related to `callback.lo` which seems to be the culpript? Idk. The error pops up a few seconds after the last warning message which to me suggests its being caused slmonewhere else.
Offline
Here is the full log: https://pastebin.com/Pk0uUyLj
Offline
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=\"gconfmm\" -DGCONFMM_BUILD=1 -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c++11 -MT callback.lo -MD -MP -MF .deps/callback.Tpo -c -o callback.lo callback.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I../.. -DG_LOG_DOMAIN=\"gconfmm\" -DGCONFMM_BUILD=1 -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c++11 -MT callback.lo -MD -MP -MF .deps/callback.Tpo -c callback.cc -fPIC -DPIC -o .libs/callback.o
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/gconf/2/gconf/gconf-client.h:24,
from ../gconfmm/callback.h:27,
from callback.cc:22:
/usr/include/c++/11.1.0/type_traits:56:3: error: template with C linkage
56 | template<typename _Tp, _Tp __v>
| ^~~~~~~~
In file included from callback.cc:22:
../gconfmm/callback.h:25:1: note: 'extern "C"' linkage started here
25 | extern "C"
| ^~~~~~~~~~
…
…
…
Feeding "/usr/include/c++/11.1.0/type_traits:56:3: error: template with C linkage" into the oricle of moutainview will quickly lead you to eg. https://gitlab.gnome.org/GNOME/glib/-/issues/2331
This needs a downstream fix.
Edit gconf/gconfmm/callback.h and try to just remove the "extern C {" line and the closing brace "}" but not the include inbetween and notify the maintainer of the AUR package.
--- gconf/gconfmm/callback.h.bak 2021-05-23 08:31:24.882869097 +0200
+++ gconf/gconfmm/callback.h 2021-05-23 08:31:34.122890390 +0200
@@ -22,10 +22,7 @@
#ifndef GCONFMM_CALLBACK_H
#define GCONFMM_CALLBACK_H
-extern "C"
-{
#include <gconf/gconf-client.h>
-}
#include <glibmm/object.h>
#include <gconfmm/entry.h>
Edit: sf.net sucks.
Last edited by seth (2021-05-23 06:33:23)
Offline