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

FreeBSD 13/stable build problem - looks like freebsd is unsupported totally. #4880

Closed
jostreff opened this issue Oct 23, 2022 · 6 comments
Closed

Comments

@jostreff
Copy link

Describe the bug

Can't be build from source still on FreeBSD stable/13-n252824-84b4709f38f with "gmake generate ; gmake build" as described.

Steps to reproduce

gmake generate

gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/app-provider“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/app-provider“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/app-registry“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/app-registry“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/audit“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/audit“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/auth-basic“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/auth-basic“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/auth-bearer“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/auth-bearer“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/auth-machine“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/auth-machine“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/frontend“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/frontend“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/gateway“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/gateway“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/graph“
/root/go/bin/mockery-v2.10.4 --dir pkg/service/v0 --case underscore --name GatewayClient
23 Oct 22 15:46 EEST INF Starting mockery dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Walking dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Generating mock dry-run=false interface=GatewayClient qualified-name=github.com/owncloud/ocis/v2/services/graph/pkg/service/v0 version=v2.10.4
/root/go/bin/mockery-v2.10.4 --dir pkg/service/v0 --case underscore --name HTTPClient
23 Oct 22 15:46 EEST INF Starting mockery dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Walking dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Generating mock dry-run=false interface=HTTPClient qualified-name=github.com/owncloud/ocis/v2/services/graph/pkg/service/v0 version=v2.10.4
/root/go/bin/mockery-v2.10.4 --dir pkg/service/v0 --case underscore --name Publisher
23 Oct 22 15:46 EEST INF Starting mockery dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Walking dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Generating mock dry-run=false interface=Publisher qualified-name=github.com/owncloud/ocis/v2/services/graph/pkg/service/v0 version=v2.10.4
/root/go/bin/mockery-v2.10.4 --srcpkg github.com/go-ldap/ldap/v3 --case underscore --filename ldapclient.go --name Client
23 Oct 22 15:46 EEST INF Starting mockery dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Walking dry-run=false version=v2.10.4
23 Oct 22 15:46 EEST INF Generating mock dry-run=false interface=Client qualified-name=github.com/go-ldap/ldap/v3 version=v2.10.4
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/graph“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/groups“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/groups“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/idm“
gmake[1]: Няма нищо за правене за „generate“.
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/idm“
gmake[1]: влизане в директория „/usr/home/jostreff/ocis/services/idp“
yarn install --immutable
➤ YN0028: The lockfile would have been created by this install, which is explicitly forbidden.
➤ YN0000: Failed with errors in 0s 7ms
gmake[1]: *** [Makefile:61: node_modules] Грешка 1
gmake[1]: излизане от директория „/usr/home/jostreff/ocis/services/idp“
gmake: *** [Makefile:128: generate] Грешка 1## Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior

I see you're already in beta, but there still seem to be gaps in support for my favorite server OS.

Setup

FreeBSD 13.1-STABLE #85 stable/13-n252824-84b4709f38f

go118-1.18.7 Go programming language
go119-1.19.2 Go programming language
gmake-4.3_2 GNU version of 'make' utility
node16-16.17.1_1 V8 JavaScript for client and server

yarn --version
3.2.3
npm --version
8.19.2

@micbar
Copy link
Contributor

micbar commented Oct 24, 2022

seems like a yarn issue. @kulmann any ideas?

@kulmann
Copy link
Contributor

kulmann commented Oct 24, 2022

If I remember correctly the idp web frontend needed node v14 for building successfully. For the current master / the upcoming ocis v2.0.0-rc.1 node v16 should work.

@jostreff
Copy link
Author

Clear, will wait till rc1. B.t.w. I have read that nodes 18.12.0 is newer LTS version. Current has moved to nodes 19.x.

@jostreff
Copy link
Author

jostreff commented Nov 4, 2022

I see that moving to pnpm solved make generate problems on FreeBSD with node.js 16.17.1 for sure.

Now it breaks on next step with

/root/go/pkg/mod/github.com/cs3org/reva/[email protected]/pkg/storage/utils/localfs/localfs_unix.go:80:11: invalid operation: stat.Blocks - stat.Bavail (mismatched types uint64 and int64)
/root/go/pkg/mod/github.com/cs3org/reva/[email protected]/pkg/storage/utils/localfs/localfs_unix.go:81:15: invalid operation: stat.Bavail * uint64(stat.Bsize) (mismatched types int64 and uint64)
gmake: *** [../.make/go.mk:102: bin/ocis] Error 2```

@micbar
Copy link
Contributor

micbar commented Dec 15, 2022

Should be fixed by cs3org/reva#3559

@micbar micbar moved this to Qualification in Infinite Scale Team Board Dec 16, 2022
@butonic butonic moved this from Qualification to Prio 3 or less in Infinite Scale Team Board May 9, 2023
@micbar
Copy link
Contributor

micbar commented May 10, 2023

This should be fixed in master. Please re open if necessary.

@micbar micbar closed this as completed May 10, 2023
@github-project-automation github-project-automation bot moved this from Prio 3 or less to Done in Infinite Scale Team Board May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants