Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60952 - sys-libs/db-4.2.52_p2 compilation fails on segmentation fault
Summary: sys-libs/db-4.2.52_p2 compilation fails on segmentation fault
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 15:21 UTC by Wayt Gibbs
Modified: 2005-05-08 07:00 UTC (History)
0 users

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


Attachments
Output from `emerge sys-libs/db &> log` (baddb.log,230.55 KB, text/plain)
2004-08-19 15:24 UTC, Wayt Gibbs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wayt Gibbs 2004-08-19 15:21:39 UTC
"emerge system" wants to perform a new installation of sys-libs/db-4.2.52_p2.
The ebuild initially halted with a java configuration error.
rm -rf /var/tmp/portage/db-4*
rm -rf /var/db/pkg/sys-libs/db-4*
corrected that problem and allowed the ebuild to progress to compilation.
Compilation halts following

/bin/sh ./libtool --mode=compile gcc -c -I. -I../dist/..  -D_GNU_SOURCE -D_REENTRANT -I/opt/blackdown-jdk-1.4.2_rc1/include -I/opt/b
lackdown-jdk-1.4.2_rc1/include/linux -mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -funroll-loops -fprefetch
-loop-arrays -w ../dist/../rpc_server/c/db_server_proc.c

See attachment for full ouput of emerge sys-libs/db command.

Reproducible: Always
Steps to Reproduce:
1.emerge sys-libs/db
2.
3.

Actual Results:  
make: *** [db-4.2.jar] Segmentation fault

!!! ERROR: sys-libs/db-4.2.52_p2 failed.
!!! Function src_compile, Line 98, Exitcode 2
!!! (no error message)

[The db package is not installed]

Expected Results:  
Compiled and installed db-4.2.52

emerge info:
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.4.26-
gentoo-r7)
=================================================================
System uname: 2.4.26-gentoo-r7 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -
funroll-loops -fprefetch-loop-arrays -w"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
1/share/config /usr/kde/3.2/share/config /usr/kde/3/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe -fomit-frame-
pointer -funroll-loops -fprefetch-loop-arrays -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 apm arts avi berkdb crypt cups dga directfb 
encode esd exif fbcon foomaticdb ftp gif gnome gpm gtk g"
Comment 1 Wayt Gibbs 2004-08-19 15:24:59 UTC
Created attachment 37768 [details]
Output from `emerge sys-libs/db &> log`

Segfault occurs at line 840
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-20 02:14:34 UTC
It seems that newer releases of the blackdown jdk are broken. You could try to use an older jdk, or use Sun's jdk. Alternatively you could workaround the issue by disabling the java bindings alltogether: 'echo "dev-util/subversion -java" >>/etc/portage/package.use'
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-14 02:15:13 UTC
what jdk was used?
which do you claim to be 'broken'? and why?
Comment 4 Wayt Gibbs 2004-10-14 07:08:23 UTC
This error occurred with blackdown-jdk 1.4.1
Comment 5 Wayt Gibbs 2004-10-14 07:11:53 UTC
The error also occurred when I unemerged blackdown-jdk_1.4.1 and emerged blackdown-jdk_1.4.2_rc1.
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-14 12:20:39 UTC
any news about this one? works for me with the latest blackdown-jdk atleast on amd64:

blackdown-jdk-1.4.2.01

USE="java" and no segmentation fault.
Comment 7 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-04 13:53:31 UTC
removing java@g.o from cc list, problem doesnt occur with the latest blackdown for me. can't reproduce. Paul , this one is yours. 
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2005-05-08 07:00:18 UTC
I'll close this now. It should just work.