[Slackbuilds-users] Updates - 20230128.1
Andrew Clemons
andrew.clemons at gmail.com
Sun Jan 29 11:31:48 UTC 2023
On 2023-01-29 21:08:10 +1100, duncan_roe at optusnet.com.au wrote:
> Hi Andrew,
>
> I can't build containerd. Here's what I get:
>
> > # github.com/containerd/containerd/cmd/ctr
> > /usr/bin/ld: /root/.cache/go-build/10/1057086cbae2f2af7483037be77189e85eb5442d0db4f28a061a3ac01c15820b-d(_go_.o): in function `github_0com_1containerd_1containerd_1mount.Mount.Mount':
> > /tmp/SBo/containerd-1.6.15/mount/fmountat_linux.go:120: undefined reference to `syscall.runtime_BeforeFork'
> > /usr/bin/ld: /root/.cache/go-build/10/1057086cbae2f2af7483037be77189e85eb5442d0db4f28a061a3ac01c15820b-d(_go_.o): in function `github.com/containerd/containerd/mount.forkAndMountat':
> > /tmp/SBo/containerd-1.6.15/mount/fmountat_linux.go:132: undefined reference to `syscall.runtime_AfterForkInChild'
> > /usr/bin/ld: /tmp/SBo/containerd-1.6.15/mount/fmountat_linux.go:127: undefined reference to `syscall.runtime_AfterFork'
> > collect2: error: ld returned 1 exit status
> > make: *** [Makefile:249: bin/ctr] Error 2
>
> I saw a lot more errors earlier when the SB was modified to do make
> -j$(($(nproc)+1)), including a gccgo compiler crash. Might be worth trying a
> make -i.
This looks like you have not sourced /etc/profile.d/go.sh or
/etc/profile.d/go.csh after installing google-go-lang. I get your error above
if I try building containerd with gccgo.
I built containerd in a clean docker container of a full install of
Slackware64-15.0 with google-go-lang installed and `su -` invoked:
```
# go version
go version go1.19.5 linux/amd64
# sbopkg -B -q -i containerd
###########################################
New queue process started on:
Sun Jan 29 11:21:24 GMT 2023
###########################################
+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the SBo repository for Slackware 15.0
Queue Process: Download, build, and install
containerd:
Checking GPG for containerd.tar.gz ... OK
Processing containerd 1.6.15-1
Using original .info file
Using original SlackBuild file
No build options selected.
+++++++++++++++++++++++++++++++++++++++++++
Pre-check complete.
Processing containerd
containerd:
Found containerd-1.6.15.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
MD5SUM check for containerd-1.6.15.tar.gz ... OK
Building package for containerd...
containerd-1.6.15/
[...]
+ bin/ctr
go: downloading github.com/urfave/cli v1.22.1
go: downloading golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading google.golang.org/grpc v1.47.0
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799
go: downloading github.com/containerd/typeurl v1.0.2
go: downloading github.com/containerd/console v1.0.3
go: downloading github.com/containerd/go-cni v1.1.6
go: downloading github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
go: downloading github.com/containerd/fifo v1.0.0
go: downloading github.com/containerd/ttrpc v1.1.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading github.com/Microsoft/hcsshim v0.9.6
go: downloading github.com/containerd/cgroups v1.0.4
go: downloading github.com/moby/sys/signal v0.6.0
go: downloading github.com/opencontainers/selinux v1.10.1
go: downloading github.com/opencontainers/runc v1.1.2
go: downloading github.com/containerd/continuity v0.3.0
go: downloading github.com/moby/sys/mountinfo v0.5.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/moby/locker v1.0.1
go: downloading golang.org/x/net v0.0.0-20220722155237-a158d28d115b
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/containernetworking/cni v1.1.1
go: downloading github.com/pelletier/go-toml v1.9.3
go: downloading google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63
go: downloading github.com/klauspost/compress v1.11.13
go: downloading github.com/gogo/googleapis v1.3.2
go: downloading github.com/google/uuid v1.2.0
go: downloading github.com/golang/protobuf v1.5.2
go: downloading google.golang.org/protobuf v1.28.0
go: downloading github.com/coreos/go-systemd/v22 v22.3.2
go: downloading github.com/godbus/dbus/v5 v5.0.6
go: downloading github.com/cilium/ebpf v0.7.0
go: downloading github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c
go: downloading github.com/containerd/go-runc v1.0.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading golang.org/x/text v0.3.7
+ bin/containerd
go: downloading github.com/containerd/aufs v1.0.0
go: downloading github.com/docker/go-metrics v0.0.1
go: downloading github.com/prometheus/client_golang v1.11.1
go: downloading github.com/containerd/zfs v1.0.0
go: downloading k8s.io/klog/v2 v2.30.0
go: downloading go.etcd.io/bbolt v1.3.6
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading go.opentelemetry.io/otel v1.3.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0
go: downloading go.opentelemetry.io/otel/sdk v1.3.0
go: downloading github.com/intel/goresctrl v0.2.0
go: downloading github.com/containerd/btrfs v1.0.0
go: downloading github.com/containerd/imgcrypt v1.1.4
go: downloading github.com/containerd/nri v0.1.0
go: downloading github.com/containernetworking/plugins v1.1.1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5
go: downloading k8s.io/apimachinery v0.22.5
go: downloading k8s.io/client-go v0.22.5
go: downloading k8s.io/cri-api v0.25.0
go: downloading k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b
go: downloading github.com/go-logr/logr v1.2.2
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/common v0.30.0
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0
go: downloading github.com/imdario/mergo v0.3.12
go: downloading go.opentelemetry.io/otel/trace v1.3.0
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading github.com/moby/sys/symlink v0.2.0
go: downloading go.opentelemetry.io/proto/otlp v0.11.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/containers/ocicrypt v1.1.3
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading k8s.io/api v0.22.5
go: downloading k8s.io/apiserver v0.22.5
go: downloading github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible
go: downloading github.com/tchap/go-patricia v2.2.6+incompatible
go: downloading github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading github.com/cenkalti/backoff/v4 v4.1.2
go: downloading github.com/moby/spdystream v0.2.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/google/gofuzz v1.2.0
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.1.2
go: downloading github.com/google/go-cmp v0.5.6
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980
go: downloading github.com/miekg/pkcs11 v1.1.1
go: downloading gopkg.in/square/go-jose.v2 v2.5.1
go: downloading golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1
go: downloading golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
go: downloading k8s.io/component-base v0.22.5
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/blang/semver v3.5.1+incompatible
+ bin/containerd-stress
+ bin/containerd-shim
+ bin/containerd-shim-runc-v1
+ bin/containerd-shim-runc-v2
+ binaries
+ install bin/ctr bin/containerd bin/containerd-stress bin/containerd-shim bin/containerd-shim-runc-v1 bin/containerd-shim-runc-v2
Slackware package maker, version 3.14159265.
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/sbopkg.oyhPHW/sbopkg-sbooutputdir/containerd-1.6.15-x86_64-1_SBo.tgz
./
install/
install/slack-desc
usr/
usr/bin/
usr/bin/containerd
usr/bin/containerd-shim
usr/bin/containerd-shim-runc-v1
usr/bin/containerd-shim-runc-v2
usr/bin/containerd-stress
usr/bin/ctr
usr/doc/
usr/doc/containerd-1.6.15/
usr/doc/containerd-1.6.15/LICENSE
usr/doc/containerd-1.6.15/NOTICE
usr/doc/containerd-1.6.15/README.md
usr/doc/containerd-1.6.15/containerd.SlackBuild
Slackware package /tmp/sbopkg.oyhPHW/sbopkg-sbooutputdir/containerd-1.6.15-x86_64-1_SBo.tgz created.
Done building package for containerd.
Built package: containerd-1.6.15-x86_64-1_SBo.tgz
+==============================================================================
| Installing new package /tmp/containerd-1.6.15-x86_64-1_SBo.tgz
+==============================================================================
Verifying package containerd-1.6.15-x86_64-1_SBo.tgz.
Installing package containerd-1.6.15-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# containerd (a daemon to control runC)
#
# Containerd is a daemon to control runC, built for performance and
# density. Containerd leverages runC's advanced features such as
# seccomp and user namespace support as well as checkpoint and restore
# for cloning and live migration of containers.
#
# Homepage: https://containerd.io/
#
Package containerd-1.6.15-x86_64-1_SBo.tgz installed.
Done upgrading/installing package.
+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo repository for Slackware 15.0
Queue Process: Download, build, and install
containerd:
MD5SUM check for containerd-1.6.15.tar.gz ... OK
Building package containerd-1.6.15-x86_64-1_SBo.tgz ... OK
Installing package containerd-1.6.15-x86_64-1_SBo.tgz ... OK
+++++++++++++++++++++++++++++++++++++++++++
###########################################
Queue process complete!
###########################################
```
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20230129/d443b42b/attachment.asc>
More information about the SlackBuilds-users
mailing list