Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go 1.18 Survey #3923

Merged
merged 120 commits into from
Jul 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
9f76f43
go: update to 1.18
CamberLoid Apr 3, 2022
22bbf7f
delve: update to 1.8.2
CamberLoid Apr 7, 2022
a5fba78
dep: rebuild for go 1.18 ...
CamberLoid Apr 7, 2022
46d54aa
glide: rebuild for go 1.18 ...
CamberLoid Apr 7, 2022
395333f
groups/go-rebuilds: add extra-devel/cf-tools
CamberLoid Apr 7, 2022
32aa005
groups/go-rebuilds: reordered extra-devel/cf-tools
CamberLoid Apr 7, 2022
41d11c9
groups/go-rebuilds: fix typo
CamberLoid Apr 11, 2022
330a42a
golang-base: ...
CamberLoid Apr 11, 2022
e1947ad
delve: adopt arm64 support
CamberLoid Apr 11, 2022
3c13270
gotop: update to 4.1.3
CamberLoid Apr 11, 2022
f6d2cfc
go: (ppc64el) turn on data race detector
CamberLoid Apr 13, 2022
9635b2f
go: bump REL 0 -> 1 in response of ...
CamberLoid Apr 13, 2022
11a0b08
golang-base: move `delve` to amd64's pkgdep
CamberLoid Apr 13, 2022
a05b6e9
go: update to 1.18.1
CamberLoid Apr 21, 2022
bcc686e
go: make sure target is right when building for amd64
CamberLoid Apr 21, 2022
bbd1fac
dep: rebuild for go 1.18.1
CamberLoid May 7, 2022
2b36a54
glide: rebuild for go 1.18.1
CamberLoid May 7, 2022
8226a5d
gotop: rebuild for go 1.18.1
CamberLoid May 7, 2022
8de441d
delve: update to 1.8.3
CamberLoid May 7, 2022
40f16e5
popub: update to 0+git20210814
CamberLoid May 7, 2022
7600d6e
go: update package dependencies
CamberLoid May 7, 2022
65b60c5
go: revert previous modification for riscv64
CamberLoid May 7, 2022
a4f85bf
popub: update anitya id
CamberLoid May 7, 2022
08b18a3
frp: update to 0.42.0
CamberLoid May 7, 2022
187e7cc
clash: update to 1.10.6
CamberLoid May 7, 2022
1f035c7
git-lfs: update to 3.1.4
CamberLoid May 8, 2022
649d0b0
gh/github-cli: Update to 2.9.0 with multiple changes
CamberLoid May 8, 2022
0d0999e
go-md2man: Update to 2.0.2
CamberLoid May 8, 2022
7093d9d
groups/go-rebuilds: Remove github-cli
CamberLoid May 8, 2022
aab3d73
libguestfs: Bump REL; Rebuild for go 1.18/1.18.1
CamberLoid May 8, 2022
d4d5570
mongodb: Bump REL; Rebuild for go 1.18/1.18.1
CamberLoid May 8, 2022
ca76328
xray: Update to 1.5.5
CamberLoid May 8, 2022
dfcddcc
v2ray: Update to 4.45.0
CamberLoid May 8, 2022
a065067
v2ray-plugin: Bump REL; Rebuild for go 1.18/1.18.1
CamberLoid May 8, 2022
e8b6b0a
keybase: Update to 5.9.3
CamberLoid May 8, 2022
eea1e3a
geoipupdate: update to 4.9.0
CamberLoid May 9, 2022
d60fb34
obfs4proxy: Bump REL; Rebuild for go 1.18/1.18.1
CamberLoid May 9, 2022
21a76bb
ccat: update to 1.1.0+git20201007
CamberLoid May 9, 2022
ec75bfd
hub: update to 2.14.2
CamberLoid May 9, 2022
4e98a07
kcptun: update to 20210922
CamberLoid May 9, 2022
c06f83d
gotop: Fix an issue that gotop version cannot be ...
CamberLoid May 9, 2022
2675291
gotop: fix FTBFS on riscv64
CamberLoid May 9, 2022
33da45d
gotop: Fix build tag syntax error
CamberLoid May 9, 2022
9eccc27
gotop: Enable generating of manpage; Bump REL
CamberLoid May 9, 2022
c7738e8
gotop: Fix an unexpected typo
CamberLoid May 9, 2022
14e9ef7
gotop: Fix another unexpected typo
CamberLoid May 9, 2022
e18fd12
clash: Enable `-buildmode=pie`
CamberLoid May 9, 2022
e073805
hub: Update to 2.14.2+git20220404
CamberLoid May 10, 2022
131dfde
hub: Add a postinst as a reminder to user
CamberLoid May 10, 2022
effb05a
hub: Remove unneeded line in `build`
CamberLoid May 10, 2022
cd31a7c
gh: Set GOFLAGS including buildmode=pie, trimpath
CamberLoid May 10, 2022
5ed699a
gh: fix a typo
CamberLoid May 10, 2022
16742ba
github-cli: mark ABHOST=noarch
CamberLoid May 10, 2022
c069aba
geoipupdate: Replace pandoc with architecture-independent ronn-ng and…
CamberLoid May 10, 2022
2f93ff7
flatbuffers: Update to 2.0.6;
CamberLoid May 11, 2022
1b5600d
flatbuffers: Drop builddep `openjdk` for riscv64
CamberLoid May 11, 2022
f2e1e34
flatbuffers: Refine builddep list
CamberLoid May 11, 2022
fe034ce
syncthing: Update to 1.20.1
CamberLoid May 11, 2022
3f1e412
pcstat: Update to 0.0.1; Switch building method to ABTYPE
CamberLoid May 11, 2022
180cac8
pup: Rebuild for go 1.18/1.18.1; Bump REL
CamberLoid May 11, 2022
793ea71
flatbuffers: Drop builddep of go and openjdk
CamberLoid May 11, 2022
0e9bdd3
podman: Rebuild for go 1.18/1.18.1; Bump REL
CamberLoid May 11, 2022
5ceb730
gogs: Update to 0.12.6; Enable buildmode=pie
CamberLoid May 11, 2022
126ae80
android-platform-tools: Update to 31.0.3p1
CamberLoid May 11, 2022
465de3f
direnv: Update to 2.30.3
CamberLoid May 11, 2022
4ada0c3
gost: Update to 2.11.2
CamberLoid May 11, 2022
7db7c6c
gogs: Fix missing export statement
CamberLoid May 11, 2022
2852b37
direnv: Set GOFLAGS with buildmode=pie and others
CamberLoid May 11, 2022
fe8cf71
gost: Set GOFLAGS with buildmode=pie and others
CamberLoid May 11, 2022
beaa1c9
elvish: Update to 0.18.0; Major changes are applied:
CamberLoid May 11, 2022
6be0be3
elvish: Bugfixes; Bump REL
CamberLoid May 11, 2022
c7aea55
groups/go-rebuilds: Drop flatbuffers
CamberLoid May 11, 2022
c344bf2
dnscrypt: Update to 2.1.1
CamberLoid May 11, 2022
d09fb58
graftcp: Update to 0.4.0
CamberLoid May 11, 2022
e4dedcf
fzf: Update to 0.30.0
CamberLoid May 11, 2022
92dafb7
elvish: Lint and refine build scripts; Bump REL
CamberLoid May 11, 2022
fce70b8
dnscrypt: Refine abinfo's output
CamberLoid May 11, 2022
644e7ab
gost: Refine abinfo's output and lint build script
CamberLoid May 11, 2022
6b3a47d
frp: Set GOFLAGS for reproducible build and others
CamberLoid May 11, 2022
82dfaa0
xray: Refine build script and abinfo's output
CamberLoid May 11, 2022
965c150
geoipupdate: Lint & refine build script;
CamberLoid May 11, 2022
b5143f1
gh: Lint & refine build script and abinfo's output;
CamberLoid May 11, 2022
6bcd247
v2ray-plugin: Set GOFLAGS for reproducible build and others
CamberLoid May 11, 2022
89ce131
direnv: Refine abinfo's output and lint build script
CamberLoid May 11, 2022
f7ebf12
kcptun: Lint & refine build script and abinfo's output;
CamberLoid May 11, 2022
74addab
gotop: Lint & refine build script and abinfo's output;
CamberLoid May 11, 2022
0aa4f50
hub: Lint & refine build script and abinfo's output;
CamberLoid May 11, 2022
1e3b012
restic: update to 0.13.1
CamberLoid May 11, 2022
83f8e0a
cf-tool: rebuild for go 1.18/1.18.1; bump REL
CamberLoid May 11, 2022
3f39a99
groups/go-rebuilds: update list
CamberLoid May 11, 2022
c85d9b5
cf-tool: mark FAIL_ARCH="riscv64" due to the ...
CamberLoid May 12, 2022
804ac45
pup: update to 0.4.0+git20220307
CamberLoid May 12, 2022
2c76eaf
elvish: refine file hierarchy
CamberLoid May 12, 2022
a72a480
scons: update to 4.3.0
CamberLoid May 12, 2022
b89909c
mongodb: update to 4.4.14, with fixes of some vulnerabilities
CamberLoid May 12, 2022
eccf637
libguestfs: temporarily disable build for riscv64 ...
CamberLoid May 12, 2022
b573fe7
mongodb: multiple fixes:
CamberLoid May 12, 2022
9ad0fca
dnscrypt: multiple changes:
CamberLoid May 12, 2022
81b70b6
dnscrypt: fix missing slash in build script
CamberLoid May 12, 2022
6b26af6
dnscrypt: conffile: strip empty lines
CamberLoid May 12, 2022
e3ac138
graftcp: fix FTBFS by backporting
CamberLoid May 12, 2022
4373d99
keybase: refine build script to solve a FTBFS problem;
CamberLoid May 12, 2022
2600d3e
gost: mark FAIL_ARCH="riscv64" due depending ...
CamberLoid May 12, 2022
3fceae1
gogs: update patches to latest upstream version(AUR)
CamberLoid May 12, 2022
76a3d17
rclone: remove deprecated funtion call
CamberLoid May 13, 2022
9746c96
kcptun: fix a FTBFS caused by outdated dependency
CamberLoid May 15, 2022
a1bfd86
kcptun: minor expression refine and enable update of dependencies
CamberLoid May 15, 2022
b0c6902
v2ray-plugin: fix a FTBFS caused by outdated dependency
CamberLoid May 15, 2022
efe7394
gogs: minor refinement of dependency list
CamberLoid May 17, 2022
8b065f8
hugo: fix file belonging issue.
CamberLoid Jun 7, 2022
32fb8e9
elvish: add FIXME reminder to rollback REL
CamberLoid Jun 7, 2022
505206b
direnv: drop pre-build GOFLAGS setting
CamberLoid Jun 7, 2022
67e5bc3
gh: strip pre-build setting of GOFLAGS
CamberLoid Jun 7, 2022
a6d7742
rclone: strip redundant GOFLAGS
CamberLoid Jun 7, 2022
c08cad1
hugo: rebuild for go 1.18.1; bump rel; resolve confilcts.
CamberLoid Jul 6, 2022
1b57229
gotop: revert REL bump
CamberLoid Jul 6, 2022
d994c5e
dep: revert REL bump
CamberLoid Jul 6, 2022
6543b28
glide: revert REL bump
CamberLoid Jul 6, 2022
ba39f46
elvish: revert REL bumping
CamberLoid Jul 6, 2022
328464f
golang-base: fix dependency on non ARM64/AMD64 platform
CamberLoid Jul 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions extra-admin/gotop/autobuild/build
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
abinfo "Enabling trimpath for a reproducible build ..."
export GOFLAGS="${GOFLAGS} -trimpath"

abinfo "Setting other GOFLAGS ..."
export GOFLAGS="${GOFLAGS} -mod=readonly -modcacherw"

if [[ "${CROSS:-$ARCH}" != "loongson3" ]]; then
abinfo "Enabling buildmode=pie ..."
export GOFLAGS="${GOFLAGS} -buildmode=pie"
fi

abinfo "Building gotop ..."
go build \
-ldflags "-X main.Version=v${PKGVER} --extldflags \"${LDFLAGS}\"" \
-o "$PKGDIR"/usr/bin/gotop \
./cmd/gotop

abinfo "Generating and installing manpage ..."
"$PKGDIR"/usr/bin/gotop --create-manpage > gotop.8
install -Dvm644 gotop.8 "$PKGDIR"/usr/share/man/man8/gotop.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
From 658926bd0fa8e15c75c4db1426f2b20307312870 Mon Sep 17 00:00:00 2001
From: Camber Huang <camber@poi.science>
Date: Mon, 9 May 2022 14:04:06 +0800
Subject: [PATCH] Fix build failure on riscv64 caused by missing syscall

On RISC-V 64-bit linux systems, syscall `dup2()` is not available, therefore
syscall.Dup2 will be undefined and gotop will fail to be built from soure.
This patch updates building target of logging/logging_{other,arm64} and
renames them based on syscall used.

Signed-off-by: Camber Huang <camber@aosc.io>
---
logging/{logging_other.go => logging_dup2.go} | 2 +-
logging/{logging_arm64.go => logging_dup3.go} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename logging/{logging_other.go => logging_dup2.go} (67%)
rename logging/{logging_arm64.go => logging_dup3.go} (73%)

diff --git a/logging/logging_other.go b/logging/logging_dup2.go
similarity index 67%
rename from logging/logging_other.go
rename to logging/logging_dup2.go
index d7d75d5..c7371c4 100644
--- a/logging/logging_other.go
+++ b/logging/logging_dup2.go
@@ -1,4 +1,4 @@
-// +build linux,!arm64 openbsd,!arm64 freebsd darwin
+// +build linux,!arm64,!riscv64 openbsd,!arm64 freebsd darwin

package logging

diff --git a/logging/logging_arm64.go b/logging/logging_dup3.go
similarity index 73%
rename from logging/logging_arm64.go
rename to logging/logging_dup3.go
index 9d62f0f..de6a638 100644
--- a/logging/logging_arm64.go
+++ b/logging/logging_dup3.go
@@ -1,4 +1,4 @@
-// +build !freebsd,!darwin,arm64
+// +build !freebsd,!darwin,arm64 linux,riscv64

package logging

--
2.36.0

4 changes: 2 additions & 2 deletions extra-admin/gotop/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VER=4.1.2
VER=4.1.3
SRCS="https://github.com/xxxserxxx/gotop/archive/v$VER.tar.gz"
CHKSUMS="sha256::81518fecfdab4f4c25a4713e24d9c033ba8311bbd3e2c0435ba76349028356da"
CHKSUMS="sha256::c0a02276e718b988d1220dc452063759c8634d42e1c01a04c021486c1e61612d"
CHKUPDATE="anitya::id=226757"
1 change: 1 addition & 0 deletions extra-admin/podman/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VER=4.0.3
REL=1
SRCS="tbl::https://github.com/containers/podman/archive/v${VER}.tar.gz \
git::commit=tags/v1.3.1;rename=dnsname::https://github.com/containers/dnsname
git::commit=tags/v1.1.1;rename=cni-plugins::https://github.com/containernetworking/plugins"
Expand Down
5 changes: 2 additions & 3 deletions extra-android/android-platform-tools/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=31.0.0
VER=31.0.3p1
SRCS="https://github.com/nmeum/android-tools/releases/download/$VER/android-tools-$VER.tar.xz"
CHKSUMS="sha256::0b8f16370072d03e9f26de17ecba7dd44771cb042a23e86869108d57eb22f20d"
CHKSUMS="sha256::0ef69f919d58a2bdff2083d2e83a9ef38df079ec82651b2544e9e48086df5ab8"
CHKUPDATE="anitya::id=226905"
REL=2
4 changes: 3 additions & 1 deletion extra-bases/golang-base/autobuild/defines
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
PKGNAME=golang-base
PKGSEC=Bases
PKGDEP="go glide godep"
PKGDEP="go glide"
PKGDEP__AMD64="${PKGDEP} dep delve"
PKGDEP__ARM64="${PKGDEP} delve"
PKGDES="Meta package for AOSC OS Golang development support"

VER_NONE=1
Expand Down
2 changes: 1 addition & 1 deletion extra-bases/golang-base/spec
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VER=0
VER=1
DUMMYSRC=1
13 changes: 12 additions & 1 deletion extra-database/mongodb/autobuild/build
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
abinfo "Phase 1/2: Building via scons ..."
abinfo "Setting WIREDTIGER ..."
if [[ "${CROSS:-$ARCH}" = "amd64" || "${CROSS:-$ARCH}" = "arm64" ]]; then
WIREDTIGER="--wiredtiger=on"
else
WIREDTIGER="--wiredtiger=off"
fi

abinfo "Setting CFLAGS"
# there is a bug with Mongodb's SConstruct file
# where the flags need to be passed using commandline
# however, if you also have env variables set, it will bug out
Expand All @@ -11,6 +15,8 @@ S_CXXFLAGS="$(echo "$CXXFLAGS" | tr -s ' ')"
# you can't use unset here, otherwise scons will crash
CFLAGS=''
CXXFLAGS=''

abinfo "Invoking scons ..."
scons install-core \
${MAKEFLAGS/ /} \
--use-system-boost \
Expand All @@ -30,18 +36,23 @@ scons install-core \
install -dvm700 "$PKGDIR"/var/lib/mongodb
install -dvm755 "$PKGDIR"/var/log/mongodb

abinfo "Phase 2/2: Building via go ..."

abinfo "Preparing sources ..."
install -vd "$SRCDIR"/build/src/github.com/mongodb/bin
mv -v "$SRCDIR"/mongo-tools-r4.2.12 \
mv -v "$SRCDIR"/../mongo-tools-r4.2.20 \
"$SRCDIR"/build/src/github.com/mongodb/mongo-tools
sed -e 's/_Ctype_struct_/C.struct_/' \
-i "$SRCDIR"/build/src/github.com/mongodb/mongo-tools/vendor/github.com/google/gopacket/pcap/pcap.go

cd "$SRCDIR"/build/src/github.com/mongodb/mongo-tools

abinfo "Setting Go environments ..."
GOROOT=/usr . ./set_goenv.sh
export GOPATH="$GOPATH:$SRCDIR/build"
export GO111MODULE=auto

abinfo "Invoking Go compiler and installing executables ..."
mkdir -v bin
for i in bsondump mongostat mongofiles mongoexport mongoimport \
mongorestore mongodump mongotop mongoreplay; do
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h
index ea75f673..a1d9f78e 100644
--- a/src/mongo/db/exec/plan_stats.h
+++ b/src/mongo/db/exec/plan_stats.h
@@ -33,6 +33,7 @@
#include <cstdlib>
#include <string>
#include <vector>
+#include <optional>

#include "mongo/db/index/multikey_paths.h"
#include "mongo/db/jsobj.h"

This file was deleted.

3 changes: 0 additions & 3 deletions extra-database/mongodb/autobuild/prepare
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
wget https://github.com/mongodb/mongo-tools/archive/r4.2.12.tar.gz
tar xf r4.2.12.tar.gz

if [[ "${CROSS:-$ARCH}" = "arm64" ]]; then
export CFLAGS="${CFLAGS} -march=armv8-a+crc+crypto"
export CXXFLAGS="${CXXFLAGS} -march=armv8-a+crc+crypto"
Expand Down
10 changes: 6 additions & 4 deletions extra-database/mongodb/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
VER=4.4.4
REL=3
SRCS="https://fastdl.mongodb.org/src/mongodb-src-r$VER.tar.gz"
CHKSUMS="sha256::33b15c80c61800a7bb73999159dfff374ba4fcc0b56b9949c81ff5e411a76956"
VER=4.4.14
SRCS="tbl::https://fastdl.mongodb.org/src/mongodb-src-r$VER.tar.gz \
tbl::https://github.com/mongodb/mongo-tools/archive/refs/tags/r4.2.20.tar.gz"
CHKSUMS="sha256::2296eab606ffae4024575f6ff029d245765943085598ae23f109a3c19151dfeb \
sha256::ee577e506520170a6cf628c13debe543abdfd9d9be2d5dd8d7ea43673956b4c8"
CHKUPDATE="anitya::id=2008"
SUBDIR=mongodb-src-r"$VER"
4 changes: 4 additions & 0 deletions extra-devel/cf-tool/autobuild/defines
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ PKGDES="A command-line tool for Codeforces contests"
PKGDEP="glibc"
BUILDDEP="go"

# Due to the difference of available syscall on riscv64, cf-toll is unable
# to be built on that platform.
FAIL_ARCH="riscv64"

ABSPLITDBG=0
1 change: 1 addition & 0 deletions extra-devel/cf-tool/spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VER=1.0.0
REL=1
SRCS="tbl::https://github.com/xalanq/cf-tool/archive/refs/tags/v$VER.tar.gz"
CHKSUMS="sha256::6671392df969e7decf9bf6b89a43a93c2bde978e005e99ddb7fd84b0c513df9f"
CHKUPDATE="anitya::id=235020"
3 changes: 1 addition & 2 deletions extra-devel/git-lfs/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=2.13.2
REL=3
VER=3.1.4
SRCS=git::commit=tags/v${VER}::https://github.com/git-lfs/git-lfs.git
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=11551"
5 changes: 5 additions & 0 deletions extra-devel/pup/autobuild/beyond
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
abinfo "Removing unneeded executables ..."
rm -v "$PKGDIR"/usr/bin/{run.py,test}

abinfo "Installing README.md ..."
install -Dvm644 "$SRCDIR"/README.md "$PKGDIR"/usr/share/doc/pup/README.md
14 changes: 0 additions & 14 deletions extra-devel/pup/autobuild/build

This file was deleted.

7 changes: 3 additions & 4 deletions extra-devel/pup/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=0.4.0
REL=14
SRCS="tbl::https://github.com/ericchiang/pup/archive/v$VER.tar.gz"
CHKSUMS="sha256::0d546ab78588e07e1601007772d83795495aa329b19bd1c3cde589ddb1c538b0"
VER=0.4.0+git20220307
SRCS="git::commit=5a57cf111366c7c08999a34b2afd7ba36d58a96d::https://github.com/ericchiang/pup"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=227247"
5 changes: 2 additions & 3 deletions extra-devel/scons/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=4.1.0
REL=2
VER=4.3.0
SRCS="tbl::https://github.com/SCons/scons/archive/refs/tags/$VER.tar.gz"
CHKSUMS="sha256::7662af76d971bae3e9c01e6d025d4ff0f547b64cac081298fc19015c9c242311"
CHKSUMS="sha256::e5926aa7f1523a4321c49f59d2150232ac0416a86ad1057683560dcde7e5b50a"
CHKUPDATE="anitya::id=4770"
5 changes: 2 additions & 3 deletions extra-doc/go-md2man/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=2.0.0+git20201216
SRCS="git::commit=af8da765f0460ccb1d91003b4945a792363a94ca::https://github.com/cpuguy83/go-md2man"
VER=2.0.2
SRCS="git::commit=tags/v${VER}::https://github.com/cpuguy83/go-md2man"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=14461"
REL=2
2 changes: 1 addition & 1 deletion extra-go/delve/autobuild/defines
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ PKGDEP="glibc"
BUILDDEP="go"
PKGDES="Debugger for the Go programming language"

FAIL_ARCH="!(amd64)"
FAIL_ARCH="!(amd64|arm64)"
ABSPLITDBG=0
5 changes: 2 additions & 3 deletions extra-go/delve/spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
VER=1.7.1
VER=1.8.3
SRCS="https://github.com/go-delve/delve/archive/refs/tags/v$VER.tar.gz"
CHKSUMS="sha256::0734b86d48291749ba2537fa6c03e4c3451628f630055c877789e0346db8d67d"
CHKSUMS="sha256::b18dc56de8768da055125663e7c368ecf24cdac4d72d9080ac90dc0ee99ea852"
CHKUPDATE="anitya::id=40149"
SUBDIR=.
REL=1
2 changes: 1 addition & 1 deletion extra-go/dep/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VER=0.5.4
REL=13
REL=14
SRCS="https://github.com/golang/dep/archive/v$VER.tar.gz"
CHKSUMS="sha256::929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a"
CHKUPDATE="anitya::id=18652"
Expand Down
2 changes: 1 addition & 1 deletion extra-go/glide/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VER=0.13.3
REL=13
REL=14
SRCS="git::commit=tags/v$VER::https://github.com/Masterminds/glide"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=11625"
Expand Down
5 changes: 4 additions & 1 deletion extra-go/go/autobuild/build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ export GOBIN="$GOROOT/bin"
export GOPATH="$SRCDIR/../"
export GOROOT_FINAL=/usr/lib/go
export GOROOT_BOOTSTRAP=/usr/lib/go
if [[ "${CROSS:-$ARCH}" = "amd64" ]]; then
export GOAMD64=v1
fi

case ${CROSS:-$ARCH} in
amd64)
Expand All @@ -29,7 +32,7 @@ export GOARCH="$buildarch"

abinfo "Building Go toolchain ..."
GO_LDFLAGS="-w -s" bash make.bash --no-clean -v
if [[ "${CROSS:-$ARCH}" != "ppc64" && "${CROSS:-$ARCH}" != "ppc64el" &&
if [[ "${CROSS:-$ARCH}" != "ppc64" &&
"${CROSS:-$ARCH}" != "loongson3" && "${CROSS:-$ARCH}" != "riscv64" ]]; then
abinfo "Building and preparing to install Go toolchain with data race detector ..."
PATH="$GOBIN:$PATH" go install -v -race std
Expand Down
3 changes: 2 additions & 1 deletion extra-go/go/autobuild/defines
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PKGNAME=go
PKGSEC=devel
PKGDEP="glibc"
PKGDEP="glibc llvm"
PKGDEP__LOONGSON3="glibc"
BUILDDEP="inetutils git go llvm mercurial"
BUILDDEP__LOONGSON3="${BUILDDEP/llvm/}"
PKGDES="The Go language compiler and tools"
Expand Down
12 changes: 6 additions & 6 deletions extra-go/go/spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
VER=1.17.2
# FIXME: Using release-branch.go.${PKGVER:0:4} branch, 1.16 not yet ready?
SRCS="tbl::https://golang.org/dl/go$VER.src.tar.gz \
git::commit=49064d2332f958d307bd213367033e5a74513995;rename=tools::https://go.googlesource.com/tools \
git::commit=6d2eada6345e1621bdc51e3311439576848c7ef5;rename=net::https://github.com/golang/net"
CHKSUMS="sha256::2255eb3e4e824dd7d5fcdc2e7f84534371c186312e546fb1086a34c17752f431 \
VER=1.18.1
REL=1
SRCS="tbl::https://go.dev/dl/go$VER.src.tar.gz \
git::commit=294080fd2f5aedacec87d7670af9d16000dd2d2f;rename=tools::https://go.googlesource.com/tools \
git::commit=491a49abca63de5e07ef554052d180a1b5fe2d70;rename=net::https://github.com/golang/net"
CHKSUMS="sha256::efd43e0f1402e083b73a03d444b7b6576bb4c539ac46208b63a916b69aca4088 \
SKIP \
SKIP"
CHKUPDATE="anitya::id=1227"
Expand Down
10 changes: 10 additions & 0 deletions extra-libs/flatbuffers/autobuild/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
abinfo "Phase 1/2 - Running cmakeninja build script ..."
build_cmakeninja_build

abinfo "Phase 2/2 - Running python build script ..."
pushd "$SRCDIR"/python
__SRCDIR="$SRCDIR"
SRCDIR="${SRCDIR}/python"
build_python_build
SRCDIR="$__SRCDIR"
popd
Loading