jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.86k stars 91 forks source link

arch installed issues.. #349

Open vvlaw opened 10 months ago

vvlaw commented 10 months ago

vvlaw@archlinux  ~  yay -S --overwrite '*' onedriver  ✔  7572  11:26:17 AUR Explicit (1): onedriver-0.13.0-0 :: PKGBUILD up to date, skipping download: onedriver 1 onedriver (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> n 1 onedriver (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> n ==> Making package: onedriver 0.13.0-0 (Sun 20 Aug 2023 11:26:24 AM AEST) ==> Retrieving sources... -> Found onedriver-0.13.0.tar.gz ==> Validating source files with sha512sums... onedriver-0.13.0.tar.gz ... Passed :: (1/1) Parsing SRCINFO: onedriver ==> Making package: onedriver 0.13.0-0 (Sun 20 Aug 2023 11:26:25 AM AEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found onedriver-0.13.0.tar.gz ==> Validating source files with sha512sums... onedriver-0.13.0.tar.gz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting onedriver-0.13.0.tar.gz with bsdtar ==> Sources are ready. ==> Making package: onedriver 0.13.0-0 (Sun 20 Aug 2023 11:26:27 AM AEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Removing existing $pkgdir/ directory... ==> Starting build()... cmd/onedriver/main.go:4:2: package encoding/json is not in std (/home/vvlaw/go/src/encoding/json) cmd/onedriver/main.go:5:2: package fmt is not in std (/home/vvlaw/go/src/fmt) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/deserialize.go:18:2: package bufio is not in std (/home/vvlaw/go/src/bufio) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/deserialize.go:19:2: package bytes is not in std (/home/vvlaw/go/src/bytes) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/deserialize.go:20:2: package errors is not in std (/home/vvlaw/go/src/errors) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/deserialize.go:22:2: package io is not in std (/home/vvlaw/go/src/io) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/escape.go:21:2: package strconv is not in std (/home/vvlaw/go/src/strconv) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/deserialize.go:23:2: package strings is not in std (/home/vvlaw/go/src/strings) /home/vvlaw/opt/go/pkg/mod/github.com/coreos/go-systemd/v22@v22.3.2/unit/deserialize.go:24:2: package unicode is not in std (/home/vvlaw/go/src/unicode) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/context.go:8:2: package context is not in std (/home/vvlaw/go/src/context) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/splice/splice.go:11:2: package io/ioutil is not in std (/home/vvlaw/go/src/io/ioutil) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/splice/pair_linux.go:9:2: package log is not in std (/home/vvlaw/go/src/log) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/splice/copy.go:9:2: package os is not in std (/home/vvlaw/go/src/os) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/splice/pool.go:8:2: package sync is not in std (/home/vvlaw/go/src/sync) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/splice/pair.go:9:2: package syscall is not in std (/home/vvlaw/go/src/syscall) /home/vvlaw/opt/go/pkg/mod/golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e/unix/syscall_linux.go:15:2: package encoding/binary is not in std (/home/vvlaw/go/src/encoding/binary) /home/vvlaw/opt/go/pkg/mod/golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e/internal/unsafeheader/unsafeheader.go:14:2: package unsafe is not in std (/home/vvlaw/go/src/unsafe) /home/vvlaw/opt/go/pkg/mod/golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e/unix/affinity_linux.go:10:2: package math/bits is not in std (/home/vvlaw/go/src/math/bits) /home/vvlaw/opt/go/pkg/mod/golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e/unix/ioctl.go:11:2: package runtime is not in std (/home/vvlaw/go/src/runtime) /home/vvlaw/opt/go/pkg/mod/golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e/unix/syscall_unix.go:12:2: package sort is not in std (/home/vvlaw/go/src/sort) /home/vvlaw/opt/go/pkg/mod/golang.org/x/sys@v0.0.0-20210809222454-d867a43fc93e/unix/timestruct.go:10:8: package time is not in std (/home/vvlaw/go/src/time) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/server.go:10:2: package math is not in std (/home/vvlaw/go/src/math) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/mount_linux.go:12:2: package os/exec is not in std (/home/vvlaw/go/src/os/exec) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/mount_linux.go:13:2: package path is not in std (/home/vvlaw/go/src/path) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/poll_linux.go:4:2: package path/filepath is not in std (/home/vvlaw/go/src/path/filepath) /home/vvlaw/opt/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.0/fuse/misc.go:13:2: package reflect is not in std (/home/vvlaw/go/src/reflect) /home/vvlaw/opt/go/pkg/mod/github.com/imdario/mergo@v0.3.13/map.go:15:2: package unicode/utf8 is not in std (/home/vvlaw/go/src/unicode/utf8) fs/graph/hashes.go:4:2: package crypto/sha1 is not in std (/home/vvlaw/go/src/crypto/sha1) fs/graph/hashes.go:5:2: package encoding/base64 is not in std (/home/vvlaw/go/src/encoding/base64) fs/graph/quickxorhash/quickxorhash.go:37:2: package hash is not in std (/home/vvlaw/go/src/hash) /home/vvlaw/opt/go/pkg/mod/github.com/rs/zerolog@v1.26.1/internal/json/types.go:6:2: package net is not in std (/home/vvlaw/go/src/net) /home/vvlaw/opt/go/pkg/mod/github.com/rs/zerolog@v1.26.1/sampler.go:4:2: package math/rand is not in std (/home/vvlaw/go/src/math/rand) /home/vvlaw/opt/go/pkg/mod/github.com/rs/zerolog@v1.26.1/globals.go:6:2: package sync/atomic is not in std (/home/vvlaw/go/src/sync/atomic) fs/graph/graph.go:12:2: package net/http is not in std (/home/vvlaw/go/src/net/http) fs/graph/drive_item.go:7:2: package net/url is not in std (/home/vvlaw/go/src/net/url) fs/graph/graph.go:14:2: package regexp is not in std (/home/vvlaw/go/src/regexp) package github.com/jstaf/onedriver/cmd/onedriver imports runtime/cgo: cannot find package /home/vvlaw/opt/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode.go:19:2: package encoding is not in std (/home/vvlaw/go/src/encoding) /home/vvlaw/opt/go/pkg/mod/go.etcd.io/bbolt@v1.3.6/db.go:6:2: package hash/fnv is not in std (/home/vvlaw/go/src/hash/fnv) /home/vvlaw/opt/go/pkg/mod/github.com/spf13/pflag@v1.0.5/string_slice.go:5:2: package encoding/csv is not in std (/home/vvlaw/go/src/encoding/csv) /home/vvlaw/opt/go/pkg/mod/github.com/spf13/pflag@v1.0.5/bytes.go:5:2: package encoding/hex is not in std (/home/vvlaw/go/src/encoding/hex) /home/vvlaw/opt/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:104:2: package flag is not in std (/home/vvlaw/go/src/flag) cmd/onedriver/main.go:8:2: package os/signal is not in std (/home/vvlaw/go/src/os/signal) ==> ERROR: A failure occurred in build(). Aborting... -> error making: onedriver-exit status 4 -> Failed to install the following packages. Manual intervention is required: onedriver - exit status 4

vvlaw commented 10 months ago

My env is :

vvlaw@archlinux  ~  go env  1 ↵  7573  11:26:27 GO111MODULE='' GOARCH='amd64' GOBIN='' GOCACHE='/home/vvlaw/.cache/go-build' GOENV='/home/vvlaw/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/home/vvlaw/opt/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/home/vvlaw/opt/go' GOPRIVATE='' GOPROXY='direct' GOROOT='/home/vvlaw/go' GOSUMDB='' GOTMPDIR='' GOTOOLCHAIN='' GOTOOLDIR='/home/vvlaw/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.21.0' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/dev/null' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='/usr/bin/pkgconf' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1500717862=/tmp/go-build -gno-record-gcc-switches'