Summary: | ebuild for dev-db/firebird-2.* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Almad <bugs> |
Component: | New packages | Assignee: | Karol Wojtaszek (RETIRED) <sekretarz> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | chris, flameeyes, gentoo, pierre, tiago.freire, wltjr |
Priority: | Normal | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild for dev-db/firebird (version 2.0.0_rc1) -- EBuild file
Ebuild for dev-db/firebird (version 2.0.0_rc1) -- 70firebird file firebird-2.0.0.12748.ebuild firebird-2.0.0.12748.ebuild firebird-2.0.0.12748-external-libs.patch firebird-2.0.0.12748-gentoo-freebsd.patch firebird-2.0.0.12748-make-deps.patch amd64 patch for cob.cpp empty file to reduce bug spam |
Description
Almad
2006-01-05 03:36:28 UTC
rc1 now released with source codes, I have built it with glibc 2.4 and gcc 4.1 successful, Can anyone make an ebuild for it? rc3 has released now. can anyone provide a ebuild for it? Created attachment 86600 [details]
Ebuild for dev-db/firebird (version 2.0.0_rc1) -- EBuild file
Ebuild for dev-db/firebird (version 2.0.0_rc1)
Description:
This is first crack at getting the firebird 2.0 rc1 to install on my machine (it builds and runs fine on my amd64 machine).
Files Needed:
dev-db/firebird/firebird-2.0.0_rc1.ebuild
dev-db/firebird/files/70firebird
Known issues:
1. I have not got the documentation files correct. I am just getting all the old documentation files for 1.5.x, and whatever newer PDFs were available on the server.
2. I am not creating the symlinks for pre-1.5 firebirds (look at the script to
enable them if you need to.
Steps:
1. Copy the firebird-2.0.0_rc1.ebuild file under <PORTDIR_OVERLAY>/dev-db/firebird/ folder.
2. Copy the 70firebird file under <PORTDIR_OVERLAY>/dev-db/firebird/files/ folder (create nessary directories yourself).
3. As root, "cd <PORTDIR_OVERLAY>/dev-db/firebird/". Execute "ebuild firebird-2.0.0_rc1.ebuild digest".
4. Insert line "dev-db/firebird ~amd64" into your /etc/portage/package.keywords" file (assuming you have an amd64 machine, otherwise you probably need ~x86).
5. You should be able to "emerge firebird" now.
6. After emerge, just execute "ebuild firebird-2.0.0_rc1.ebuild config" while you are under the same ebuild folder.
7. Execute "source /etc/profile".
8. Execute "/etc/init.d/firebird start" to start the server. Now "ps -aux | egrep -i 'firebird|fb'" should show that fbguard and fbserver are running.
9. Execute "isql -u sysdba -p masterkey" to get into interactive shell.
Created attachment 86601 [details]
Ebuild for dev-db/firebird (version 2.0.0_rc1) -- 70firebird file
Ebuild for dev-db/firebird (version 2.0.0_rc1)
Description:
This is first crack at getting the firebird 2.0 rc1 to install on my machine (it builds and runs fine on my amd64 machine).
Files Needed:
dev-db/firebird/firebird-2.0.0_rc1.ebuild
dev-db/firebird/files/70firebird
Known issues:
1. I have not got the documentation files correct. I am just getting all the old documentation files for 1.5.x, and whatever newer PDFs were available on the server.
2. I am not creating the symlinks for pre-1.5 firebirds (look at the script to
enable them if you need to.
Steps:
1. Copy the firebird-2.0.0_rc1.ebuild file under <PORTDIR_OVERLAY>/dev-db/firebird/ folder.
2. Copy the 70firebird file under <PORTDIR_OVERLAY>/dev-db/firebird/files/ folder (create nessary directories yourself).
3. As root, "cd <PORTDIR_OVERLAY>/dev-db/firebird/". Execute "ebuild firebird-2.0.0_rc1.ebuild digest".
4. Insert line "dev-db/firebird ~amd64" into your /etc/portage/package.keywords" file (assuming you have an amd64 machine, otherwise you probably need ~x86).
5. You should be able to "emerge firebird" now.
6. After emerge, just execute "ebuild firebird-2.0.0_rc1.ebuild config" while you are under the same ebuild folder.
7. Execute "source /etc/profile".
8. Execute "/etc/init.d/firebird start" to start the server. Now "ps -aux | egrep -i 'firebird|fb'" should show that fbguard and fbserver are running.
9. Execute "isql -u sysdba -p masterkey" to get into interactive shell.
rc2 was released, hope this ebuild will be in portage soon I can't get firebird-2.0.0_rc1 and firebird-2.0.0_rc2 compiled. Always the same error: ../src/jrd/../jrd/../jrd/gds_proto.h:37: warning: large integer implicitly truncated to unsigned type ../src/jrd/why.cpp: In function I can't get firebird-2.0.0_rc1 and firebird-2.0.0_rc2 compiled. Always the same error: ../src/jrd/../jrd/../jrd/gds_proto.h:37: warning: large integer implicitly truncated to unsigned type ../src/jrd/why.cpp: In function âwhy_hndl* WHY_alloc_handle(int, int)â: ../src/jrd/why.cpp:261: error: invalid cast from type âULONGâ to type âFB_API_HANDLEâ make[3]: *** [../temp/boot/jrd/why.o] Error 1 And RC 3 is also there Firebird RC4 has arrived too. Firebird 2.0 is GOLD. Well, this ebuild shares the same error as firebird-1.5's ebuild of using autogen.sh, it shouldn't: http://www.gentoo.org/proj/en/qa/autofailure.xml . I'll give it a try on FreeBSD soon. Created attachment 103511 [details]
firebird-2.0.0.12748.ebuild
This ebuild is a try to clean it up, but it's far from being working.
For once, it sues internal copies of libraries instead of external ones, which is bad.
For who's wondering, the documentation can't be added to SRC_URI because the pdf's are not versioned, and thus could cause digest conflicts between versions. I'm currently trying to build with external icu and libedit, but it will take a bit I'm afraid. Created attachment 103530 [details]
firebird-2.0.0.12748.ebuild
This ebuild patches firebird so that it does not use the internal copies of icu and libedit and instead use dev-libs/icu and dev-libs/libedit, which is good.
It also avoids using the tarball rule, and instead installs the files by hand, simplifying the src_install() quite a bit.
It's still not working though, as it needs to change the initd script (the one installed now is obsolete and not compatible with baselayout anymore), especially to avoid using the /opt/firebird/* symlinks.
It could probably be possible to just install it in /usr properly if doing enough work on it.
Created attachment 103531 [details, diff]
firebird-2.0.0.12748-external-libs.patch
Created attachment 103532 [details, diff]
firebird-2.0.0.12748-gentoo-freebsd.patch
Created attachment 103533 [details, diff]
firebird-2.0.0.12748-make-deps.patch
tfirebir2 have now format of security db. Old names for isc4.gdb or security.fdb. This ebuild convert only old isc4.gdb db and not more commons security.fdb. *** Bug 162506 has been marked as a duplicate of this bug. *** Created attachment 109674 [details, diff] amd64 patch for cob.cpp taken from http://svn.debian.org/wsvn/pkg-firebird/branches/2.0.0/debian/patches/ and upgraded for firebird-2.0.0.12748 version Created attachment 118964 [details]
empty file to reduce bug spam
2.0.1 is in tree now and currently hard masked, package.mask. To test echo dev-db/firebird >> /etc/portage/package.unmask echo dev-db/firebird >> /etc/portage/package.keywords It will likely be umasked soon. It should be in pretty good shape, but could use more testing and feedback. It's in tree now and unmasked for further testing and etc. Closing this bug now :) Thanks to all contributors. |