bedazzled@desktop /usr/local/overlays/custom/net-libs/libtorrent $ sudo ebuild libtorrent-0.10.1.ebuild unpack
* libtorrent-0.10.1.tar.gz MD5 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz RMD160 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz SHA1 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz SHA256 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking libtorrent-0.10.1.tar.gz ;-) ... [ ok ]
/usr/local/overlays/custom/net-libs/libtorrent/libtorrent-0.10.1.ebuild: line 27: h: command not found
/usr/local/overlays/custom/net-libs/libtorrent/libtorrent-0.10.1.ebuild: line 27: h: command not found
>>> Unpacking source...
>>> Unpacking libtorrent-0.10.1.tar.gz to /tmp/portage/libtorrent-0.10.1/work
* Applying new_peer_id.patch ...
* Failed Patch: new_peer_id.patch !
* ( /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch )
*
* Include in your bugreport the contents of:
*
* /tmp/portage/libtorrent-0.10.1/temp/new_peer_id.patch-18597.out
bedazzled@desktop /usr/local/overlays/custom/net-libs/libtorrent $ cat /tmp/portage/libtorrent-0.10.1/temp/new_peer_id.patch-18597.out
!!! ERROR: net-libs/libtorrent-0.10.1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
libtorrent-0.10.1.ebuild, line 25: Called epatch '/usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch'
eutils.eclass, line 341: Called die
!!! Failed Patch: new_peer_id.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/overlays/custom'
***** new_peer_id.patch *****
=============================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
patching file configure
Hunk #1 FAILED at 1544.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
=============================
PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
patching file configure
Hunk #1 FAILED at 1544.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
=============================
PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libtorrent-0.10.1/configure
|===================================================================
|--- configure.orig 2006-09-08 03:14:54.000000000 +0300
|+++ configure 2006-09-14 23:01:46.751723904 +0300
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================
PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libtorrent-0.10.1/configure
|===================================================================
|--- configure.orig 2006-09-08 03:14:54.000000000 +0300
|+++ configure 2006-09-14 23:01:46.751723904 +0300
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================
PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libtorrent-0.10.1/configure
|===================================================================
|--- configure.orig 2006-09-08 03:14:54.000000000 +0300
|+++ configure 2006-09-14 23:01:46.751723904 +0300
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
bedazzled@desktop /usr/local/overlays/custom/net-libs/libtorrent $ cat files/new_peer_id.patch
Index: libtorrent-0.10.1/configure
===================================================================
--- configure.orig 2006-09-08 03:14:54.000000000 +0300
+++ configure 2006-09-14 23:01:46.751723904 +0300
@@ -1544,7 +1544,7 @@
cat >>confdefs.h <<\_ACEOF
-#define PEER_NAME "-lt0A20-"
+#define PEER_NAME "-ut1500-"
_ACEOF
bedazzled@desktop /usr/local/overlays/custom/net-libs/libtorrent $ sudo ebuild libtorrent-0.10.1.ebuild unpack
* libtorrent-0.10.1.tar.gz MD5 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz RMD160 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz SHA1 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz SHA256 ;-) ... [ ok ]
* libtorrent-0.10.1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking libtorrent-0.10.1.tar.gz ;-) ... [ ok ]
/usr/local/overlays/custom/net-libs/libtorrent/libtorrent-0.10.1.ebuild: line 27: h: command not found
/usr/local/overlays/custom/net-libs/libtorrent/libtorrent-0.10.1.ebuild: line 27: h: command not found
>>> Unpacking source...
>>> Unpacking libtorrent-0.10.1.tar.gz to /tmp/portage/libtorrent-0.10.1/work
* Applying new_peer_id.patch ...
* Failed Patch: new_peer_id.patch !
* ( /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch )
*
* Include in your bugreport the contents of:
*
* /tmp/portage/libtorrent-0.10.1/temp/new_peer_id.patch-18597.out
bedazzled@desktop /usr/local/overlays/custom/net-libs/libtorrent $ cat /tmp/portage/libtorrent-0.10.1/temp/new_peer_id.patch-18597.out
!!! ERROR: net-libs/libtorrent-0.10.1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_unpack
ebuild.sh, line 708: Called src_unpack
libtorrent-0.10.1.ebuild, line 25: Called epatch '/usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch'
eutils.eclass, line 341: Called die
!!! Failed Patch: new_peer_id.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/overlays/custom'
***** new_peer_id.patch *****
=============================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
patching file configure
Hunk #1 FAILED at 1544.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
=============================
PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
patching file configure
Hunk #1 FAILED at 1544.
1 out of 1 hunk FAILED -- saving rejects to file configure.rej
=============================
PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libtorrent-0.10.1/configure
|===================================================================
|--- configure.orig 2006-09-08 03:14:54.000000000 +0300
|+++ configure 2006-09-14 23:01:46.751723904 +0300
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================
PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libtorrent-0.10.1/configure
|===================================================================
|--- configure.orig 2006-09-08 03:14:54.000000000 +0300
|+++ configure 2006-09-14 23:01:46.751723904 +0300
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
=============================
PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/overlays/custom/net-libs/libtorrent/files/new_peer_id.patch
=============================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libtorrent-0.10.1/configure
|===================================================================
|--- configure.orig 2006-09-08 03:14:54.000000000 +0300
|+++ configure 2006-09-14 23:01:46.751723904 +0300
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
bedazzled@desktop /usr/local/overlays/custom/net-libs/libtorrent $ cat files/new_peer_id.patch
Index: libtorrent-0.10.1/configure
===================================================================
--- configure.orig 2006-09-08 03:14:54.000000000 +0300
+++ configure 2006-09-14 23:01:46.751723904 +0300
@@ -1544,7 +1544,7 @@
cat >>confdefs.h <<\_ACEOF
-#define PEER_NAME "-lt0A20-"
+#define PEER_NAME "-ut1500-"
_ACEOF