Bug 3699

Summary: [Autobuilder] cedartrail: no package provides perl(IPC::Open2)
Product: [Runtime] Package Management Issues Reporter: Radu Moisan <radu.moisan>
Component: RPMAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, bogdan.a.marinescu, constantinx.musca, dvhart, infras.ab.watcher, Infras.watcher, richard.purdie, sgw, yp.kernel.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: Patch sent for review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Radu Moisan 2013-01-10 09:26:03 UTC
The autobuilder logs can be found at no package provides perl(IPC::Open2)
May be the same issue with Bugz[3698], but not sure so I'm filling in as a separate failure.
Comment 1 Radu Moisan 2013-01-10 10:02:38 UTC
adding missing link
http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/217
Comment 2 Saul Wold 2013-01-10 15:49:25 UTC
| Note: adding Smart RPM DB channel
| 
| Note: to be installed:  packagegroup-core-x11-sato-games@cedartrail packagegroup-base-extended@cedartrail packagegroup-core-x11-base@all smartpm@core2 packagegroup-core-tools-profile@cedartrail packagegroup-core-tools-testapps@cedartrail packagegroup-core-tools-debug@cedartrail packagegroup-core-qt-demoapps@all packagegroup-core-boot@cedartrail packagegroup-core-sdk@all psplash@core2 packagegroup-core-standalone-sdk-target@all rpm@core2 packagegroup-core-ssh-openssh@all packagegroup-core-x11-sato@cedartrail kernel-dev@cedartrail locale-base-en-us@core2 locale-base-en-gb@core2
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install kernel-dev-3.0.32+git0+fa9b8c24e84bb9d75d08d197c84c50ce4f99c424_1e79e03d115ed177882ab53909a4f3555e434833-r5.1@cedartrail: no package provides perl(IPC::Open2)
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (see /home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/build/tmp/work/cedartrail-poky-linux/core-image-sato-sdk/1.0-r0/temp/log.do_rootfs.20020 for further information)
NOTE: recipe core-image-sato-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 23 (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1'
Comment 3 Saul Wold 2013-01-10 15:52:06 UTC
Possibly RRECOMMENDS for Perl IPC module in the kernel-dev packages
Comment 4 Darren Hart 2013-01-10 15:53:54 UTC
This appears to be the result of a script in the kernel-dev package requiring perl and the IPC::Open2 module. We need to identify which script, if it's useful and either remove it or RDPENDS on the module.
Comment 5 Bruce Ashfield 2013-01-10 21:31:58 UTC
Is this happening on boards that are using the 3.4 kernel ?
Comment 6 Constantin Musca 2013-01-16 11:25:08 UTC
Please check also these autobuilder logs:
http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/218

Errors:
Can't install kernel-dev-3.0.32+git0+fa9b8c24e84bb9d75d08d197c84c50ce4f99c424_1e79e03d115ed177882ab53909a4f3555e434833-r5.1@cedartrail: no package provides perl(FileHandle)

Can't install kernel-dev-3.0.32+git0+fa9b8c24e84bb9d75d08d197c84c50ce4f99c424_1e79e03d115ed177882ab53909a4f3555e434833-r5.1@cedartrail: no package provides perl(warnings)


Cheers,
Constantin
Comment 7 Bruce Ashfield 2013-01-16 13:43:34 UTC
That's the thing. I can see it on the 3.0 kernel, but we are about to drop support in
1.4, if 3.4+ don't have the problem, this is a lower priority issue.
Comment 8 Darren Hart 2013-01-24 16:07:23 UTC
*** Bug 3790 has been marked as a duplicate of this bug. ***
Comment 9 Paul Eggleton 2013-01-25 11:32:27 UTC
This is a slightly different problem from bug 3898, but the underlying issue is the same - runtime dependencies being added during do_package by rpmdeps, which is too late for the build system to know they need to be satisfied. It appears to be because the perl file dependency gathering is not disabled when it ought to be. I've sent a patch to address the latter.
Comment 10 Paul Eggleton 2013-01-25 11:32:47 UTC
*** Bug 3791 has been marked as a duplicate of this bug. ***
Comment 11 Richard Purdie 2013-01-31 12:54:05 UTC
The perl depedencies were getting added since if a relocated rpmdeps-oecore was being used, it could look in the wrong location for its config files. This was due to missing wrapper variables from the typo fixed by:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=9a26b9c69c47c87ce71a06f76682c187767e7897