[Pkg-db-devel] Bug#276828: marked as done (db4.0: FTBFS on amd64: No linuxthreads)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 03 Feb 2005 04:04:02 -0800


Your message dated Thu, 3 Feb 2005 13:01:12 +0100
with message-id <20050203120112.GO22702@mails.so.argh.org>
and subject line Package db4.0 has been removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Oct 2004 19:15:34 +0000
>From daniel@frobnitz.ddts.net Sat Oct 16 12:15:34 2004
Return-path: <daniel@frobnitz.ddts.net>
Received: from mclean.mail.mindspring.net [207.69.200.57] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CIu1e-0004Pv-00; Sat, 16 Oct 2004 12:15:34 -0700
Received: from user-119bq03.biz.mindspring.com ([66.149.232.3] helo=frobnitz.ddts.net)
	by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1)
	id 1CIu1b-0003Vb-00
	for submit@bugs.debian.org; Sat, 16 Oct 2004 15:15:31 -0400
Received: from daniel by frobnitz.ddts.net with local (Exim 4.34)
	id 1CIu1a-0000wq-CV
	for submit@bugs.debian.org; Sat, 16 Oct 2004 12:15:30 -0700
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: db4.0: FTBFS on amd64: No linuxthreads
From: Daniel Schepler <schepler@math.berkeley.edu>
Date: Sat, 16 Oct 2004 12:15:30 -0700
Message-ID: <871xfy325p.fsf@frobnitz.ddts.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: Daniel Schepler <daniel@frobnitz.ddts.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

--=-=-=

Package: db4.0
Severity: important
Version: 4.0.14-2

>From my build log:

...
 fakeroot debian/rules clean
dh_testdir
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
make: *** [clean] Error 127

As the subject says, this is because amd64 doesn't have Linuxthreads
available.  I've attached a patch which lets the package build on
amd64, and incidentally also lets configure know that amd64 can use
x86/gcc-assembly mutexes.
-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=db4.0.diff
Content-Description: db4.0 amd64 patch

diff -urN db4.0-4.0.14.old/debian/patches/019_no_pthreads.diff db4.0-4.0.14/debian/patches/019_no_pthreads.diff
--- db4.0-4.0.14.old/debian/patches/019_no_pthreads.diff	1970-01-01 00:00:00.000000000 +0000
+++ db4.0-4.0.14/debian/patches/019_no_pthreads.diff	2004-10-16 19:07:37.858714800 +0000
@@ -0,0 +1,23 @@
+diff -urN db-4.0.14.old/dist/aclocal/mutex.ac db-4.0.14/dist/aclocal/mutex.ac
+--- db-4.0.14.old/dist/aclocal/mutex.ac	2004-10-16 19:01:26.101175000 +0000
++++ db-4.0.14/dist/aclocal/mutex.ac	2004-10-16 19:06:39.000650219 +0000
+@@ -148,6 +148,10 @@
+ if test "$db_cv_mutex" = "posix_only"; then
+ 	AC_MSG_ERROR([unable to find POSIX mutex interfaces])
+ fi
++# Debian: force POSIX/pthreads not to be used
++case "$db_cv_mutex" in
++    POSIX/pthreads*) db_cv_mutex=no ;;
++esac
+ 
+ # msemaphore: HPPA only
+ # Try HPPA before general msem test, it needs special alignment.
+@@ -319,7 +323,7 @@
+ # x86/gcc: FreeBSD, NetBSD, BSD/OS, Linux
+ if test "$db_cv_mutex" = no; then
+ AC_TRY_RUN([main(){
+-#if defined(i386) || defined(__i386__)
++#if defined(i386) || defined(__i386__) || defined(__amd64__) || defined(__x86_64__)
+ #if defined(__GNUC__)
+ 	exit(0);
+ #endif
diff -urN db4.0-4.0.14.old/debian/rules db4.0-4.0.14/debian/rules
--- db4.0-4.0.14.old/debian/rules	2004-10-16 19:10:29.304694573 +0000
+++ db4.0-4.0.14/debian/rules	2004-10-16 18:55:46.684503398 +0000
@@ -1,7 +1,5 @@
 #!/usr/bin/make -f
 
-export LD_ASSUME_KERNEL=2.4.24
-
 CFLAGS := -O2 -Wall -g
 CC := gcc
 PWD := $(shell pwd)

--=-=-=--

---------------------------------------
Received: (at 276828-done) by bugs.debian.org; 3 Feb 2005 12:01:21 +0000
>From aba@not.so.argh.org Thu Feb 03 04:01:21 2005
Return-path: <aba@not.so.argh.org>
Received: from mail-out.m-online.net [212.18.0.9] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cwffk-0004Yw-00; Thu, 03 Feb 2005 04:01:20 -0800
Received: from mail.m-online.net (svr20.m-online.net [192.168.3.148])
	by mail-out.m-online.net (Postfix) with ESMTP id 56B49584B;
	Thu,  3 Feb 2005 13:01:19 +0100 (CET)
Received: from sol.so.argh.org (ppp-82-135-65-187.mnet-online.de [82.135.65.187])
	by mail.m-online.net (Postfix) with ESMTP id F3AD748661;
	Thu,  3 Feb 2005 13:01:18 +0100 (CET)
Received: from aba by sol.so.argh.org with local (Exim 4.22 #1 (Debian) [+prerelease])
	id 1Cwffd-0001ui-0b; Thu, 03 Feb 2005 13:01:13 +0100
Date: Thu, 3 Feb 2005 13:01:12 +0100
From: Andreas Barth <aba@not.so.argh.org>
To: 209778-done@bugs.debian.org, 276828-done@bugs.debian.org,
	174284-done@bugs.debian.org, 179548-done@bugs.debian.org,
	196944-done@bugs.debian.org, 277656-done@bugs.debian.org,
	153067-done@bugs.debian.org, 157114-done@bugs.debian.org,
	156330-done@bugs.debian.org, 155661-done@bugs.debian.org,
	159100-done@bugs.debian.org, 160129-done@bugs.debian.org,
	166620-done@bugs.debian.org, 186430-done@bugs.debian.org,
	208211-done@bugs.debian.org, 223140-done@bugs.debian.org,
	240638-done@bugs.debian.org, 157076-done@bugs.debian.org,
	162458-done@bugs.debian.org
Subject: Package db4.0 has been removed
Message-ID: <20050203120112.GO22702@mails.so.argh.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Editor: Vim http://www.vim.org/
User-Agent: Mutt/1.5.6i
Delivered-To: 276828-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 18

Hi,

the source package db4.0 has been removed from Debian now. Therefore, I
close all related bugs.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C