Bug 250355 - net/citrix_ica Can't open /usr/ports/distfiles//usr/ports/distfiles/QuoVadisRootCA2.crt for reading, No such file or directory
Summary: net/citrix_ica Can't open /usr/ports/distfiles//usr/ports/distfiles/QuoVadisR...
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-14 23:28 UTC by Graham Perrin
Modified: 2020-10-15 00:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin 2020-10-14 23:28:42 UTC
A .crt file is in place but I can't make: 

----

root@momh167-gjp4-8570p:/usr/ports/net/citrix_ica # make configure
Can't open /usr/ports/distfiles//usr/ports/distfiles/QuoVadisRootCA2.crt for reading, No such file or directory
34374492160:error:02001002:system library:fopen:No such file or directory:/usr/src/crypto/openssl/crypto/bio/bss_file.c:69:fopen('/usr/ports/distfiles//usr/ports/distfiles/QuoVadisRootCA2.crt','r')
34374492160:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/src/crypto/openssl/crypto/bio/bss_file.c:76:
unable to load certificate
make: "/usr/ports/net/citrix_ica/Makefile" line 46: warning: "openssl x509 -noout -hash -in /usr/ports/distfiles/"/usr/ports/distfiles/QuoVadisRootCA2.crt"" returned non-zero status
===>   NOTICE:

The citrix_ica port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>   citrix_ica-13.10.0 depends on file: /usr/local/sbin/pkg - found
Checking /usr/ports/distfiles/QuoVadisRootCA2.crt
Cert /usr/ports/distfiles/QuoVadisRootCA2.crt not found.
make: exec(exit) failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in /usr/ports/net/citrix_ica
root@momh167-gjp4-8570p:/usr/ports/net/citrix_ica # ls -hl /usr/ports/distfiles/QuoVadisRootCA2.crt
-rw-------  1 root  wheel   2.0K Oct 15 00:19 /usr/ports/distfiles/QuoVadisRootCA2.crt
root@momh167-gjp4-8570p:/usr/ports/net/citrix_ica # grep ICA_CERTS /etc/make.conf
# ICA_CERTS="/usr/local/poudriere/ports/default/distfiles/QuoVadisRootCA2.crt"
ICA_CERTS="/usr/ports/distfiles/QuoVadisRootCA2.crt"
root@momh167-gjp4-8570p:/usr/ports/net/citrix_ica # date ; uname -v
Thu Oct 15 00:27:13 BST 2020
FreeBSD 13.0-CURRENT #69 r366648: Tue Oct 13 05:49:05 BST 2020     root@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 
root@momh167-gjp4-8570p:/usr/ports/net/citrix_ica #
Comment 1 Graham Perrin 2020-10-15 00:00:25 UTC
Sorry, PEBKAM. 

For my make.conf I had blindly copied a line from a 2018 post by me, 
<https://forums.freebsd.org/threads/share-your-make-conf-and-src-conf.63544/#post-404458>

Better now: 

root@momh167-gjp4-8570p:~ # grep ICA_CERTS /etc/make.conf
# ICA_CERTS="/usr/local/poudriere/ports/default/distfiles/QuoVadisRootCA2.crt"
# ICA_CERTS="/usr/ports/distfiles/QuoVadisRootCA2.crt"
ICA_CERTS=QuoVadisRootCA2.crt
root@momh167-gjp4-8570p:~ #