Hi! Hope everything is fine with you. Gitlab-ce port after moving to node16 has a dependency of: yarn-node16 as it appears from www/gitlab-ce yarn as it appears from devel/rubygem-webpacker-rails61 that needs by www/rubygem-rails61 that needs by the same www/gitlab-ce Thus www/gitlab-ce depends as by yarn as by yarn-node16 Unfortunately in my poudriere jail has to be only one yarn and that is written in logs: Building the Shared MIME-Info database cache [130amd64-default-job-01] | `-- Installing yarn-1.22.17_1... pkg-static: yarn-1.22.17_1 conflicts with yarn-node16-1.22.17_1 (installs files into the same place). Problematic file: /usr/local/bin/yarn Thank you!
It is related to: https://reviews.freebsd.org/D32790
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=46ce086c7130aedb8b349864afaf938489d070de commit 46ce086c7130aedb8b349864afaf938489d070de Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2021-11-01 21:38:08 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2021-11-12 05:54:51 +0000 Mk/Uses: default version for nodejs If a port depends on node, a simple: USES= nodejs can be added. It is also possible to define a specific version: USES= nodejs:14 Use as current version the latest LTS version of node. PR: 259783 Differential Revision: https://reviews.freebsd.org/D32790 Mk/Uses/nodejs.mk (new) | 60 ++++++++++++++++++++++++++++++++++++++++++++++ Mk/bsd.default-versions.mk | 5 +++- UPDATING | 19 +++++++++++++++ 3 files changed, 83 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7 commit f4ffcdfe611a0e2147bbcb9697ecdffb4538acb7 Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2021-11-01 21:51:07 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2021-11-12 05:54:51 +0000 */*: use new nodejs USES flag Simply define which nodejs version is required using the nodejs USES flag. PR: 259783 Differential Revision: https://reviews.freebsd.org/D32790 devel/node-thrift/Makefile | 5 ++--- devel/purescript-language-server/Makefile | 3 ++- devel/rubygem-execjs/Makefile | 13 +------------ devel/sonar-scanner-cli/Makefile | 6 ++---- lang/coffeescript/Makefile | 4 ++-- net/cjdns/Makefile | 6 +++--- security/greenbone-security-assistant/Makefile | 6 +++--- textproc/kibana6/Makefile | 5 ++--- textproc/kibana7/Makefile | 8 +++----- textproc/opensearch-dashboards/Makefile | 7 +++---- www/Makefile | 2 ++ www/csso/Makefile | 4 ++-- www/gitlab-ce/Makefile | 2 +- www/npm-node14/Makefile | 5 ++--- www/npm-node16/Makefile | 5 ++--- www/npm-node17/Makefile (new) | 11 +++++++++++ www/npm/Makefile | 17 ++++------------- www/yarn-node14/Makefile | 5 ++--- www/yarn-node16/Makefile | 5 ++--- www/yarn-node17/Makefile (new) | 11 +++++++++++ www/yarn/Makefile | 17 ++++------------- 21 files changed, 66 insertions(+), 81 deletions(-)
This problem will now be fixed. But we currently have another bug that loading a project that has a README.md file is currently not possible. I will try to analyse this, but I think it is a bug that has to be fixed by gitlab. This bug is maybe caused by an upgrade of sidekiq-cron but I had no time to verify this. Gitlab recommend to use sidekiq-cron 1.0.4: https://gitlab.com/gitlab-org/gitlab/-/issues/343695#note_715090139
Dear Matthias, thank you, ports are now building successfully!