Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46219

Summary: dev-db/firebird-1.0.3 Unable to complete network request to host "10.0.0.1"
Product: Gentoo Linux Reporter: Hans-Christian Armingeon <mog.johnny>
Component: Current packagesAssignee: Carsten Lohrke (RETIRED) <carlo>
Status: RESOLVED WONTFIX    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hans-Christian Armingeon 2004-03-30 01:56:31 UTC
# emerge qt
Calculating dependencies ...done!
>>> emerge (1 of 2) dev-db/firebird-1.0.3 to /
>>> md5 src_uri ;-) FirebirdCS-1.0.3.972-0.tar.gz
>>> md5 src_uri ;-) Firebird-1.0.3.972.src.tar.gz
>>> Unpacking source...
>>> Unpacking FirebirdCS-1.0.3.972-0.tar.gz to /var/tmp/portage/firebird-1.0.3/work
>>> Unpacking Firebird-1.0.3.972.src.tar.gz to /var/tmp/portage/firebird-1.0.3/work
patching file builds/original/build_kit
patching file builds/original/prefix.linux
patching file jrd/val.c
>>> Source unpacked.



- Firebird - Database build setup ----------------------------

From command line :
Host  OS Type                            : LINUX
Build Type                               : PROD
Boot Type Build                          : No

File IO bit size (32/64)                 : 64

From env. variables:
INTERBASE    (previous firebird install) : /var/tmp/portage/firebird-1.0.3/work/FirebirdCS-1.0.3.972-0/opt/interbase/
ISC_USER     (admin user)                : sysdba
ISC_PASSWORD (admin password)            : masterkey

If you wish to have different values please set them before running
this script
--------------------------------------------------------------

- Setting build version strings in file jrd/build_no.h

- building std databases
gbak: ERROR: Unable to complete network request to host "10.0.0.1".
gbak: ERROR:     Failed to establish a connection.
gbak: ERROR:     Connection refused
gbak: Exiting before completion due to errors
gbak: ERROR: cannot open backup file jrd/isc.gbk
gbak: Exiting before completion due to errors
rm: cannot remove `jrd/isc.gbk': No such file or directory
gbak: ERROR: Unable to complete network request to host "10.0.0.1".
gbak: ERROR:     Failed to establish a connection.
gbak: ERROR:     Connection refused
gbak: Exiting before completion due to errors
gbak: ERROR: cannot open backup file qli/help.gbk
gbak: Exiting before completion due to errors
rm: cannot remove `qli/help.gbk': No such file or directory
Use CONNECT or CREATE DATABASE to specify a database
Statement failed, SQLCODE = -902

Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
Use CONNECT or CREATE DATABASE to specify a database
gbak: ERROR: Unable to complete network request to host "10.0.0.1".
gbak: ERROR:     Failed to establish a connection.
gbak: ERROR:     Connection refused
gbak: ERROR: failed to create database forms.gdb
gbak: Exiting before completion due to errors
gbak: ERROR: Unable to complete network request to host "10.0.0.1".
gbak: ERROR:     Failed to establish a connection.
gbak: ERROR:     Connection refused
gbak: ERROR: failed to create database msg.gdb
gbak: Exiting before completion due to errors
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/utilities/rebuild.gdl:19: Database "rebuild.gdb" exists but cannot be opened
- building examples
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/examples/atlas.gdl:25: Database "atlas.gdb" exists but cannot be opened
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/examples/emp.gdl:20: Database "emp.gdb" exists but cannot be opened
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/examples/slides.gdl:19: Database "slides.gdb" exists but cannot be opened
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/examples/nc_guide.gdl:20: Database "nc_guide.gdb" exists but cannot be opened
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/examples/c_guide.gdl:20: Database "c_guide.gdb" exists but cannot be opened
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
/var/tmp/portage/firebird-1.0.3/work/interbase/examples/stocks.gdl:20: Database "stocks.gdb" exists but cannot be opened
837
837
Use CONNECT or CREATE DATABASE to specify a database
Statement failed, SQLCODE = -902

Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
ISQL Version: LI-V1.0.3.972 Firebird 1.0.3
Use CONNECT or CREATE DATABASE to specify a database
[many identical lines snipped]
Use CONNECT or CREATE DATABASE to specify a database
Statement failed, SQLCODE = -902

Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
ISQL Version: LI-V1.0.3.972 Firebird 1.0.3
Use CONNECT or CREATE DATABASE to specify a database
[many identical lines snipped]
Use CONNECT or CREATE DATABASE to specify a database

- Setting build version strings in file jrd/build_no.h

- Setting up the superserver directory structure

- Creating messages link

- Setting up makefile and database links

- Setting up plaform specific makefiles

- Directory setup is now complete!

--------------------------------------------------------------

The next step in building the Firebird database, is to setup
environment variables required for compilation
Then compile either the classic firebird or super firebird
(If unsure try classic - which is target firebird)

 $source Configure_SetupEnv.sh
 $make (firebird|super_firebird) > make.log 2>&1

sh -c 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; then cp source/jrd/iberror.h source/interbase/include/iberror.h; fi'
cmp: source/interbase/include/iberror.h: No such file or directory
Building GDS.H...
sh -c 'cd source/jrd; make CFLAGS=" -mcpu=i486 -pipe -O2 -fpic -DFLINTSTONE -DLINUX -Wall -fwritable-strings -I/var/tmp/portage/firebird-1.0.3/work/interbase/interbase/include " SYSTEM="builds" gds.h'
make[1]: Entering directory `/var/tmp/portage/firebird-1.0.3/work/interbase/jrd'
cat ibase.h gdsold.h > gds.h
make[1]: Leaving directory `/var/tmp/portage/firebird-1.0.3/work/interbase/jrd'
Building the include directory...
cat source/jrd/ibase.h source/jrd/gdsold.h > source/interbase/include/gds.h
cp source/extlib/ib_util.h source/interbase/include/ib_util.h
cp source/jrd/gds.hxx source/interbase/include/gds.hxx
cp source/jrd/perf.h source/interbase/include/perf.h
cp source/jrd/ibase.h source/interbase/include/ibase.h
sh -c 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; then cp source/jrd/iberror.h source/interbase/include/iberror.h; fi'
cp source/jrd/gds_sun.f source/interbase/include/gds.f
Building security.c ...
sh -c 'cd source/utilities; make CFLAGS=" -mcpu=i486 -pipe -O2 -fpic -DFLINTSTONE -DLINUX -Wall -fwritable-strings -I/var/tmp/portage/firebird-1.0.3/work/interbase/interbase/include " SYSTEM="builds" security.c'
make[1]: Entering directory `/var/tmp/portage/firebird-1.0.3/work/interbase/utilities'
source/interbase/bin/gpre -r -m -z -n security.e
gpre version LI-V6.2.972 Firebird 1.0.3
Unable to complete network request to host "10.0.0.1".
-Failed to establish a connection.
-Connection refused
(E) security.e:39: Couldn't access database DB = 'isc.gdb'
1 error, no warnings
make[1]: *** [security.c] Error 1
make[1]: Leaving directory `/var/tmp/portage/firebird-1.0.3/work/interbase/utilities'
make: *** [security_c] Error 2

!!! ERROR: dev-db/firebird-1.0.3 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)

Well, this is a diskless box. The NFS Server is 10.0.0.1 .

I have no clue what has gone wron, I did a grep -r 10.0.0.1 /etc , and it didn't find something, exept /etc/afs/CellServDB fstab resolv.conf /etc/X11/X /etc/ssh/moduli ;-).

Reproducible: Always
Steps to Reproduce:
1. emerge firebird
2.
3.

Actual Results:  
 

Expected Results:  
 

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-netboot)  
=================================================================  
System uname: 2.4.25-netboot i686 Intel(R) Pentium(R) 4 CPU 2.40GHz  
Gentoo Base System version 1.4.3.13  
distcc 2.12.1 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632)  
[enabled]  
ccache version 2.3 [enabled]  
Autoconf: sys-devel/autoconf-2.58-r1  
Automake: sys-devel/automake-1.7.7  
ACCEPT_KEYWORDS="x86"  
AUTOCLEAN="yes"  
CFLAGS="-O3 -mcpu=i486 -funroll-loops -pipe"  
CHOST="i486-pc-linux-gnu"  
COMPILER="gcc3"  
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"  
CXXFLAGS="-O3 -mcpu=i486 -funroll-loops -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoaddcvs ccache distcc sandbox"  
GENTOO_MIRRORS="http://192.168.1.151 http://gentoo.oregonstate.edu  
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/portage"  
SYNC="rsync://rsync/gentoo-portage"  
USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr  
crypt cscope cups curl dga directfb doc dvd emacs encode esd ethereal evo  
fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm  
gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java  
jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda  
libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi  
mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda  
pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime  
readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga  
tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms  
xosd xv zeo zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-01 15:17:30 UTC
still no fix for http://www.gentoo.org/security/en/glsa/glsa-200405-18.xml,

<dev-db/firebird-1.5 ebuilds will be removed shortly