Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117869 - ebuild for dev-db/firebird-2.*
Summary: ebuild for dev-db/firebird-2.*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Karol Wojtaszek (RETIRED)
URL:
Whiteboard:
Keywords:
: 162506 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-05 03:36 UTC by Almad
Modified: 2007-05-15 02:50 UTC (History)
6 users (show)

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


Attachments
Ebuild for dev-db/firebird (version 2.0.0_rc1) -- EBuild file (firebird-2.0.0_rc1.ebuild,8.19 KB, text/plain)
2006-05-11 03:07 UTC, rajkrish
Details
Ebuild for dev-db/firebird (version 2.0.0_rc1) -- 70firebird file (70firebird,50 bytes, text/plain)
2006-05-11 03:09 UTC, rajkrish
Details
firebird-2.0.0.12748.ebuild (firebird-2.0.0.12748.ebuild,5.99 KB, text/plain)
2006-12-06 19:54 UTC, Diego Elio Pettenò (RETIRED)
Details
firebird-2.0.0.12748.ebuild (firebird-2.0.0.12748.ebuild,5.40 KB, text/plain)
2006-12-07 02:56 UTC, Diego Elio Pettenò (RETIRED)
Details
firebird-2.0.0.12748-external-libs.patch (firebird-2.0.0.12748-external-libs.patch,1.84 KB, patch)
2006-12-07 02:56 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
firebird-2.0.0.12748-gentoo-freebsd.patch (firebird-2.0.0.12748-gentoo-freebsd.patch,1.08 KB, patch)
2006-12-07 02:57 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
firebird-2.0.0.12748-make-deps.patch (firebird-2.0.0.12748-make-deps.patch,1.34 KB, patch)
2006-12-07 02:57 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
amd64 patch for cob.cpp (firebird-2.0.0-amd64.patch,1.47 KB, patch)
2007-02-09 23:17 UTC, Pavel Dobes
Details | Diff
empty file to reduce bug spam (empty file,11 bytes, text/plain)
2007-05-12 05:55 UTC, William L. Thomson Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Almad 2006-01-05 03:36:28 UTC
Firebird 2 Beta is out for a long time. It'll be fine to have an ebuild for installation. I've tried to set it up for myself, but I'm not too familiar with firebirds installation procedure and ebuild system itself. 

If anyone wish for it too and should try...? 

Thanks.
Comment 1 younker 2006-03-31 18:47:44 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?
Comment 2 younker 2006-04-20 02:20:23 UTC
rc3 has released now. can anyone provide a ebuild for it?

Comment 3 rajkrish 2006-05-11 03:07:51 UTC
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.
Comment 4 rajkrish 2006-05-11 03:09:36 UTC
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.
Comment 5 younker 2006-05-16 17:21:02 UTC
rc2 was released, hope this ebuild will be in portage soon
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2006-06-18 14:01:00 UTC
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 
Comment 7 Karol Wojtaszek (RETIRED) gentoo-dev 2006-06-18 14:01:00 UTC
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
Comment 8 Almad 2006-07-30 05:38:08 UTC
And RC 3 is also there
Comment 9 Tiago Freire 2006-09-27 07:01:39 UTC
Firebird RC4 has arrived too.
Comment 10 Tiago Freire 2006-11-17 04:48:27 UTC
Firebird 2.0 is GOLD.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-06 18:44:36 UTC
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.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-06 19:54:19 UTC
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.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-06 20:20:06 UTC
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.
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-07 02:56:32 UTC
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.
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-07 02:56:51 UTC
Created attachment 103531 [details, diff]
firebird-2.0.0.12748-external-libs.patch
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-07 02:57:10 UTC
Created attachment 103532 [details, diff]
firebird-2.0.0.12748-gentoo-freebsd.patch
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-07 02:57:33 UTC
Created attachment 103533 [details, diff]
firebird-2.0.0.12748-make-deps.patch
Comment 18 Pavel Dobes 2007-01-09 21:56:29 UTC
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.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 09:50:29 UTC
*** Bug 162506 has been marked as a duplicate of this bug. ***
Comment 20 Pavel Dobes 2007-02-09 23:17:46 UTC
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
Comment 21 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-05-12 05:55:36 UTC
Created attachment 118964 [details]
empty file to reduce bug spam
Comment 22 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-05-12 05:59:04 UTC
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.
Comment 23 William L. Thomson Jr. (RETIRED) gentoo-dev 2007-05-15 02:50:39 UTC
It's in tree now and unmasked for further testing and etc. Closing this bug now :) Thanks to all contributors.