Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15071 - after emerging firebird it leaves abandoned processes running
Summary: after emerging firebird it leaves abandoned processes running
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 16:14 UTC by Mark Guertin
Modified: 2003-08-30 04:08 UTC (History)
2 users (show)

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


Attachments
firebird-1.0.2.908.ebuild (firebird-1.0.2.908.ebuild,1.61 KB, text/plain)
2003-02-14 06:08 UTC, Rigo
Details
firebird-1.0.2-gentoo.patch (firebird-1.0.2-gentoo.patch,1.04 KB, text/plain)
2003-02-14 06:24 UTC, Rigo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Guertin 2003-02-03 16:14:06 UTC
32462 ?        S      0:00
/var/tmp/portage/firebird-1.0-r1/work/FirebirdCS-1.0.0.796-0/opt/interbase/bin/gds_loc
 1876 ?        S      0:00
/var/tmp/portage/firebird-1.0-r1/work/firebird-1.0.0.796/interbase/bin/gds_lock_mgr

These were left behind after installing firebird... looks like they tried to
execute from the work dir maybe ?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Rigo 2003-02-14 06:07:31 UTC
Hi Mark,

I had the same thing, while testing the new stable sources (1.0.2, slightly adapted ebuild (included: killall command to kill processes left behind, plus made some changes to keep me from making typo's ;-)...

<DIFF>
firebird # diff -ur firebird-1.0-r1.ebuild firebird-1.0.2.908.ebuild
--- firebird-1.0-r1.ebuild      2003-02-14 10:56:47.000000000 +0100
+++ firebird-1.0.2.908.ebuild   2003-02-14 11:53:38.000000000 +0100
@@ -2,10 +2,10 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /home/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.0-r1.ebuild,v 1.6 2003/02/13 10:01:46 vapier Exp $
                                                                                                                                        
-S=${WORKDIR}/firebird-1.0.0.796
+S=${WORKDIR}/${P}
 DESCRIPTION="Firebird is a relational database offering many ANSI SQL-92 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981."
-SRC_URI="mirror://sourceforge/firebird/FirebirdCS-1.0.0.796-0.tar.gz
-       mirror://sourceforge/firebird/Firebird-1.0.0.796.src.tar.gz"
+SRC_URI="mirror://sourceforge/firebird/FirebirdCS-${PV}-1.tar.gz
+       mirror://sourceforge/firebird/Firebird-${PV}.src.tar.gz"
 HOMEPAGE="http://firebird.sourceforge.net/"
 SLOT="0"
 LICENSE="MPL-1.1"
@@ -15,10 +15,10 @@
        >=sys-devel/gcc-2.95.3-r5"
                                                                                                                                        
 src_unpack() {
-       unpack FirebirdCS-1.0.0.796-0.tar.gz
+       unpack FirebirdCS-${PV}-1.tar.gz
        cd ${WORKDIR}
-       unpack Firebird-1.0.0.796.src.tar.gz
-       cd ${WORKDIR}/FirebirdCS-1.0.0.796-0
+       unpack Firebird-${PV}.src.tar.gz
+       cd ${WORKDIR}/FirebirdCS-${PV}-1
        tar xzf buildroot.tar.gz
                                                                                                                                        
        cd ${S}
@@ -26,7 +26,7 @@
 }
                                                                                                                                        
 src_compile() {
-       export INTERBASE="${WORKDIR}/FirebirdCS-1.0.0.796-0/opt/interbase/"
+       export INTERBASE="${WORKDIR}/FirebirdCS-${PV}-1/opt/interbase/"
        export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$INTERBASE/lib"
        export FIREBIRD_64_BIT_IO="1"
        export NOPROMPT_SETUP="1"
@@ -43,5 +43,6 @@
 src_install () {
        dodoc README
        cd ${D}
-       tar xzpf ${S}/FirebirdCS-1.0.0.796-0.64IO/buildroot.tar.gz
+       tar xzpf ${S}/FirebirdCS-${PV}-0.64IO/buildroot.tar.gz
+       killall gds_lock_mgr
}
</DIFF>

All goes well, except the gentoo-patch, looking into that now...

</SNIP>
patching file jrd/misc.c
Hunk #1 FAILED at 73.
Hunk #2 FAILED at 97.
2 out of 2 hunks FAILED -- saving rejects to file jrd/misc.c.rej
patching file qli/help.e
Hunk #1 FAILED at 160.
1 out of 1 hunk FAILED -- saving rejects to file qli/help.e.rej
</SNIP>

New ebuild included,

Rogi
Comment 2 Rigo 2003-02-14 06:08:57 UTC
Created attachment 8271 [details]
firebird-1.0.2.908.ebuild

Coming up: adapted patch for new sources
Comment 3 Rigo 2003-02-14 06:24:36 UTC
Created attachment 8275 [details]
firebird-1.0.2-gentoo.patch

It seems the code has been adapted on the places it failed, so I cut them out
of the origional patch....Didn't touch anything else, hope it's ok like this...
Comment 4 Meir Kriheli (RETIRED) gentoo-dev 2003-06-16 00:49:39 UTC
Commited a new ebuild which should resolve 
the issue (as well as a new upstream version) - firebird-1.0.3 
 
Currentley marked unstable (~x86) please help testing it. 
Comment 5 Meir Kriheli (RETIRED) gentoo-dev 2003-08-30 04:08:20 UTC
Marked firebird-1.0.3 as stable