Your message dated Sun, 14 Nov 2010 07:19:15 -0600
with message-id <20101114131915.ga3...@dev.localdomain>
and subject line Re: Bug#584327: Bug #584327: is it an issue?
has caused the Debian Bug report #584327,
regarding python-rdflib: fails with SIGBUS on mipsel - breaks build of enigmail
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
584327: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584327
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-rdflib
Version: 2.4.2-1+b1
Severity: serious
Justification: Breaks build of another package

Building enigmail 1.0.1-2 on mipsel fails with "Bus error":

https://buildd.debian.org/fetch.cgi?pkg=enigmail&arch=mipsel&ver=2%3A1.0.1-2&stamp=1275423629&file=log&as=raw

I've reproduced this on a qemu-emulated mipsel machine. The problem 
is the script /usr/bin/install-xpi that uses rdflib to parse the file
install.rdf.

I've reduced install-xpi to the method that shows the problem, and added 
printf debugging to find the failing method. 

The output of this script on mipsel is

$ ./install-xpi 
gei 1 install.rdf
gei 2
gei 3
gei 4
gei 5
Bus error

So the problem occurs when calling rdf_graph.query().

I have no experience at debugging python applications, especially not when
system level bugs are involved, so I can't debug this issue further.

I can make the qemu image I used available. It is based on the lenny image by 
Aurélien Jarno.
#!/usr/bin/python

# Copyright (c) 2009 Benjamin Drung <bdr...@ubuntu.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

import csv
import optparse
import os
import stat
import subprocess
import sys
import zipfile

from rdflib import Namespace
from rdflib.Graph import Graph

# error codes
COMMAND_LINE_SYNTAX_ERROR = 1
XPI_FILE_DOES_NOT_EXISTS = 2

def get_extension_id(install_rdf):
	print "gei 1 " + install_rdf
	extension_ids = set()
	print "gei 2"
	rdf_graph = Graph()
	print "gei 3"
	rdf_graph.parse(install_rdf)
	print "gei 4"
	query = "SELECT ?id WHERE {?x1 em:targetApplication ?x2 . ?x1 em:id ?id }"
	print "gei 5"
	results = rdf_graph.query(query, initNs=dict(em=Namespace("http://www.mozilla.org/2004/em-rdf#";)))
	print "gei 6"
	for result in results:
		print "gei 7"
		extension_ids.add(str(result[0]))
	print "gei 8"
	return extension_ids.pop()

if __name__ == "__main__":

	extension_id = get_extension_id("install.rdf")

Attachment: install.rdf
Description: XML document


--- End Message ---
--- Begin Message ---
On Sun, Nov 14, 2010 at 01:54:15PM +0100, Willi Mann wrote:
> Am 2010-11-14 13:30, schrieb Nacho Barrientos Arias:
> > On Sun, Nov 14, 2010 at 01:59:31AM +0100, Luca Falavigna wrote:
> >> I wonder whether this is still an issue, given that enigmail now builds
> >> on mipsel again, see related log:
> > 
> > It builds fine because mozilla-devscripts (a build-dep of enigmail) no
> > longer depends on this package.
> > 
> > Rdflib 3.0.0 is on its way (I promise, he) so, as it does not ship C
> > extensions, it will be impossible to reproduce this problem.
> > 
> > Willi, do you agree on closing this bug? 
> 
> Yes, I'm fine with that as it no longer touches one of my packages.
> Additionally, if there's still a bug, it's in gcc.

I'm closing it then. Feel free to reopen the report if something
similar arises in the future.

Thanks.

Nacho

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to