Debian Bug report logs - #506260
mono FTBFS with recent glibc on ARM

version graph

Package: mono; Maintainer for mono is Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>;

Reported by: "Michael Casadevall" <sonicmctails@gmail.com>

Date: Wed, 19 Nov 2008 22:30:01 UTC

Severity: important

Tags: fixed-upstream, patch

Fixed in version 2.0.1-1

Done: Mirco Bauer <meebey@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugzilla.novell.com/show_bug.cgi?id=447097

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>:
Bug#506260; Package mono. (Wed, 19 Nov 2008 22:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Michael Casadevall" <sonicmctails@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>. (Wed, 19 Nov 2008 22:30:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Michael Casadevall" <sonicmctails@gmail.com>
To: submit@bugs.debian.org
Subject: mono FTBFS with recent glibc on ARM
Date: Wed, 19 Nov 2008 17:28:35 -0500
Subject: mono FTBFS with recent glibc on ARM
Package: mono
Severity: important
Tags: patch

Mono currently builds on ARM, but with newer glibc snapshots (such as the one
in Ubuntu, or the one in experimental (I think), it FTBFSes, due a header issue.
The following patch corrects the header issues

#! /bin/sh /usr/share/dpatch/dpatch-run
## armel-glibc-2.8.dpatch by Michael Casadevall  <sonicmctails@gmail.com>
##
## DP: Moved the location files are included to prevent a FTBFS
## DP: since in 2.8, you can't include headers within a function
## DP: and expect it to work
@DPATCH@
diff -urNad mono-1.9.1+dfsg~/mono/arch/arm/tramp.c
mono-1.9.1+dfsg/mono/arch/arm/tramp.c
--- mono-1.9.1+dfsg~/mono/arch/arm/tramp.c	2007-11-08 17:07:43.000000000 -0500
+++ mono-1.9.1+dfsg/mono/arch/arm/tramp.c	2008-11-18 21:00:52.000000000 -0500
@@ -10,6 +10,9 @@

 #if defined(_WIN32_WCE) || defined (UNDER_CE)
 #	include <windows.h>
+#else
+#include <unistd.h>
+#include <sys/mman.h>
 #endif

 #include <errno.h>
@@ -75,8 +78,6 @@
 	code_buff = malloc(code_size);
 	VirtualProtect(code_buff, code_size, PAGE_EXECUTE_READWRITE, &old_prot);
 #else
-#include <unistd.h>
-#include <sys/mman.h>
 	int page_size = sysconf(_SC_PAGESIZE);
 	int new_code_size;



-- System Information:
Debian Release: lenny/sid
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Tags added: pending Request was from Jo Shields <directhex@apebox.org> to control@bugs.debian.org. (Wed, 19 Nov 2008 23:57:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>:
Bug#506260; Package mono. (Thu, 20 Nov 2008 14:48:07 GMT) (full text, mbox, link).


Acknowledgement sent to Jo Shields <directhex@apebox.org>:
Extra info received and forwarded to list. Copy sent to Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>. (Thu, 20 Nov 2008 14:48:08 GMT) (full text, mbox, link).


Message #12 received at 506260@bugs.debian.org (full text, mbox, reply):

From: Jo Shields <directhex@apebox.org>
To: Michael Casadevall <sonicmctails@gmail.com>, 506260@bugs.debian.org
Subject: Re: [pkg-mono-group] Bug#506260: mono FTBFS with recent glibc on ARM
Date: Thu, 20 Nov 2008 14:44:29 +0000
Now fixed upstream: https://bugzilla.novell.com/show_bug.cgi?id=447097





Tags added: pending, fixed-upstream Request was from Mirco Bauer <meebey@debian.org> to control@bugs.debian.org. (Thu, 20 Nov 2008 21:06:02 GMT) (full text, mbox, link).


Noted your statement that Bug has been forwarded to https://bugzilla.novell.com/show_bug.cgi?id=447097. Request was from Mirco Bauer <meebey@debian.org> to control@bugs.debian.org. (Thu, 20 Nov 2008 21:06:04 GMT) (full text, mbox, link).


Tags added: patch Request was from Mirco Bauer <meebey@debian.org> to control@bugs.debian.org. (Thu, 20 Nov 2008 21:27:27 GMT) (full text, mbox, link).


Reply sent to Mirco Bauer <meebey@debian.org>:
You have taken responsibility. (Thu, 09 Apr 2009 23:39:04 GMT) (full text, mbox, link).


Notification sent to "Michael Casadevall" <sonicmctails@gmail.com>:
Bug acknowledged by developer. (Thu, 09 Apr 2009 23:39:04 GMT) (full text, mbox, link).


Message #23 received at 506260-done@bugs.debian.org (full text, mbox, reply):

From: Mirco Bauer <meebey@debian.org>
To: 506260-done@bugs.debian.org, Michael Casadevall <sonicmctails@gmail.com>
Subject: RE: mono FTBFS with recent glibc on ARM
Date: Fri, 10 Apr 2009 01:36:12 +0200
Version: 2.0.1-1

This issue was fixed in the 2.0.1-1 upload of Mono (the patch is
applied).

Relevant part from the changelog:

[ Jo Shields ]
   * debian/patches/armel-glibc-2.8.dpatch:
     + Fix build failure on armel architecture on libc6 2.8 (Thanks
       to Michael Casadevall <sonicmctails@gmail.com> for the patch)

Thus I am closing this bugreport now.
-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    meebey@meebey.net  http://www.meebey.net/
PEAR Developer    meebey@php.net     http://pear.php.net/
Debian Developer  meebey@debian.org  http://www.debian.org/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 08 May 2009 07:30:29 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 03:52:44 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.