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

Bug 648218

Summary: dev-db/firebird-3.0.2.32703.0-r2,3.0.4.33054.0 build error: Unable to complete network request to host "localhost".
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: UNCONFIRMED ---    
Severity: normal CC: lssndrbarbieri, phobosk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Marcin Mirosław 2018-02-20 08:53:26 UTC
It looks that building process tries to connect to firebird server.


make[3]: Leaving directory '/var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/gen'
make gpre
make[3]: Entering directory '/var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/gen'
rm -f metadata.fdb
/var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/gen/Release/firebird/bin/isql -q -i /var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/
src/dbs/metadata.sql
Statement failed, SQLSTATE = 08006
Unable to complete network request to host "localhost".
-Failed to establish a connection.
After line 21 in file /var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/src/dbs/metadata.sql
make[3]: *** [Makefile:331: metadata.fdb] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/gen'
make[2]: *** [Makefile:181: master_process] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/gen'
make[1]: *** [Makefile:66: firebird] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/firebird-3.0.2.32703.0-r2/work/Firebird-3.0.2.32703-0/gen'
make: *** [Makefile:6: firebird] Error 2
 * ERROR: dev-db/firebird-3.0.2.32703.0-r2::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always
Comment 1 Marcin Mirosław 2018-02-20 08:55:48 UTC
Created attachment 520266 [details]
build.log
Comment 2 Marcin Mirosław 2018-02-20 08:57:16 UTC
# emerge --info                                                                                                                                                               [44/3852]Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-7.3.0, glibc-2.25-r9, 4.15.0+ x86_64)                                                                  =================================================================
System uname: Linux-4.15.0+-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v2_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:     1017260 total,     41396 free
KiB Swap:    1689592 total,    742124 free
Timestamp of repository gentoo: Sun, 18 Feb 2018 12:30:01 +0000
Head commit of repository gentoo: 1e4d76f75a988b18620c59e8c44376a5183807d6
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: -O

Installed sets: @masscheck, @nagios-plugins, @sheepdog
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fno-asynchronous-unwind-tables -fuse-linker-plugin -s    -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/
cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fno-asynchronous-unwind-tables -fuse-linker-plugin -s    -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fno-asynchronous-unwind-tables -fuse-linker-plugin -s    -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
FEATURES="assume-digests binpkg-logs ccache cgroup collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parallel-ins
tall preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=westmere -mtune=native    -fno-unwind-tables -fno-asynchronous-unwind-tables -fuse-linker-plugin -s    -ftracer    -fuse-ld=gold -fvar-tracking-assignments"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exc
lude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl aio amd64 apache2 bash-completion bzip2 caps crypt cxx hardened iconv idn ipv6 lto modules nano-syntax ncurses nls nptl openmp pcre pie readline seccomp smp ssl ssp threads unicode vh
osts vim-syntax xattr xtpax zlib" ABI_X86="64" APACHE2_MODULES="alias authn_core access_compat auth_basic authz_core authn_alias authn_anon auth_digest authn_dbm authn_default authn_file authz
_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cgi dav dav_fs dav_lock dir env expires ext_filter filter headers hugepages include info log_config logio mime mi
me_magic negotiation remoteip rewrite setenvif status unique_id unixd socache_shmcb usertrack vhost_alias" APACHE2_MPMS="itk" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita
karbon braindump author" COLLECTD_PLUGINS="apache aggregation bind cgroups conntrack contextswitch cpu curl curl_json df disk dns email entropy ethstat exec filecount interface iptables irq lv
m match_regex mysql netlink load memory network nginx notify_email ntpd openvpn ping postgresql processes protocols rrdcached rrdtool snmp statsd swap syslog tail tail_csv tcpconns unixsock up
time vmem" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" KERNEL="linux" L10N="en" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MO
DULES_HTTP="access browser charset fastcgi gzip map limit_zone proxy rewrite http2 stub_status gzip_static" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0 php7-1" POSTGRES_TARGETS="po
stgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby21" USERLAND="GNU" XTABLES_ADDONS="fuzzy geoip lscan psd sysrq tarpit"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 3 Ian Schram 2019-06-21 23:45:07 UTC
I ran into this,


steps to reproduce:

echo exit 0 > /tmp/a.out; chmod +x /tmp/a.out
emerge firebird
Comment 4 Alessandro Barbieri 2020-05-25 19:48:47 UTC
Same for version 3.0.4.33054.0
Comment 5 PhobosK 2020-09-27 17:14:13 UTC
For dev-db/firebird-3.0.4.33054.0 the error is:

make[3]: Entering directory '/dev/shm/portage/dev-db/firebird-3.0.4.33054.0/work/Firebird-3.0.4.33054-0/gen'
rm -f metadata.fdb
/dev/shm/portage/dev-db/firebird-3.0.4.33054.0/work/Firebird-3.0.4.33054-0/gen/Release/firebird/bin/isql -q -i /dev/shm/portage/dev-db/firebird-3.0.4.33054.0/work/Firebird-3.0.4.33054-0/src/dbs/metadata.sql
can't format message 17:0 -- message file /usr/lib64/firebird/firebird.msg not found
Unable to complete network request to host "localhost".
-Failed to establish a connection.
can't format message 17:120 -- message file /usr/lib64/firebird/firebird.msg not found
make[3]: *** [Makefile:353: metadata.fdb] Error 1
make[3]: Leaving directory '/dev/shm/portage/dev-db/firebird-3.0.4.33054.0/work/Firebird-3.0.4.33054-0/gen'
make[2]: *** [Makefile:183: master_process] Error 2
make[2]: Leaving directory '/dev/shm/portage/dev-db/firebird-3.0.4.33054.0/work/Firebird-3.0.4.33054-0/gen'
make[1]: *** [Makefile:66: firebird] Error 2
make[1]: Leaving directory '/dev/shm/portage/dev-db/firebird-3.0.4.33054.0/work/Firebird-3.0.4.33054-0/gen'
make: *** [Makefile:6: firebird] Error 2
 * ERROR: dev-db/firebird-3.0.4.33054.0::gentoo failed (compile phase):
 *   emake failed
 *
Comment 6 hololeap 2021-10-16 21:47:59 UTC
I am also experiencing this bug with dev-db/firebird-3.0.4.33054.0 and cannot proceed. I have to disable USE=base for libreoffice because of this.

This seems to be relevant in the source code:
https://github.com/FirebirdSQL/firebird/blob/3d47c2224c255f5cc05495628963ebb32c88b622/builds/posix/Makefile.in#L402-L436

The current version is now over three years old, so hopefully there will be a bump to this package soon.
Comment 7 Bogdan 2021-11-30 10:50:38 UTC
I have the same error.

dev-db/firebird-3.0.4.33054.0-r1
> can't format message 17:0 -- message file /usr/lib64/firebird/firebird.msg not found
> Unable to complete network request to host "localhost".
> -Failed to establish a connection.
> can't format message 17:120 -- message file /usr/lib64/firebird/firebird.msg not found
> make[3]: *** [Makefile:353: metadata.fdb] Error 1