There is new release of Firebird 2 Reproducible: Always
HOMEPAGE and SRC_URI changed. The patch for 2.1.1 doesn't apply anymore, it doesn't compile without it: gcc -Wl,-O1 -o btyacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o mstring.o reader.o readskel.o skeleton.o symtab.o verbose.o warshall.o main.o: In function `create_file_names': /var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/extern/btyacc/main.c:337: warning: the use of `mktemp' is dangerous, better use `mkstemp' make[2]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/extern/btyacc' make -f ../gen/Makefile.extern.icu make[2]: Entering directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' make -C ../extern/icu/source make: Entering an unknown directory make: *** ../extern/icu/source: No such file or directory. Stop. make: Leaving an unknown directory make[2]: *** [libicu] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' make[1]: *** [external_libraries] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' make: *** [firebird] Error 2 * * ERROR: dev-db/firebird-2.1.2.18118.0 failed.
Created attachment 191899 [details, diff] deps file patch
Created attachment 191900 [details] ebuild
Unluckily, that ebuild doesn't work for me. (gcc 4.3.3) config.status: creating gen/Makefile.extern.icu config.status: creating src/include/gen/autoconfig.h config.status: executing libtool commands ./configure: line 37244: cd: extern/icu/source: No such file or directory chmod: cannot access `runConfigureICU': No such file or directory chmod: cannot access `install-sh': No such file or directory ./configure: line 37246: ./runConfigureICU: No such file or directory The Firebird2 package has been configured with the following options: Architecture : SuperServer Debug : disabled 64 bit I/O for 32-bit platforms : enabled Raw devices : enabled Service name : gds_db Service port : 3050 GPRE modules : c_cxx.cpp Install Dir : /usr/lib/firebird make -j1 -j1 make -C gen firebird make[1]: Entering directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' ../gen/make.rules:69: *** target pattern contains no `%'. Stop. make[1]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' make: *** [firebird] Error 2 * * ERROR: dev-db/firebird-2.1.2.18118.0 failed.
Patch applies (thanks Vladimir!), but: config.status: executing libtool commands ./configure: line 37244: cd: extern/icu/source: No such file or directory chmod: cannot access `runConfigureICU': No such file or directory chmod: cannot access `install-sh': No such file or directory ./configure: line 37246: ./runConfigureICU: No such file or directory The Firebird2 package has been configured with the following options: Architecture : SuperServer Debug : disabled 64 bit I/O for 32-bit platforms : enabled Raw devices : enabled Service name : gds_db Service port : 3050 GPRE modules : c_cxx.cpp Install Dir : /usr/lib/firebird make -j5 -j1 make -C gen firebird make[1]: Entering directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' ../gen/make.rules:69: *** target pattern contains no `%'. Stop. make[1]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.2.18118.0/work/Firebird-2.1.2.18118-0/gen' make: *** [firebird] Error 2 * * ERROR: dev-db/firebird-2.1.2.18118.0 failed. Might be ICU 4.2 related, I have no idea how to handle it. Patches welcome :)
Created attachment 202692 [details] Ebuild and 2 patches
I've attached an updated ebuild as well as a modified -deps-flags-libs patch to remove an extraneous ":" which caused the error Patrick received. Also added the gcc-icu-declare patch from firebird-2.1.1.17910. This builds fine for me with icu-4.2.1 and gcc-4.3.3-r2
This ebuild works for me with icu-4.2.1 & gcc-4.4.1 . I made test, i've restore database, connect to them and execute select * from ... It seems to work. Thank you for great work.
(In reply to comment #7) > I've attached an updated ebuild as well as a modified -deps-flags-libs patch Augh, why did you mash it together like that. There's random binary crap in that file too :( Plz2untangle so I can try once more to commit a newer version.
Created attachment 203819 [details] Ebuild
Created attachment 203820 [details] Deps flags libs patch
Created attachment 203822 [details, diff] gcc icu declare patch Sorry about the mixup - I just put everything in a tar file earlier - here's everything broken up
latest version available is 2.1.3
Simply renaming ebuild and patches is enough. Thank you for info about new version.
+ 17 Sep 2009; Patrick Lauer <patrick@gentoo.org> + +firebird-2.1.2.18118.0.ebuild, + +files/firebird-2.1.2.18118.0-deps-flags-libs.patch, + +files/firebird-2.1.2.18118.0-gcc-icu-declare.patch: + Bump to 2.1.2, mostly fixes #264955. Thanks to Vladimir, John W. Higgins + and all the testers in the bug.
+ 17 Sep 2009; Patrick Lauer <patrick@gentoo.org> + +firebird-2.1.3.18185.0.ebuild: + Bump to 2.1.3, fixes #264955 +
What about ebuild for stable 2.1.4.18393 ?
Created attachment 276271 [details] firebird-2.1.4.18393.0.ebuild
Created attachment 276273 [details, diff] firebird-2.1.4.18393.0-deps-flags-libs.patch
(In reply to comment #17) > What about ebuild for stable 2.1.4.18393 ? Ok, add a patch. My firebird is ready in: localhost ~ # genlop -t dev-db/firebird-2.1.4.18393.0 * dev-db/firebird Wed Jun 8 14:09:43 2011 >>> dev-db/firebird-2.1.4.18393.0 merge time: 8 minutes and 27 seconds. localhost ~ # Take care.