Package Details: kubebuilder 4.3.1-1

Git Clone URL: https://aur.archlinux.org/kubebuilder.git (read-only, click to copy)
Package Base: kubebuilder
Description: SDK for building Kubernetes APIs
Upstream URL: https://github.com/kubernetes-sigs/kubebuilder
Licenses: Apache
Submitter: vianney
Maintainer: vianney
Last Packager: vianney
Votes: 2
Popularity: 0.006067
First Submitted: 2023-07-21 13:38 (UTC)
Last Updated: 2024-11-28 22:09 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

vianney commented on 2024-11-28 22:10 (UTC) (edited on 2024-11-28 22:16 (UTC) by vianney)

Sorry I took so long to see you message.

The issue was not with the escaping but with the = after -extflags.

It worked when I first published this package and I believe the reason why this broke was when changes were made to /etc/makepkg.conf introducing spaces in the variable LDFLAGS. .

Daklon commented on 2024-04-20 19:30 (UTC)

Hi! I'm facing the following error at the build stage of the package:

# sigs.k8s.io/kubebuilder/v3/cmd
invalid value "\"-Wl,-O1" for flag -extldflags: unterminated " string
usage: link [options] main.o

It seems like the quotes aren't being really scaped, also, my /etc/makepg.config is the standard one:

LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
         -Wl,-z,pack-relative-relocs"