All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp
@ 2020-02-22  5:29 Jeremy A. Puhlman
  2020-02-23  8:15 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremy A. Puhlman @ 2020-02-22  5:29 UTC (permalink / raw)
  To: openembedded-devel

From: Jeremy Puhlman <jpuhlman@mvista.com>

A timestamp was getting encoded into the gzip header. This
causes multilib conflicts when installed together, and would
likely fail reproducablity tests.
---
 ...ess-times-from-changing-resulting-gzip-md.patch | 25 ++++++++++++++++++++++
 meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb  |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch

diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
new file mode 100644
index 000000000..82d0e99d0
--- /dev/null
+++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
@@ -0,0 +1,25 @@
+From da668e5bf1a721797361ab866d09913ee8e157c4 Mon Sep 17 00:00:00 2001
+From: Jeremy Puhlman <jpuhlman@mvista.com>
+Date: Sat, 22 Feb 2020 04:37:04 +0000
+Subject: [PATCH] Prevent access times from changing resulting gzip md5sum
+
+Upstream-Status: Pending
+https://sourceforge.net/p/ipmiutil/support-requests/40/attachment/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
+---
+ doc/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index b792762..2c52ce6 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -59,5 +59,5 @@ install:
+ 	${INSTALL_DATA_SH} iuser.8 	 ${manto}
+ 	${INSTALL_DATA_SH} iseltime.8 	 ${manto}
+ 	${INSTALL_DATA_SH} bmclanpet.mib ${datato}
+-	cd ${manto}; gzip -f *.8
++	cd ${manto}; gzip -Tf *.8
+ 	
+-- 
+2.13.3
+
diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
index 3e2634028..d0f3688a2 100644
--- a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
+++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
@@ -21,6 +21,7 @@ PARALLEL_MAKE = ""
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \
            file://fix_systemd_path.patch \
+           file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \
           "
 SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9"
 SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3"
-- 
2.13.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp
  2020-02-22  5:29 [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp Jeremy A. Puhlman
@ 2020-02-23  8:15 ` Khem Raj
  2020-02-23 18:23   ` Jeremy A. Puhlman
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2020-02-23  8:15 UTC (permalink / raw)
  To: Jeremy A. Puhlman, openembedded-devel

fails with clang

https://errors.yoctoproject.org/Errors/Details/392235/

On 2/21/20 9:29 PM, Jeremy A. Puhlman wrote:
> From: Jeremy Puhlman <jpuhlman@mvista.com>
>
> A timestamp was getting encoded into the gzip header. This
> causes multilib conflicts when installed together, and would
> likely fail reproducablity tests.
> ---
>  ...ess-times-from-changing-resulting-gzip-md.patch | 25 ++++++++++++++++++++++
>  meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb  |  1 +
>  2 files changed, 26 insertions(+)
>  create mode 100644 meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
>
> diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
> new file mode 100644
> index 000000000..82d0e99d0
> --- /dev/null
> +++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
> @@ -0,0 +1,25 @@
> +From da668e5bf1a721797361ab866d09913ee8e157c4 Mon Sep 17 00:00:00 2001
> +From: Jeremy Puhlman <jpuhlman@mvista.com>
> +Date: Sat, 22 Feb 2020 04:37:04 +0000
> +Subject: [PATCH] Prevent access times from changing resulting gzip md5sum
> +
> +Upstream-Status: Pending
> +https://sourceforge.net/p/ipmiutil/support-requests/40/attachment/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
> +---
> + doc/Makefile.am | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/doc/Makefile.am b/doc/Makefile.am
> +index b792762..2c52ce6 100644
> +--- a/doc/Makefile.am
> ++++ b/doc/Makefile.am
> +@@ -59,5 +59,5 @@ install:
> + 	${INSTALL_DATA_SH} iuser.8 	 ${manto}
> + 	${INSTALL_DATA_SH} iseltime.8 	 ${manto}
> + 	${INSTALL_DATA_SH} bmclanpet.mib ${datato}
> +-	cd ${manto}; gzip -f *.8
> ++	cd ${manto}; gzip -Tf *.8
> + 	
> +-- 
> +2.13.3
> +
> diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
> index 3e2634028..d0f3688a2 100644
> --- a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
> +++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
> @@ -21,6 +21,7 @@ PARALLEL_MAKE = ""
>  
>  SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \
>             file://fix_systemd_path.patch \
> +           file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \
>            "
>  SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9"
>  SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3"


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp
  2020-02-23  8:15 ` Khem Raj
@ 2020-02-23 18:23   ` Jeremy A. Puhlman
  2020-02-23 18:40     ` Adrian Bunk
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremy A. Puhlman @ 2020-02-23 18:23 UTC (permalink / raw)
  To: Khem Raj, openembedded-devel

On 2/23/2020 12:15 AM, Khem Raj wrote:
> fails with clang
>
> https://errors.yoctoproject.org/Errors/Details/392235/

Its a hosttools issue. I was using hosttools tarball that uses pigz
as its gzip. Just needs a depends on pigz-native. Ill respin it.

> On 2/21/20 9:29 PM, Jeremy A. Puhlman wrote:
>> From: Jeremy Puhlman <jpuhlman@mvista.com>
>>
>> A timestamp was getting encoded into the gzip header. This
>> causes multilib conflicts when installed together, and would
>> likely fail reproducablity tests.
>> ---
>>   ...ess-times-from-changing-resulting-gzip-md.patch | 25 ++++++++++++++++++++++
>>   meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb  |  1 +
>>   2 files changed, 26 insertions(+)
>>   create mode 100644 meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
>>
>> diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
>> new file mode 100644
>> index 000000000..82d0e99d0
>> --- /dev/null
>> +++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
>> @@ -0,0 +1,25 @@
>> +From da668e5bf1a721797361ab866d09913ee8e157c4 Mon Sep 17 00:00:00 2001
>> +From: Jeremy Puhlman <jpuhlman@mvista.com>
>> +Date: Sat, 22 Feb 2020 04:37:04 +0000
>> +Subject: [PATCH] Prevent access times from changing resulting gzip md5sum
>> +
>> +Upstream-Status: Pending
>> +https://sourceforge.net/p/ipmiutil/support-requests/40/attachment/0001-Prevent-access-times-from-changing-resulting-gzip-md.patch
>> +---
>> + doc/Makefile.am | 2 +-
>> + 1 file changed, 1 insertion(+), 1 deletion(-)
>> +
>> +diff --git a/doc/Makefile.am b/doc/Makefile.am
>> +index b792762..2c52ce6 100644
>> +--- a/doc/Makefile.am
>> ++++ b/doc/Makefile.am
>> +@@ -59,5 +59,5 @@ install:
>> + 	${INSTALL_DATA_SH} iuser.8 	 ${manto}
>> + 	${INSTALL_DATA_SH} iseltime.8 	 ${manto}
>> + 	${INSTALL_DATA_SH} bmclanpet.mib ${datato}
>> +-	cd ${manto}; gzip -f *.8
>> ++	cd ${manto}; gzip -Tf *.8
>> + 	
>> +--
>> +2.13.3
>> +
>> diff --git a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
>> index 3e2634028..d0f3688a2 100644
>> --- a/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
>> +++ b/meta-oe/recipes-kernel/ipmiutil/ipmiutil_3.1.5.bb
>> @@ -21,6 +21,7 @@ PARALLEL_MAKE = ""
>>   
>>   SRC_URI = "${SOURCEFORGE_MIRROR}/ipmiutil/ipmiutil-${PV}.tar.gz \
>>              file://fix_systemd_path.patch \
>> +           file://0001-Prevent-access-times-from-changing-resulting-gzip-md.patch \
>>             "
>>   SRC_URI[md5sum] = "292d6df25cad678bb27e5c8cdc6748f9"
>>   SRC_URI[sha256sum] = "58ccdbd5755d7dd72478756715af09e9c73330dfad2b91dbf03d2ac504b301a3"

-- 
Jeremy A. Puhlman
jpuhlman@mvista.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp
  2020-02-23 18:23   ` Jeremy A. Puhlman
@ 2020-02-23 18:40     ` Adrian Bunk
  2020-02-23 18:43       ` Jeremy A. Puhlman
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2020-02-23 18:40 UTC (permalink / raw)
  To: Jeremy A. Puhlman; +Cc: openembedded-devel

On Sun, Feb 23, 2020 at 10:23:48AM -0800, Jeremy A. Puhlman wrote:
> On 2/23/2020 12:15 AM, Khem Raj wrote:
> > fails with clang
> > 
> > https://errors.yoctoproject.org/Errors/Details/392235/
> 
> Its a hosttools issue. I was using hosttools tarball that uses pigz
> as its gzip. Just needs a depends on pigz-native. Ill respin it.

Is there a reason why you aren't using -n instead?

cu
Adrian


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp
  2020-02-23 18:40     ` Adrian Bunk
@ 2020-02-23 18:43       ` Jeremy A. Puhlman
  0 siblings, 0 replies; 5+ messages in thread
From: Jeremy A. Puhlman @ 2020-02-23 18:43 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: openembedded-devel



On 2/23/2020 10:40 AM, Adrian Bunk wrote:
> On Sun, Feb 23, 2020 at 10:23:48AM -0800, Jeremy A. Puhlman wrote:
>> On 2/23/2020 12:15 AM, Khem Raj wrote:
>>> fails with clang
>>>
>>> https://errors.yoctoproject.org/Errors/Details/392235/
>> Its a hosttools issue. I was using hosttools tarball that uses pigz
>> as its gzip. Just needs a depends on pigz-native. Ill respin it.
> Is there a reason why you aren't using -n instead?
Cause I was laser focused on timestamp. Yeah -n is the right way to go, and
I don't use the system gzip pretty much anywhere(all my builds are on top of
the buildtools).
>
> cu
> Adrian
>

-- 
Jeremy A. Puhlman
jpuhlman@mvista.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-23 18:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-22  5:29 [meta-oe][PATCH] ipmiutil: gzip man pages with out timestamp Jeremy A. Puhlman
2020-02-23  8:15 ` Khem Raj
2020-02-23 18:23   ` Jeremy A. Puhlman
2020-02-23 18:40     ` Adrian Bunk
2020-02-23 18:43       ` Jeremy A. Puhlman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.