Scenario: - Using portmaster to update ports - Various ports using gperf installed, as well as editors/libreoffice which uses devel/gperf31 Result: - It is not possible anymore to use "portmaster -a" to update all ports because sooner or later the update chokes on a gperf/gperf31 conflict It seems that gperf31 was introduced in order to be able to build libreoffice. What hinders an upgrade of devel/gperf itself to 3.1? -- Martin
+1 from my side. This is really annoying and needs clean up. Either both ports can co-exist or it should give only one of them and all other ports should depend on this one. Kind regards Joerg
Please upgrade devel/gperf to 3.1 version instead of adding gperf31!
I've already tried this without success. portmaster -vdw -o devel/gperf31 gperf-3.0.3_2 pkg set -n gperf-3.0.3_2:gperf31-3.1 pkg set -o devel/gperf:devel/gperf31 It's not working as ${PORTSDIR}/Mk/Uses/gperf.mk contains an explicit dependency on devel/gperf. If devel/gperf31 is installed and yoy try to build a port that makes use of USES=gperf, devel/gperf is added as dependency and you will run into the conflict.
Explicitly set the flag to ask maintainer's opinion to update devel/gperf.
Sorry, upgrading gperf will cause LICENSE problems. devel/gperf will not be updated as some ports need a GPLv2 version. Linking the code conflicts with GPLv3. A already asked the maintainer of devel/gperf31 to use a suffix for his version or use to the GPLv2 version.
Created attachment 208144 [details] proposed patch This patch will rename gperf tp gperf31 libreoffice needs to be patched to use the changed name.
(In reply to Martin Birgmeier from comment #0) to build libreoffice, you need to deinstall devel/gperf and reinstall it for building other ports.
A commit references this bug: Author: lwhsu Date: Mon Oct 7 17:26:39 UTC 2019 New revision: 513974 URL: https://svnweb.freebsd.org/changeset/ports/513974 Log: Install as bin/gperf31 to prevent conflict with devel/gperf PR: 241025 Submitted by: dinoex Reported by: Martin Birgmeier <d8zNeCFG@aon.at> Changes: head/devel/gperf31/Makefile head/devel/gperf31/pkg-plist
A commit references this bug: Author: lwhsu Date: Mon Oct 7 17:29:33 UTC 2019 New revision: 513975 URL: https://svnweb.freebsd.org/changeset/ports/513975 Log: Follow up r513974 to use bin/gperf31 PR: 241025 Changes: head/editors/libreoffice/Makefile
Half way there: Installing gperf31-3.1_1... pkg-static: gperf31-3.1_1 conflicts with gperf-3.0.3_2 (installs files into the same place). Problematic file: /usr/local/share/info/gperf.info *** Error code 70 The info file needs renaming too.
A commit references this bug: Author: lwhsu Date: Tue Oct 8 09:02:25 UTC 2019 New revision: 514059 URL: https://svnweb.freebsd.org/changeset/ports/514059 Log: Complete renaming to gperf31 PR: 241025 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> Changes: head/devel/gperf31/Makefile
devel/gperf is now in version 3.1 on r521982 on 2020-01-04 08:59: libreoffice has been changed to use devel/gperf. devel/gperf31 has been removed.