please drop architecture list in debian/control

Bug #1506990 reported by Jamie Strandboge
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-mongodb (Ubuntu)
Fix Released
Low
Dimitri John Ledkov

Bug Description

This came up as part of the MIR review in bug 1267393. In the interest of time, I am filing it on their behalf.

doko: "the package should be built for the upcoming s390x architecture as well."

slangasek: "Yes, it should; the architecture list in debian/control should just be dropped so that the package builds automatically for all architectures."

Tags: packaging
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Turns out this isn't quite so simple, but luckily IBM have done the work for us (see https://github.com/linux-on-ibm-z/docs/wiki/Building-MongoDB-2.4-and-2.6). Attaching debdiff.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I've built an only trivially different version of the package in a ppa: https://launchpad.net/~mwhudson/+archive/ubuntu/juju-mongodb-s390x/+packages

Changed in juju-mongodb (Ubuntu):
status: New → In Progress
Mathew Hodson (mhodson)
Changed in juju-mongodb (Ubuntu):
importance: Undecided → Low
tags: added: packaging
Revision history for this message
Steve Langasek (vorlon) wrote :

Dimitri, could you look at sponsoring this for s390x support?

Changed in juju-mongodb (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

This was fix released since 2015-12-15, sponsored by yours truly.

Changed in juju-mongodb (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Hi, it looks like you copied the package from my ppa rather than applying the debdiff on this bug. The differences were: a less terse entry in debian/changelog, and the debdiff has Architecture: all (which is obviously wrong -- should be any!) rather than just adding s390x to the Architecture list. I don't suppose we really care about powerpc, but maybe something to be fixed in the next upload...

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

I'm not sure what I've copied now =)

but http://launchpadlibrarian.net/230049938/juju-mongodb_2.4.10-0ubuntu4_2.4.10-0ubuntu5.diff.gz looks correct, thus ubuntu5 simply added s390x.

I've now uploaded ubuntu6 which changes to arch:any and powerpc did built successfully.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

yay, thanks :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.