[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263536: marked as done (FTBFS on GNU/Hurd (and GNU/k*BSD))



Your message dated Sun, 14 Aug 2005 08:22:23 -0700
with message-id <E1E4KJb-0002QT-00@spohr.debian.org>
and subject line Bug#263536: fixed in arts 1.4.2-1
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; 5 Aug 2004 01:52:23 +0000
>From rmh@khazad.dyndns.org Wed Aug 04 18:52:22 2004
Return-path: <rmh@khazad.dyndns.org>
Received: from 86.red-80-24-13.pooles.rima-tde.net (bilbo) [80.24.13.86] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BsXQc-0007jF-00; Wed, 04 Aug 2004 18:52:22 -0700
Received: from khazad.dyndns.org ([192.168.0.1])
	by bilbo with esmtp (Exim 3.36 #1 (Debian))
	id 1BsXWu-0004wi-00; Thu, 05 Aug 2004 03:58:52 +0200
Received: from rmh by khazad.dyndns.org with local (Exim 4.34)
	id 1BsXQX-000MIf-Hf; Thu, 05 Aug 2004 03:52:17 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Robert Millan <rmh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: FTBFS on GNU/Hurd (and GNU/k*BSD)
X-Mailer: reportbug 2.64
Date: Thu, 05 Aug 2004 03:52:17 +0200
Message-Id: <E1BsXQX-000MIf-Hf@khazad.dyndns.org>
Sender: <rmh@khazad.dyndns.org>
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: arts
Severity: important
Tags: patch sid

Hi!

The following patch fixes FTBFS errors for GNU/Hurd and GNU/k*BSD.

 - use type-handling to disable libasound (alsa) for non-Linux.
 - port thread bindings to gnu pth
 - update libtool in debian/rules (see bug #242950)

Please could you forward the upstream part of the patch to upstream? Also,
could you ask upstream to update their libtool?

Thanks.

#!/bin/bash -e

cp debian/control{,.in}
cat $0 | patch -p1
which type-handling
fakeroot debian/rules clean
rm -f debian/patches/03_libtool_arm.diff
exit 0

diff -ur arts-1.2.3.old/debian/control.in arts-1.2.3/debian/control.in
--- arts-1.2.3.old/debian/control.in	2004-08-05 02:18:44.000000000 +0200
+++ arts-1.2.3/debian/control.in	2004-08-05 03:28:22.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
 Uploaders: Christopher L Cheney <ccheney@debian.org>
-Build-Depends: automake1.8, debhelper (>> 4.2.0), docbook-to-man, gawk, gettext, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libqt3-mt-dev, libvorbis-dev, sharutils, texinfo, xlibs-static-pic (>= 4.3.0-3)
+Build-Depends: automake1.8, debhelper (>> 4.2.0), docbook-to-man, gawk, gettext, libasound2-dev [@linux-gnu@], libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libqt3-mt-dev, libvorbis-dev, sharutils, texinfo, xlibs-static-pic (>= 4.3.0-3), type-handling (>= 0.2.1), libtool
 Build-Conflicts: libmas-dev
 Standards-Version: 3.6.1.0
 
@@ -42,7 +42,7 @@
 Package: libarts1-dev
 Architecture: any
 Section: libdevel
-Depends: libarts1 (= ${Source-Version}), libartsc0-dev, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libogg-dev, libqt3-mt-dev, libvorbis-dev
+Depends: libarts1 (= ${Source-Version}), libartsc0-dev@libasound@, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libmad0-dev, libogg-dev, libqt3-mt-dev, libvorbis-dev
 Conflicts: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:3.0.0), libkmid-dev (<< 4:3.0.0)
 Replaces: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:3.0.0), libkmid-dev (<< 4:3.0.0)
 Description: aRts Sound system (development files)
diff -ur arts-1.2.3.old/debian/rules arts-1.2.3/debian/rules
--- arts-1.2.3.old/debian/rules	2004-02-24 03:36:00.000000000 +0100
+++ arts-1.2.3/debian/rules	2004-08-05 03:28:22.000000000 +0200
@@ -16,6 +16,7 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_BUILD_GNU_SYSTEM	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
 
 CFLAGS = -Wall -g
 
@@ -30,6 +31,10 @@
 
 objdir = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
 
+ifeq ($(DEB_BUILD_GNU_SYSTEM),linux)
+libasound = , libasound2-dev
+endif
+
 -include debian/debiandirs
 
 debian/debiandirs: admin/debianrules
@@ -59,10 +64,9 @@
 		touch patch-stamp ;\
 	fi
 
-	# KDE CVS does not have aclocal.m4 or configure
-	if test ! -f configure; then \
-		$(MAKE) -f admin/Makefile.common ;\
-	fi
+	# update libtool
+	cp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+	$(MAKE) -f admin/Makefile.common
 
 	# ensure configure is executable
 	chmod +x configure
@@ -148,6 +152,11 @@
 		$(MAKE) -f admin/Makefile.common cvs-clean ;\
 	fi
 
+	cat debian/control.in \
+	| sed "s/@linux-gnu@/`type-handling any linux-gnu`/g" \
+	| sed "s/@libasound@/$(libasound)/g" \
+	> debian/control
+
 	dh_clean
 
 install: install-arch install-indep
diff -ur arts-1.2.3.old/mcop/thread.cc arts-1.2.3/mcop/thread.cc
--- arts-1.2.3.old/mcop/thread.cc	2003-10-13 21:59:41.000000000 +0200
+++ arts-1.2.3/mcop/thread.cc	2004-08-05 03:28:22.000000000 +0200
@@ -20,6 +20,10 @@
 
     */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "thread.h"
 #include <string.h>
 
@@ -56,11 +60,13 @@
 {
 }
 
+#ifdef HAVE_SEMAPHORE_H
 // Semaphore
 Semaphore::~Semaphore()
 {
 	delete impl;
 }
+#endif
 
 Semaphore_impl::~Semaphore_impl()
 {
diff -ur arts-1.2.3.old/mcop_mt/threads_posix.cc arts-1.2.3/mcop_mt/threads_posix.cc
--- arts-1.2.3.old/mcop_mt/threads_posix.cc	2004-03-22 12:29:28.000000000 +0100
+++ arts-1.2.3/mcop_mt/threads_posix.cc	2004-08-05 03:28:22.000000000 +0200
@@ -33,7 +33,9 @@
 #include <stddef.h>
 #include <stdarg.h>
 #include <pthread.h>
+#ifdef HAVE_SEMAPHORE_H
 #include <semaphore.h>
+#endif
 #include <debug.h>
 #include <string.h>
 
@@ -186,9 +188,12 @@
 	Thread_impl(Thread *thread) : thread(thread) {
 	}
 	void setPriority(int priority) {
+/* In GNU pth, pthread_setschedparam is not supported */
+#ifndef _POSIX_THREAD_IS_GNU_PTH
 		struct sched_param sp;
 		sp.sched_priority = priority;
 		if (pthread_setschedparam(pthread, SCHED_FIFO, &sp))
+#endif
 			arts_debug("Thread::setPriority: sched_setscheduler failed");
 	}
 	static pthread_key_t privateDataKey;
@@ -243,6 +248,7 @@
 	}
 };
 
+#ifdef HAVE_SEMAPHORE_H
 class Semaphore_impl : public Arts::Semaphore_impl
 {
 private:
@@ -275,6 +281,7 @@
 		return retval;
 	}
 };
+#endif /* HAVE_SEMAPHORE_H */
 
 class PosixThreads : public SystemThreads {
 private:
@@ -306,9 +313,11 @@
 		else
 			return 0; /* main thread */
 	}
+#ifdef HAVE_SEMAPHORE_H
 	Arts::Semaphore_impl *createSemaphore_impl(int shared, int count) {
 		return new Semaphore_impl(shared, count);
 	}
+#endif
 };
 
 // set posix threads on startup

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: kfreebsd-i386 (i386)
Kernel: GNU/kFreeBSD 5.2.1-5
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

---------------------------------------
Received: (at 263536-close) by bugs.debian.org; 14 Aug 2005 15:23:25 +0000
>From joerg@spohr.debian.org Sun Aug 14 08:23:25 2005
Return-path: <joerg@spohr.debian.org>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1E4KJb-0002QT-00; Sun, 14 Aug 2005 08:22:23 -0700
From: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
To: 263536-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#263536: fixed in arts 1.4.2-1
Message-Id: <E1E4KJb-0002QT-00@spohr.debian.org>
Sender: Joerg Jaspert <joerg@spohr.debian.org>
Date: Sun, 14 Aug 2005 08:22:23 -0700
Delivered-To: 263536-close@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-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: arts
Source-Version: 1.4.2-1

We believe that the bug you reported is fixed in the latest version of
arts, which is due to be installed in the Debian FTP archive:

arts_1.4.2-1.diff.gz
  to pool/main/a/arts/arts_1.4.2-1.diff.gz
arts_1.4.2-1.dsc
  to pool/main/a/arts/arts_1.4.2-1.dsc
arts_1.4.2-1_all.deb
  to pool/main/a/arts/arts_1.4.2-1_all.deb
arts_1.4.2.orig.tar.gz
  to pool/main/a/arts/arts_1.4.2.orig.tar.gz
libarts1-dev_1.4.2-1_i386.deb
  to pool/main/a/arts/libarts1-dev_1.4.2-1_i386.deb
libarts1c2_1.4.2-1_i386.deb
  to pool/main/a/arts/libarts1c2_1.4.2-1_i386.deb
libartsc0-dev_1.4.2-1_i386.deb
  to pool/main/a/arts/libartsc0-dev_1.4.2-1_i386.deb
libartsc0_1.4.2-1_i386.deb
  to pool/main/a/arts/libartsc0_1.4.2-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 263536@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> (supplier of updated arts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 14 Aug 2005 16:21:08 +0200
Source: arts
Binary: libarts1-dev libarts1c2 libartsc0-dev libartsc0 arts
Architecture: source i386 all
Version: 1.4.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Description: 
 arts       - sound system from the official KDE release
 libarts1-dev - development files for the aRts sound system core components
 libarts1c2 - aRts sound system core components
 libartsc0  - aRts sound system C support library
 libartsc0-dev - development files for the aRts sound system C support library
Closes: 263536 266961 315873
Changes: 
 arts (1.4.2-1) unstable; urgency=low
 .
   * New upstream release.
 .
   +++ Changes by Christopher Martin:
 .
   * GCC 4.0 transition: libarts1 becomes libarts1c2. Tighten build-depends on
     libqt3-mt-dev to ensure that we build against a similarly transitioned
     package.
 .
   * We no longer ship useless template manpages. (Closes: #315873)
 .
   +++ Changes by Adeodato Simó:
 .
   * Remove obsolete conflicts/replaces relationships against packages/versions
     not present in Sarge.
 .
   * Apply patch from Aurelien Jarno for GNU/kFreeBSD support. (Closes: #263536)
     Adapted it to the new cdbs-ized debian/rules.
 .
 arts (1.4.1-1) experimental; urgency=low
 .
   * New upstream release.
 .
 arts (1.4.0-0pre2) alioth; urgency=low
 .
   * New upstream release.
 .
   * Converted packaging to CDBS (initial version by Daniel Schepler, further
     changes by Christopher Martin and Adeodato Simó).
 .
   +++ Changes by Pierre Habouzit:
 .
   * Rework debian/control, for libarts1 and arts packages (closes: #266961).
Files: 
 c4b4bbb62672f1e13e4929b6f07f1bc0 1184 libs optional arts_1.4.2-1.dsc
 47018893609f9446baac217c4a53511d 1297659 libs optional arts_1.4.2.orig.tar.gz
 25a0fe8677b221886b445b20bdb5cd1e 118617 libs optional arts_1.4.2-1.diff.gz
 0e29224e2e236b32451f3bbc25ea9bd3 4374 sound optional arts_1.4.2-1_all.deb
 15492b2ff4fec4d6423e7bfb4306327b 1191634 libs optional libarts1c2_1.4.2-1_i386.deb
 148697f323f6568f92cb539798c48b79 1509402 libdevel optional libarts1-dev_1.4.2-1_i386.deb
 d2805cb19caea7729ff01a30b3993ac0 13296 libs optional libartsc0_1.4.2-1_i386.deb
 ed5759c0d4d5f34d03a410b779f224a4 19670 libdevel optional libartsc0-dev_1.4.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Isaac Clerencia <isaac@warp.es>

iD8DBQFC/1k7QET2GFTmct4RApIsAKCEqsjaESGS+nYI6Ea3DJaM4riUEACfRP8W
STt6IUhGczJIMYM+qyudMnw=
=QDwt
-----END PGP SIGNATURE-----



Reply to: