Bug 8971 - util-linux_2.26.2.bb, do_compile failure: utmp.h: No such file or directory
Summary: util-linux_2.26.2.bb, do_compile failure: utmp.h: No such file or directory
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.0.1
Assignee: Ross Burton
QA Contact: Valentin Hangan
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-21 18:09 UTC by Randy Witt
Modified: 2016-02-15 13:48 UTC (History)
3 users (show)

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


Attachments
Bulild log (658.45 KB, text/plain)
2016-01-21 18:09 UTC, Randy Witt
no flags Details
CreateAutoConf log (8.16 KB, text/plain)
2016-01-21 18:10 UTC, Randy Witt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Witt 2016-01-21 18:09:15 UTC
Created attachment 2940 [details]
Bulild log

Using revision dd0ba9ea4a11ab15348d4fe3574e4b28784db82f do_compile failed for util-linux. The build log as well as the createautoconf log are attached.

| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/util-linux-2.26.2/login-utils/utmpdump.c:31:18: fatal error: utmp.h: No such file or directory
| compilation terminated.
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/util-linux-2.26.2/login-utils/last.c:33:18: fatal error: utmp.h: No such file or directory
| compilation terminated.
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/util-linux-2.26.2/term-utils/wall.c:59:18: fatal error: utmp.h: No such file or directory
| compilation terminated.
| make[2]: *** [login-utils/utmpdump.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [login-utils/last.o] Error 1
| make[2]: *** [term-utils/wall-wall.o] Error 1
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/util-linux-2.26.2/term-utils/write.c:50:18: fatal error: utmp.h: No such file or directory
| compilation terminated.
| make[2]: *** [term-utils/write-write.o] Error 1
| make[2]: Leaving directory `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-uclibc/build/build/tmp/work/i586-poky-linux-uclibc/util-linux/2.26.2-r0/temp/log.do_compile.26174)
NOTE: recipe util-linux-2.26.2-r0: task do_compile: Failed
Comment 1 Randy Witt 2016-01-21 18:10:17 UTC
Created attachment 2941 [details]
CreateAutoConf log
Comment 2 Ross Burton 2016-02-02 12:16:28 UTC
Right, confirmed that this is fixed in master with 969158d63ba2c8e2e11af41c2a6d4f1aa5b0099f.
Comment 3 Ross Burton 2016-02-02 12:50:48 UTC
Patch sent for jethro.
Comment 4 Ross Burton 2016-02-05 16:39:03 UTC
Fixed in jethro in oe-core 05cab660ea956aabf6e6f971bdc5c9e2d94b9f2d.
Comment 5 Valentin Hangan 2016-02-15 13:48:30 UTC
Used latest commit from jethro : 5b12268f6e17574999f91628a60e21711cf62ee4 and successfully built util-linux. Marking as verified