yutannihilation opened a new issue, #164:
URL: https://github.com/apache/sedona-db/issues/164

   In https://github.com/apache/sedona-db/pull/146, I thought I succeeded to 
enable `pak::pkg_install()`, but I keep getting this error (to be clear, now 
I'm on macOS and away from Windows Desktop I was using during #146). It's weird 
that this doesn't happen when I compile the project by `devtools::load_all()` 
locally; it seems `-Werror` flag is passed from somewhere (not the `CFLAGS` in 
`Makevars`). Does anyone see the same error? Or, is something wrong with my 
setup?
   
   
   ```r
   pak::pkg_install("apache/sedona-db/r/sedonadb")
   ```
   ```
     --- stderr
   
     ..snip..
   
     
/Users/yutani/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.0/aws-lc/crypto/fipsmodule/hmac/hmac.c:139:1:
 error: extra ';' outside of a function [-Werror,-Wextra-semi]
       139 | MD_TRAMPOLINES_EXPLICIT_PRECOMPUTED(MD5, MD5_CTX, MD5_CBLOCK)
           | ^
     
/Users/yutani/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.0/aws-lc/crypto/fipsmodule/hmac/hmac.c:120:60:
 note: expanded from macro 'MD_TRAMPOLINES_EXPLICIT_PRECOMPUTED'
       120 |   MD_TRAMPOLINES_EXPLICIT(HASH_NAME, HASH_CTX, HASH_CBLOCK);       
           \
           |                                                            ^
     
/Users/yutani/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.0/aws-lc/crypto/fipsmodule/hmac/hmac.c:140:1:
 error: extra ';' outside of a function [-Werror,-Wextra-semi]
       140 | MD_TRAMPOLINES_EXPLICIT_PRECOMPUTED(SHA1, SHA_CTX, SHA_CBLOCK)
           | ^
     
/Users/yutani/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.32.0/aws-lc/crypto/fipsmodule/hmac/hmac.c:120:60:
 note: expanded from macro 'MD_TRAMPOLINES_EXPLICIT_PRECOMPUTED'
       120 |   MD_TRAMPOLINES_EXPLICIT(HASH_NAME, HASH_CTX, HASH_CBLOCK);       
           \
           |                                                            ^
   
     ..snip..
   
     8 errors generated.
     make[3]: *** [aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o] 
Error 1
     make[3]: *** Waiting for unfinished jobs....
     make[2]: *** [aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/all] 
Error 2
     make[2]: *** Waiting for unfinished jobs....
     make[1]: *** [all] Error 2
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to