@username227, paru -S snapd-glib --chroot worked like a charm. Thanks alot!
Search Criteria
Package Details: snapd-glib 1.66.9af6ed-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/snapd-glib.git (read-only, click to copy) |
---|---|
Package Base: | snapd-glib |
Description: | Library to allow GLib/Qt based applications access to snapd, the daemon that controls Snaps |
Upstream URL: | https://github.com/snapcore/snapd-glib |
Licenses: | GPL3 |
Submitter: | droidman |
Maintainer: | username227 |
Last Packager: | username227 |
Votes: | 21 |
Popularity: | 0.39 |
First Submitted: | 2018-10-17 21:21 (UTC) |
Last Updated: | 2025-03-06 19:05 (UTC) |
Dependencies (12)
- glib2-devel
- json-glib (json-glib-gitAUR)
- libsoup3 (libsoup3-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-noguiAUR, qt6-base-headlessAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- gi-docgen (make)
- git (git-gitAUR, git-glAUR) (make)
- gobject-introspection (make)
- gtk-doc (make)
- meson (meson-gitAUR) (make)
- qt6-tools (make)
- vala (vala-gitAUR) (make)
Required by (5)
Sources (2)
khalyst0 commented on 2025-03-08 00:42 (UTC)
username227 commented on 2025-03-07 03:44 (UTC)
Please run the command in the pinned comment. If you don't have paru installed, first install it from the AUR. Building in a chroot will likely solve the problem since I also got a linker error when i built in the standard way. When I tried to build in a chroot i got a different error, and came here to report it and saw that it had been orphaned so I adopted and fixed myself. But i don't know yet how to fix the linker error. Therefore, build in a chroot following the pinned commands. After you try this, if you still have problems, let me know. thanks.
jimnong commented on 2025-03-07 03:37 (UTC) (edited on 2025-03-07 03:42 (UTC) by jimnong)
yay -Syu.
But error is occured.
I don't know what to do. Please help me.
/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/ccJm9gwp.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
[213/213] Generating doc/documentation with a custom command
INFO: Copying file /usr/lib/python3.13/site-packages/gidocgen/templates/basic/SourceCodePro-Semibold.ttf.woff: doc/snapd-glib/SourceCodePro-Semibold.ttf.woff
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
username227 commented on 2025-03-07 00:17 (UTC)
@khalyst0 have you tried building in a chroot?
that error is just the exit error, would need more info from the error in the build to give any assistance.
khalyst0 commented on 2025-03-06 21:42 (UTC)
Got an error today trying to update this package:
error making: snapd-glib-exit status 4
any suggestions?
username227 commented on 2025-03-06 18:53 (UTC) (edited on 2025-03-06 19:14 (UTC) by username227)
There is something preventing me from building this outside of a chroot. The errors happen when ninja tries to link the executables near the end of the build. If you run into this, build in a chroot:
paru -S snapd-glib --chroot
If you know what's causing this and can suggest a fix, let me know. i've already tried disabling LTO in options and in the meson command with no effect.
bash000000 commented on 2025-03-06 15:16 (UTC)
Sorry, This was my first time submitting a package update to the aur, and as the last packager, I didn't understand the maintainer's change mechanism, so I changed him by mistake
patlefort commented on 2024-09-07 10:10 (UTC)
Dependencies should be pointing to qt5 if you are going to revert back to qt5.
vivnet commented on 2024-09-07 04:29 (UTC)
Builds if you rm snapd-glib-1.65.tar.xz && wget https://github.com/snapcore/snapd-glib/releases/download/1.65/snapd-glib-1.65.tar.xz
Pinned Comments
username227 commented on 2025-03-06 18:53 (UTC) (edited on 2025-03-06 19:14 (UTC) by username227)
There is something preventing me from building this outside of a chroot. The errors happen when ninja tries to link the executables near the end of the build. If you run into this, build in a chroot:
If you know what's causing this and can suggest a fix, let me know. i've already tried disabling LTO in options and in the meson command with no effect.