Find the answer to your Linux question:
Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By AdmiralBeotch
Hello! I'm trying to patch mediatomb (UpnP server) with a lastfm patch, and I'm using this tutorial Compiling the lastfm patch works fine, just when I try to patch mediatomb, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    3

    Failed Hunks?


    Hello!

    I'm trying to patch mediatomb (UpnP server) with a lastfm patch, and I'm using this tutorial

    Compiling the lastfm patch works fine, just when I try to patch mediatomb, I get the following errors:

    Code:
    hermann@debian-server-h4:~/mediatomb-0.11.0$ patch -p0 < ../lastfmlib-0.1.3/mediatomb.patch
    patching file src/config_manager.cc
    Hunk #1 FAILED at 1966.
    1 out of 1 hunk FAILED -- saving rejects to file src/config_manager.cc.rej
    patching file src/server.cc
    patching file src/lastfm.h
    patching file src/common.h
    Hunk #1 FAILED at 349.
    1 out of 1 hunk FAILED -- saving rejects to file src/common.h.rej
    patching file src/config_manager.h
    Hunk #1 succeeded at 157 with fuzz 2 (offset -28 lines).
    patching file src/file_request_handler.cc
    Hunk #1 succeeded at 55 (offset -7 lines).
    Hunk #2 succeeded at 494 (offset -131 lines).
    patching file src/lastfm.cc
    patching file build/libmediatomb_src
    Hunk #1 succeeded at 55 (offset -8 lines).
    patching file build/Makefile.am
    Hunk #1 FAILED at 27.
    Hunk #2 FAILED at 54.
    Hunk #3 FAILED at 93.
    3 out of 3 hunks FAILED -- saving rejects to file build/Makefile.am.rej
    patching file configure.ac
    Hunk #1 succeeded at 2498 with fuzz 1 (offset 929 lines).
    Hunk #2 FAILED at 2834.
    1 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej
    Is there a common way to solve this problem or is the script faulty?
    Thank you for any help!

    Greets
    hermann4

    PS: Sorry for the language; I'm from Germany, through I hope that you know what I mean

  2. #2
    Just Joined! AdmiralBeotch's Avatar
    Join Date
    Feb 2009
    Location
    Las Vegas, NV
    Posts
    17
    I'm not sure this solves your problem, but this is the only failed hunk I could turn up for you...
    Attached Images Attached Images
    xuzhilin likes this.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Posts
    3
    Quote Originally Posted by AdmiralBeotch View Post
    I'm not sure this solves your problem, but this is the only failed hunk I could turn up for you...
    lol!
    Really nice picture, now I know what to do!
    Thanks!

  4. #4
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1
    I had the same problem, but not anymore!
    Thanks, that solved my problem too.

Posting Permissions

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