Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2013 16:10:19 GMT
From:      Yuan-Chung Hsiao <ychsiao@ychsiao.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175862: nginx with iconv was fail
Message-ID:  <201302051610.r15GAJ52012941@red.freebsd.org>
Resent-Message-ID: <201302051620.r15GK2uU082124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175862
>Category:       ports
>Synopsis:       nginx with iconv was fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 05 16:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yuan-Chung Hsiao
>Release:        9.1
>Organization:
Shu-Te University
>Environment:
FreeBSD web 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
===>>> Port directory: /usr/ports/www/nginx

===>>> Launching 'make checksum' for www/nginx in background
===>>> Gathering dependency list for www/nginx from ports
===>>> Initial dependency check complete for www/nginx


===>>> Starting build for www/nginx <<<===

===>>> All dependencies are up to date

===>  Cleaning for nginx-1.2.6,1

This port install Passenger module only

===>  License BSD accepted by the user
===>  Found saved configuration for nginx-1.2.6,1
===>   nginx-1.2.6,1 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for nginx-1.2.6,1
=> SHA256 Checksum OK for nginx-1.2.6.tar.gz.
=> SHA256 Checksum OK for passenger-3.0.19.tar.gz.
=> SHA256 Checksum OK for calio-iconv-nginx-module-v0.10rc7-0-gabdac17.tar.gz.
===>   nginx-1.2.6,1 depends on file: /usr/local/bin/ruby19 - found
===>  Patching for nginx-1.2.6,1
===>   nginx-1.2.6,1 depends on file: /usr/local/bin/ruby19 - found
===>  Applying extra patch /usr/ports/www/nginx/files/extra-patch-passenger-build-nginx.rb
===>  Applying extra patch /usr/ports/www/nginx/files/extra-patch-calio-iconv-nginx-module-config
===>  Applying FreeBSD patches for nginx-1.2.6,1
===>   nginx-1.2.6,1 depends on file: /usr/local/bin/ruby19 - found
===>   nginx-1.2.6,1 depends on file: /usr/local/bin/rake - found
===>   nginx-1.2.6,1 depends on shared library: pcre - found
===>   nginx-1.2.6,1 depends on shared library: iconv - found
===>  Configuring for nginx-1.2.6,1
checking for OS
 + FreeBSD 9.1-RELEASE amd64
checking for C compiler ... found
 + using GNU C compiler
checking for --with-ld-opt="-L /usr/local/lib" ... found
checking for gcc builtin atomic operations ... found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... not found
checking for FreeBSD specific features
 + sendfile() found
 + sendfile()'s SF_NODISKIO found
 + POSIX semaphores should work
 + kqueue found
 + kqueue's NOTE_LOWAT found
 + kqueue's EVFILT_TIMER found
 + cpuset_setaffinity() found
checking for poll() ... found
checking for /dev/poll ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... found
checking for SO_ACCEPTFILTER ... found
checking for TCP_DEFER_ACCEPT ... not found
checking for TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT ... found
checking for TCP_INFO ... found
checking for accept4() ... not found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 8 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... found
checking for pread() ... found
checking for pwrite() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... not found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
configuring additional modules
adding module in /usr/ports/www/nginx/work/passenger-3.0.19/ext/nginx
*** The Phusion Passenger support files are not yet compiled. Compiling them for you... ***
*** Running 'rake nginx RELEASE=yes' in /usr/ports/www/nginx/work/passenger-3.0.19/ext/nginx... ***
(in /usr/ports/www/nginx/work/passenger-3.0.19)
mkdir -p ext/common/libboost_oxt
c++ -Iext  -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<ext/hash_fun.h>" -DHAS_SFENCE -DHAS_LFENCE  -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -pipe -DNDEBUG -fno-strict-aliasing  -DBOOST_DISABLE_ASSERTS -o ext/common/libboost_oxt/aggregate.o -c ext/common/libboost_oxt/aggregate.cpp
mkdir -p ext/common/libboost_oxt
rm -rf ext/common/libboost_oxt.a
ar cru ext/common/libboost_oxt.a ext/common/libboost_oxt/aggregate.o
ranlib ext/common/libboost_oxt.a
mkdir -p ext/common/libpassenger_common
c++ -Iext -Iext/common   -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<ext/hash_fun.h>" -DHAS_SFENCE -DHAS_LFENCE  -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -pipe -DNDEBUG -fno-strict-aliasing  -DBOOST_DISABLE_ASSERTS -o ext/common/libpassenger_common/aggregate.o -c ext/common/libpassenger_common/aggregate.cpp
rm -rf ext/common/libpassenger_common.a
ar cru ext/common/libpassenger_common.a ext/common/libpassenger_common/aggregate.o
ranlib ext/common/libpassenger_common.a
*** Phusion Passenger support files have been successfully compiled. ***
checking for Math library ... found
 + ngx_http_passenger_module was configured
adding module in /usr/ports/www/nginx/work/calio-iconv-nginx-module-abdac17
error: ngx_devel_kit is required to build ngx_iconv; please put it before ngx_iconv.
===>  Script "configure" failed unexpectedly.
Please report the problem to osa@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/nginx/work/nginx-1.2.6/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/www/nginx.
*** [build] Error code 1

Stop in /usr/ports/www/nginx.

===>>> make failed for www/nginx
===>>> Aborting update

Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> www/nginx




>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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