[Pkg-ROX-devel] Bug#294702: marked as done (rox: FTBFS on Hurd due to hardcoded references to linux)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 23 May 2005 15:03:24 -0700


Your message dated Mon, 23 May 2005 23:56:35 +0200
with message-id <20050523215635.GD6742@ba.issia.cnr.it>
and subject line fixed in 2.2.0-2
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; 11 Feb 2005 08:50:46 +0000
>From chifflier@cpe.fr Fri Feb 11 00:50:46 2005
Return-path: <chifflier@cpe.fr>
Received: from linux2.cpe.fr [134.214.50.6] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CzWVh-0003Vo-00; Fri, 11 Feb 2005 00:50:45 -0800
Received: from localhost (localhost [127.0.0.1])
	by linux2.cpe.fr (Postfix) with ESMTP
	id 1AF1310326F; Fri, 11 Feb 2005 09:50:14 +0100 (CET)
Received: from linux2.cpe.fr ([127.0.0.1])
	by localhost (linux2 [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 31862-07; Fri, 11 Feb 2005 09:50:12 +0100 (CET)
Received: from image4.cpe.fr (image4.cpe.fr [134.214.71.84])
	by linux2.cpe.fr (Postfix) with ESMTP
	id 485261030D2; Fri, 11 Feb 2005 09:50:12 +0100 (CET)
Received: by image4.cpe.fr (Postfix, from userid 1000)
	id 1D9E725DC; Fri, 11 Feb 2005 09:50:12 +0100 (CET)
Content-Type: multipart/mixed; boundary="===============0345943570=="
MIME-Version: 1.0
From: Pierre Chifflier <chifflier@cpe.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rox: FTBFS on Hurd due to hardcoded references to linux
X-Mailer: reportbug 3.7.1
Date: Fri, 11 Feb 2005 09:50:12 +0100
Message-Id: <20050211085012.1D9E725DC@image4.cpe.fr>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at cpe.fr
Delivered-To: submit@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=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	UPPERCASE_25_50 autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0345943570==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: rox
Severity: normal
Tags: patch
Justification: fails to build from source

rox fails to build from source on Hurd, dur to hardcoded references to
Linux-ix86 in file debian/rules.

Patch is attached to use uname commands in makefile to detect platform
exactly like build script does.

Regards,

Pierre.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac4
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

--===============0345943570==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="00_rox.patch"

--- ROX-ORIG/rox-2.2.0/debian/rules	2005-02-10 15:05:17.000000000 +0100
+++ ROX/rox-2.2.0/debian/rules	2005-02-05 19:37:09.000000000 +0100
@@ -7,6 +7,21 @@
 PACKAGE  := $(shell dh_listpackages)
 DESTDIR  := $(shell pwd)/debian/$(PACKAGE)
 BUILDDIR := $(shell pwd)
+ARCH     := $(shell uname -m)
+PLATFORM := $(shell uname -s)
+
+ifeq ($(ARCH),i386)
+ARCH = "ix86"
+endif
+ifeq ($(ARCH),i486)
+ARCH = "ix86"
+endif
+ifeq ($(ARCH),i586)
+ARCH = "ix86"
+endif
+ifeq ($(ARCH),i686)
+ARCH = "ix86"
+endif
 
 include /usr/share/dpatch/dpatch.make
 
@@ -30,7 +45,7 @@
 myclean:
 	dh_testdir
 	dh_testroot
-	( cd ${BUILDDIR}/ROX-Filer && rm -rf build Linux-ix86 )
+	( cd ${BUILDDIR}/ROX-Filer && rm -rf build ${PLATFORM}-${ARCH} )
 	rm -f build-stamp configure-stamp
 	rm -rf $(DESTDIR)
 	dh_clean
@@ -51,7 +66,7 @@
 	cp -r ${BUILDDIR}/ROX-Filer/images ${DESTDIR}/usr/share/rox
 	cp -r ${BUILDDIR}/ROX-Filer/ROX ${DESTDIR}/usr/share/rox
 	
-	cp ${BUILDDIR}/ROX-Filer/Linux-ix86/ROX-Filer ${DESTDIR}/usr/bin/rox
+	cp ${BUILDDIR}/ROX-Filer/${PLATFORM}-${ARCH}/ROX-Filer ${DESTDIR}/usr/bin/rox
 	cp ${BUILDDIR}/ROX-Filer/.DirIcon ${DESTDIR}/usr/share/rox/.DirIcon
 	cp rox.xml ${DESTDIR}/usr/share/mime/packages
 

--===============0345943570==--

---------------------------------------
Received: (at 294702-done) by bugs.debian.org; 23 May 2005 21:59:54 +0000
>From frankie@debian.org Mon May 23 14:59:54 2005
Return-path: <frankie@debian.org>
Received: from egg.area.ba.cnr.it [150.145.80.53] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DaKxl-0008It-00; Mon, 23 May 2005 14:59:54 -0700
Received: from localhost (localhost [127.0.0.1])
	by egg.area.ba.cnr.it (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id j4NLxnTq031931
	for <294702-done@bugs.debian.org>; Mon, 23 May 2005 23:59:50 +0200
Received: from klecker (klecker.ba.issia.cnr.it [150.145.84.32])
	by egg.area.ba.cnr.it (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id j4NLwcun031893
	for <294702-done@bugs.debian.org>; Mon, 23 May 2005 23:58:38 +0200
Received: from adsl-83-218.37-151.net24.it ([151.37.218.83] helo=localhost)
	by klecker with esmtpa (Exim 4.50)
	id 1DaKwX-0001Q7-8P
	for 294702-done@bugs.debian.org; Mon, 23 May 2005 23:58:37 +0200
Received: from frankie by localhost with local (Exim 4.50)
	id 1DaKuZ-0002OS-Rj
	for 294702-done@bugs.debian.org; Mon, 23 May 2005 23:56:35 +0200
Date: Mon, 23 May 2005 23:56:35 +0200
From: Francesco Paolo Lovergine <frankie@debian.org>
To: 294702-done@bugs.debian.org
Subject: fixed in 2.2.0-2
Message-ID: <20050523215635.GD6742@ba.issia.cnr.it>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-GPG-Fingerprint: 92E4 2D44 336F DF91 5508  23D5 A453 5199 E9F2 C747
X-GPG-Info: finger frankie@db.debian.org
X-Advocacy: Who uses non-free software empoisons you too. Say him to stop.
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: by amavisd-new-20041102+Sophos at egg.area.ba.cnr.it
Delivered-To: 294702-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: 

So closing, just forgot to report...

-- 
Francesco P. Lovergine