Package Details: docker-credential-secretservice 0.9.2-1

Git Clone URL: https://aur.archlinux.org/docker-credential-secretservice.git (read-only, click to copy)
Package Base: docker-credential-secretservice
Description: program to use secretservice to keep Docker credentials safe
Upstream URL: https://github.com/docker/docker-credential-helpers
Keywords: docker
Licenses: MIT
Submitter: abhishekmukherg
Maintainer: aswild
Last Packager: aswild
Votes: 21
Popularity: 0.71
First Submitted: 2017-03-07 20:13 (UTC)
Last Updated: 2025-03-06 00:52 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

dharrigan commented on 2025-03-06 06:13 (UTC)

Hi,

Thank you for that. Yes, I had a stale makepkg.conf (due to a misconfiguration). I appreciate the feedback :-)

Thanks again!

-=david=-

aswild commented on 2025-03-06 00:52 (UTC) (edited on 2025-03-06 00:53 (UTC) by aswild)

@dharrigan - Double-check the CFLAGS in your /etc/makepkg.conf, it sounds like your environment is building with -D_FORTIFY_SOURCE but not -O2, which is unusual. The CFLAGS in the default makepkg.conf includes -O2 and -Wp,-D_FORTIFY_SOURCE=3, among others [1].

Can you reproduce the failure in a clean chroot with extra-x86_64-build [2]?

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/makepkg.conf
[2] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

dharrigan commented on 2025-03-05 08:47 (UTC)

Hi,

Latest release won't build on Arch.

In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from _cgo_export.c:3:
/usr/include/features.h:435:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
  435 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-atomic-alignment’ may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
make: *** [Makefile:42: build-secretservice] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

However, adding this to the PKGBUILD fixes the issue:

diff --git PKGBUILD PKGBUILD
index 5a4f70e..2c8553b 100644
--- PKGBUILD
+++ PKGBUILD
@@ -16,7 +16,7 @@ install=$pkgname.install

 build() {
   cd "$srcdir/docker-credential-helpers"
-  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS -O2"
   export CGO_CFLAGS="$CFLAGS"
   export CGO_CXXFLAGS="$CXXFLAGS"
   export CGO_LDFLAGS="$LDFLAGS"

-=david=-

aswild commented on 2022-04-20 01:21 (UTC)

@whynothugo, done. Sorry for the delay. I added i686 and aarch64 to the arch array, though I'm unable to personally test them.

whynothugo commented on 2022-03-21 15:20 (UTC)

This work on ARM for me. Can you update arch to arch=(x86_64 aarch64)? Thanks!

aswild commented on 2020-04-27 13:55 (UTC)

Hi @DarkSun, If you're no longer maintaining this package, would you consider disowning/orphaning it so that an active maintainer can take over? I'd be happy to maintain this; I prefer building from source rather than using -bin packages.

tbroyer commented on 2020-03-15 19:21 (UTC)

Fwiw, I'm moving to https://aur.archlinux.org/packages/docker-credential-secretservice-bin

moritzhoewer commented on 2019-12-24 00:15 (UTC) (edited on 2019-12-24 00:16 (UTC) by moritzhoewer)

Sent you a patch for an update to v0.6.3

squalou commented on 2019-03-26 14:15 (UTC)

thank you !

DarkSun commented on 2019-03-23 17:22 (UTC)

@squalou done