{"action":"created","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/5955","repository_url":"https://api.github.com/repos/openssl/openssl","labels_url":"https://api.github.com/repos/openssl/openssl/issues/5955/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/5955/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/5955/events","html_url":"https://github.com/openssl/openssl/issues/5955","id":314350725,"number":5955,"title":"OpenSSL 1.1.1pre4 m_blake2b compilation error [-Werror=missing-field-initializers].","user":{"login":"Graymanflo","id":17147562,"avatar_url":"https://avatars1.githubusercontent.com/u/17147562?v=4","gravatar_id":"","url":"https://api.github.com/users/Graymanflo","html_url":"https://github.com/Graymanflo","followers_url":"https://api.github.com/users/Graymanflo/followers","following_url":"https://api.github.com/users/Graymanflo/following{/other_user}","gists_url":"https://api.github.com/users/Graymanflo/gists{/gist_id}","starred_url":"https://api.github.com/users/Graymanflo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graymanflo/subscriptions","organizations_url":"https://api.github.com/users/Graymanflo/orgs","repos_url":"https://api.github.com/users/Graymanflo/repos","events_url":"https://api.github.com/users/Graymanflo/events{/privacy}","received_events_url":"https://api.github.com/users/Graymanflo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-14T18:24:01Z","updated_at":"2018-04-15T19:03:34Z","closed_at":"2018-04-14T21:06:58Z","author_association":"NONE","body":"Good evening.\r\n\r\nI am trying to compile OpenSSL 1.1.1pre4 for Nginx 1.13.12 but I am running into this compilation error on Debian 9:\r\n\r\n```\r\ngcc  -I. -Icrypto/include -Iinclude -fPIC -m64  -Wa,--noexecstack -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -g -O2 -fdebug-prefix-map=/usr/src/nginx-pagespeed/nginx-1.13.12=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC  -D_GLIBCXX_USE_CXX11_ABI=0 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR=\"\\\"/usr/src/nginx-pagespeed/openssl-1.1.1-pre4/.openssl/ssl\\\"\" -DENGINESDIR=\"\\\"/usr/src/nginx-pagespeed/openssl-1.1.1-pre4/.openssl/lib/engines-1.1\\\"\" -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF crypto/blake2/m_blake2s.d.tmp -MT crypto/blake2/m_blake2s.o -c -o crypto/blake2/m_blake2s.o crypto/blake2/m_blake2s.c\r\ncrypto/blake2/m_blake2b.c:53:1: error: missing initializer for field 'md_ctrl' of 'EVP_MD {aka const struct evp_md_st}' [-Werror=missing-field-initializers]\r\n };\r\n ^\r\nIn file included from crypto/blake2/m_blake2b.c:24:0:\r\ncrypto/include/internal/evp_int.h:118:11: note: 'md_ctrl' declared here\r\n     int (*md_ctrl) (EVP_MD_CTX *ctx, int cmd, int p1, void *p2);\r\n           ^~~~~~~\r\ncc1: all warnings being treated as errors\r\nMakefile:1610: recipe for target 'crypto/blake2/m_blake2b.o' failed\r\nmake[4]: *** [crypto/blake2/m_blake2b.o] Error 1\r\nmake[4]: *** Waiting for unfinished jobs....\r\ncrypto/blake2/m_blake2s.c:53:1: error: missing initializer for field 'md_ctrl' of 'EVP_MD {aka const struct evp_md_st}' [-Werror=missing-field-initializers]\r\n };\r\n ^\r\nIn file included from crypto/blake2/m_blake2s.c:24:0:\r\ncrypto/include/internal/evp_int.h:118:11: note: 'md_ctrl' declared here\r\n     int (*md_ctrl) (EVP_MD_CTX *ctx, int cmd, int p1, void *p2);\r\n           ^~~~~~~\r\ncc1: all warnings being treated as errors\r\nMakefile:1618: recipe for target 'crypto/blake2/m_blake2s.o' failed\r\nmake[4]: *** [crypto/blake2/m_blake2s.o] Error 1\r\nmake[4]: Leaving directory '/usr/src/nginx-pagespeed/openssl-1.1.1-pre4'\r\nMakefile:170: recipe for target 'all' failed\r\nmake[3]: *** [all] Error 2\r\nmake[3]: Leaving directory '/usr/src/nginx-pagespeed/openssl-1.1.1-pre4'\r\nobjs/Makefile:1969: recipe for target '/usr/src/nginx-pagespeed/openssl-1.1.1-pre4/.openssl/include/openssl/ssl.h' failed\r\nmake[2]: *** [/usr/src/nginx-pagespeed/openssl-1.1.1-pre4/.openssl/include/openssl/ssl.h] Error 2\r\nmake[2]: Leaving directory '/usr/src/nginx-pagespeed/nginx-1.13.12/debian/build-nginx'\r\nMakefile:8: recipe for target 'build' failed\r\nmake[1]: *** [build] Error 2\r\nmake[1]: Leaving directory '/usr/src/nginx-pagespeed/nginx-1.13.12/debian/build-nginx'\r\ndebian/rules:50: recipe for target 'build-arch.nginx' failed\r\nmake: *** [build-arch.nginx] Error 2\r\ndpkg-buildpackage: error: debian/rules build gave error exit status 2\r\n```\r\n\r\n[https://pastebin.com/raw/wP4Js04X](https://pastebin.com/raw/wP4Js04X) - Is there anything I can do to get around it?"},"comment":{"url":"https://api.github.com/repos/openssl/openssl/issues/comments/381429911","html_url":"https://github.com/openssl/openssl/issues/5955#issuecomment-381429911","issue_url":"https://api.github.com/repos/openssl/openssl/issues/5955","id":381429911,"user":{"login":"FdaSilvaYY","id":15791524,"avatar_url":"https://avatars1.githubusercontent.com/u/15791524?v=4","gravatar_id":"","url":"https://api.github.com/users/FdaSilvaYY","html_url":"https://github.com/FdaSilvaYY","followers_url":"https://api.github.com/users/FdaSilvaYY/followers","following_url":"https://api.github.com/users/FdaSilvaYY/following{/other_user}","gists_url":"https://api.github.com/users/FdaSilvaYY/gists{/gist_id}","starred_url":"https://api.github.com/users/FdaSilvaYY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FdaSilvaYY/subscriptions","organizations_url":"https://api.github.com/users/FdaSilvaYY/orgs","repos_url":"https://api.github.com/users/FdaSilvaYY/repos","events_url":"https://api.github.com/users/FdaSilvaYY/events{/privacy}","received_events_url":"https://api.github.com/users/FdaSilvaYY/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T19:03:34Z","updated_at":"2018-04-15T19:03:34Z","author_association":"CONTRIBUTOR","body":"I remember an old PR that explicitly NULL-init all the fields of globally-allocated structures, who was not approved because of too much changes and very few added-value."}}
{"actor":{"display_login":"FdaSilvaYY"}}