[Debian-med-packaging] Bug#531174: Fwd: gdcm: Got a SIGABRT while executing native code

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Jun 8 07:55:22 UTC 2009


forwarded


---------- Forwarded message ----------
From: Mirco Bauer <meebey at debian.org>
Date: Sun, May 31, 2009 at 12:21 PM
Subject: Re: gdcm: Got a SIGABRT while executing native code
To: debian-cli at lists.debian.org


On Sat, 30 May 2009 18:07:31 +0200
Mathieu Malaterre <mathieu.malaterre at gmail.com> wrote:

> On Sat, May 30, 2009 at 4:00 PM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
> > On Sat, May 30, 2009 at 11:48 AM, Mirco Bauer <meebey at debian.org>
> > wrote: ...
> >> That it freaks out like this is probably a bug, not sure if
> >> SIGABRT is ok for expected fatal conditions.
> >>
> >> The issue is that some (but not all) buildds do not have a writable
> >> home-directory. The Mono runtime is emulating some I/O features
> >> that Microsoft .NET supports using that .wapi directory in $HOME.
> >> Most applications don't need this emulation though, so either the
> >> emulation should be disabled or a writable home-directory set.
> >> This common issue is also mentioned in the Debian CLI Policy §4.3
> >> [0]
> >>
> >> The recommended version is now to disable it using:
> >> export MONO_DISABLE_SHM=1
> >
> > I do not understand what this means. Do you want me to add the
> > previous export to the debian/rules file for gdcm ?
> >
> >
> >> One related note, I did a short check of the gdcm source packages
> >> and
> >
> > Cool ! Thanks for taking the time !
> >
> >> noticed it doesn't handle "Mono architectures". Mono is not
> >> available for all Debian architectures. It supports all except:
> >> m68k, hppa and alpha. This means your Build-Depends line has to
> >> cope with that, to only pull the mono deps in when it's a Mono
> >> arch. At the same time the configure script/call has to optionally
> >> skip the building of the Mono binding, else it will FTBFS on the
> >> named unsupported archs.
> >
> > I am looking at:
> >
> > http://pkg-mono.alioth.debian.org/cli-policy/ch-packaging.html#s-build-deps
> >
> > Do you have a reference on how to do that ?
>
> Should I hardcode which architecture does not work:
>
> Build-Depends: mono-devel (>= 2.0) [!alpha !hppa !m68k]

That would work, or do the opposite and list all the mono archs, see
mono's control file for the complete mono arch list:
http://git.debian.org/?p=pkg-mono/packages/mono.git;a=blob;f=debian/control;h=49128ec01c49f314c29f919aad9f7e2926583362;hb=master

But make sure to use those arch-specific build-deps for all
packages that are related and needed for the mono build part.

>
> Thanks,


--
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

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


--
To UNSUBSCRIBE, email to debian-cli-request at lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org




-- 
Mathieu





More information about the Debian-med-packaging mailing list