Is postgresql83-server broken? (update: ICU and autotools problems?)

Palle Girgensohn girgen at FreeBSD.org
Mon Sep 1 12:05:44 UTC 2008



--On måndag, må 1 sep 2008 08.01.05 -0400 Alex Goncharov 
<alex-goncharov at comcast.net> wrote:

> ,--- You/Ivan (Mon, 1 Sep 2008 13:45:32 +0200) ----*
>| After I fix this manually with "make makesum", there's another problem:
>
> Did you try this simple fix instead:
>
> --------------------
> diff Makefile~ Makefile
> 110c110
> < PATCHFILES+=  pg-833-icu-xx-2008-06-11.diff.gz:icu
> ---
>> PATCHFILES+=  pg-833-icu-xx-2008-08-28.diff.gz:icu
> --------------------

Yeah, that's what I failed to commit last week, but did commit right now. 
It is all that is needed.

/Palle

>
> I just did it and so far my build is  progressing well:
>
> ----------------------------------------
> make WITH_ICU=1
>
>
>   =========== BACKUP YOUR DATA! =============
>   As always, backup your data before
>   upgrading. If the upgrade leads to a higher
>   minor revision (e.g. 7.3.x -> 7.4), a dump
>   and restore of all databases is
>   required. This is *NOT* done by the port!
>
>   Press ctrl-C *now* if you need to pg_dump.
>   ===========================================
>
> ===>  Vulnerability check disabled, database not found
> => pg-833-icu-xx-2008-08-28.diff.gz doesn't seem to exist in
> /usr/ports/distfiles/postgresql. => Attempting to fetch from
> http://people.freebsd.org/~girgen/postgresql-icu/.
> pg-833-icu-xx-2008-08-28.diff.gz              100% of 5302  B   47 kBps
> ===>  Extracting for postgresql-server-8.3.3
> => MD5 Checksum OK for postgresql/postgresql-8.3.3.tar.bz2.
> => SHA256 Checksum OK for postgresql/postgresql-8.3.3.tar.bz2.
> => MD5 Checksum OK for postgresql/pg-833-icu-xx-2008-08-28.diff.gz.
> => SHA256 Checksum OK for postgresql/pg-833-icu-xx-2008-08-28.diff.gz.
> ===>  Patching for postgresql-server-8.3.3
> ===>  Applying distribution patches for postgresql-server-8.3.3
> ===>  Applying FreeBSD patches for postgresql-server-8.3.3
> ===>   postgresql-server-8.3.3 depends on file:
> /usr/local/lib/libcrypto.so.5 - found ===>   postgresql-server-8.3.3
> depends on executable: gmake - found ===>   postgresql-server-8.3.3
> depends on file: /usr/local/bin/autoconf-2.62 - found ===>
> postgresql-server-8.3.3 depends on shared library: icudata - not found
> ===>    Verifying install for icudata in /usr/ports/devel/icu
> ===>  Vulnerability check disabled, database not found
> => icu4c-3_8_1-src.tgz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from
> http://nchc.dl.sourceforge.net/sourceforge/icu/. icu4c-3_8_1-src.tgz
> 100% of   10 MB  159 kBps 00m00s ===>  Extracting for icu-3.8.1_1
> => MD5 Checksum OK for icu4c-3_8_1-src.tgz.
> => SHA256 Checksum OK for icu4c-3_8_1-src.tgz.
> ===>  Patching for icu-3.8.1_1
> ===>  Applying FreeBSD patches for icu-3.8.1_1
> /usr/bin/sed -i.bak -e 's,\(THREADSC.*FLAGS\).*,\1=,g'
> /usr/ports/.x/i386/x01/freebsd/7.0/usr/ports/devel/icu/work/icu/source/co
> nfig/mh-bsd-gcc ===>   icu-3.8.1_1 depends on executable: gmake - found
> ===>  Configuring for icu-3.8.1_1
> Using built-in specs.
> Target: i386-undermydesk-freebsd
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 4.2.1 20070719  [FreeBSD]
> Running ./configure  --enable-shared --enable-static --enable-samples=no
> --enable-weak-threads --prefix=/usr/local --build=i386-portbld-freebsd7.1
> for FreeBSD using  compiler
>
> checking for ICU version numbers... release 3.8.1, library 38.1
> checking build system type... i386-portbld-freebsd7.1
> checking host system type... i386-portbld-freebsd7.1
> checking for gcc... cc
> 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 ANSI C... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g
> wheel checking for gmake... /usr/local/bin/gmake
> checking for doxygen... no
> checking checking for executable suffix...
> checking whether strict compiling is on... no
> checking for 64-bit executable support... yes
> checking which Makefile fragment to use... mh-bsd-gcc
> checking for floor in -lm... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether to build debug libraries... no
> checking whether to build release libraries... yes
> checking whether to enable draft APIs... yes
> checking for library API export... yes
> checking for ranlib... ranlib
> checking for ar... /usr/bin/ar
> checking whether to enable renaming of symbols... yes
> checking whether to enable function and data tracing... yes
> checking for definition of U_INLINE for C... inline
> checking for pthread_attr_init in -lpthread... yes
> checking for mmap... yes
> checking how to run the C preprocessor... cc -E
> checking for egrep... grep -E
> 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 for inttypes.h... (cached) yes
> checking for iostream usability... yes
> checking whether byte ordering is bigendian... no
> checking for nl_langinfo... yes
> checking for nl_langinfo's argument to obtain the codeset... CODESET
> checking for namespace support... yes
> checking for properly overriding new and delete... yes
> checking for placement new and delete... yes
> checking for popen... yes
> checking for tzset... yes
> checking for tzname... yes
> checking for timezone... no
> checking for __timezone... no
> checking for _timezone... no
> checking for int8_t... yes
> checking for uint8_t... yes
> checking for int16_t... yes
> checking for uint16_t... yes
> checking for int32_t... yes
> checking for uint32_t... yes
> checking for int64_t... yes
> checking for uint64_t... yes
> checking wchar.h usability... yes
> checking wchar.h presence... yes
> checking for wchar.h... yes
> checking for library containing wcscpy... none required
> checking for wchar_t... yes
> checking size of wchar_t... 4
> checking for UTF-16 string literal support... unknown
> checking for a library suffix to use... none
> configure: creating ./config.status
> config.status: creating icudefs.mk
> config.status: creating Makefile
> config.status: creating data/icupkg.inc
> config.status: creating config/Makefile.inc
> config.status: creating data/Makefile
> config.status: creating stubdata/Makefile
> config.status: creating common/Makefile
> config.status: creating i18n/Makefile
> config.status: creating layout/Makefile
> config.status: creating layoutex/Makefile
> config.status: creating io/Makefile
> config.status: creating extra/Makefile
> config.status: creating extra/uconv/Makefile
> config.status: creating extra/scrptrun/Makefile
> config.status: creating tools/Makefile
> config.status: creating tools/ctestfw/Makefile
> config.status: creating tools/toolutil/Makefile
> config.status: creating tools/makeconv/Makefile
> config.status: creating tools/genrb/Makefile
> config.status: creating tools/genuca/Makefile
> config.status: creating tools/genccode/Makefile
> config.status: creating tools/gencmn/Makefile
> config.status: creating tools/gencnval/Makefile
> config.status: creating tools/genctd/Makefile
> config.status: creating tools/gennames/Makefile
> config.status: creating tools/gentest/Makefile
> config.status: creating tools/gennorm/Makefile
> config.status: creating tools/genprops/Makefile
> config.status: creating tools/gencase/Makefile
> config.status: creating tools/genbidi/Makefile
> config.status: creating tools/genpname/Makefile
> config.status: creating tools/genbrk/Makefile
> config.status: creating tools/gensprep/Makefile
> config.status: creating tools/icupkg/Makefile
> config.status: creating tools/icuswap/Makefile
> config.status: creating tools/pkgdata/Makefile
> config.status: creating tools/tzcode/Makefile
> config.status: creating test/Makefile
> config.status: creating test/compat/Makefile
> config.status: creating test/testdata/Makefile
> config.status: creating test/testdata/pkgdata.inc
> config.status: creating test/hdrtst/Makefile
> config.status: creating test/intltest/Makefile
> config.status: creating test/cintltst/Makefile
> config.status: creating test/iotest/Makefile
> config.status: creating test/letest/Makefile
> config.status: creating samples/Makefile
> config.status: creating samples/date/Makefile
> config.status: creating samples/cal/Makefile
> config.status: creating samples/layout/Makefile
> config.status: creating common/unicode/platform.h
> config.status: creating common/icucfg.h
> You must use /usr/local/bin/gmake to build ICU.
>
> If the result of the above commands looks okay to you, go to the directory
> source in the ICU distribution to build ICU. Please remember that ICU
> needs GNU make to build properly...
> ===>  Building for icu-3.8.1_1
> rm -rf config/icu-config
> install  -o root -g wheel -m 555 ./config/icu-config-top config/icu-config
> chmod u+w config/icu-config
> sed -f ./config/make2sh.sed < ./config/Makefile.inc | grep -v '#M#' |
> uniq >> config/icu-config sed -f ./config/make2sh.sed <
> ./config/mh-bsd-gcc | grep -v '#M#' | uniq >> config/icu-config cat
> ./config/icu-config-bottom >> config/icu-config
> echo "# Rebuilt on "`date` >> config/icu-config
> chmod u-w config/icu-config
> /bin/sh ./mkinstalldirs lib
> mkdir lib
> /bin/sh ./mkinstalldirs bin
> mkdir bin
> gmake[0]: Making `all' in `stubdata'
> gmake[1]: Entering directory
> `/x01/freebsd/7.0/usr/ports/.x/i386/x01/freebsd/7.0/usr/ports/devel/icu/w
> ork/icu/source/stubdata' generating dependency information for stubdata.c
> gmake[1]: Leaving directory
> `/x01/freebsd/7.0/usr/ports/.x/i386/x01/freebsd/7.0/usr/ports/devel/icu/w
> ork/icu/source/stubdata' gmake[1]: Entering directory
> `/x01/freebsd/7.0/usr/ports/.x/i386/x01/freebsd/7.0/usr/ports/devel/icu/w
> ork/icu/source/stubdata' cc  -I../common   -pipe -O2 -fno-strict-aliasing
> -c   -o stubdata.ao stubdata.c /usr/bin/ar r libsicudata.a stubdata.ao
> /usr/bin/ar: creating libsicudata.a
> ranlib libsicudata.a
> cc  -I../common   -pipe -O2 -fno-strict-aliasing  -c -DPIC -fPIC -o
> stubdata.o stubdata.c
>
>
> -- Alex -- alex-goncharov at comcast.net --






More information about the freebsd-ports mailing list