Bug 1875 - After util-linux: Update to 2.20.1 build without GPLv3 packages fails
Summary: After util-linux: Update to 2.20.1 build without GPLv3 packages fails
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M2
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: Patch Pending
Depends on:
Blocks:
 
Reported: 2012-01-05 06:39 UTC by Andrei Gherzan
Modified: 2012-01-08 03:56 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
fix (8.33 KB, patch)
2012-01-05 08:29 UTC, Andrei Gherzan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Gherzan 2012-01-05 06:39:55 UTC
Find below the log. This is because the patch which strips off lscpu now it's not applicable on this new version. I will recreate the patch and will commit it as soon as possible.


Log data follows:
| NOTE: Applying patch 'util-linux-ng-replace-siginterrupt.patch' (../poky/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-replace-siginterrupt.patch)
| NOTE: Applying patch 'util-linux-ng-2.16-mount_lock_path.patch' (../poky/meta/recipes-core/util-linux/util-linux-2.20.1/util-linux-ng-2.16-mount_lock_path.patch)
| NOTE: Applying patch 'uclibc-__progname-conflict.patch' (../poky/meta/recipes-core/util-linux/util-linux-2.20.1/uclibc-__progname-conflict.patch)
| NOTE: Applying patch 'remove-lscpu.patch' (../poky/meta/recipes-core/util-linux/util-linux-2.20.1/remove-lscpu.patch)
| ERROR: Error executing a python function in /home/agherzan/work/wrs/yocto-adige/meta-ivi/../poky/meta/recipes-core/util-linux/util-linux_2.20.1.bb:
| CmdError: Command Error: exit status: 1  Output:
| Applying patch remove-lscpu.patch
| patching file sys-utils/Makefile.am
| patching file sys-utils/Makefile.in
| Hunk #1 FAILED at 51.
| Hunk #2 FAILED at 98.
| Hunk #3 FAILED at 146.
| Hunk #4 FAILED at 206.
| Hunk #5 FAILED at 242.
| Hunk #6 FAILED at 438.
| Hunk #7 FAILED at 693.
| Hunk #8 FAILED at 743.
| 8 out of 8 hunks FAILED -- rejects in file sys-utils/Makefile.in
| Patch remove-lscpu.patch does not apply (enforce with -f)
| 
| ERROR: The stack trace of python calls that resulted in this exception/failure was:
| ERROR:   File "patch_do_patch", line 53, in <module>
| ERROR:
| ERROR:   File "patch_do_patch", line 50, in patch_do_patch
| ERROR:
| ERROR:   File "/home/agherzan/work/wrs/yocto-adige/meta-ivi/../poky/meta/lib/oe/patch.py", line 339, in Resolve
| ERROR:     raise sys.exc_value
| ERROR:
| ERROR: The code that was being executed was:
| ERROR:      0049:			bb.fatal(str(exc))
| ERROR:      0050:		resolver.Resolve()
| ERROR:      0051:
| ERROR:      0052:
| ERROR:  *** 0053:patch_do_patch(d)
| ERROR:      0054:
| ERROR: (file: 'patch_do_patch', lineno: 53, function: <module>)
| ERROR:      0046:		try:
| ERROR:      0047:			patchset.Import({"file":local, "strippath": parm['striplevel']}, True)
| ERROR:      0048:		except Exception as exc:
| ERROR:      0049:			bb.fatal(str(exc))
| ERROR:  *** 0050:		resolver.Resolve()
| ERROR:      0051:
| ERROR:      0052:
| ERROR:      0053:patch_do_patch(d)
| ERROR:      0054:
| ERROR: (file: 'patch_do_patch', lineno: 50, function: patch_do_patch)
| ERROR: Function 'patch_do_patch' failed
NOTE: package util-linux-2.20.1-r1: task do_patch: Failed
Comment 1 Andrei Gherzan 2012-01-05 07:12:46 UTC
The last log wasn't actually the clean on from upstream. So this is the clean log.

| CmdError: Command Error: exit status: 1  Output:
| Applying patch remove-lscpu.patch
| patching file sys-utils/Makefile.am
| Hunk #1 FAILED at 17.
| 1 out of 1 hunk FAILED -- rejects in file sys-utils/Makefile.am
| patching file sys-utils/Makefile.in
| Hunk #1 FAILED at 51.
| Hunk #2 FAILED at 98.
| Hunk #3 FAILED at 146.
| Hunk #4 FAILED at 206.
| Hunk #5 FAILED at 242.
| Hunk #6 FAILED at 438.
| Hunk #7 FAILED at 693.
| Hunk #8 FAILED at 743.
| 8 out of 8 hunks FAILED -- rejects in file sys-utils/Makefile.in
| Patch remove-lscpu.patch does not apply (enforce with -f)
| 
| ERROR: The stack trace of python calls that resulted in this exception/failure was:
| ERROR:   File "patch_do_patch", line 53, in <module>
| ERROR:
| ERROR:   File "patch_do_patch", line 50, in patch_do_patch
| ERROR:
Comment 3 Saul Wold 2012-01-05 11:37:01 UTC
Alternate fix was already in progress on the Mailing List.
Comment 4 Andrei Gherzan 2012-01-08 03:56:13 UTC
Saul fixed this bug.