Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33584 - dev-db/firebird fails to compile
Summary: dev-db/firebird fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Meir Kriheli (RETIRED)
URL: http://www.absolutek.ca/compile.log
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-15 20:51 UTC by Chase Hargraves
Modified: 2003-12-25 08:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chase Hargraves 2003-11-15 20:51:25 UTC
When I try to emerge dev-db/firebird, it fails to compile completely and I get
this error:

Building the QLI help database...
sh -c ' source/interbase/bin/gbak  source/qli/master_help_db
source/interbase/help/help.gbak'
gbak: ERROR: Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.
gbak: Exiting before completion due to errors
make: *** [help] Error 1

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

I have posted a full compile log to my website at:
http://www.absolutek.ca/compile.log (1710861 bytes).

Reproducible: Always
Steps to Reproduce:
1. emerge dev-db/firebird
Actual Results:  
The compile fails with this error message:


Building the QLI help database...
sh -c ' source/interbase/bin/gbak  source/qli/master_help_db
source/interbase/help/help.gbak'
gbak: ERROR: Your user name and password are not defined. Ask your database
administrator to set up a Firebird login.
gbak: Exiting before completion due to errors
make: *** [help] Error 1

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

Expected Results:  
It should have finished emerge'ing the software into my system and made it ready
to use.
Comment 1 Chase Hargraves 2003-11-15 20:57:41 UTC
inspiron8500 ~ # emerge -v info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-ck2)
=================================================================
System uname: 2.4.22-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.50GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ALSA_CARDS="intel8x0"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:."
CLEAN_DELAY="5"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
FEATURES="sandbox ccache autoaddcvs"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="inspiron8500"
INFODIR="/usr/share/info:/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info"
INPUTRC="/etc/inputrc"
JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.1"
JDK_HOME="/opt/blackdown-jdk-1.4.1"
KDEDIR="/usr/kde/3.1"
KDEDIRS="/usr"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAKEOPTS="-j2"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man:/usr/qt/3/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
OLDPWD="/root"
PAGER="/usr/bin/less"
PAGER="/usr/bin/less"
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/qt/2/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="3060"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.2.3/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner X qt kde cjk java tcltk tetex xml mmx sse dvd aalib cdr pda gphoto2 scanner doc slp postgres mysql odbc ldap artswrappersuid samba xinerama ggi perl acl bonobo oav joystick kerberos X509 skey dga javascript tiff alsa curl firebird flash freetds gd imap mcal snmp"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
USE_ORDER="env:conf:auto:defaults"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthYWn1nm"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 2 Joshua Kinard gentoo-dev 2003-11-15 23:04:18 UTC
dev-db/firebird isn't a Mozilla thing; re-assigning to the maintainer in metadat.xml.
Comment 3 Meir Kriheli (RETIRED) gentoo-dev 2003-11-18 04:14:06 UTC
Do you have a previous install of firebird ?
Comment 4 Chase Hargraves 2003-11-18 09:37:27 UTC
I do not have a previous install of Firebird.
Comment 5 Meir Kriheli (RETIRED) gentoo-dev 2003-11-24 01:36:07 UTC
Is it persistent every time you try to emerge it ?

I've gone over the output you linked to, and can't
find a reason why it should loose the admin user/pass
which is reported correctly at the begining of the build
process (which I truely hate :-/ ).
Comment 6 Chase Hargraves 2003-11-26 17:03:50 UTC
This bug occurs every time I try to install Firebird.
Comment 7 Sokoloff 2003-12-02 06:36:57 UTC
I had same problem.
I have changed in a file /etc/make.conf a line 
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
to a line
CFLAGS="-O3 -march=pentium4  -fprefetch-loop-arrays -pipe"

Now all 
Comment 8 Sokoloff 2003-12-02 06:36:57 UTC
I had same problem.
I have changed in a file /etc/make.conf a line 
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
to a line
CFLAGS="-O3 -march=pentium4  -fprefetch-loop-arrays -pipe"

Now all ÎÊ.
Comment 9 Chase Hargraves 2003-12-07 19:37:02 UTC
After setting my CFLAGS environment variable to:

CFLAGS="-O3 -march=pentium4  -fprefetch-loop-arrays -pipe"

I have found that Firebird compiles fine (don't know why, but atleast it compiles).

Perhaps the ebuild should have a notice for users to change their CFLAGS? or over ride the users CFLAGS?
Comment 10 Meir Kriheli (RETIRED) gentoo-dev 2003-12-09 02:17:48 UTC
Seems -funroll-loops is the source of the problem.

I can't reproduce on my machine, which uses gcc 3.3.2
right now. Could be an issue with gcc 3.2.3 ?

Added strip-flags to the ebuild which removes
-funroll-loops.

If you can, please rsync and test with your original
set of CFLAGS and report the outcome here. 10x

BTW
sokoloff, 10x for the info. You can report such
incidents to the maintainer, and have the fix added to
the ebuild ;-)
Comment 11 Meir Kriheli (RETIRED) gentoo-dev 2003-12-25 08:48:44 UTC
Looks like no further comments on this.

Closing.