From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 8 14:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3809D1065672 for ; Tue, 8 Dec 2009 14:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ECAB08FC1A for ; Tue, 8 Dec 2009 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB8Ee1Sf043285 for ; Tue, 8 Dec 2009 14:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB8Ee1SN043284; Tue, 8 Dec 2009 14:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 8 Dec 2009 14:40:01 GMT Resent-Message-Id: <200912081440.nB8Ee1SN043284@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oleg Gawriloff Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCF8E106566B for ; Tue, 8 Dec 2009 14:39:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C9FC88FC08 for ; Tue, 8 Dec 2009 14:39:21 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nB8EdLFK008628 for ; Tue, 8 Dec 2009 14:39:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nB8EdLqI008615; Tue, 8 Dec 2009 14:39:21 GMT (envelope-from nobody) Message-Id: <200912081439.nB8EdLqI008615@www.freebsd.org> Date: Tue, 8 Dec 2009 14:39:21 GMT From: Oleg Gawriloff To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/141279: postgresql81-client depends on libicu X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2009 14:40:02 -0000 >Number: 141279 >Category: misc >Synopsis: postgresql81-client depends on libicu >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 08 14:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Oleg Gawriloff >Release: 7.2 >Organization: Atlant Telecom >Environment: FreeBSD db-test.telecom.by 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon May 11 23:19:09 EEST 2009 root@db-test.telecom.by:/usr/obj/usr/src/sys/DB-TEST i386 >Description: We trying to upgrade from postgresql-client-8.4.0_1 to latest postgresql-client-8.4.1 with icu-3.8.1_2 installed and have following error: root@db-test:~$portupgrade postgresql-client ---> Upgrading 'postgresql-client-8.4.0_1' to 'postgresql-client-8.4.1' (databa ses/postgresql84-client) ---> Building '/usr/ports/databases/postgresql84-client' ===> Cleaning for postgresql-client-8.4.1 ===> Found saved configuration for postgresql-client-8.4.0_1 => postgresql-8.4.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/postgr esql. => Attempting to fetch from ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql/ source/v8.4.1/. fetch: transfer timed out => Attempting to fetch from ftp://ftp10.us.postgresql.org/pub/postgresql/source/ v8.4.1/. fetch: transfer timed out => Attempting to fetch from http://ring.nict.go.jp/archives/misc/db/postgresql/s ource/v8.4.1/. postgresql-8.4.1.tar.bz2 100% of 12 MB 14 kBps 00m00s ===> Extracting for postgresql-client-8.4.1 => MD5 Checksum OK for postgresql/postgresql-8.4.1.tar.bz2. => SHA256 Checksum OK for postgresql/postgresql-8.4.1.tar.bz2. ===> Patching for postgresql-client-8.4.1 ===> Applying FreeBSD patches for postgresql-client-8.4.1 ===> postgresql-client-8.4.1 depends on executable: gmake - found ===> postgresql-client-8.4.1 depends on shared library: intl - found ===> Configuring for postgresql-client-8.4.1 checking build system type... i386-portbld-freebsd7.2 checking host system type... i386-portbld-freebsd7.2 checking which template to use... freebsd checking whether to build with 64-bit integer date/time support... no checking whether NLS is wanted... yes checking for default port number... 5432 checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for WAL segment size... 16MB checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking if cc supports -Wdeclaration-after-statement... yes checking if cc supports -Wendif-labels... yes checking if cc supports -fno-strict-aliasing... yes checking if cc supports -fwrapv... yes checking whether the C compiler still works... yes checking how to run the C preprocessor... cc -E checking allow thread-safe client libraries... yes checking whether to build with Tcl... no checking whether to build Perl modules... no checking whether to build Python modules... no checking whether to build with GSSAPI support... no checking whether to build with Kerberos 5 support... no checking whether to build with PAM support... no checking whether to build with LDAP support... no checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for ranlib... ranlib checking for strip... strip checking whether it is possible to strip libraries... yes checking for ar... ar checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking for bison... bison configure: using bison (GNU Bison) 2.4.1 checking for flex... /usr/bin/flex configure: using /usr/bin/flex version 2.5.4 checking for perl... /usr/bin/perl checking for main in -lm... yes checking for library containing setproctitle... none required checking for library containing dlopen... none required checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing fdatasync... no checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for -lreadline... yes (-lreadline) checking for inflate in -lz... yes checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking kernel/OS.h usability... no checking kernel/OS.h presence... no checking for kernel/OS.h... no checking kernel/image.h usability... no checking kernel/image.h presence... no checking for kernel/image.h... no checking SupportDefs.h usability... no checking SupportDefs.h presence... no checking for SupportDefs.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for ERR_set_mark... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for preprocessor stringizing operator... yes checking for signed types... yes checking for working volatile... yes checking for __func__... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for tzname... yes checking for union semun... yes checking for struct sockaddr_un... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... yes checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... yes checking for struct addrinfo... yes checking for struct cmsgcred... yes checking for struct fcred... no checking for struct sockcred... yes checking for struct option... yes checking for z_streamp... yes checking for int timezone... no checking types of arguments for accept()... int, int, struct sockaddr *, size_t * checking whether gettimeofday takes only one argument... no checking for cbrt... yes checking for dlopen... yes checking for fcvt... no checking for fdatasync... no checking for getpeereid... yes checking for getpeerucred... no checking for getrlimit... yes checking for memmove... yes checking for poll... yes checking for pstat... no checking for readlink... yes checking for setproctitle... yes checking for setsid... yes checking for sigprocmask... yes checking for symlink... yes checking for sysconf... yes checking for towlower... yes checking for utime... yes checking for utimes... yes checking for waitpid... yes checking for wcstombs... yes checking for posix_fadvise... no checking whether posix_fadvise is declared... no checking whether fdatasync is declared... no checking whether strlcat is declared... yes checking whether strlcpy is declared... yes checking whether F_FULLFSYNC is declared... no checking for struct sockaddr_in6... yes checking for PS_STRINGS... no checking for snprintf... yes checking for vsnprintf... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for isinf... yes checking for crypt... yes checking for getopt... yes checking for getrusage... yes checking for inet_aton... yes checking for random... yes checking for rint... yes checking for srandom... yes checking for strdup... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for strtol... yes checking for strtoul... yes checking for unsetenv... yes checking for getaddrinfo... yes checking for getopt_long... yes checking for rl_completion_append_character... yes checking for rl_completion_matches... yes checking for rl_filename_completion_function... yes checking for replace_history_entry... yes checking for sigsetjmp... yes checking whether sys_siglist is declared... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for opterr... yes checking for optreset... yes checking for strtoll... yes checking for strtoull... yes checking for atexit... yes checking for fseeko... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for pthread_join in LIBS=-pthread with CFLAGS=... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... cc checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether getpwuid_r takes a fifth argument... yes checking whether strerror_r returns int... yes checking test program... ok checking whether printf supports argument control... yes checking whether long int is 64 bits... no checking whether long long int is 64 bits... yes checking snprintf format for long long int... %lld checking for unsigned long... yes checking size of unsigned long... 4 checking for void *... yes checking size of void *... 4 checking for size_t... yes checking size of size_t... 4 checking whether to build with float4 passed by value... yes checking whether to build with float8 passed by value... no checking for short... yes checking alignment of short... 2 checking for int... yes checking alignment of int... 4 checking for long... yes checking alignment of long... 4 checking for long long int... yes checking alignment of long long int... 4 checking for double... yes checking alignment of double... 4 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for sig_atomic_t... yes checking for POSIX signal interface... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for off_t... yes checking size of off_t... 8 checking for working memcmp... yes checking for library containing bind_textdomain_codeset... -lintl checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for msgfmt... msgfmt checking for msgmerge... msgmerge checking for xgettext... xgettext checking for onsgmls... no checking for nsgmls... no checking for openjade... no checking for jade... no checking for DocBook V4.2... no checking for DocBook stylesheets... no checking for collateindex.pl... no checking for sgmlspl... no checking for docbook2man... checking thread safety of required library functions... yes checking if cc supports -Wl,--as-needed... yes configure: using CFLAGS=-O2 -fno-strict-aliasing -pipe -Wall -Wmissing-prototyp es -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-alia sing -fwrapv configure: using CPPFLAGS= -I/usr/local/include configure: using LDFLAGS= -pthread -rpath=/usr/lib:/usr/local/lib -L/usr/local/ lib -Wl,--as-needed configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking ./src/backend/port/dynloader/freebsd.c to src/backend/por t/dynloader.c config.status: linking ./src/backend/port/sysv_sema.c to src/backend/port/pg_sem a.c config.status: linking ./src/backend/port/sysv_shmem.c to src/backend/port/pg_sh mem.c config.status: linking ./src/backend/port/dynloader/freebsd.h to src/include/dyn loader.h config.status: linking ./src/include/port/freebsd.h to src/include/pg_config_os. h config.status: linking ./src/makefiles/Makefile.freebsd to src/Makefile.port ===> Building for postgresql-client-8.4.1 prereqdir=`cd parser/ >/dev/null && pwd` && \ cd ../../src/include/parser/ && rm -f gram.h && \ ln -s "$prereqdir/gram.h" . gmake -C utils fmgroids.h gmake[1]: Entering directory `/var/tmp/usr/ports/databases/postgresql84-client/w ork/postgresql-8.4.1/src/backend/utils' AWK='nawk' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h gmake[1]: Leaving directory `/var/tmp/usr/ports/databases/postgresql84-client/wo rk/postgresql-8.4.1/src/backend/utils' cd ../../src/include/utils/ && rm -f fmgroids.h && \ ln -s ../../../src/backend/utils/fmgroids.h . gmake -C utils probes.h gmake[1]: Entering directory `/var/tmp/usr/ports/databases/postgresql84-client/w ork/postgresql-8.4.1/src/backend/utils' sed -f ./Gen_dummy_probes.sed probes.d >probes.h gmake[1]: Leaving directory `/var/tmp/usr/ports/databases/postgresql84-client/wo rk/postgresql-8.4.1/src/backend/utils' cd ../../src/include/utils/ && rm -f probes.h && \ ln -s ../../../src/backend/utils/probes.h . gmake: Цель `all' не требует выполнения команд. gmake: Цель `all' не требует выполнения команд. gmake[1]: Entering directory `/var/tmp/usr/ports/databases/postgresql84-client/w ork/postgresql-8.4.1/src/interfaces/libpq' msgfmt -o po/cs.mo po/cs.po /libexec/ld-elf.so.1: Shared object "libicui18n.so.36" not found, required by "m sgfmt" gmake[1]: *** [po/cs.mo] Ошибка 1 gmake[1]: Leaving directory `/var/tmp/usr/ports/databases/postgresql84-client/wo rk/postgresql-8.4.1/src/interfaces/libpq' gmake: *** [all] Ошибка 2 *** Error code 2 Stop in /usr/ports/databases/postgresql84-client. *** Error code 1 Stop in /usr/ports/databases/postgresql84-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20091208-80 183-1pmwxd5-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=postgresql-client-8.4.0_ 1 UPGRADE_PORT_VER=8.4.0_1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/postgresql84-client (postgresql-client-8.4.0_1) (unknown build error) Why this port wants to build agains so.36 when newer lib is installed: root@db-test:~$locate libicui18n /usr/local/lib/compat/pkg/libicui18n.so.36.0 /usr/local/lib/libicui18n.so /usr/local/lib/libicui18n.so.38 /usr/local/lib/libicui18n.so.38.1 root@db-test:~$pkg_which /usr/local/lib/libicui18n.so.38 icu-3.8.1_2 Older lib is also available at: root@db-test:~$locate libicui18n /usr/local/lib/compat/pkg/libicui18n.so.36.0 at he cannot find it. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: