Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to make a backport of a package (in my case luakit) on my 64 bit machine (ubuntu natty) for a 32 bit machine (ubuntu jaunty) using prevu.

What are the detailed steps to do this?

share|improve this question
    
fork there repo and start compiling and debugging? luakit.org/projects/luakit/repository –  user38596 Dec 20 '11 at 4:18
    
Don't forget that jaunty is well past end of life: wiki.ubuntu.com/Releases –  tumbleweed Dec 23 '11 at 20:07

1 Answer 1

prevu isn't the recommended tool for backports (it's largely unmaintained).

We use the backportpackage tool in ubuntu-dev-tools. You can either do the build in a PPA or on your machine, using pbuilder-dist / pbuilder / sbuild.

For a PPA, it'd look something like this:

$ backportpackage -u ppa:YOURUSERNAME/YOURPPANAME THEPACKGE

Of course, many packages aren't automatically backportable, and will need modifications. But for the ones that are, this will work.

share|improve this answer
    
Thanks. Howto backport a 32 bit package using a 64 bit system? –  student Dec 23 '11 at 11:01
    
If you are building on launchpad, it'll build on all architectures. If you are building locally, all of the building tools I suggested can build for i386 on an amd64 machine. –  tumbleweed Dec 23 '11 at 13:42
    
I get the following error: dpkg-source --before-build luakit-natty fakeroot debian/rules clean /usr/bin/fakeroot: line 176: debian/rules: Permission denied dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 126 debuild: fatal error at line 1335: dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed backportpackage: Error: debuild returned 29. –  student Dec 23 '11 at 18:23
    
Yeah, this package is a bit unusual, in that it needs all its build dependencies installed on the machine you are doing teh backporting on. apt-get build-dep luakit –  tumbleweed Dec 23 '11 at 20:11
    
I get the same error after doing apt-get build-dep luakit –  student Dec 23 '11 at 20:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.