Open yasinhin opened 1 year ago
I mitigated issue by adding some custom rules around it like below. Still I believe this seems to be a bug anyways.
remote_file(
name = 'libopenldap-src',
url = 'https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.5.13.tgz',
sha1 = '134993a045d69a95a62867fae390e8ae38230c7d',
)
genrule(
name = 'libopenldap-unzip',
cmd = 'tar -xf $(location :libopenldap-src) -C $OUT --exclude tests/data',
out = '.',
)
I am trying to add ldap as a dependency using http_archive but buck fails to fetch the library. There is a "broken link" symbolic link in the tests folder which causes buck to fail on sha verification. Is there a way to skip that verification for that specific folder? I am okay to delete that specific folder before verification as well but not sure how.