[oe-commits] [meta-openembedded] 01/20: llvm3.3: Disable auto -dbg packages

git at git.openembedded.org git at git.openembedded.org
Mon May 9 10:58:26 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 6e5d4fd153595c2753a5d32e414a07eced2bcfa0
Author: Martin Jansa <Martin.Jansa at gmail.com>
AuthorDate: Fri May 6 15:40:07 2016 +0200

    llvm3.3: Disable auto -dbg packages
    
    * set NOAUTOPACKAGEDEBUG to disable automatic creation of -dbg FILES split
    * it doesn't work well with our do_split_packages calls and in the end breaks
      installing llvm3.3-dbg (e.g. when you enable IMAGE_GEN_DEBUGFS)
    * it shows a bit ugly error where multiple messages are written over
      each other:
    WARNING: [log_check] In line: [ConfiCollected errors:
    ]
    WARNING: [log_check] luneos-dev-image: found an error message in the logfile (keyword 'Collected errors'):
    [log_check] ConfiCollected errors:
    
    ERROR:
    ConfiCollected errors:
    
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for llvm3.3-dbg:
    
     *      libllvm3.3-lto-dbg *    libllvm3.3-llvm-3.3-dbg *
    
     * opkg_install: Cannot install package llvm3.3-dbg.
    
    guring gstreamer1.0-libav-dbg.
    
      but the main point is that do_split_packages returns some package
      names of packages which in the end aren't created, because there
      are no files in them after other -dbg packages eat them all due
      to automatic -dbg creation
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-core/llvm/llvm.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index 02d4617..fa971f3 100644
--- a/meta-oe/recipes-core/llvm/llvm.inc
+++ b/meta-oe/recipes-core/llvm/llvm.inc
@@ -121,7 +121,7 @@ ALLOW_EMPTY_${PN} = "1"
 ALLOW_EMPTY_${PN}-staticdev = "1"
 FILES_${PN} = ""
 FILES_${PN}-staticdev = ""
-DOTDEBUG-dbg = " \
+FILES_${PN}-dbg = " \
     ${bindir}/${LLVM_DIR}/.debug \
     ${libdir}/${LLVM_DIR}/.debug/BugpointPasses.so \
     ${libdir}/${LLVM_DIR}/.debug/LLVMHello.so \
@@ -142,6 +142,7 @@ FILES_${PN}-llvmhello = "\
 "
 
 PACKAGES_DYNAMIC = "^libllvm${LLVM_RELEASE}-.*$"
+NOAUTOPACKAGEDEBUG = "1"
 
 INSANE_SKIP_${MLPREFIX}libllvm${LLVM_RELEASE}-llvm-${LLVM_RELEASE} += "dev-so"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list