From nobody Wed Jun 23 21:38:52 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 055DD11DB897 for ; Wed, 23 Jun 2021 21:38:56 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9GqM6nJmz4V1w; Wed, 23 Jun 2021 21:38:55 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from [192.168.0.12] (unknown [181.51.107.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: pfg) by smtp.freebsd.org (Postfix) with ESMTPSA id 70C342A846; Wed, 23 Jun 2021 21:38:55 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Subject: Re: databases/cockroach: any PPC64|arm64 tester? To: Ronald Klop Cc: FreeBSD Ports References: <315527219.8119.1624381920546@localhost> <1364825180.3.1624436437600@localhost> From: Pedro Giffuni Organization: FreeBSD Message-ID: <15c212ff-6eb4-4464-6f06-d49971a2e0bc@FreeBSD.org> Date: Wed, 23 Jun 2021 16:38:52 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: <1364825180.3.1624436437600@localhost> Content-Type: multipart/alternative; boundary="------------58734226391F9B330256C6C2" Content-Language: en-US X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: Y This is a multi-part message in MIME format. --------------58734226391F9B330256C6C2 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 23/06/2021 03:20, Ronald Klop wrote: > > *Van:* Pedro Giffuni > *Datum:* dinsdag, 22 juni 2021 22:21 > *Aan:* Ronald Klop , FreeBSD Ports > > *Onderwerp:* Re: databases/cockroach: any PPC64|arm64 tester? > > On 22/06/2021 12:12, Ronald Klop wrote: > > *Van:* Ronald Klop > *Datum:* 22 juni 2021 09:56 > *Aan:* Pedro Giffuni > *CC:* FreeBSD Ports > *Onderwerp:* Re: databases/cockroach: any PPC64|arm64 tester? > > Hi, > > I started a build in poudriere on RPI4 aarch64/13-RELEASE. > 62 pkgs to go. So we'll see where this ends and I will > post the result. > > Regards, > Ronald. > > > Van: Pedro Giffuni > Datum: maandag, 21 juni 2021 21:19 > Aan: FreeBSD Ports > Onderwerp: databases/cockroach: any PPC64|arm64 tester? > > > > Hello; > > > > The cockroach port Makefile reads: > > > > ONLY_FOR_ARCHS= amd64 > > ONLY_FOR_ARCHS_REASON=  "A 64-bit system is strongly > recommended" > > > > FWIW, It is very likely the port works on other systems > but nobody has tried building on them. > > > > I know some people test regularly arm64 and ppc64 so it > would be nice to see JIC it builds and perhaps enable it > for 64 bit platforms. > > > > Cheers, > > > > Pedro. > > > > > > > > > > > ------------------------------------------------------------------------ > > > No luck so far. > > [00:01:42] Running make with -j4 > [00:01:42] GOPATH set to /wrkdirs/usr/ports/databases/cockroach/work/cockroach-v19.1.11 > [00:01:42] Cleaning old generated files. > [00:01:43] cd /wrkdirs/usr/ports/databases/cockroach/work/cockroach-v19.1.11/src/github.com/cockroachdb/cockroach/c-deps/jemalloc && autoconf > [00:01:43] mkdir -p bin > [00:01:43] go install -v ./pkg/cmd/prereqs > [00:01:43] touch bin/.submodules-initialized > [00:01:43] regenerating pkg/cli/zcgo_flags.go > [00:01:43] regenerating pkg/server/status/zcgo_flags.go > [00:01:43] regenerating pkg/storage/engine/zcgo_flags.go > [00:01:43] regenerating pkg/ccl/storageccl/engineccl/zcgo_flags.go > [00:01:43] regenerating pkg/cli/zcgo_flags_aarch64_portbld_freebsd13.0.go > [00:01:43] regenerating pkg/ccl/gssapiccl/zcgo_flags.go > [00:01:43] go tool compile: signal: illegal instruction (core dumped) > [00:01:43] gmake[1]: *** [Makefile:1553: bin/prereqs] Error 1 > > > > I've seen before that go compiled on rpi4+poudriere core dumps. But the go pkg downloaded from the pkg builders works fine. > > I will investigate further when time permits and nobody beats me to it. > > Regards, > > Ronald. > > Thanks for looking! > > Hmm.. so the issue seems to be go ... I guess we should update > ONLY_FOR_ARCHS_REASON  :( > > Pedro. > > > > Hi, > > I build a custom go which does not error out for unknown reasons to me. > The build does not fail on go now, but it fails here: > https://www.klop.ws/logs/cockroach-19.1.11.log > Still looks like a go issue: ... [00:28:59] # github.com/cockroachdb/cockroach/vendor/github.com/shirou/gopsutil/disk [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:26:36: undefined: MNT_WAIT [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:31:15: undefined: Statfs [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:32:28: undefined: MNT_WAIT [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:38:17: undefined: MNT_RDONLY [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:41:17: undefined: MNT_SYNCHRONOUS [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:44:17: undefined: MNT_NOEXEC [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:154:9: undefined: Bintime [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:163:22: undefined: Statfs [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:167:54: undefined: Statfs [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:182:32: undefined: Devstat [00:28:59] vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:44:17: too many errors [00:28:59] github.com/cockroachdb/cockroach/vendor/github.com/shirou/gopsutil/net [00:28:59] github.com/cockroachdb/cockroach/pkg/sql/exec/coldata Thanks so much, for the report! Pedro. --------------58734226391F9B330256C6C2--