Returned Error with building snapd-glib

==> ERROR: A failure occurred in build().
Aborting…
→ error making: snapd-glib-exit status 4
→ Failed to install the following packages. Manual intervention is required:
snapd-glib - exit status 4

The actual error is above that.

dalto do you mean that I never copyed enough of the read out

It also says I am missing Missing AUR Debug Packages: pamac-aur-git-debug

You need to share the whole output from the command not just the last part. We can’t help with just those last few lines.

In /etc/makepkg.conf find the OPTIONS line and ensure !debug is set. Then remove any -debug packages.

It Is really long I hope this is what you are asking for Problem occurred I tried to copy it all and it was too many characters only allowed 900000

I couldn’t do the whole thing so here is just above that of which i originally submitted "
/usr/bin/ld: /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/…/tests/test-qt.cpp:7275:(.text+0x673b): undefined reference to QSnapdTask::taskData() const' /usr/bin/ld: /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:7277:(.text+0x6759): undefined reference to QSnapdTaskData::affectedSnaps() const’
/usr/bin/ld: /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/…/tests/test-qt.cpp:7281:(.text+0x684b): undefined reference to QSnapdTask::taskData() const' /usr/bin/ld: /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:7283:(.text+0x68a6): undefined reference to QSnapdClient::~QSnapdClient()’
/usr/bin/ld: /tmp/ccW7PqId.ltrans11.ltrans.o: in function test_notices_events()': /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:7207:(.text.unlikely+0x101): undefined reference to QSnapdClient::~QSnapdClient()’
/usr/bin/ld: /tmp/ccW7PqId.ltrans11.ltrans.o: in function test_download_sync()': /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:6858:(.text.unlikely+0x384): undefined reference to QSnapdClient::~QSnapdClient()’
/usr/bin/ld: /tmp/ccW7PqId.ltrans11.ltrans.o: in function test_download_async()': /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:6883:(.text.unlikely+0x40c): undefined reference to QSnapdClient::~QSnapdClient()’
/usr/bin/ld: /tmp/ccW7PqId.ltrans11.ltrans.o: in function test_download_channel_revision()': /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:6899:(.text.unlikely+0x4a6): undefined reference to QSnapdClient::~QSnapdClient()’
/usr/bin/ld: /tmp/ccW7PqId.ltrans11.ltrans.o:/usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/…/tests/test-qt.cpp:6946: more undefined references to QSnapdClient::~QSnapdClient()' follow /usr/bin/ld: /tmp/ccW7PqId.ltrans12.ltrans.o: in function void std::__insertion_sort<QList<QSnapdAlias*>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<test_aliases_get_sync()::{lambda(QSnapdAlias*, QSnapdAlias*)#1}> >(QList<QSnapdAlias*>::iterator, QList<QSnapdAlias*>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<test_aliases_get_sync()::{lambda(QSnapdAlias*, QSnapdAlias*)#1}>) [clone .lto_priv.0]‘:
/usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/…/tests/test-qt.cpp:6574:(.text+0x6855): undefined reference to QSnapdAlias::name() const' /usr/bin/ld: /tmp/ccW7PqId.ltrans12.ltrans.o:/usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:6574:(.text+0x6864): undefined reference to QSnapdAlias::name() const’
/usr/bin/ld: /tmp/ccW7PqId.ltrans12.ltrans.o: in function void std::__insertion_sort<QList<QSnapdAlias*>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<test_aliases_get_sync()::{lambda(QSnapdAlias*, QSnapdAlias*)#1}> >(QList<QSnapdAlias*>::iterator, QList<QSnapdAlias*>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<test_aliases_get_sync()::{lambda(QSnapdAlias*, QSnapdAlias*)#1}>) [clone .lto_priv.0]': /usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:6574:(.text+0x6972): undefined reference to QSnapdAlias::name() const’
/usr/bin/ld: /tmp/ccW7PqId.ltrans12.ltrans.o:/usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/…/tests/test-qt.cpp:6574:(.text+0x6981): undefined reference to QSnapdAlias::name() const' /usr/bin/ld: /tmp/ccW7PqId.ltrans12.ltrans.o: in function void std::__insertion_sort<QList<QSnapdAlias*>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<GetAliasesHandler::onComplete()::{lambda(QSnapdAlias*, QSnapdAlias*)#1}> >(QList<QSnapdAlias*>::iterator, QList<QSnapdAlias*>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<GetAliasesHandler::onComplete()::{lambda(QSnapdAlias*, QSnapdAlias*)#1}>) [clone .lto_priv.0]‘:
/usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/…/tests/test-qt.cpp:6574:(.text+0x6b95): undefined reference to QSnapdAlias::name() const' /usr/bin/ld: /tmp/ccW7PqId.ltrans12.ltrans.o:/usr/src/debug/snapd-glib/snapd-glib-9af6ed6d7cce8965e30e4165982cdb21ccb663db/build/../tests/test-qt.cpp:6574: more undefined references to QSnapdAlias::name() const’ follow
/usr/bin/ld: tests/test-qt6: protected symbol `_ZNK15QSnapdInterface9slotCountEv’ isn’t defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting…
→ error making: snapd-glib-exit status 4
→ Failed to install the following packages. Manual intervention is required:
snapd-glib - exit status 4

copy the entire contents paste into a normal file then share the file through eos-sendlog

cat ~/newlycreatedfile.log | eos-sendlog

then post the url here.

I don’t know what you mean copy the entire contents into a normal file?

open up your text editor and take all the information from the command line and paste it into a raw text file save the file then use the command to give us the url

According to the AUR page, there are currently problems building outside of a chroot.

The recommended fix is to build it with paru: paru -S snapd-glib --chroot

You might have to install paru from the repos first.

1 Like

paru -S snapd-glib --chroot
error: can not use chroot builds: devtools is not installed

I am probably not doing something right!

sudo pacman -Syu devtools and then trying again would be my next move.

1 Like

It has gone so far and nothing seems to be completing I am not really familiar with paru anyway this is where I am at " Aur (1) Old Version New Version Make Only
aur/snapd-glib 1.65-1 1.66.9af6ed-1 No

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs…
/home/dan/.cache/paru/clone/snapd-glib/.gitignore [---------------------------------------------]
.tar
.zip
.pkg
src
pkg

/home/dan/.cache/paru/clone/snapd-glib/PKGBUILD

Maintainer: tristanrw

Contributor: bash000000

Contributor: Blutkoete <tobias dot borgert @ gmail dot com>

Contributor: 1Conan <me at 1conan dot com>

Contributor: Mitchell Renouf

pkgname=snapd-glib
pkgdesc="Library to allow GLib/Qt based applications access to snapd, the daemon that controls Snap>
depends=(‘libsoup3’ ‘json-glib’ ‘qt6-declarative’ ‘glib2-devel’ ‘qt6-base’)
pkgver=1.66.9af6ed
pkgrel=1
arch=(‘x86_64’)
url=“https://github.com/snapcore/snapd-glib
license=(‘GPL3’)
makedepends=(‘git’ ‘gobject-introspection’ ‘gtk-doc’ ‘meson’ ‘qt6-tools’ ‘vala’ ‘gi-docgen’)
:

I’ve never used paru, but that looks like a pager to me. Try pressing Page Up/Down to navigate through the pkgbuild and then pressing q when you are happy with it. If that exits the build process, try enter instead.

You need to press q from that screen

A Big shout out to everyone’s help it was Greatly appreciated !

1 Like

I went down to options but I did not see anything debug

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.