Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484692 - =net-libs/libnatpmp-20130911[-static-libs] - Failed Patch: remove-static-lib-20120821.patch !
Summary: =net-libs/libnatpmp-20130911[-static-libs] - Failed Patch: remove-static-lib-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 484720 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-12 19:22 UTC by eroen
Modified: 2013-09-13 13:57 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (20130912-191341.log,2.18 KB, text/plain)
2013-09-12 19:22 UTC, eroen
Details
remove-static-lib-20120821.patch.out (remove-static-lib-20120821.patch.out,3.38 KB, text/plain)
2013-09-12 19:23 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2013-09-12 19:22:57 UTC
Created attachment 358552 [details]
build.log

Building net-libs/libnatpmp-20130911 with USE=-static-libs fails when applying the patch to disable static libs.

From build.log:
 * Applying remove-static-lib-20120821.patch ...

 * Failed Patch: remove-static-lib-20120821.patch !
 *  ( /usr/portage/net-libs/libnatpmp/files/remove-static-lib-20120821.patch )

From remove-static-lib-20120821.patch.out:
PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/net-libs/libnatpmp/files/remove-static-lib-20120821.patch'

============================================
checking file Makefile
Hunk #1 succeeded at 35 with fuzz 2 (offset 11 lines).
Hunk #2 succeeded at 57 (offset 20 lines).
Hunk #3 succeeded at 71 (offset 25 lines).
Hunk #4 FAILED at 56.
Hunk #5 FAILED at 77.
2 out of 5 hunks FAILED

patch program exited with status 1
Comment 1 eroen 2013-09-12 19:23:59 UTC
Created attachment 358554 [details]
remove-static-lib-20120821.patch.out
Comment 2 Anthony Basile gentoo-dev 2013-09-12 21:48:00 UTC
Hmm ... I test this just this morning.  I must not have had enough coffee yet :(  Sorry about that.  I'll fix it.
Comment 3 Anthony Basile gentoo-dev 2013-09-13 11:09:16 UTC
Okay I was sufficiently caffinated this morning, so this should be fixed.  Reopen this bug if it isn't.  And thanks for the report :)
Comment 4 Anton Kochkov 2013-09-13 12:58:02 UTC
*** Bug 484720 has been marked as a duplicate of this bug. ***