Bug 9896 - groff_1.18.1.4 do_compile failure
Summary: groff_1.18.1.4 do_compile failure
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.2 M3
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-08 02:15 UTC by Chen Qi
Modified: 2016-09-19 12:49 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2016-07-08 02:15:16 UTC
Steps to reproduce
1. Set groff version to 1.18.1.4
PREFERRED_VERSION_groff = "1.18.1.4"
2. bitbake groff

Error messages:

| /buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/groff/1.18.1.4-r1/groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '220' from 'int' to 'char' inside { } [-Wnarrowing]
| /buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/groff/1.18.1.4-r1/groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '235' from 'int' to 'char' inside { } [-Wnarrowing]
| /buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/groff/1.18.1.4-r1/groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '236' from 'int' to 'char' inside { } [-Wnarrowing]
| /buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/groff/1.18.1.4-r1/groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '242' from 'int' to 'char' inside { } [-Wnarrowing]
| /buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/groff/1.18.1.4-r1/groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '243' from 'int' to 'char' inside { } [-Wnarrowing]
| /buildarea2/chenqi/poky/build-systemd/tmp/work/i586-poky-linux/groff/1.18.1.4-r1/groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '134' from 'int' to 'char' inside { } [-Wnarrowing]
| make[2]: *** [lbp.o] Error 1
Comment 1 Ross Burton 2016-07-14 14:41:07 UTC
Note that we have this older recipe for anti-GPLv3 reasons, so we can't just cherry-pick a fix from upstream unless it happened before the relicense.
Comment 3 Ross Burton 2016-09-19 12:49:49 UTC
Merged in oe-core 0d79e7b4373053a7f20f18ed962c5a17a969e57e.