Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail to build #492

Closed
1 task done
nunotexbsd opened this issue Nov 14, 2024 · 2 comments
Closed
1 task done

Tests fail to build #492

nunotexbsd opened this issue Nov 14, 2024 · 2 comments
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. potential-regression Marking this issue as a potential regression to be checked by team member

Comments

@nunotexbsd
Copy link

Describe the bug

FreeBSD 15
aws-c-cal 0.8.0
aws-c-common 0.10.3
aws-c-compression 0.3.0
aws-c-io 0.15.2
s2n-tls 1.5.9

===>  Testing for aws-c-http-0.9.2
-- LibCrypto Include Dir: /usr/include
-- LibCrypto Shared Lib:  /usr/lib/libcrypto.so
-- LibCrypto Static Lib:  /usr/lib/libcrypto.a
-- Configuring done (0.1s)
-- Generating done (0.0s)
-- Build files have been written to: /wrkdirs/usr/ports/devel/aws-c-http/work/.build
[ 16% 4/6] /usr/bin/cc -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_UNSTABLE_TESTING_API=1 -DAWS_USE
_KQUEUE -DHAVE_SYSCONF -DINTEL_NO_ITTNOTIFY_API -Daws_c_http_tests_EXPORTS -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/include -is
ystem /usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=gnu99 -fvisibility=hidden -Wall -Wstrict-prototypes -Wno-l
ong-long -fPIC -Wgnu -Wno-gnu-zero-variadic-macro-arguments -MD -MT tests/CMakeFiles/aws-c-http-tests.dir/test_connection_manager.c.o -MF tests/CMakeFiles/aws-c-http-tests.dir/test_connection_manager.c.o.d -o tes
ts/CMakeFiles/aws-c-http-tests.dir/test_connection_manager.c.o -c /wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests/test_connection_manager.c
FAILED: tests/CMakeFiles/aws-c-http-tests.dir/test_connection_manager.c.o
/usr/bin/cc -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_UNSTABLE_TESTING_API=1 -DAWS_USE_KQUEUE -DH
AVE_SYSCONF -DINTEL_NO_ITTNOTIFY_API -Daws_c_http_tests_EXPORTS -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/include -isystem /usr/
local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=gnu99 -fvisibility=hidden -Wall -Wstrict-prototypes -Wno-long-long -f
PIC -Wgnu -Wno-gnu-zero-variadic-macro-arguments -MD -MT tests/CMakeFiles/aws-c-http-tests.dir/test_connection_manager.c.o -MF tests/CMakeFiles/aws-c-http-tests.dir/test_connection_manager.c.o.d -o tests/CMakeFil
es/aws-c-http-tests.dir/test_connection_manager.c.o -c /wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests/test_connection_manager.c
/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests/test_connection_manager.c:164:41: error: variable has incomplete type 'struct aws_event_loop_group_options'
  164 |     struct aws_event_loop_group_options elg_options = {
      |                                         ^
/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests/test_connection_manager.c:164:12: note: forward declaration of 'struct aws_event_loop_group_options'
  164 |     struct aws_event_loop_group_options elg_options = {
      |            ^
1 error generated.
[ 33% 4/6] /usr/bin/cc -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_USE_KQUEUE -DHAVE_SYSCONF -DINTE
L_NO_ITTNOTIFY_API -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/bin/elasticurl/include -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/include -isystem /usr/local/include -O2 -pipe  -fs
tack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=gnu99 -fvisibility=hidden -Wall -Wstrict-prototypes -Wextra -pedantic -Wno-long-long -fPIC -Wgnu
-Wno-gnu-zero-variadic-macro-arguments -MD -MT bin/elasticurl/CMakeFiles/elasticurl.dir/main.c.o -MF bin/elasticurl/CMakeFiles/elasticurl.dir/main.c.o.d -o bin/elasticurl/CMakeFiles/elasticurl.dir/main.c.o -c /wr
kdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/bin/elasticurl/main.c
[ 50% 4/6] /usr/bin/cc -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_UNSTABLE_TESTING_API=1 -DAWS_USE
_KQUEUE -DHAVE_SYSCONF -DINTEL_NO_ITTNOTIFY_API -Daws_c_http_tests_EXPORTS -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/include -is
ystem /usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=gnu99 -fvisibility=hidden -Wall -Wstrict-prototypes -Wno-l
ong-long -fPIC -Wgnu -Wno-gnu-zero-variadic-macro-arguments -MD -MT tests/CMakeFiles/aws-c-http-tests.dir/test_websocket_encoder.c.o -MF tests/CMakeFiles/aws-c-http-tests.dir/test_websocket_encoder.c.o.d -o tests
/CMakeFiles/aws-c-http-tests.dir/test_websocket_encoder.c.o -c /wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests/test_websocket_encoder.c
[ 66% 4/6] /usr/bin/cc -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_UNSTABLE_TESTING_API=1 -DAWS_USE
_KQUEUE -DHAVE_SYSCONF -DINTEL_NO_ITTNOTIFY_API -Daws_c_http_tests_EXPORTS -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests -I/wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/include -is
ystem /usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -std=gnu99 -fvisibility=hidden -Wall -Wstrict-prototypes -Wno-l
ong-long -fPIC -Wgnu -Wno-gnu-zero-variadic-macro-arguments -MD -MT tests/CMakeFiles/aws-c-http-tests.dir/test_websocket_handler.c.o -MF tests/CMakeFiles/aws-c-http-tests.dir/test_websocket_handler.c.o.d -o tests
/CMakeFiles/aws-c-http-tests.dir/test_websocket_handler.c.o -c /wrkdirs/usr/ports/devel/aws-c-http/work/aws-c-http-0.9.2/tests/test_websocket_handler.c
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped making "test" in /usr/ports/devel/aws-c-http

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Build tests OK

Current Behavior

Build tests failed

Reproduction Steps

FreeBSD ports framework:
cd devel/aws-c-http && make test

Possible Solution

No response

Additional Information/Context

No response

aws-c-http version used

0.9.2

Compiler and version used

clang 19.1.3

Operating System and version

FreeBSD 15 amd64 (main)

@nunotexbsd nunotexbsd added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 14, 2024
@github-actions github-actions bot added the potential-regression Marking this issue as a potential regression to be checked by team member label Nov 14, 2024
@graebm
Copy link
Contributor

graebm commented Nov 14, 2024

Update to aws-c-io v0.15.3+

@graebm graebm closed this as completed Nov 14, 2024
@nunotexbsd
Copy link
Author

@graebm

My bad. Need to have a better method to check deps next time. Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. potential-regression Marking this issue as a potential regression to be checked by team member
Projects
None yet
Development

No branches or pull requests

2 participants