Skip to contentSkip to conversation

libogg: upgrade to 1.3.3

PATCH In review Maxin B. John 2 participants 4 messages Nov 16, 2017 – Nov 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libogg: upgrade to 1.3.3

1.3.2 -> 1.3.3

---
 meta/recipes-multimedia/libogg/{libogg_1.3.2.bb => libogg_1.3.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/libogg/{libogg_1.3.2.bb => libogg_1.3.3.bb} (80%)
meta/recipes-multimedia/libogg/libogg_1.3.3.bb renamed from meta/recipes-multimedia/libogg/libogg_1.3.2.bb +2 -2
similarity index 80%
rename from meta/recipes-multimedia/libogg/libogg_1.3.2.bb
rename to meta/recipes-multimedia/libogg/libogg_1.3.3.bb
index 0142e0f..8d88f1f 100644
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=db1b7a668b2a6f47b2af88fb008ad555 \
 
 SRC_URI = "http://downloads.xiph.org/releases/ogg/${BP}.tar.xz"
 
-SRC_URI[md5sum] = "5c3a34309d8b98640827e5d0991a4015"
-SRC_URI[sha256sum] = "3f687ccdd5ac8b52d76328fbbfebc70c459a40ea891dbf3dccb74a210826e79b"
+SRC_URI[md5sum] = "87ed742047f065046eb6c36745d871b8"
+SRC_URI[sha256sum] = "4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08"
 
 inherit autotools pkgconfig
Signature · 1 line
2.4.0
#1 lore raw

PATCH 2/2 image.bbclass: improve reproducibility

Improve reproducibility of builds by adding --apparent-size to du -ks in get_rootfs_size

[YOCTO #12235]

---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/image.bbclass +1 -1
index 0d14250..a24a561 100644
@@ -524,7 +524,7 @@ def get_rootfs_size(d):
     initramfs_fstypes = d.getVar('INITRAMFS_FSTYPES') or ''
     initramfs_maxsize = d.getVar('INITRAMFS_MAXSIZE')
 
-    output = subprocess.check_output(['du', '-ks',
+    output = subprocess.check_output(['du', '--apparent-size', '-ks',
                                       d.getVar('IMAGE_ROOTFS')])
     size_kb = int(output.split()[0])
     base_size = size_kb * overhead_factor
Signature · 1 line
2.4.0
#2 lore raw

Re: [PATCH 2/2] image.bbclass: improve reproducibility

I think this is to blame for a slew of failures on the autobuilder:

http://errors.yoctoproject.org/Errors/Latest/?filter=57ddf212e64207edfbd813d32ca3a15f6c1c8211&type=commit

Such as:

NOTE: FAIL [0.616s]: test_df (df.DfTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
return func(*args, **kwargs)
File
"/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/cases/df.py", line 13, in test_df

    self.assertTrue(int(output)>5120, msg=msg)

AssertionError: False is not true : Not enough space on image. Current size is 0

Ross

Quoted 32 lines · Maxin B. John

Improve reproducibility of builds by adding --apparent-size to du -ks in get_rootfs_size

[YOCTO #12235]

---
 meta/classes/image.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/image.bbclass +1 -2
index 0d14250..a24a561 100644
@@ -524,7 +524,7 @@ def get_rootfs_size(d):
     initramfs_fstypes = d.getVar('INITRAMFS_FSTYPES') or ''
     initramfs_maxsize = d.getVar('INITRAMFS_MAXSIZE')
 
-    output = subprocess.check_output(['du', '-ks',
+    output = subprocess.check_output(['du', '--apparent-size', '-ks',
                                       d.getVar('IMAGE_ROOTFS')])
     size_kb = int(output.split()[0])
     base_size = size_kb * overhead_factor
--

2.4.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw

Re: [PATCH 2/2] image.bbclass: improve reproducibility

Hi Ross,

Quoted 1 line · Ross

I think this is to blame for a slew of failures on the autobuilder:

Sorry for that. Please revert it.

Quoted 15 lines

http://errors.yoctoproject.org/Errors/Latest/?filter=57ddf212e64207edfbd813d32ca3a15f6c1c8211&type=commit

Such as:

NOTE: FAIL [0.616s]: test_df (df.DfTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f return func(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f return func(*args, **kwargs)
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-mips-lsb/build/meta/lib/oeqa/runtime/cases/df.py", line 13, in test_df self.assertTrue(int(output)>5120, msg=msg)
AssertionError: False is not true : Not enough space on image. Current size is 0

Quoted 1 line

Ross

I will check what went wrong there.

Quoted 6 lines · Maxin B. John
Quoted 5 lines

Improve reproducibility of builds by adding --apparent-size to du -ks in get_rootfs_size

[YOCTO #12235]

Best Regards,
Maxin