From cd48ccccaf0c5b62195cfed56574e6f7eb5d8ee7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 15 Oct 2015 10:32:40 -0700 Subject: [PATCH] dev-manual: Added notes to clarify use of pkg-config Fixed [YOCTO #8168] I placed a couple notes in the "Configuration" and "Compilation" sections within the "Writing a New Recipe" section. These notes point out that the build system (as of release 1.7) now disables several *-config scripts. The user should be using "pkg-config" to ensure proper pathname construction and location of these types of scripts. (From yocto-docs rev: a46fd0f7b4d5da7bf3b218441ec5b9a6ef552266) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 44b046d965..5694776b88 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -2249,6 +2249,19 @@ Typically, setting these options is accomplished by running a configure script with some options, or by modifying a build configuration file. + + As of Yocto Project Release 7.1, some of the core recipes + that package binary configuration scripts now disable the + scripts due to the scripts previously requiring error-prone + path substitution. + The OpenEmbedded build system uses + pkg-config now, which is much more + robust. + You can find a list of the *-config + scripts that are disabled list in the + "Binary Configuration Scripts Disabled" + section in the Yocto Project Reference Manual. + @@ -2364,7 +2377,16 @@ However, if the compile step fails, you need to diagnose the failure. - Here are some common issues that cause failures: + Here are some common issues that cause failures. + + For cases where improper paths are detected for + configuration files or for when libraries/headers cannot + be found, be sure you are using the more robust + pkg-config. + See the note in section + "Configuring the Recipe" + for additional information. + Parallel build failures: These failures manifest themselves as intermittent