* [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long
@ 2012-07-04 10:16 Robert Yang
2012-07-04 10:16 ` [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length) Robert Yang
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Robert Yang @ 2012-07-04 10:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Zhenfeng.Zhao
The following changes since commit a6b6df1350149c116050cb93c3c7b4802c709d31:
task-core-tools-debug: Added openssh-sftp-server. (2012-07-03 14:52:38 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/apt
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/apt
Robert Yang (2):
apt 0.7.14: runtime error: filename too long (tmpdir length)
apt 0.7.14: runtime error: Method file has died unexpectedly
.../apt/apt-0.7.14/allocate-larger-memory.patch | 75 ++++++++++++++++++++
.../apt/apt-0.7.14/truncate-filename.patch | 35 +++++++++
meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
meta/recipes-devtools/apt/apt.inc | 2 +
meta/recipes-devtools/apt/apt_0.7.14.bb | 2 +-
5 files changed, 114 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/allocate-larger-memory.patch
create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length)
2012-07-04 10:16 [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Robert Yang
@ 2012-07-04 10:16 ` Robert Yang
2012-07-05 2:44 ` Saul Wold
2012-07-04 10:16 ` [PATCH 2/2] apt 0.7.14: runtime error: Method file has died unexpectedly Robert Yang
2012-07-09 17:09 ` [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Saul Wold
2 siblings, 1 reply; 6+ messages in thread
From: Robert Yang @ 2012-07-04 10:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Zhenfeng.Zhao
when the tmpdir dir is longer than 220, there is no files saved in
tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update,
this is because apt-get uses the path as the file name, but the file
name can't be longer than 255 according to /usr/include/linux/limits.h.
[YOCTO #2688]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../apt/apt-0.7.14/truncate-filename.patch | 35 ++++++++++++++++++++
meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
meta/recipes-devtools/apt/apt.inc | 1 +
meta/recipes-devtools/apt/apt_0.7.14.bb | 2 +-
4 files changed, 38 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch b/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
new file mode 100644
index 0000000..db1c42b
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
@@ -0,0 +1,35 @@
+strutl.cc: the filename can't be longer than 255
+
+The URItoFileName translates the path into the filename, but the
+filename can't be longer than 255 according to
+/usr/include/linux/limits.h.
+
+Truncate it when it is longer than 240 (leave some spaces for
+".Packages" and "._Release" suffix)
+
+Upstream-Status: Pending
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ apt-pkg/contrib/strutl.cc | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
+--- a/apt-pkg/contrib/strutl.cc
++++ b/apt-pkg/contrib/strutl.cc
+@@ -399,7 +399,12 @@ string URItoFileName(const string &URI)
+ // "\x00-\x20{}|\\\\^\\[\\]<>\"\x7F-\xFF";
+ string NewURI = QuoteString(U,"\\|{}[]<>\"^~_=!@#$%^&*");
+ replace(NewURI.begin(),NewURI.end(),'/','_');
+- return NewURI;
++
++ // Truncate from the head when it is longer than 240
++ if(NewURI.length() > 240)
++ return NewURI.substr(NewURI.length() - 240, NewURI.length() - 1);
++ else
++ return NewURI;
+ }
+ /*}}}*/
+ // Base64Encode - Base64 Encoding routine for short strings /*{{{*/
+--
+1.7.10.4
+
diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
index ca5476b..38e1fe6 100644
--- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
@@ -1,6 +1,6 @@
require apt-native.inc
-PR = "r8"
+PR = "r9"
SRC_URI += "file://nodoc.patch \
file://noconfigure.patch \
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
index 1f6343a..563eda1 100644
--- a/meta/recipes-devtools/apt/apt.inc
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -8,6 +8,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
file://localefixes.patch \
file://makerace.patch \
file://remove-redeclaration.patch \
+ file://truncate-filename.patch \
"
inherit autotools gettext
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.7.14.bb
index a627728..12dd1f2 100644
--- a/meta/recipes-devtools/apt/apt_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
@@ -3,7 +3,7 @@ RDEPENDS_${PN} = "dpkg"
LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
require apt.inc
-PR = "r13"
+PR = "r14"
SRC_URI += "file://nodoc.patch \
file://includes-fix.patch "
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] apt 0.7.14: runtime error: Method file has died unexpectedly
2012-07-04 10:16 [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Robert Yang
2012-07-04 10:16 ` [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length) Robert Yang
@ 2012-07-04 10:16 ` Robert Yang
2012-07-09 17:09 ` [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Saul Wold
2 siblings, 0 replies; 6+ messages in thread
From: Robert Yang @ 2012-07-04 10:16 UTC (permalink / raw)
To: openembedded-core; +Cc: Zhenfeng.Zhao
When the length of the tmpdir is longer than 400, there is an error
when run "apt-get update":
Method file has died unexpectedly!
This is because the "char S[1024]" is not enough for long URI, S[2048]
would be enough.
[YOCTO #2689]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../apt/apt-0.7.14/allocate-larger-memory.patch | 75 ++++++++++++++++++++
meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
meta/recipes-devtools/apt/apt.inc | 1 +
meta/recipes-devtools/apt/apt_0.7.14.bb | 2 +-
4 files changed, 78 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/allocate-larger-memory.patch
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/allocate-larger-memory.patch b/meta/recipes-devtools/apt/apt-0.7.14/allocate-larger-memory.patch
new file mode 100644
index 0000000..36e1499
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt-0.7.14/allocate-larger-memory.patch
@@ -0,0 +1,75 @@
+Method file has died unexpectedly
+
+"Method file has died unexpectedly!", this is because the "char S[1024]"
+is not enough for the long the URI, "char S[2048]" would be enough.
+
+It would be boring if we use malloc here since we can't know how much
+memory is needed except strelen() every component of it. So similarly
+use "char S[2048]" as it did before.
+
+Upstream-Status: Pending
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ apt-pkg/acquire-method.cc | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/apt-pkg/acquire-method.cc b/apt-pkg/acquire-method.cc
+--- a/apt-pkg/acquire-method.cc
++++ b/apt-pkg/acquire-method.cc
+@@ -95,7 +95,7 @@ void pkgAcqMethod::Fail(string Err,bool Transient)
+ *I = ' ';
+ }
+
+- char S[1024];
++ char S[2048];
+ if (Queue != 0)
+ {
+ snprintf(S,sizeof(S)-50,"400 URI Failure\nURI: %s\n"
+@@ -132,7 +132,7 @@ void pkgAcqMethod::URIStart(FetchResult &Res)
+ if (Queue == 0)
+ abort();
+
+- char S[1024] = "";
++ char S[2048] = "";
+ char *End = S;
+
+ End += snprintf(S,sizeof(S),"200 URI Start\nURI: %s\n",Queue->Uri.c_str());
+@@ -160,7 +160,7 @@ void pkgAcqMethod::URIDone(FetchResult &Res, FetchResult *Alt)
+ if (Queue == 0)
+ abort();
+
+- char S[1024] = "";
++ char S[2048] = "";
+ char *End = S;
+
+ End += snprintf(S,sizeof(S),"201 URI Done\nURI: %s\n",Queue->Uri.c_str());
+@@ -242,7 +242,7 @@ void pkgAcqMethod::URIDone(FetchResult &Res, FetchResult *Alt)
+ to be ackd */
+ bool pkgAcqMethod::MediaFail(string Required,string Drive)
+ {
+- char S[1024];
++ char S[2048];
+ snprintf(S,sizeof(S),"403 Media Failure\nMedia: %s\nDrive: %s\n\n",
+ Required.c_str(),Drive.c_str());
+
+@@ -411,7 +411,7 @@ void pkgAcqMethod::Log(const char *Format,...)
+ va_start(args,Format);
+
+ // sprintf the description
+- char S[1024];
++ char S[2048];
+ unsigned int Len = snprintf(S,sizeof(S)-4,"101 Log\nURI: %s\n"
+ "Message: ",CurrentURI.c_str());
+
+@@ -435,7 +435,7 @@ void pkgAcqMethod::Status(const char *Format,...)
+ va_start(args,Format);
+
+ // sprintf the description
+- char S[1024];
++ char S[2048];
+ unsigned int Len = snprintf(S,sizeof(S)-4,"102 Status\nURI: %s\n"
+ "Message: ",CurrentURI.c_str());
+
+--
+1.7.10.4
+
diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
index 38e1fe6..46f39f5 100644
--- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
@@ -1,6 +1,6 @@
require apt-native.inc
-PR = "r9"
+PR = "r10"
SRC_URI += "file://nodoc.patch \
file://noconfigure.patch \
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
index 563eda1..973ccb5 100644
--- a/meta/recipes-devtools/apt/apt.inc
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -9,6 +9,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
file://makerace.patch \
file://remove-redeclaration.patch \
file://truncate-filename.patch \
+ file://allocate-larger-memory.patch \
"
inherit autotools gettext
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.7.14.bb
index 12dd1f2..667b700 100644
--- a/meta/recipes-devtools/apt/apt_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
@@ -3,7 +3,7 @@ RDEPENDS_${PN} = "dpkg"
LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
require apt.inc
-PR = "r14"
+PR = "r15"
SRC_URI += "file://nodoc.patch \
file://includes-fix.patch "
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length)
2012-07-04 10:16 ` [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length) Robert Yang
@ 2012-07-05 2:44 ` Saul Wold
2012-07-05 3:08 ` Robert Yang
0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2012-07-05 2:44 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Zhenfeng.Zhao
On 07/04/2012 03:16 AM, Robert Yang wrote:
> when the tmpdir dir is longer than 220, there is no files saved in
> tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update,
> this is because apt-get uses the path as the file name, but the file
> name can't be longer than 255 according to /usr/include/linux/limits.h.
>
> [YOCTO #2688]
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> .../apt/apt-0.7.14/truncate-filename.patch | 35 ++++++++++++++++++++
> meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
> meta/recipes-devtools/apt/apt.inc | 1 +
> meta/recipes-devtools/apt/apt_0.7.14.bb | 2 +-
> 4 files changed, 38 insertions(+), 2 deletions(-)
> create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
>
> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch b/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
> new file mode 100644
> index 0000000..db1c42b
> --- /dev/null
> +++ b/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
> @@ -0,0 +1,35 @@
> +strutl.cc: the filename can't be longer than 255
> +
> +The URItoFileName translates the path into the filename, but the
> +filename can't be longer than 255 according to
> +/usr/include/linux/limits.h.
> +
> +Truncate it when it is longer than 240 (leave some spaces for
> +".Packages" and "._Release" suffix)
> +
> +Upstream-Status: Pending
> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> +---
> + apt-pkg/contrib/strutl.cc | 7 ++++++-
> + 1 file changed, 6 insertions(+), 1 deletion(-)
> +
> +diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
> +--- a/apt-pkg/contrib/strutl.cc
> ++++ b/apt-pkg/contrib/strutl.cc
> +@@ -399,7 +399,12 @@ string URItoFileName(const string &URI)
> + // "\x00-\x20{}|\\\\^\\[\\]<>\"\x7F-\xFF";
> + string NewURI = QuoteString(U,"\\|{}[]<>\"^~_=!@#$%^&*");
> + replace(NewURI.begin(),NewURI.end(),'/','_');
> +- return NewURI;
> ++
> ++ // Truncate from the head when it is longer than 240
> ++ if(NewURI.length() > 240)
> ++ return NewURI.substr(NewURI.length() - 240, NewURI.length() - 1);
> ++ else
> ++ return NewURI;
Robert, I am not super familiar with this part of the DPKG code, what
uses the URItoFileName() and what effect does the truncation have?
Sau!
> + }
> + /*}}}*/
> + // Base64Encode - Base64 Encoding routine for short strings /*{{{*/
> +--
> +1.7.10.4
> +
> diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
> index ca5476b..38e1fe6 100644
> --- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
> +++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
> @@ -1,6 +1,6 @@
> require apt-native.inc
>
> -PR = "r8"
> +PR = "r9"
>
> SRC_URI += "file://nodoc.patch \
> file://noconfigure.patch \
> diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
> index 1f6343a..563eda1 100644
> --- a/meta/recipes-devtools/apt/apt.inc
> +++ b/meta/recipes-devtools/apt/apt.inc
> @@ -8,6 +8,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
> file://localefixes.patch \
> file://makerace.patch \
> file://remove-redeclaration.patch \
> + file://truncate-filename.patch \
> "
>
> inherit autotools gettext
> diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.7.14.bb
> index a627728..12dd1f2 100644
> --- a/meta/recipes-devtools/apt/apt_0.7.14.bb
> +++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
> @@ -3,7 +3,7 @@ RDEPENDS_${PN} = "dpkg"
> LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
> require apt.inc
>
> -PR = "r13"
> +PR = "r14"
>
> SRC_URI += "file://nodoc.patch \
> file://includes-fix.patch "
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length)
2012-07-05 2:44 ` Saul Wold
@ 2012-07-05 3:08 ` Robert Yang
0 siblings, 0 replies; 6+ messages in thread
From: Robert Yang @ 2012-07-05 3:08 UTC (permalink / raw)
To: Saul Wold; +Cc: Zhenfeng.Zhao, Patches and discussions about the oe-core layer
On 07/05/2012 10:44 AM, Saul Wold wrote:
> On 07/04/2012 03:16 AM, Robert Yang wrote:
>> when the tmpdir dir is longer than 220, there is no files saved in
>> tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update,
>> this is because apt-get uses the path as the file name, but the file
>> name can't be longer than 255 according to /usr/include/linux/limits.h.
>>
>> [YOCTO #2688]
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> .../apt/apt-0.7.14/truncate-filename.patch | 35 ++++++++++++++++++++
>> meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
>> meta/recipes-devtools/apt/apt.inc | 1 +
>> meta/recipes-devtools/apt/apt_0.7.14.bb | 2 +-
>> 4 files changed, 38 insertions(+), 2 deletions(-)
>> create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
>>
>> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
>> b/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
>> new file mode 100644
>> index 0000000..db1c42b
>> --- /dev/null
>> +++ b/meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
>> @@ -0,0 +1,35 @@
>> +strutl.cc: the filename can't be longer than 255
>> +
>> +The URItoFileName translates the path into the filename, but the
>> +filename can't be longer than 255 according to
>> +/usr/include/linux/limits.h.
>> +
>> +Truncate it when it is longer than 240 (leave some spaces for
>> +".Packages" and "._Release" suffix)
>> +
>> +Upstream-Status: Pending
>> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> +---
>> + apt-pkg/contrib/strutl.cc | 7 ++++++-
>> + 1 file changed, 6 insertions(+), 1 deletion(-)
>> +
>> +diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
>> +--- a/apt-pkg/contrib/strutl.cc
>> ++++ b/apt-pkg/contrib/strutl.cc
>> +@@ -399,7 +399,12 @@ string URItoFileName(const string &URI)
>> + // "\x00-\x20{}|\\\\^\\[\\]<>\"\x7F-\xFF";
>> + string NewURI = QuoteString(U,"\\|{}[]<>\"^~_=!@#$%^&*");
>> + replace(NewURI.begin(),NewURI.end(),'/','_');
>> +- return NewURI;
>> ++
>> ++ // Truncate from the head when it is longer than 240
>> ++ if(NewURI.length() > 240)
>> ++ return NewURI.substr(NewURI.length() - 240, NewURI.length() - 1);
>> ++ else
>> ++ return NewURI;
>
> Robert, I am not super familiar with this part of the DPKG code, what uses the
> URItoFileName() and what effect does the truncation have?
>
Hi Saul,
The filename which is used /var/lib/apt/lists/ is from URItoFileName(), for
example, there is a line in my /etc/apt/sources.list:
deb http://mirrors.163.com/ubuntu/ maverick main restricted universe multiverse
Then the URItoFileName will change this line to a filename:
[snip]
mirrors.163.com_ubuntu_dists_maverick_main_binary-i386_Packages
mirrors.163.com_ubuntu_dists_maverick_restricted_binary-i386_Packages
[snip]
When the filename is longer than 240, truncate the head of them, e.g.:
ubuntu_dists_maverick_main_binary-i386_Packages
ubuntu_dists_maverick_restricted_binary-i386_Packages
I think this is fine for us since the end part of the path is uniq.
Another solution is that use the md5sum for the filename no matter how long
it is, or use the "translated_path+part_of_the_md5sum", this is easy to do,
but it is a little big change to apt, and we don't need.
// Robert
> Sau!
>
>> + }
>> + /*}}}*/
>> + // Base64Encode - Base64 Encoding routine for short strings /*{{{*/
>> +--
>> +1.7.10.4
>> +
>> diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
>> b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
>> index ca5476b..38e1fe6 100644
>> --- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
>> +++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
>> @@ -1,6 +1,6 @@
>> require apt-native.inc
>>
>> -PR = "r8"
>> +PR = "r9"
>>
>> SRC_URI += "file://nodoc.patch \
>> file://noconfigure.patch \
>> diff --git a/meta/recipes-devtools/apt/apt.inc
>> b/meta/recipes-devtools/apt/apt.inc
>> index 1f6343a..563eda1 100644
>> --- a/meta/recipes-devtools/apt/apt.inc
>> +++ b/meta/recipes-devtools/apt/apt.inc
>> @@ -8,6 +8,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
>> file://localefixes.patch \
>> file://makerace.patch \
>> file://remove-redeclaration.patch \
>> + file://truncate-filename.patch \
>> "
>>
>> inherit autotools gettext
>> diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb
>> b/meta/recipes-devtools/apt/apt_0.7.14.bb
>> index a627728..12dd1f2 100644
>> --- a/meta/recipes-devtools/apt/apt_0.7.14.bb
>> +++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
>> @@ -3,7 +3,7 @@ RDEPENDS_${PN} = "dpkg"
>> LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
>> require apt.inc
>>
>> -PR = "r13"
>> +PR = "r14"
>>
>> SRC_URI += "file://nodoc.patch \
>> file://includes-fix.patch "
>>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long
2012-07-04 10:16 [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Robert Yang
2012-07-04 10:16 ` [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length) Robert Yang
2012-07-04 10:16 ` [PATCH 2/2] apt 0.7.14: runtime error: Method file has died unexpectedly Robert Yang
@ 2012-07-09 17:09 ` Saul Wold
2 siblings, 0 replies; 6+ messages in thread
From: Saul Wold @ 2012-07-09 17:09 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Zhenfeng.Zhao
On 07/04/2012 03:16 AM, Robert Yang wrote:
> The following changes since commit a6b6df1350149c116050cb93c3c7b4802c709d31:
>
> task-core-tools-debug: Added openssh-sftp-server. (2012-07-03 14:52:38 +0100)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib robert/apt
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/apt
>
> Robert Yang (2):
> apt 0.7.14: runtime error: filename too long (tmpdir length)
> apt 0.7.14: runtime error: Method file has died unexpectedly
>
> .../apt/apt-0.7.14/allocate-larger-memory.patch | 75 ++++++++++++++++++++
> .../apt/apt-0.7.14/truncate-filename.patch | 35 +++++++++
> meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
> meta/recipes-devtools/apt/apt.inc | 2 +
> meta/recipes-devtools/apt/apt_0.7.14.bb | 2 +-
> 5 files changed, 114 insertions(+), 2 deletions(-)
> create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/allocate-larger-memory.patch
> create mode 100644 meta/recipes-devtools/apt/apt-0.7.14/truncate-filename.patch
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-09 17:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 10:16 [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Robert Yang
2012-07-04 10:16 ` [PATCH 1/2] apt 0.7.14: runtime error: filename too long (tmpdir length) Robert Yang
2012-07-05 2:44 ` Saul Wold
2012-07-05 3:08 ` Robert Yang
2012-07-04 10:16 ` [PATCH 2/2] apt 0.7.14: runtime error: Method file has died unexpectedly Robert Yang
2012-07-09 17:09 ` [PATCH 0/2] apt 0.7.14: runtime error fix when tmpdir is very long Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox