|Summary:||ports-mgmt/portmaster: Does not support 'TRYBROKEN=yes'|
|Product:||Ports & Packages||Reporter:||Yasuhiro KIMURA <yasu>|
|Component:||Individual Port(s)||Assignee:||Stefan Eßer <se>|
|Severity:||Affects Some People||CC:||meta, w.schwarzenfeld|
Description Yasuhiro KIMURA 2019-02-17 04:06:28 UTC
portmaster does not support 'TRYBROKEN=yes'. root@eastasia# TRYBROKEN=yes portmaster www/havp ===>>> Port directory: /usr0/freebsd/ports/head/www/havp ===>>> This port is marked BROKEN ===>>> fails to build ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. root@eastasia# portmaster -m TRYBROKEN=yes www/havp ===>>> Port directory: /usr0/freebsd/ports/head/www/havp ===>>> This port is marked BROKEN ===>>> fails to build ===>>> If you are sure you can build it, remove the BROKEN line in the Makefile and try again. root@eastasia#
Comment 1 Walter Schwarzenfeld 2019-08-16 17:33:30 UTC
Created attachment 206621 [details] svn-diff-trybroken It is a workaroud patch. Works in your example: portmaster -m -DTRYBROKEN www/havp
Comment 2 Walter Schwarzenfeld 2019-08-16 18:13:45 UTC
Created attachment 206623 [details] svn-diff-trybroken_2 Changed it slightly: you can use portmaster -m -DTRYBROKEN www/havp or portmaster -m -DTRYBROKEN=yes www/havp
Comment 3 Walter Schwarzenfeld 2020-01-23 20:32:45 UTC
Created attachment 210995 [details] svn-diff-trybroken_3 Update patch after ports r523835.
Comment 4 commit-hook 2020-01-26 18:19:19 UTC
A commit references this bug: Author: se Date: Sun Jan 26 18:19:01 UTC 2020 New revision: 524227 URL: https://svnweb.freebsd.org/changeset/ports/524227 Log: Add option --try-broken This option makes portmaster try to build ports that are marked as BROKEN or IGNORE. Passing this option implies the "-m -DTRYBROKEN" option. The change is inspired by (but not based on) the patch suggested by Walter Schwarzenfeld. PR: 235793 Reported by: Yasuhiro KIMURA Approved by: antoine (implicit) Changes: head/ports-mgmt/portmaster/Makefile head/ports-mgmt/portmaster/files/patch-files_portmaster.8 head/ports-mgmt/portmaster/files/patch-portmaster
Comment 5 Stefan Eßer 2020-01-26 18:22:46 UTC
Thank you for providing the patch! I have chosen to add this feature in a different way, but have been able to use your patch as the starting point ...