Date: Sat, 20 Apr 2019 13:00:58 +0200 From: Stefan Esser <se@freebsd.org> To: Matthias Fechner <idefix@fechner.net>, freebsd-ports@freebsd.org Subject: Re: Request to change ruby default version to 2.5 Message-ID: <87623b8d-b8d4-11de-35b6-773f7a8cbcc8@freebsd.org> In-Reply-To: <ce81bb30-ba2f-8158-a1e3-773294a4ed5f@fechner.net> References: <571f0b5c-c85e-2b4b-7409-6ed0dc7e6eaa@fechner.net> <06c269a7-d2d3-a909-8f27-04cfc8b5acab@utanet.at> <ce81bb30-ba2f-8158-a1e3-773294a4ed5f@fechner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 20.04.19 um 11:05 schrieb Matthias Fechner: > Am 20.04.2019 um 06:59 schrieb Walter Schwarzenfeld: >> After this change: >> >> |portmaster -R -r ruby-2.5| >> >> | >> ===>>> Port directory: /usr/ports/databases/ruby-bdb >> >> ===>>> This port is marked BROKEN >> ===>>> does not build with Ruby 2.5 >> >> >> ===>>> If you are sure you can build it, remove the >> BROKEN line in the Makefile and try again. > > you have here several possibilities: > > - keep on ruby 2.4 till portmaster is fixed, see UPDATING What is there to fix in portmaster? Portmaster uses the BROKEN= in the Makefile to detect ports that will not build and warns about this situation before trying to start the actual build ... If there is a request to upgrade dependent ports (with -r) then portmaster will perform checks that are possible before starting the builds. Without this check, the build will fail later-on, possibly after replacing a number of ports with ones build for the new ruby version. (Which may or may not cause problems, this cannot be mechanically checked by portmaster.) You can exclude ports from being rebuild with portmaster by using "-x ruby-bdb" (for this particular case). But this may lead to inconsistencies (will keep the version for ruby-2.4 installed, which will lead to run-time errors). > - write a bug report upstream for ruby-bdb to get it fixed for ruby 2.5 Yes, that is the only sensible approach (IMHO), if you are not able to fix the ruby-bdb port yourself to work with the new ruby version. > - fix portmaster by yourself What do you suggest to change in portmaster? > - use a more recent package builder like poudriere How does this help, if a port requires ruby-bdb and that is not yet available for the ruby version used to by the other ports? Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87623b8d-b8d4-11de-35b6-773f7a8cbcc8>