Page 20 of 29 FirstFirst ... 101819202122 ... LastLast
Results 191 to 200 of 285

Thread: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

  1. #191
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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.

  2. #192
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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!

  3. #193
    Join Date
    Jul 2006
    Beans
    232
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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.

  4. #194
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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.

  5. #195
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    You might find this package search tool useful:

    http://packages.ubuntu.com/
    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!

  6. #196
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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?

  7. #197
    Join Date
    Jul 2006
    Beans
    232
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    I'll try to compile it myself tonight if I get time

  8. #198
    Join Date
    Oct 2004
    Location
    Netherlands
    Beans
    2,983
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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


    Code:
    DIST=dapper prevu
    The package builds without problems. I copied the package to my Dapper box and installed it without problems.

    But there is a problem when I try to run bittornado :

    $ 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
    The directory /usr/share/python-support/bittornado/BitTornado exists and contains files (including __init__.py).

    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.

  9. #199
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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!

  10. #200
    Join Date
    Jan 2005
    Beans
    438

    Re: Build (backport) an newer Ubuntu package to run on an older Ubuntu version

    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?

Page 20 of 29 FirstFirst ... 101819202122 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •