Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2018 07:52:00 +0900
From:      KIRIYAMA Kazuhiko <kiri@kx.openedu.org>
To:        freebsd-ports@freebsd.org
Cc:        kiri@kx.openedu.org
Subject:   www/nginx-full build failed (13.0-CURRENT/r484802)
Message-ID:  <201811152252.wAFMq05w015595@kx.openedu.org>

next in thread | raw e-mail | index | archive | help
Hi all,

nginx-full-1.14.1,2 (www/nginx-full) failed to build in
13.0-CURRENT with ports revision r484802 (detail log in [1]):

Enable http_ssl module to build upstream_fair with SSL support
This port install Passenger module only

===>  License BSD2CLAUSE accepted by the user
===>   nginx-full-1.14.1,2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nginx-full-1.14.1,2 for building
===>  Extracting for nginx-full-1.14.1,2
=> SHA256 Checksum OK for nginx-1.14.1.tar.gz.
=> SHA256 Checksum OK for ngx_cache_purge-2.3.tar.gz.
=> SHA256 Checksum OK for nginx_mogilefs_module-1.0.4.tar.gz.
=> SHA256 Checksum OK for nginx_mod_h264_streaming-2.2.7.tar.gz.
=> SHA256 Checksum OK for ngx_http_redis-0.3.9.tar.gz.
=> SHA256 Checksum OK for ngx_http_response-0.3.tar.gz.
=> SHA256 Checksum OK for 08a395c66e42.tar.gz.
=> SHA256 Checksum OK for modsecurity-2.9.2.tar.gz.
=> SHA256 Checksum OK for passenger-5.3.5.tar.gz.
=> SHA256 Checksum OK for ngx_slowfs_cache-1.10.tar.gz.
=> SHA256 Checksum OK for yaoweibin-nginx_ajp_module-bf6cd93_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-array-var-nginx-module-v0.05_GH0.tar.gz.
=> SHA256 Checksum OK for anomalizer-ngx_aws_auth-1e62670_GH0.tar.gz.
=> SHA256 Checksum OK for eustas-ngx_brotli-e26248e_GH0.tar.gz.
=> SHA256 Checksum OK for nginx-clojure-nginx-clojure-v0.4.5_GH0.tar.gz.
=> SHA256 Checksum OK for grahamedgecombe-nginx-ct-v1.3.2_GH0.tar.gz.
=> SHA256 Checksum OK for simpl-ngx_devel_kit-v0.3.0_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-drizzle-nginx-module-v0.1.11_GH0.tar.gz.
=> SHA256 Checksum OK for cubicdaiya-ngx_dynamic_upstream-v0.1.3_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-echo-nginx-module-c65f5c6_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-encrypted-session-nginx-module-v0.07_GH0.tar.gz.
=> SHA256 Checksum OK for happyfish100-fastdfs-nginx-module-8796a7d_GH0.tar.gz.
=> SHA256 Checksum OK for calio-form-input-nginx-module-v0.12_GH0.tar.gz.
=> SHA256 Checksum OK for mdirolf-nginx-gridfs-v0.8_GH0.tar.gz.
=> SHA256 Checksum OK for mongodb-mongo-c-driver-v0.3.1_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-headers-more-nginx-module-55fbdab_GH0.tar.gz.
=> SHA256 Checksum OK for giom-nginx_accept_language_module-2f69842_GH0.tar.gz.
=> SHA256 Checksum OK for atomx-nginx-http-auth-digest-cd86418_GH0.tar.gz.
=> SHA256 Checksum OK for stnoonan-spnego-http-auth-nginx-module-7e028a5_GH0.tar.gz.
=> SHA256 Checksum OK for kvspb-nginx-auth-ldap-42d195d_GH0.tar.gz.
=> SHA256 Checksum OK for sto-ngx_http_auth_pam_module-v1.5.1_GH0.tar.gz.
=> SHA256 Checksum OK for arut-nginx-dav-ext-module-v0.1.0_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-nginx-eval-module-582bd25_GH0.tar.gz.
=> SHA256 Checksum OK for aperezdc-ngx-fancyindex-v0.4.3_GH0.tar.gz.
=> SHA256 Checksum OK for alibaba-nginx-http-footer-filter-1.2.2_GH0.tar.gz.
=> SHA256 Checksum OK for leev-ngx_http_geoip2_module-3.2_GH0.tar.gz.
=> SHA256 Checksum OK for nginx-modules-ngx_http_json_status_module-1d2f303_GH0.tar.gz.
=> SHA256 Checksum OK for kr-nginx-notice-3c95966_GH0.tar.gz.
=> SHA256 Checksum OK for slact-nchan-v1.1.14_GH0.tar.gz.
=> SHA256 Checksum OK for wandenberg-nginx-push-stream-module-0.5.4_GH0.tar.gz.
=> SHA256 Checksum OK for yaoweibin-ngx_http_substitutions_filter_module-v0.6.4_GH0.tar.gz.
=> SHA256 Checksum OK for tarantool-nginx_upstream_module-1278ee5_GH0.tar.gz.
=> SHA256 Checksum OK for Austinb-nginx-upload-module-72ec037_GH0.tar.gz.
=> SHA256 Checksum OK for masterzen-nginx-upload-progress-module-afb2d31_GH0.tar.gz.
=> SHA256 Checksum OK for yaoweibin-nginx_upstream_check_module-9aecf15_GH0.tar.gz.
=> SHA256 Checksum OK for cryptofuture-nginx-upstream-fair-b5be36f_GH0.tar.gz.
=> SHA256 Checksum OK for wandenberg-nginx-video-thumbextractor-module-0.9.0_GH0.tar.gz.
=> SHA256 Checksum OK for anthonyryan1-mod_zip-74ef235_GH0.tar.gz.
=> SHA256 Checksum OK for calio-iconv-nginx-module-v0.14_GH0.tar.gz.
=> SHA256 Checksum OK for arut-nginx-let-module-v0.0.4_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-lua-nginx-module-v0.10.13_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-memc-nginx-module-v0.18_GH0.tar.gz.
=> SHA256 Checksum OK for nbs-system-naxsi-0.56_GH0.tar.gz.
=> SHA256 Checksum OK for nginx-njs-992e93d_GH0.tar.gz.
=> SHA256 Checksum OK for FRiCKLE-ngx_postgres-1.0rc7_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-rds-csv-nginx-module-v0.08_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-rds-json-nginx-module-v0.14_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-redis2-nginx-module-v0.15_GH0.tar.gz.
=> SHA256 Checksum OK for arut-nginx-rtmp-module-v1.2.1_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-set-misc-nginx-module-cda7e50_GH0.tar.gz.
=> SHA256 Checksum OK for sflow-nginx-sflow-module-543c72a_GH0.tar.gz.
=> SHA256 Checksum OK for nginx-shib-nginx-http-shibboleth-f07bf3c_GH0.tar.gz.
=> SHA256 Checksum OK for cubicdaiya-ngx_small_light-v0.9.2_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-srcache-nginx-module-v0.31_GH0.tar.gz.
=> SHA256 Checksum OK for openresty-xss-nginx-module-v0.05_GH0.tar.gz.
===>   nginx-full-1.14.1,2 depends on file: /usr/local/bin/ruby25 - not found
===>  License BSD2CLAUSE RUBY accepted by the user
  :
(snip)
  :
--- objs/src/core/ngx_hash.o ---
cc -c -I/usr/local/include/luajit-2.0 -DNGX_CLOJURE_BE_SILENT_WITHOUT_JVM -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -O2 -pipe  -g -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing 
--- objs/addon/src/ngx_http_fastdfs_module.o ---
cc -c -fPIC -I/usr/local/include/luajit-2.0 -DNGX_CLOJURE_BE_SILENT_WITHOUT_JVM -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -O2 -pipe  -g -I/usr/local/include -DLIBICONV_PLUG -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing  -I /usr/local/include/fastdfs  -I /usr/local/include/fastcommon -DMONGO_HAVE_STDINT -Isrc -D_LARGEFILE_SOURCE -DBUILDING_NGINX -DNDK_SET_VAR -Wno-deprecated-declarations -DNDK_SET_VAR -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='"/usr/local/etc/fdfs/mod_fastdfs.conf"' -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -I/usr/local/include/ImageMagick-6 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I src/core  -I src/event  -I src/event/modules  -I src/os/unix  -I src/http/modules/perl  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx_ajp_module-bf6cd93  -I /usr/local/include  -I /var/ports/work/usr/ports/www/nginx-full/work/ngi!
 nx-push-stream-module-0.5.4/src  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx-push-stream-module-0.5.4/include  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx_upstream_check_module-9aecf15  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx-video-thumbextractor-module-0.9.0/src  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx-video-thumbextractor-module-0.9.0/include  -I /usr/local/include  -I /var/ports/work/usr/ports/www/nginx-full/work/ngx_devel_kit-0.3.0/objs  -I objs/addon/ndk  -I /var/ports/work/usr/ports/www/nginx-full/work/ngx_devel_kit-0.3.0/src  -I /var/ports/work/usr/ports/www/nginx-full/work/ngx_devel_kit-0.3.0/objs  -I objs/addon/ndk  -I /usr/local/include  -I /usr/local/include  -I %%GSSAPINCDIR%%  -I /var/ports/work/usr/ports/www/nginx-full/work/nchan-1.1.14/src  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx_upstream_module-1278ee5/src  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx_upstream_module-1278ee5/third_p!
 arty  -I /usr/local/include/msgpuck  -I /usr/local/include/yajl  -I /var/ports/work/usr/ports/www/nginx-full/work/lua-nginx-module-0.10.13/src/api  -I /usr/local/include/luajit-2.0  -I /var/ports/work/usr/ports/www/nginx-full/work/njs-992e93d/nginx/../nxt  -I /var/ports/work/usr/ports/www/nginx-full/work/njs-992e93d/nginx/../njs  -I /var/ports/work/usr/ports/www/nginx-full/work/njs-992e93d/nginx/../nxt  -I /var/ports/work/usr/ports/www/nginx-full/work/njs-992e93d/nginx/../njs  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx-rtmp-module-1.2.1  -I /var/ports/work/usr/ports/www/nginx-full/work/passenger-5.3.5/src  -I /usr/local/include/libxml2  -I /usr/local/include  -I objs  -I src/http  -I src/http/modules  -I src/http/v2  -I /var/ports/work/usr/ports/www/nginx-full/work/ngx_devel_kit-0.3.0/src  -I /var/ports/work/usr/ports/www/nginx-full/work/nginx-clojure-0.4.5/src/c  -I src/mail  -I src/stream  -o objs/addon/src/ngx_http_fastdfs_module.o  /var/ports/work/usr/ports/www/nginx
 -full/work/fastdfs-nginx-module-8796a7d/src/ngx_http_fastdfs_m!
 odule.c
--- objs/addon/src/ngx_http_encrypted_session_cipher.o ---
/var/ports/work/usr/ports/www/nginx-full/work/encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c:29:30: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
    EVP_CIPHER_CTX           ctx;
                             ^
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'struct evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
/var/ports/work/usr/ports/www/nginx-full/work/encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c:136:30: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st')
    EVP_CIPHER_CTX           ctx;
                             ^
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'struct evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
               ^
2 errors generated.
*** [objs/addon/src/ngx_http_encrypted_session_cipher.o] Error code 1

make[2]: stopped in /var/ports/work/usr/ports/www/nginx-full/work/nginx-1.14.1
1 error

make[2]: stopped in /var/ports/work/usr/ports/www/nginx-full/work/nginx-1.14.1
*** [build] Error code 2

make[1]: stopped in /var/ports/work/usr/ports/www/nginx-full/work/nginx-1.14.1

make[1]: stopped in /var/ports/work/usr/ports/www/nginx-full/work/nginx-1.14.1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/nginx-full


My build environments are as follows:

admin@jdtpkx:~ % uname -a
FreeBSD jdtpkx 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r339677M: Fri Oct 26 14:56:49 JST 2018     root@msrvkx:/usr/obj/usr/src/amd64.amd64/sys/XIJ  amd64
admin@jdtpkx:~ % cat /etc/make.conf
PORTSDIR=               /var/ports/jdtpkx
INDEXDIR=               /var/ports/jdtpkx
WRKDIRPREFIX=           /var/ports/work
PACKAGES=               /var/ports/packages
DISTDIR=                /var/ports/distfiles
BATCH=                  yes
DEFAULT_VERSIONS=       perl5=5.28 ruby=2.5
#DEFAULT_VERSIONS+=     linux=c7 perl5=5.28 python=2.7 ruby=2.5
#DEFAULT_VERSIONS=      linux=c7 perl5=5.28 ruby=2.5
COMPILER_TYPE=          clang
USE_PACKAGE_DEPENDS=    yes
DISABLE_VULNERABILITIES=yes
admin@jdtpkx:~ % df -h
Filesystem                                       Size    Used   Avail Capacity  Mounted on
/dev/vtbd0p2                                      28G    3.5G     22G    13%    /
devfs                                            1.0K    1.0K      0B   100%    /dev
linprocfs                                        4.0K    4.0K      0B   100%    /compat/linux/proc
tmpfs                                             11G    4.0K     11G     0%    /compat/linux/dev/shm
vm.pis:/.dake                                     14T     49G     14T     0%    /.dake
vm.pis:/ds/src/current/13.0/r339677.xij           14T     59G     14T     0%    /usr/src
vm.pis:/ds/obj/current/13.0/r339677.xij           14T    166G     14T     1%    /usr/obj
vm.pis:/ds/ports/r484802                          14T     22G     14T     0%    /usr/ports
vm.pis:/ds/distfiles                              14T     11G     14T     0%    /var/ports/distfiles
vm.pis:/ds/packages/13.0C/r339677.xij/r484802     14T     15G     14T     0%    /var/ports/packages
admin@jdtpkx:~ % 

root@vm:~ # svnlite info /ds/ports/r484802
Path: /ds/ports/r484802
Working Copy Root Path: /ds/ports/r484802
URL: http://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: http://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 484802
Node Kind: directory
Schedule: normal
Last Changed Author: se
Last Changed Rev: 484802
Last Changed Date: 2018-11-12 21:46:48 +0900 (Mon, 12 Nov 2018)

root@vm:~ # 

Any suggesions ?

[1] http://ds.truefc.org/~kiri/freebsd/ports/nginx.log

Regards

---
KIRIYAMA Kazuhiko




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811152252.wAFMq05w015595>