Bug 926

Summary: do_compile fail with libuser when building poky-image-basic
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jiajun Xu <jiajun.xu>
Component: coreAssignee: Saul Wold <sgw>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: edwin.zhai, kunwei.tian, mark.hatle, meta.mr.watcher, meta.watcher, richard.purdie, scott.a.garman, xudong.hao, yongkang.you
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-03-22 23:51:07 UTC
branch: bernard/poky master tree
poky commit: 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45 
build target: poky-image-basic

To test non-GPLv3 build, I need to build poky-image-basic. I find with latest gold build commit, poky-image-basic build will meet do_compile error. Check the log as follownig:

######
NOTE: make -j 9
make  all-recursive
make[1]: Entering directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1'
Making all in po
make[2]: Entering directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/po'
make[2]: Leaving directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/po'
Making all in docs
make[2]: Entering directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/docs'
[ -d sgml ] || mkdir sgml
[ -d sgml ] || mkdir sgml
cd sgml; sgml2txt .././sgml/libuser.sgml
cd sgml; sgml2html .././sgml/libuser.sgml
Making all in reference
make[3]: Entering directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/docs/reference'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/docs/reference'
make[3]: Entering directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/docs'
sed 's,@sysconfdir\@,/etc,g' \
                < ./libuser.conf.5.in > libuser.conf.5
make[3]: Leaving directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/docs'
Processing file .././sgml/libuser.sgml
Processing file .././sgml/libuser.sgml
troff: fatal error: can't find macro file s
 fmt_txt::postASP: Empty output file, error when calling groff. Aborting...
make[2]: *** [sgml/libuser.txt] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/libuser-0.57.1'
make: *** [all] Error 2
FATAL: oe_runmake failed
ERROR: Function 'do_compile' failed (see /home/jxu49/osel/poky-gold-gpl/build/tmp/work/i586-poky-linux/libuser-0.57.1-r1/temp/log.do_compile.23125 for further information)
######
Comment 1 Yongkang You 2011-03-23 16:44:32 UTC
Richard and Mark,

Can you take a quick look, since Saul is not here these days.
Comment 2 Edwin Zhai 2011-03-23 19:13:42 UTC
We have a bug that libuser's doc compile failure:
Bug 213 - libuser missing the html/txt doc files

But they got fixed by scott.

CC scott for comments.
Comment 3 Scott Garman 2011-03-23 19:56:41 UTC
This is due to a missing host dependency. Debian-based hosts split up groff into groff-base and groff packages. I bet you have groff-base installed but not groff. That will fix this problem.

See bug 857 for how this got resolved recently in our documentation.
Comment 4 Jiajun Xu 2011-03-23 20:11:20 UTC
(In reply to comment #3)
> This is due to a missing host dependency. Debian-based hosts split up groff
> into groff-base and groff packages. I bet you have groff-base installed but not
> groff. That will fix this problem.
> See bug 857 for how this got resolved recently in our documentation.

Thanks, Scott.
It could pass build after groff installed.
Comment 5 Jiajun Xu 2011-03-23 23:05:02 UTC
Since bug 857 is fixed, I suppose I could mark this bug as fixed also becasue poky-image-basic could pass build after groff installed.
Comment 6 Jiajun Xu 2011-03-23 23:05:42 UTC
Verify the bug as fixed by following the yocto-project-qs handbook, after installing groff on host.