Skip to content

Instantly share code, notes, and snippets.

@Xuanwo
Created April 1, 2019 02:40
Show Gist options
  • Save Xuanwo/c78aae49d223487558874907c5225908 to your computer and use it in GitHub Desktop.
Save Xuanwo/c78aae49d223487558874907c5225908 to your computer and use it in GitHub Desktop.
➜ tidb archlinuxcn-x86_64-build
:: Synchronizing package databases...
archlinuxcn is up to date
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
==> Building in chroot for [archlinuxcn] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/archlinuxcn-x86_64/root] -> [xuanwo]...done
==> Making package: tidb 2.1.7-1 (Mon Apr 1 10:39:38 2019)
==> Retrieving sources...
-> Found tidb-2.1.7.tar.gz
-> Found tidb.service
-> Found tidb-sysusers.conf
-> Found tidb-tmpfiles.conf
-> Found tidb.toml
==> Validating source files with sha256sums...
tidb-2.1.7.tar.gz ... Passed
tidb.service ... Passed
tidb-sysusers.conf ... Passed
tidb-tmpfiles.conf ... Passed
tidb.toml ... Passed
==> Making package: tidb 2.1.7-1 (Mon 01 Apr 2019 10:39:40 AM CST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (2) tikv-pd-2.1.5-1 tikv-2.1.6-1
Total Installed Size: 116.30 MiB
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [###################################] 100%
(2/2) checking package integrity [###################################] 100%
(2/2) loading package files [###################################] 100%
(2/2) checking for file conflicts [###################################] 100%
:: Processing package changes...
(1/2) installing tikv-pd [###################################] 100%
(2/2) installing tikv [###################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading system manager configuration...
Skipped: Current root is not booted.
(2/4) Creating system user accounts...
Creating group pd with gid 977.
Creating user pd (Placement driver for TiKV) with uid 977 and gid 977.
Creating group tikv with gid 976.
Creating user tikv (Distributed transactional key-value database, originally created to complement TiDB) with uid 976 and gid 976.
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (5) perl-error-0.17027-1 perl-mailtools-2.20-2 perl-timedate-2.30-5 git-2.21.0-1
go-2:1.12.1-1
Total Installed Size: 514.32 MiB
:: Proceed with installation? [Y/n]
(5/5) checking keys in keyring [###################################] 100%
(5/5) checking package integrity [###################################] 100%
(5/5) loading package files [###################################] 100%
(5/5) checking for file conflicts [###################################] 100%
:: Processing package changes...
(1/5) installing go [###################################] 100%
(2/5) installing perl-error [###################################] 100%
(3/5) installing perl-timedate [###################################] 100%
(4/5) installing perl-mailtools [###################################] 100%
(5/5) installing git [###################################] 100%
Optional dependencies for git
tk: gitk and git gui
perl-libwww: git svn
perl-term-readkey: git svn and interactive.singlekey setting
perl-mime-tools: git send-email
perl-net-smtp-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-mediawiki-api: git mediawiki support
perl-datetime-format-iso8601: git mediawiki support
perl-lwp-protocol-https: git mediawiki https support
perl-cgi: gitweb (web interface) support
python2: various helper scripts
subversion: git svn
gnome-keyring: GNOME keyring credential helper
libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/4) Warn about old perl modules
(2/4) Reloading system manager configuration...
Skipped: Current root is not booted.
(3/4) Creating system user accounts...
Creating group git with gid 975.
Creating user git (git daemon user) with uid 975 and gid 975.
(4/4) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Found tidb-2.1.7.tar.gz
-> Found tidb.service
-> Found tidb-sysusers.conf
-> Found tidb-tmpfiles.conf
-> Found tidb.toml
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting tidb-2.1.7.tar.gz with bsdtar
==> Starting prepare()...
renamed '/build/tidb/src/tidb-2.1.7' -> '/build/tidb/src/build/src/github.com/pingcap/tidb'
==> Starting build()...
CGO_ENABLED=1 GO111MODULE=on go build -ldflags '-X github.com/pingcap/parser/mysql.TiDBReleaseVersion=2.1.7 -X github.com/pingcap/tidb/util/printer.TiDBGitHash=v2.1.7 -X github.com/pingcap/tidb/util/printer.TiDBGitBranch=master -X "github.com/pingcap/tidb/util/printer.TiDBBuildTS=2019-04-01 02:40:04" -X "github.com/pingcap/tidb/util/printer.GoVersion=go version go1.12.1 linux/amd64" ' -o bin/tidb-server tidb-server/main.go
go: finding github.com/google/btree v0.0.0-20161217183710-316fb6d3f031
go: finding github.com/cockroachdb/cmux v0.0.0-20170110192607-30d10be49292
go: finding github.com/pingcap/kvproto v0.0.0-20190226063853-f6c0b7ffff11
go: finding github.com/opentracing/basictracer-go v1.0.0
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/cznic/mathutil v0.0.0-20160613104831-78ad7f262603
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding github.com/opentracing/opentracing-go v1.0.2
go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding github.com/pingcap/errors v0.11.1
go: finding github.com/dustin/go-humanize v0.0.0-20180421182945-02af3965c54e
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding github.com/coreos/go-systemd v0.0.0-20180202092358-40e2722dffea
go: finding github.com/go-sql-driver/mysql v0.0.0-20170715192408-3955978caca4
go: finding github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef
go: finding github.com/pingcap/gofail v0.0.0-20181217135706-6a951c1e42c3
go: finding github.com/montanaflynn/stats v0.0.0-20151014174947-eeaced052adb
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5
go: finding github.com/coreos/bbolt v1.3.1-coreos.6
go: finding github.com/uber/jaeger-client-go v2.8.0+incompatible
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/sirupsen/logrus v0.0.0-20170323161349-3bcb09397d6d
go: finding gopkg.in/natefinch/lumberjack.v2 v2.0.0-20161104145732-dd45e6a67c53
go: finding golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/pingcap/tidb-tools v2.1.3-0.20190116051332-34c808eef588+incompatible
go: finding github.com/pingcap/check v0.0.0-20171206051426-1c287c953996
go: finding github.com/coreos/go-semver v0.2.0
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/pingcap/pd v2.1.0-rc.4+incompatible
go: finding github.com/twinj/uuid v0.0.0-20150629100731-70cac2bcd273
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding golang.org/x/tools v0.0.0-20181105230042-78dc5bac0cac
go: finding google.golang.org/grpc v1.12.0
go: finding github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18
go: finding github.com/prometheus/procfs v0.0.0-20180408092902-8b1c2da0d56d
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf
go: finding golang.org/x/text v0.3.0
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/pingcap/tipb v0.0.0-20180910045846-371b48b15d93
go: finding github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
go: finding github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
go: finding google.golang.org/genproto v0.0.0-20180427144745-86e600f69ee4
go: finding github.com/coreos/etcd v3.2.18+incompatible
go: finding github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7
go: finding github.com/prometheus/common v0.0.0-20180426121432-d811d2e9bf89
go: finding github.com/grpc-ecosystem/go-grpc-prometheus v0.0.0-20160910222444-6b7015e65d36
go: finding github.com/onsi/ginkgo v1.7.0
go: finding github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20171020063731-82921fcf811d
go: finding github.com/uber/jaeger-lib v1.1.0
go: finding github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7
go: finding github.com/grpc-ecosystem/grpc-gateway v1.4.1
go: finding github.com/beorn7/perks v0.0.0-20160229213445-3ac7bf7a47d1
go: finding github.com/codahale/hdrhistogram v0.0.0-20160425231609-f8ad88b59a58
go: finding github.com/stretchr/testify v1.2.2
go: finding github.com/prometheus/client_golang v0.8.0
go: finding github.com/cznic/sortutil v0.0.0-20150617083342-4c7342852e65
go: finding github.com/gogo/protobuf v1.1.1
go: finding github.com/onsi/gomega v1.4.1
go: finding github.com/unrolled/render v0.0.0-20171102162132-65450fb6b2d3
go: finding golang.org/x/crypto v0.0.0-20180503215945-1f94bef427e3
go: finding github.com/etcd-io/gofail v0.0.0-20180808172546-51ce9a71510a
go: finding github.com/gorilla/mux v0.0.0-20170228224354-599cba5e7b61
go: finding github.com/ugorji/go v1.1.1
go: finding github.com/spaolacci/murmur3 v0.0.0-20150829172844-0d12bf811670
go: finding github.com/golang/protobuf v1.1.0
go: finding github.com/pingcap/goleveldb v0.0.0-20171020084629-8d44bfdf1030
go: finding github.com/blacktear23/go-proxyprotocol v0.0.0-20180807104634-af7a81e8dd0d
go: finding github.com/BurntSushi/toml v0.3.1
go: finding github.com/pingcap/parser v0.0.0-20190328044348-9945885931bb
go: finding github.com/hpcloud/tail v1.0.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/ghodss/yaml v1.0.0
go: finding github.com/golang/groupcache v0.0.0-20181024230925-c65c006176ff
go: downloading github.com/pingcap/tidb-tools v2.1.3-0.20190116051332-34c808eef588+incompatible
go: downloading github.com/prometheus/client_golang v0.8.0
go: downloading github.com/opentracing/opentracing-go v1.0.2
go: downloading golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: downloading github.com/pingcap/parser v0.0.0-20190328044348-9945885931bb
go: downloading github.com/pingcap/goleveldb v0.0.0-20171020084629-8d44bfdf1030
go: downloading github.com/coreos/etcd v3.2.18+incompatible
go: downloading github.com/pingcap/tipb v0.0.0-20180910045846-371b48b15d93
go: extracting github.com/opentracing/opentracing-go v1.0.2
go: extracting github.com/prometheus/client_golang v0.8.0
go: extracting github.com/pingcap/goleveldb v0.0.0-20171020084629-8d44bfdf1030
go: extracting github.com/pingcap/tidb-tools v2.1.3-0.20190116051332-34c808eef588+incompatible
go: extracting github.com/pingcap/tipb v0.0.0-20180910045846-371b48b15d93
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v0.0.0-20160910222444-6b7015e65d36
go: downloading github.com/blacktear23/go-proxyprotocol v0.0.0-20180807104634-af7a81e8dd0d
go: extracting github.com/blacktear23/go-proxyprotocol v0.0.0-20180807104634-af7a81e8dd0d
go: downloading github.com/pingcap/kvproto v0.0.0-20190226063853-f6c0b7ffff11
go: extracting github.com/grpc-ecosystem/go-grpc-prometheus v0.0.0-20160910222444-6b7015e65d36
go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef
go: extracting github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0-20161104145732-dd45e6a67c53
go: extracting gopkg.in/natefinch/lumberjack.v2 v2.0.0-20161104145732-dd45e6a67c53
go: extracting github.com/pingcap/parser v0.0.0-20190328044348-9945885931bb
go: downloading golang.org/x/text v0.3.0
go: downloading google.golang.org/grpc v1.12.0
go: downloading github.com/uber/jaeger-client-go v2.8.0+incompatible
go: downloading github.com/sirupsen/logrus v0.0.0-20170323161349-3bcb09397d6d
go: extracting github.com/sirupsen/logrus v0.0.0-20170323161349-3bcb09397d6d
go: downloading github.com/prometheus/common v0.0.0-20180426121432-d811d2e9bf89
go: extracting github.com/prometheus/common v0.0.0-20180426121432-d811d2e9bf89
go: extracting github.com/uber/jaeger-client-go v2.8.0+incompatible
go: extracting google.golang.org/grpc v1.12.0
go: extracting golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
verifying github.com/pingcap/[email protected]: checksum mismatch
downloaded: h1:e81flSfRbbMW5RUnz1cJl+8XKOVUCfF8FapFS8HnHLs=
go.sum: h1:iGNfAHgK0VHJobW4bPTlFmdnt3YWsEHdSTIcjut6ffk=
make: *** [Makefile:154: server] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/archlinuxcn-x86_64/xuanwo/build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment