Yes! Now I just need to do everything else and hopefully I'll have the backport.
Thanks guys! I'm sure I'll be back soon with more questions.
Yes! Now I just need to do everything else and hopefully I'll have the backport.
Thanks guys! I'm sure I'll be back soon with more questions.
OK-this takes some effort but I'm game!
Commenting out the repository in ? worked and vlc downloaded just fine. I edited the debian/control file and got rid of every version number I could find. I ran prevu in the vlc directory and got some dependency issues;
-> Considering linux-libc6-dev
-> Trying linux-libc6-dev
-> Cannot install linux-libc6-dev; apt errors follow:
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package linux-libc6-dev
W: Unable to locate package linux-libc6-dev
E: Could not satisfy build-dependency.
SO I guess that I can use prevue to backport these also? I know another came up because I again edited the control file and just changed the "linux-lib-dev" to libc6-dev as I know that exists. the compile ran until another dependency issue. that's when I decided to change the control file back to "linux-libc-de" and then run:
"prevu linux-lbc-dev"
I get this:
"Traceback (most recent call last):
File "/usr/bin/prevu", line 146, in ?
BackportFromAPT(sys.argv[1],DIST).backport()
File "/usr/bin/prevu", line 86, in backport
self.do_compile()
File "/usr/bin/prevu", line 67, in do_compile
raise ValueError("Build failed.")
ValueError: Build failed.
The only error I see in the attempt is this:
"-> Considering kernel-wedge (>= 2.24ubuntu1)
Tried versions: 2.05ubuntu5
-> Does not satisfy version, not trying
E: Could not satisfy build-dependency."
So do I have to do "apt-get source linux-lbc-dev", strip the dependencies, etc and go on to the next one?
Thanks!
The "linux-libc6-dev" package exists under Dapper, but just under a different name. Package names sometimes change between Ubuntu versions, and this can make backporting slightly tougher as you need to discover what the "old" name was.
The "linux-libc6-dev package" in Dapper is called "linux-kernel-headers", so you will need to make the change in the control file.
Also, you will need to replace "xlibmesa-gl-dev" with "x11proto-gl-dev" in the control file.
I went as far as checking the rest of the dependencies, but I didn't actually compile the package... That's your job!
You might find this package search tool useful:
http://packages.ubuntu.com/
That's pretty much what I use to discover the different package names
Last edited by megamaced; June 12th, 2007 at 11:37 PM.
Many thanks Megamaced! I started down the path that I mentioned in my last post and that is a deep rabbit hole! I thought that the names may just need changing but didn't know the alternatives.
I really appreciate your help! I will compile away and post the results.
I can see how to search for the packages but not how to see how the different names correlate. Sorry for the high density of my brain!
The build of vlc failed-thank god! The build wanted to install 239 new packages and use 278MB of disk. Luckily it crapped out with:
-> cleaning the build env
-> removing directory /var/cache/prevu/builds/14983 and its subdirectories
Traceback (most recent call last):
File "/usr/bin/prevu", line 148, in ?
BackportCurrentDir(DIST).backport()
File "/usr/bin/prevu", line 86, in backport
self.do_compile()
File "/usr/bin/prevu", line 67, in do_compile
raise ValueError("Build failed.")
ValueError: Build failed.
This may not be a suitable package to backport?
I'll try to compile it myself tonight if I get time
I'm trying to build a Dapper backport of bittornado from Gutsy on my laptop running Feisty. To do this I have to modify the debian control and rules files and I need some help.
I added both Dapper and Gutsy sources to my /etc/apt/sources.list
Code:DIST=dapper sudo prevu-init apt-get source bittornado cd bittornado-0.3.18/
I editted debian/control and removed versions from python-support and debhelper. I removed the package target bittornado-gui because I don't need it.
I editted debian/rules and changed dh_pysupport to dh_python.
I also tried "dh_python /usr/share/python-support/bittornado/BitTornado" instead of dh_pysupport
The package builds without problems. I copied the package to my Dapper box and installed it without problems.Code:DIST=dapper prevu
But there is a problem when I try to run bittornado :
The directory /usr/share/python-support/bittornado/BitTornado exists and contains files (including __init__.py).$ btlaunchmanycurses.bittornado
Traceback (most recent call last):
File "/usr/bin/btlaunchmanycurses.bittornado", line 8, in ?
from BitTornado import PSYCO
ImportError: No module named BitTornado
depjayds@p3-animal:~$ btlaunchmany
Traceback (most recent call last):
File "/usr/bin/btlaunchmany", line 6, in ?
from BitTornado import PSYCO
ImportError: No module named BitTornado
So for some reason python can't find the python-package BitTornado (which is /usr/share/python-support/bittornado/BitTornado). Ideally I would like to fix this in bittornado-0.3.18/debian and make a package which does this.
Any ideas ?
Last edited by ubuntu_demon; June 13th, 2007 at 12:41 PM.
In looking further at the output I see these errors with my repositories:
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
And:
Err http://archive.ubuntu.com dapper-security/main libmagic1 4.16-0ubuntu3.1
404 Not Found [IP: 91.189.89.6 80]
Err http://archive.ubuntu.com dapper-security/main file 4.16-0ubuntu3.1
404 Not Found [IP: 91.189.89.6 80]
Err http://archive.ubuntu.com dapper-security/main libpng12-0 1.2.8rel-5ubuntu0.1
404 Not Found [IP: 91.189.89.6 80]
Err http://archive.ubuntu.com dapper-security/main libpng12-dev 1.2.8rel-5ubuntu0.1
404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/poo....1_powerpc.deb 404 Not Found [IP: 91.189.89.6 80]
You can see my sources.list earlier in the thread. Any ideas why these packages aren't found?
Muchas gracias!
I checked one of the error sites, "Err http://archive.ubuntu.com dapper-security/main libmagic1 4.16-0ubuntu3.1
404 Not Found [IP: 91.189.89.6 80]"
and found:
Package: libmagic1
Priority: standard
Section: libs
Installed-Size: 1576
Maintainer: Michael Piefel <piefel@debian.org>
Architecture: powerpc
Source: file
Version: 4.16-0ubuntu3.2
My sources.list doesn't have an "archive.ubuntu.com..." as you can see in the earlier post. Do I just add that repository?
Bookmarks