]1;]2;Started emerge on: Feb 26, 2004 22:07:37]1;]2; *** emerge firebird]1;]2; >>> emerge (1 of 1) dev-db/firebird-1.5.0 to /]1;]2; === (1 of 1) Cleaning (dev-db/firebird-1.5.0::/usr/portage/dev-db/firebird/firebird-1.5.0.ebuild)]1;]2; === (1 of 1) Compiling/Merging (dev-db/firebird-1.5.0::/usr/portage/dev-db/firebird/firebird-1.5.0.ebuild) * Adding group 'firebird' to your system ... * firebird already exists on your system :) * Adding user 'firebird' to your system ... * firebird already exists on your system :) >>> Unpacking source... >>> Unpacking firebird-1.5.0.4290.tar.bz2 to /var/tmp/portage/firebird-1.5.0/work >>> Source unpacked. AUTOCONF=autoconf LIBTOOL=libtool LIBTOOLiZE=libtoolize Running libtoolize ... Putting files in AC_CONFIG_AUX_DIR, `builds/make.new/config'. Running autoconf ... Running ./configure --prefix=/opt/firebird --with-editline ... checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gawk... gawk checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes ./configure: line 19075: test: too many arguments checking for bison... bison -y checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking libio.h usability... yes checking libio.h presence... yes checking for libio.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for unistd.h... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking rpc/rpc.h usability... yes checking rpc/rpc.h presence... yes checking for rpc/rpc.h... yes checking netconfig.h usability... no checking netconfig.h presence... no checking for netconfig.h... no checking for rpc/xdr.h... yes checking aio.h usability... yes checking aio.h presence... yes checking for aio.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking mnttab.h usability... no checking mnttab.h presence... no checking for mnttab.h... no checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for main in -ldl... yes checking for main in -lc... yes checking for main in -lm... yes checking for main in -lcrypt... yes checking for main in -lcurses... yes checking for main in -lstdc++... yes checking for strlcpy... no checking for strlcat... no checking for gettimeofday... yes checking if gettimeofday accepts second (timezone) argument... yes checking for time... yes checking for times... yes checking for library containing gethostname... none required checking for library containing connect... none required checking for strcasecmp... yes checking for stricmp... no checking for library containing dirname... none required checking for dirname... yes checking for sigaction... yes checking for setitimer... yes checking for snprintf... yes checking for swab... yes checking for _swab... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for setgrp... no checking for setpgid... yes checking for getpgrp... yes checking whether setpgrp takes no argument... yes checking for flock... yes checking for initgroups... yes checking for getpagesize... (cached) yes checking for crypt... yes checking for pread... yes checking for pwrite... yes checking for getcwd... yes checking for getwd... yes checking for setmntent... yes checking for getmntent... yes checking if getmntent needs second argument... no checking for tcgetattr... yes checking for strdup... yes checking for mkstemp... yes checking whether byte ordering is bigendian... no checking for working volatile... yes checking return type of signal handlers... void checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for native large file support... no checking for void*... yes checking size of void*... 8 checking for long... yes checking size of long... 8 checking for socklen_t... yes checking for semun... no checking if sem.h defines semun... no checking for struct XDR::xdr_ops... no checking for struct xdr_ops... yes checking alignment of long... 8 checking alignment of double... 8 checking for /proc/self/exe... yes configure: creating ./config.status files are identical config.status: creating gen/install/makeInstallImage.sh config.status: creating gen/install/scripts/preinstall.sh config.status: creating gen/install/scripts/tarinstall.sh config.status: creating gen/install/scripts/tarMainInstall.sh config.status: creating gen/install/scripts/taruninstall.sh config.status: creating gen/install/scripts/tarMainUninstall.sh config.status: creating gen/install/scripts/postinstall.sh config.status: creating gen/install/scripts/preuninstall.sh config.status: creating gen/install/scripts/postuninstall.sh config.status: creating gen/install/scripts/rpmheader.txt config.status: creating gen/install/scripts/rpmfiles.txt config.status: creating gen/install/misc/firebird.conf config.status: creating gen/install/misc/aliases.conf config.status: creating gen/install/misc/firebird.xinetd config.status: creating gen/install/misc/firebird.init.d.generic config.status: creating gen/install/misc/firebird.init.d.mandrake config.status: creating gen/install/misc/firebird.init.d.suse config.status: creating gen/install/misc/firebird.init.d.debian config.status: creating gen/install/misc/firebird.init.d.gentoo config.status: creating gen/install/misc/rc.config.firebird config.status: creating gen/install/bin/changeDBAPassword.sh config.status: creating gen/install/bin/changeGdsLibraryCompatibleLink.sh config.status: creating gen/install/bin/createAliasDB.sh config.status: creating gen/install/bin/fb_config config.status: creating gen/install/bin/CSchangeRunUser.sh config.status: creating gen/install/bin/CSrestoreRootRunUser.sh config.status: creating gen/install/bin/SSchangeRunUser.sh config.status: creating gen/install/bin/SSrestoreRootRunUser.sh config.status: creating gen/make.rules config.status: creating gen/make.defaults config.status: creating gen/make.platform config.status: creating gen/make.shared.variables config.status: creating gen/make.shared.targets config.status: creating src/Makefile config.status: creating gen/Makefile.libfbcommon config.status: creating gen/Makefile.codes config.status: creating gen/Makefile.boot.gpre config.status: creating gen/Makefile.libfbstatic config.status: creating gen/Makefile.static.gpre config.status: creating gen/Makefile.static.gbak config.status: creating gen/Makefile.static.isql config.status: creating gen/Makefile.refDatabases config.status: creating gen/Makefile.libfbserver config.status: creating gen/Makefile.fbserver config.status: creating gen/Makefile.libfbclient config.status: creating gen/Makefile.client.gbak config.status: creating gen/Makefile.client.gfix config.status: creating gen/Makefile.client.gdef config.status: creating gen/Makefile.client.isql config.status: creating gen/Makefile.client.gpre config.status: creating gen/Makefile.client.qli config.status: creating gen/Makefile.client.util config.status: creating gen/Makefile.intl config.status: creating gen/Makefile.msgs config.status: creating gen/Makefile.extlib config.status: creating gen/Makefile.v5_examples config.status: creating gen/Makefile.libfbembed config.status: creating gen/Makefile.inet_server config.status: creating gen/Makefile.embed.lockmgr config.status: creating gen/Makefile.embed.util config.status: creating gen/Makefile.embed.gfix config.status: creating gen/Makefile.embed.gbak config.status: creating gen/Makefile.embed.isql config.status: creating gen/Makefile.embed.gdef config.status: creating gen/Makefile.embed.qli config.status: creating gen/Makefile.embed.gpre config.status: creating src/v5_examples/Makefile config.status: creating gen/Makefile.install config.status: creating Makefile config.status: creating gen/Makefile.extern.editline config.status: creating src/include/gen/autoconfig.h The Firebird2 package has been configured with the following options: Architecture : ClassicServer Debug : disabled 64 bit I/O : disabled Raw devices : disabled Lock manager : enabled Service name : gds_db Service port : 3050 GPRE modules : c_cxx.cpp Install Dir : /opt/firebird Now type `make' to compile Firebird2 make -C src firebird make[1]: Entering directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' misc/writeBuildNum.sh createMakeVersion ../gen/Make.Version make[1]: Leaving directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' make[1]: Entering directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' make -f ../gen/Makefile.extern.editline make[2]: Entering directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' need to rebuild ../src/extern/editline/sysunix.c echo ../temp/editline/extern/editline/sysunix.o " : FORCE" > ../temp/editline/extern/editline/sysunix.d need to rebuild ../src/extern/editline/complete.c echo ../temp/editline/extern/editline/complete.o " : FORCE" > ../temp/editline/extern/editline/complete.d need to rebuild ../src/extern/editline/editline.c echo ../temp/editline/extern/editline/editline.o " : FORCE" > ../temp/editline/extern/editline/editline.d make[2]: Leaving directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' make[2]: Entering directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' gcc -O2 -O2 -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -DANSI_ARROWS -DHIDE -DHIST_SIZE=100 -DUNIQUE_HISTORY -DSYS_UNIX -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -c ../src/extern/editline/editline.c -o ../temp/editline/extern/editline/editline.o ../src/extern/editline/editline.c:107: error: conflicting types for `read' /usr/include/unistd.h:312: error: previous declaration of `read' ../src/extern/editline/editline.c:108: error: conflicting types for `write' /usr/include/unistd.h:318: error: previous declaration of `write' make[2]: *** [../temp/editline/extern/editline/editline.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' make[1]: *** [../gen/firebird/lib/libeditline.a] Error 2 make[1]: Leaving directory `/var/tmp/portage/firebird-1.5.0/work/firebird-1.5.0.4290/src' make: *** [firebird] Error 2 !!! ERROR: dev-db/firebird-1.5.0 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! error during make Calculating dependencies  ...done! >>> emerge (1 of 1) dev-db/firebird-1.5.0 to / >>> md5 src_uri ;-) firebird-1.5.0.4290.tar.bz2 ]1;]2; *** terminating.]1;]2;xterm