Bug 257591

Summary: Remove dependency line from net-mgmt/icingaweb2-module-x509
Product: Ports & Packages Reporter: gettoknowmi <gettoknowmi>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patchfile
none
patch-file icingaweb2-module-x509 none

Description gettoknowmi 2021-08-03 15:57:04 UTC
Created attachment 226913 [details]
patchfile

please remove this line from the port and bump version
php74-gmp>0:math/php74-gmp \

patch file attached
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-08-03 16:06:46 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44bbd58eab025ce5a2b641b7f319925aeb710721

commit 44bbd58eab025ce5a2b641b7f319925aeb710721
Author:     gettoknowmi <gettoknowmi@yahoo.com>
AuthorDate: 2021-08-03 16:04:37 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-08-03 16:06:21 +0000

    net-mgmt/icingaweb2-module-x509: Resolve php version conflicts, really

    PR:             257591
    Fixes:          5eecca3abc54b20895fe9280539a22c2ab8b5edd

 net-mgmt/icingaweb2-module-x509/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 2 gettoknowmi 2021-08-03 16:42:39 UTC
this is still not fixed 
the dependency is still in the makefile. please remove it. the reference bug fixed only one issue. this is to fixed a second issue

Thanks
Comment 3 gettoknowmi 2021-08-03 16:44:14 UTC
i keep getting pkg fallout build fail emails

Be sure to always read the upgrading instructions and update database schemas
if needed: https://www.icinga.com/docs/icingaweb2/latest/doc/80-Upgrading/
===>  icingaweb2-module-x509-php80-1.0.0.8_1 depends on package: icingaweb2-php80>=2.4.1 - found
===>  Returning to build of icingaweb2-module-x509-php80-1.0.0.8_1
===>  icingaweb2-module-x509-php80-1.0.0.8_1 depends on package: php74-gmp>0 - not found
===>  Installing existing package /packages/All/php74-gmp-7.4.22_1.pkg
[122i386-default-job-10] Installing php74-gmp-7.4.22_1...
[122i386-default-job-10] `-- Installing php74-7.4.22_1...
pkg-static: php74-7.4.22_1 conflicts with php80-8.0.9_1 (installs files into the same place).  Problematic file: /usr/local/bin/php

Failed to install the following 1 package(s): /packages/All/php74-gmp-7.4.22_1.pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/icingaweb2-module-x509
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2021-08-03 16:56:55 UTC
(In reply to gettoknowmi from comment #2)
Which dependency are you referring? Can you create a patch for it?

(In reply to gettoknowmi from comment #3)
That report is referring icingaweb2-module-x509-php80-1.0.0.8_1, we just updated to 1.0.0-8_2, it will take a while before the build system catch up the latest tree.


BTW, while checking Makefile, it has: openssl>0:security/openssl
Can it be converted to USE+=ssl?
Comment 5 gettoknowmi 2021-08-03 17:29:27 UTC
Created attachment 226919 [details]
patch-file icingaweb2-module-x509

attaching patch file
Comment 6 gettoknowmi 2021-08-03 17:30:12 UTC
BTW, while checking Makefile, it has: openssl>0:security/openssl
Can it be converted to USE+=ssl?

yes - lets do convert it to USE+=ssl
Comment 7 Li-Wen Hsu freebsd_committer freebsd_triage 2021-08-03 17:31:51 UTC
(In reply to gettoknowmi from comment #5)
This seems the same as the patch in comment #0, and committed in https://cgit.freebsd.org/ports/commit/?id=44bbd58eab025ce5a2b641b7f319925aeb710721
Comment 8 commit-hook freebsd_committer freebsd_triage 2021-08-03 19:39:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea7d71403c29cbb75d777ec98750b07061f573c5

commit ea7d71403c29cbb75d777ec98750b07061f573c5
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-08-03 19:38:24 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-08-03 19:38:24 +0000

    net-mgmt/icingaweb2-module-x509: Convert to USES=ssl

    PR:             257591
    Approved by:    gettoknowmi <gettoknowmi@yahoo.com> (maintainer)

 net-mgmt/icingaweb2-module-x509/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)