Reranko05 opened a new issue, #50921: URL: https://github.com/apache/arrow/issues/50921
### Describe the bug, including details regarding any error messages, version, and platform. ### Describe the bug The Meson build fails while compiling the bundled `bzip2` dependency. The failure occurs in `subprojects/bzip2-1.0.8/bzlib.c`: https://github.com/apache/arrow/actions/runs/32293675583/job/96201011745?pr=50914#step:6:1103 ```text FAILED: [code=1] subprojects/bzip2-1.0.8/libbz2.a.p/bzlib.c.o /usr/local/bin/sccache cc -Isubprojects/bzip2-1.0.8/libbz2.a.p -Isubprojects/bzip2-1.0.8 -I../../arrow/cpp/subprojects/bzip2-1.0.8 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 -O0 -g -fPIC -MD -MQ subprojects/bzip2-1.0.8/libbz2.a.p/bzlib.c.o -MF subprojects/bzip2-1.0.8/libbz2.a.p/bzlib.c.o.d -o subprojects/bzip2-1.0.8/libbz2.a.p/bzlib.c.o -c ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c: In function 'default_bzalloc': ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c:102:31: warning: unused parameter 'opaque' [-Wunused-parameter] 102 | void* default_bzalloc ( void* opaque, Int32 items, Int32 size ) | ~~~~~~^~~~~~ ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c: In function 'default_bzfree': ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c:109:29: warning: unused parameter 'opaque' [-Wunused-parameter] 109 | void default_bzfree ( void* opaque, void* addr ) | ~~~~~~^~~~~~ ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c: In function 'bzopen_or_bzdopen': ../../arrow/cpp/subprojects/bzip2-1.0.8/bzlib.c:1431:12: error: implicit declaration of function 'fdopen'; did you mean 'fopen'? [-Wimplicit-function-declaration] 1431 | fp = fdopen(fd,mode2); | ^~~~~~ | fopen ... ``` ### Component(s) C++ -- 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]
