Skip to contentSkip to conversation

buildset-config.controller: Workaround module dependency issue

PATCH In review Jussi Kukkonen 3 participants 3 messages Nov 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildset-config.controller: Workaround module dependency issue

Dynamically loaded modules are a problem for multilib builds: 32-bit Pango and Gdk-Pixbuf modules in particular do not get included in the image when 32-bit versions of the libraries get included.

Proper fix may require extensive changes to dependency handling:
Include the required modules manually in the test configuration as a workaround for 2.0.

Fixes [YOCTO #8624].
The underlying issue is [YOCTO #8570]

---
 buildset-config.controller/nightly-multilib.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
buildset-config.controller/nightly-multilib.conf +2 -2
index 7cf75c3..bc63c39 100644
@@ -24,13 +24,13 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
                             'buildhistory' : False, 'multilib': 'lib32',
                             'distro': 'poky',
-                            'atextappend' : '\nRPM_PREFER_ELF_ARCH = "1"\nIMAGE_INSTALL_append = " lib32-connman-gnome"\n'}},
+                            'atextappend' : '\nRPM_PREFER_ELF_ARCH = "1"\nIMAGE_INSTALL_append = " lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png  lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc"\n'}},
         {'BuildImages': {'images': 'core-image-sato'}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'multilib'}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
                             'buildhistory' : False, 'multilib': 'lib32',
                             'distro': 'poky', 'packages' : 'ipk',
-                            'atextappend' : '\nIMAGE_INSTALL_append = " lib32-connman-gnome"\n'}},
+                            'atextappend' : '\nIMAGE_INSTALL_append = " lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png  lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc"\n'}},
         {'BuildImages': {'images': 'core-image-sato'}},
         {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' : 'multilib'}},
         {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686',
Signature · 1 line
2.1.4
Acked-by on v1 1/1
#1 lore raw

Beth, please merge before the RC3 build.

Ross

Quoted 59 lines · Jussi Kukkonen

Dynamically loaded modules are a problem for multilib builds: 32-bit Pango and Gdk-Pixbuf modules in particular do not get included in the image when 32-bit versions of the libraries get included.

Proper fix may require extensive changes to dependency handling:
Include the required modules manually in the test configuration as a workaround for 2.0.

Fixes [YOCTO #8624].
The underlying issue is [YOCTO #8570]

---
 buildset-config.controller/nightly-multilib.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
buildset-config.controller/nightly-multilib.conf +1 -1
index 7cf75c3..bc63c39 100644
@@ -24,13 +24,13 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' :
 'x86_64',
                             'buildhistory' : False, 'multilib': 'lib32',
                             'distro': 'poky',
-                            'atextappend' : '\nRPM_PREFER_ELF_ARCH =
 "1"\nIMAGE_INSTALL_append = " lib32-connman-gnome"\n'}},
+                            'atextappend' : '\nRPM_PREFER_ELF_ARCH =

"1"\nIMAGE_INSTALL_append = " lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc"\n'}},
{'BuildImages': {'images': 'core-image-sato'}}, {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' :
'multilib'}},

         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' :
'x86_64',
                             'buildhistory' : False, 'multilib': 'lib32',
                             'distro': 'poky', 'packages' : 'ipk',

- 'atextappend' : '\nIMAGE_INSTALL_append = "
lib32-connman-gnome"\n'}},
+ 'atextappend' : '\nIMAGE_INSTALL_append = "
lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc"\n'}},
{'BuildImages': {'images': 'core-image-sato'}}, {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' :
'multilib'}},

         {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686',

--
2.1.4

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 4 lines · Ross

Beth, please merge before the RC3 build.

Pulled into master and pushed into production. Thanks.

Quoted 75 lines

Ross

Quoted 51 lines · Jussi Kukkonen

Dynamically loaded modules are a problem for multilib builds: 32-bit Pango and Gdk-Pixbuf modules in particular do not get included in the image when 32-bit versions of the libraries get included.

Proper fix may require extensive changes to dependency handling:
Include the required modules manually in the test configuration as a workaround for 2.0.

Fixes [YOCTO #8624].
The underlying issue is [YOCTO #8570]

---
 buildset-config.controller/nightly-multilib.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
buildset-config.controller/nightly-multilib.conf +1 -1
index 7cf75c3..bc63c39 100644
@@ -24,13 +24,13 @@ steps: [{'SetDest':{}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' :
 'x86_64',
                             'buildhistory' : False, 'multilib': 'lib32',
                             'distro': 'poky',
-                            'atextappend' : '\nRPM_PREFER_ELF_ARCH =
 "1"\nIMAGE_INSTALL_append = " lib32-connman-gnome"\n'}},
+                            'atextappend' : '\nRPM_PREFER_ELF_ARCH =

"1"\nIMAGE_INSTALL_append = " lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc"\n'}},
{'BuildImages': {'images': 'core-image-sato'}}, {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' :
'multilib'}},

         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' :
'x86_64',
                             'buildhistory' : False, 'multilib': 'lib32',
                             'distro': 'poky', 'packages' : 'ipk',

- 'atextappend' : '\nIMAGE_INSTALL_append = "
lib32-connman-gnome"\n'}},
+ 'atextappend' : '\nIMAGE_INSTALL_append = "
lib32-connman-gnome gdk-pixbuf-loader-jpeg lib32-gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-png lib32-gdk-pixbuf-loader-png pango-module-basic-fc lib32-pango-module-basic-fc"\n'}},
{'BuildImages': {'images': 'core-image-sato'}}, {'RunSanityTests': {'images': 'core-image-sato', 'suitesappend' :
'multilib'}},

         {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686',
Quoted 8 lines

--
2.1.4

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

Signature · 3 lines
Elizabeth Flanagan
Yocto Project
Build and Release