Branko Čibej created SERF-205:
---------------------------------
Summary: SCons build dependencies are broken
Key: SERF-205
URL: https://issues.apache.org/jira/browse/SERF-205
Project: serf
Issue Type: Bug
Affects Versions: serf-1.3.10, serf-1.4.0, serf-trunk
Reporter: Branko Čibej
Build Serf with SCons. Change one of the source files. Rebuild without a
complete reconfigure. Nothing happens.
Example, from trunk, but essentially the same happens on the 1.3.x or 1.4.x
branches:
{code:bash}
build-scons$ scons -Y ../serf-trunk CC=clang APR=/opt/homebrew/opt/apr
APU=/opt/homebrew/opt/apr-util OPENSSL=/opt/homebrew/opt/openssl@3 ZLIB=/usr
GSSAPI=/opt/homebrew/opt/krb5 BROTLI=/opt/homebrew/opt/brotli
scons: Reading SConscript files ...
Checking for GNU-compatible C compiler... yes
Checking for C function BIO_set_init()... yes
Checking for C function X509_STORE_get0_param()... yes
Checking for C function X509_get0_notBefore()... yes
Checking for C function X509_get0_notAfter()... yes
Checking for C function X509_STORE_CTX_get0_chain()... yes
Checking for C function ASN1_STRING_get0_data()... yes
Checking for C function CRYPTO_set_locking_callback()... yes
Checking for C function OPENSSL_malloc_init()... yes
Checking for C function SSL_library_init()... yes
Checking for C function OpenSSL_version_num()... yes
Checking for C function SSL_set_alpn_protos()... yes
Checking for C type OSSL_HANDSHAKE_STATE... yes
Checking for C header file brotli/decode.h... yes
Checking for C function BrotliDecoderTakeOutput()... yes
Checking for C header file stdbool.h... yes
scons: done reading SConscript files.
scons: Building targets ...
clang -o src/config_store.o -c -std=c89 -Wdeclaration-after-statement
-Wmissing-prototypes -g -O2 -Wall -dynamic -DNDEBUG -DOPENSSL_NO_STDIO -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -DSERF_HAVE_SSL_LOCKING_CALLBACKS
-DSERF_HAVE_OPENSSL_MALLOC_INIT -DSERF_HAVE_OPENSSL_SSL_LIBRARY_INIT
-DSERF_HAVE_OPENSSL_VERSION_NUM -DSERF_HAVE_OPENSSL_ALPN
-DSERF_HAVE_OSSL_HANDSHAKE_STATE -DSERF_HAVE_GSSAPI -DSERF_HAVE_BROTLI
-DHAVE_STDBOOL_H -I/opt/homebrew/opt/openssl@3/include -I.
-I/Users/brane/src/asf/serf/serf-trunk -I/opt/homebrew/opt/apr/include/apr-1
-I/opt/homebrew/opt/apr-util/include/apr-1
-I/opt/homebrew/opt/openssl@3/include -I/usr/include
-I/opt/homebrew/opt/brotli/include -I/opt/homebrew/Cellar/krb5/1.21.3/include
/Users/brane/src/asf/serf/serf-trunk/src/config_store.c
...
Create symlinks for: 'libserf-2.2.0.0.dylib'
'libserf-2.2.dylib'->'libserf-2.2.0.0.dylib'
'libserf-2.dylib'->'libserf-2.2.0.0.dylib'
Creating 'serf-2.pc'
scons: done building targets.
{code}
So far so good. But ...
{code:bash}
build-scons$ touch ../serf-trunk/buckets/ssl_buckets.c
build-scons$ scons -Y ../serf-trunk/
scons: Reading SConscript files ...
Checking for GNU-compatible C compiler... yes
Checking for C function BIO_set_init()... (cached) yes
Checking for C function X509_STORE_get0_param()... (cached) yes
Checking for C function X509_get0_notBefore()... (cached) yes
Checking for C function X509_get0_notAfter()... (cached) yes
Checking for C function X509_STORE_CTX_get0_chain()... (cached) yes
Checking for C function ASN1_STRING_get0_data()... (cached) yes
Checking for C function CRYPTO_set_locking_callback()... (cached) yes
Checking for C function OPENSSL_malloc_init()... (cached) yes
Checking for C function SSL_library_init()... (cached) yes
Checking for C function OpenSSL_version_num()... (cached) yes
Checking for C function SSL_set_alpn_protos()... (cached) yes
Checking for C type OSSL_HANDSHAKE_STATE... (cached) yes
Checking for C header file brotli/decode.h... (cached) yes
Checking for C function BrotliDecoderTakeOutput()... (cached) yes
Checking for C header file stdbool.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `libserf-2.a' is up to date.
scons: `libserf-2.2.0.0.dylib' is up to date.
scons: `serf-2.pc' is up to date.
scons: done building targets.
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)