Bug 315 - Additional package requirements
Summary: Additional package requirements
Status: RESOLVED FIXED
Alias: None
Product: Reference
Classification: Documentation
Component: handbook (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 0.9 M4
Assignee: Scott Rifenbark
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-13 13:48 UTC by Darren Hart
Modified: 2010-12-21 06:08 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2010-09-13 13:48:58 UTC
Please add "mercurial", "chrpath", and "gettext" to the list of required packages.
Comment 1 Scott Rifenbark 2010-09-29 06:53:13 UTC
Fixed in local system.  Need to push.
Comment 2 Richard Purdie 2010-10-14 12:49:29 UTC
gettext should not be needed? Darren: What failed due to a lack of that?
Comment 3 Darren Hart 2010-10-14 13:01:32 UTC
o ERROR: '/home/dvhart/intel/source/poky/poky.git/meta/recipes-support/attr/attr_2.4.44.bb' failed

real    66m8.339s
user    291m28.630s
sys     43m13.330s

| FATAL ERROR: msgfmt does not seem to be installed.
| attr cannot be built without a working gettext installation.
| FATAL: oe_runconf failed
NOTE: package attr-2.4.44-r1: task do_configure: Failed


My solution, install msgfmt via "gettext" package.
Comment 4 Richard Purdie 2010-10-14 14:20:40 UTC
This should have been fixed with: http://git.pokylinux.org/cgit.cgi/poky/commit/?id=1d7c9a9828747f6d58b141af685633d69f896baa
Comment 5 Darren Hart 2010-10-14 14:26:13 UTC
(In reply to comment #4)
> This should have been fixed with:
> http://git.pokylinux.org/cgit.cgi/poky/commit/?id=1d7c9a9828747f6d58b141af685633d69f896baa

I don't see how, the context still reads:

DEPENDS =+ "gettext"

And it still searches for various gettext provided tools, it just does so without specific PATHs. Did I miss something in that change?
Comment 6 Richard Purdie 2010-10-14 14:39:04 UTC
+- AC_PATH_PROG(MSGFMT, msgfmt,, /usr/bin:/usr/local/bin:/usr/freeware/bin)
++ AC_PATH_PROG(MSGFMT, msgfmt)

i.e. before it searched in the path mentioned above for the tool and after the patch it should find it in the poky native sysroot as it searches PATH unmodified.

Its in the native sysroot since there is "gettext" in DEPENDS and gettext depends on gettext-native so the tools *are* available in the native sysroot.
Comment 7 Darren Hart 2010-10-14 15:18:19 UTC
Oh I see, gettext doesn't have to be installed on the build system itself. Poky builds a native version of it and uses that.

Scott, please omit gettext from the packages I requested to add to the required list.
Comment 8 Scott Rifenbark 2010-12-01 14:08:48 UTC
These packages are now listed in the documentation in the Yocto Project Quick Start.