Package Details: curl-impersonate-chrome v0.6.1-1

Git Clone URL: https://aur.archlinux.org/curl-impersonate-chrome.git (read-only, click to copy)
Package Base: curl-impersonate-chrome
Description: A special compilation of curl that makes it impersonate Chrome
Upstream URL: https://github.com/lwthiker/curl-impersonate
Keywords: curl https scraping security ssl tls
Licenses: MIT
Provides: curl-impersonate-chrome, libcurl-impersonate-chrome
Submitter: mattf
Maintainer: mattf
Last Packager: mattf
Votes: 2
Popularity: 0.053322
First Submitted: 2022-02-23 06:52 (UTC)
Last Updated: 2024-03-03 12:40 (UTC)

Dependencies (12)

Required by (2)

Sources (1)

Latest Comments

gesh commented on 2024-03-25 12:47 (UTC)

Note: The following makedeps are in base or base-devel, and thus shouldn't be specified: autoconf, automake, gcc, patch, tar

screenfox commented on 2024-01-10 12:43 (UTC)

Also getting the error about ignored-attributes. The trick with "CXXFLAGS="-Wno-error=ignored-attributes -g -O2" make chrome-build" did not change anything for me (added the CXXFLAGS part before "make chrome-build" in PKGBUILD).

AKSoo commented on 2023-11-29 04:25 (UTC)

Build fails because of a warning. I fixed it by editing PKGBUILD to ignore my specific warning: CXXFLAGS="-Wno-error=ignored-attributes -g -O2" make chrome-build. Might be a good idea to set CXXFLAGS="-Wno-error" and ignore all warnings because they can change with compiler version (see https://embeddedartistry.com/blog/2017/05/22/werror-is-not-your-friend/).

mattf commented on 2022-05-30 21:42 (UTC)

@somini Do you have that when trying to directly from source: https://github.com/lwthiker/curl-impersonate/blob/main/INSTALL.md#native-build ?

It could have to do with the default buildflags makepkg is using but this pkgbuild already has options=("!buildflags") so I'm not sure.

somini commented on 2022-05-30 21:24 (UTC)

Got a build error. Looks to be a critical error on memcpy, not sure if it's upstream.

Here are the deps versions: nspr-4.34-1 nss-3.79-1 hicolor-icon-theme-0.17-2 jsoncpp-1.9.5-2 libuv-1.43.0-1 rhash-1.4.2-1 cmake-3.23.2-1 go-2:1.18.2-1 ninja-1.11.0-1 unzip-6.0-18.

FAILED: crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o
/usr/bin/cc -DBORINGSSL_IMPLEMENTATION -I/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/third_party/googletest/include -I/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/../include -I/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../../include -Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla -Wshadow -ggdb -Wall -fvisibility=hidden -fno-common -Wno-free-nonheap-object -Wimplicit-fallthrough -Wmissing-prototypes -Wold-style-definition -Wstrict-prototypes -std=c11 -D_XOPEN_SOURCE=700 -O3 -DNDEBUG -fPIC -MD -MT crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o -MF crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o.d -o crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o -c /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/bcm.c
In file included from /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/bcm.c:31:
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u32_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:868:3,
    inlined from 'sha256_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha256.c:150:5,
    inlined from 'SHA224_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha256.c:168:10:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 4 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
In file included from /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/bcm.c:104:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha256.c: In function 'SHA224_Final':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha256.c:164:26: note: at offset 28 into destination object 'out' of size [0, 28]
  164 | int SHA224_Final(uint8_t out[SHA224_DIGEST_LENGTH], SHA256_CTX *ctx) {
      |                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA384_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:167:10,
    inlined from 'SHA384' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:132:3:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
In file included from /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/bcm.c:105:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA384':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:128:25: note: at offset 48 into destination object 'out' of size [0, 48]
  128 |                 uint8_t out[SHA384_DIGEST_LENGTH]) {
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA384_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:167:10,
    inlined from 'SHA384' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:132:3:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA384':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:128:25: note: at offset 56 into destination object 'out' of size [0, 48]
  128 |                 uint8_t out[SHA384_DIGEST_LENGTH]) {
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA512_256_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:182:10,
    inlined from 'SHA512_256' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:152:3:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA512_256':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:148:29: note: at offset 32 into destination object 'out' of size [0, 32]
  148 |                     uint8_t out[SHA512_256_DIGEST_LENGTH]) {
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA512_256_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:182:10,
    inlined from 'SHA512_256' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:152:3:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA512_256':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:148:29: note: at offset 40 into destination object 'out' of size [0, 32]
  148 |                     uint8_t out[SHA512_256_DIGEST_LENGTH]) {
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA512_256_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:182:10,
    inlined from 'SHA512_256' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:152:3:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA512_256':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:148:29: note: at offset 48 into destination object 'out' of size [0, 32]
  148 |                     uint8_t out[SHA512_256_DIGEST_LENGTH]) {
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA512_256_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:182:10,
    inlined from 'SHA512_256' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:152:3:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA512_256':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:148:29: note: at offset 56 into destination object 'out' of size [0, 32]
  148 |                     uint8_t out[SHA512_256_DIGEST_LENGTH]) {
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA384_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:167:10:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA384_Final':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:163:26: note: at offset 48 into destination object 'out' of size [0, 48]
  163 | int SHA384_Final(uint8_t out[SHA384_DIGEST_LENGTH], SHA512_CTX *sha) {
      |                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In function 'OPENSSL_memcpy',
    inlined from 'CRYPTO_store_u64_be' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:879:3,
    inlined from 'sha512_final_impl' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:273:5,
    inlined from 'SHA384_Final' at /build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:167:10:
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c: In function 'SHA384_Final':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:163:26: note: at offset 56 into destination object 'out' of size [0, 48]
  163 | int SHA384_Final(uint8_t out[SHA384_DIGEST_LENGTH], SHA512_CTX *sha) {
      |                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h: In function 'SHA512_256_Final':
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:178:30: note: at offset 32 into destination object 'out' of size [0, 32]
  178 | int SHA512_256_Final(uint8_t out[SHA512_256_DIGEST_LENGTH], SHA512_CTX *sha) {
      |                      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:178:30: note: at offset 40 into destination object 'out' of size [0, 32]
  178 | int SHA512_256_Final(uint8_t out[SHA512_256_DIGEST_LENGTH], SHA512_CTX *sha) {
      |                      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:178:30: note: at offset 48 into destination object 'out' of size [0, 32]
  178 | int SHA512_256_Final(uint8_t out[SHA512_256_DIGEST_LENGTH], SHA512_CTX *sha) {
      |                      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/../internal.h:824:10: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
  824 |   return memcpy(dst, src, n);
      |          ^~~~~~~~~~~~~~~~~~~
/build/curl-impersonate-chrome/src/curl-impersonate-0.4.1/build/boringssl/crypto/fipsmodule/sha/sha512.c:178:30: note: at offset 56 into destination object 'out' of size [0, 32]
  178 | int SHA512_256_Final(uint8_t out[SHA512_256_DIGEST_LENGTH], SHA512_CTX *sha) {
      |                      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors