Hello, interbase/Configure.sh exits with usage information. Apparently it expects to be invoked as Configure.sh DEV|PROD OSTYPE while the ebuild (1.0.3) runs Configure.sh with no OSTYPE argument and thus it fails. (see additional info for output). [I am aware that ./Configure.sh claims OSTYPE defaults to LINUX and is optional, but it's not] Also, when I modify the ebuild to read ./Configure.sh PROD LINUX , it goes a little farther but still fails with some other error which I'll submit as a seperate bug report. (unless I figure out I was being stupid first) Thank you for you interest regardless of whether this bug is legit or not. Reproducible: Always Steps to Reproduce: 1. emerge firebird 2. 3. Actual Results: bastardo root # emerge firebird Calculating dependencies ...done! >>> emerge (1 of 1) 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. Unable to automatically determine the OS system type for the build you will need to specify it manually usage is : ./Configure.sh DEV|PROD [system] Where system defaults to : Linux or you can manually specify one of the following: AIX|AP|AX|DELTA|DG|EPSON|HP700|HP800|HP9.0| HP10|HP11|IMP|MU|SCO|SGI|SOLARIS|SUN4|UNIXWARE| AIX_PPC|LINUX|FREEBSD|NETBSD|DARWIN|SINIXZ /usr/sbin/ebuild.sh: line 36: cd: /var/tmp/portage/firebird-1.0.3/work/interbase/interbase/lib: No such file or directory make: Nothing to be done for `firebird'. make: *** No rule to make target `classictarfile'. Stop. !!! ERROR: dev-db/firebird-1.0.3 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! (no error message) bastardo root # Expected Results: not fail bastardo interbase # emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.11 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium4 -pipe" CHOST="i686-pc-linux-gnu" 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" CXXFLAGS="-mcpu=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://www.fhh.opensource-mirror.de/gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline tetex bonobo svga ggi tcltk java guile ruby mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde opengl ldap snmp scanner curl mmx -nls -arts -aalib -motif -mozilla" bastardo interbase #
Hmm, the lines after source unpacked should've been: - 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 -------------------------------------------------------------- What's the additional error you've mentiond (after adding OS type to the ebuild) ?
Thank you for looking into this. I've actually tracked the problem down.. My LC_CTYPE is normally set to tr_TR (iso8859-9 Turkish). I've noticed this might be a problem when the missing file name below read prefix.lınux instead of prefix.linux . Because it's using the wrong character, thee file cannot be found. After setting LC_ALL to en_US, that error disappears, even without manuallyl putting the build type in the ebuild. I'm actually having a similar problem with building glibc so this is nothing new for me, except I don't know why it's happening in the first place. (glibc still doesn't build looking for a file with a 8859-9 ONLY character in it even if I do set LC_ALL=en_US) Thanks again. I would appreciate input, if you can think of anything to keep LC_CTYPE=tr_TR and be able to emerge properly at the same time. Thank you for taking a look at this. Here's the output of emerge after adding build type to the build script. bastardo root # emerge firebird Calculating dependencies ...done! >>> emerge (1 of 1) 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/w ork >>> Unpacking Firebird-1.0.3.972.src.tar.gz to /var/tmp/portage/firebird-1.0.3/w ork 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 Use CONNECT or CREATE DATABASE to specify a database - building examples 837 837 Use CONNECT or CREATE DATABASE to specify a database ISQL Version: LI-V1.0.3.972 Firebird 1.0.3 Firebird/linux Intel (access method), version "LI-V6.2.972 Firebird 1.0.3" on disk structure version 10.0 SQL warning code = 301 -DATE data type is now called TIMESTAMP SQL warning code = 301 -DATE data type is now called TIMESTAMP SQL warning code = 301 -DATE data type is now called TIMESTAMP -SQL warning code = 301 -DATE data type is now called TIMESTAMP -SQL warning code = 301 SQL warning code = 301 -DATE data type is now called TIMESTAMP Use CONNECT or CREATE DATABASE to specify a database ISQL Version: LI-V1.0.3.972 Firebird 1.0.3 Firebird/linux Intel (access method), version "LI-V6.2.972 Firebird 1.0.3" on disk structure version 10.0 SQL warning code = 301 -DATE data type is now called TIMESTAMP SQL warning code = 301 -DATE data type is now called TIMESTAMP SQL warning code = 301 -DATE data type is now called TIMESTAMP -SQL warning code = 301 -DATE data type is now called TIMESTAMP -SQL warning code = 301 SQL warning code = 301 -DATE data type is now called TIMESTAMP - 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 cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory cat: prefix.lınux: No such file or directory - 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 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; th en source/jrd/iberror.h source/interbase/include/iberror.h; fi' make: cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; then source/jrd/iberror.h source/interbase/include/iberror.h; fi: Command no t found make: *** [run_codes] Error 127 !!! ERROR: dev-db/firebird-1.0.3 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message)
So it's a locale issue. Maybe portage should reset locale env vars while emerging ? This should resolve simillar problems you're having with other ebuilds as well. Setting this to fixed, please reset to NEW if you think otherwise.