[oe] libxml2-native build issue

David Lanzendörfer david.lanzendoerfer at o2s.ch
Sat Oct 10 01:22:02 UTC 2009


Does someone have an idea, what could cause the following error?:
NOTE: Running task 1673 of 2261 (ID: 2181, 
/mnt/sda/fso/openembedded/recipes/libxml/libxml2-native_2.7.3.bb, do_package)                                                                                                                     
objcopy: /mnt/sda/fso/build/tmp/work/x86_64-linux/libxml2-native-2.7.3-
r0/image/mnt/sda/fso/build/tmp/staging/x86_64-linux/usr/lib/.debug/libxml2.a: 
Invalid operation                                                                       
NOTE: the following files were installed but not shipped in any package:                                                                                                                                                                     
NOTE:   /mnt/sda/fso/build/tmp/staging/x86_64-linux/usr/bin/.debug/xmlcatalog                                                                                                                                                                
NOTE:   /mnt/sda/fso/build/tmp/staging/x86_64-linux/usr/bin/.debug/xmllint                                                                                                                                                                   
NOTE:   /mnt/sda/fso/build/tmp/staging/x86_64-
linux/usr/lib/.debug/libxml2.so.2.7.3                                                                                                                                                          
NOTE:   /mnt/sda/fso/build/tmp/staging/x86_64-linux/usr/lib/.debug/libxml2.a                                                                                                                                                                 
NOTE: Couldn't find shared library provider for libdl.so.2                                                                                                                                                                                   
NOTE: Couldn't find shared library provider for libz.so.1                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libm.so.6                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libc.so.6                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libdl.so.2                                                                                                                                                                                   
NOTE: Couldn't find shared library provider for libz.so.1                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libm.so.6                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libc.so.6                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libdl.so.2                                                                                                                                                                                   
NOTE: Couldn't find shared library provider for libz.so.1                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libm.so.6                                                                                                                                                                                    
NOTE: Couldn't find shared library provider for libc.so.6                                                                                                                                                                                    
ERROR: Error in executing: /mnt/sda/fso/openembedded/recipes/libxml/libxml2-
native_2.7.3.bb                                                                                                                                                  
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'                                                                                                                                                                                
ERROR: Printing the environment of the function                                                                                                                                                                                              
ERROR:  0005:    packages = bb.data.getVar('PACKAGES',d, True)                                                                                                                                                                               
ERROR:  0006:                                                                                                                                                                                                                                
ERROR:  0007:    # no packages should be scanned                                                                                                                                                                                             
ERROR:  0008:    if not packages:                                                                                                                                                                                                            
ERROR:  0009:        return                                                                                                                                                                                                                  
ERROR:  0010:                                                                                                                                                                                                                                
ERROR:  0011:    checks = [package_qa_check_rpath, package_qa_check_dev,                                                                                                                                                                     
ERROR:  0012:              package_qa_check_perm, package_qa_check_arch,                                                                                                                                                                     
ERROR:  0013:              package_qa_check_desktop, package_qa_hash_style,                                                                                                                                                                  
ERROR: Error in executing: /mnt/sda/fso/openembedded/recipes/libxml/libxml2-
native_2.7.3.bb                                                                                                                                                  
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'                                                                                                                                                                                
ERROR: Printing the environment of the function                                                                                                                                                                                              
ERROR:  0005:           return                                                                                                                                                                                                               
ERROR:  0006:                                                                                                                                                                                                                                
ERROR:  0007:   for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split():                                                                                                                                                               
ERROR:  0008:           bb.build.exec_func(f, d)                                                                                                                                                                                             
ERROR:  0009:           package_run_hooks(f, d)                                                                                                                                                                                              
ERROR:  0010:                                                                                                                                                                                                                                
ERROR: Error in executing: /mnt/sda/fso/openembedded/recipes/libxml/libxml2-
native_2.7.3.bb                                                                                                                                                  
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'                                                                                                                                                                                
ERROR: Printing the environment of the function                                                                                                                                                                                              
ERROR: Error in executing: /mnt/sda/fso/openembedded/recipes/libxml/libxml2-
native_2.7.3.bb                                                                                                                                                  
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'                                                                                                                                                                                
ERROR: Printing the environment of the function                                                                                                                                                                                              
ERROR: Build of /mnt/sda/fso/openembedded/recipes/libxml/libxml2-
native_2.7.3.bb do_package failed
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 143, in <module>
    main()
  File "/usr/bin/bitbake", line 140, in main
    cooker.cook()
  File "/usr/lib64/python2.6/site-packages/bb/cooker.py", line 644, in cook
    return self.buildTargets(pkgs_to_build)
  File "/usr/lib64/python2.6/site-packages/bb/cooker.py", line 551, in 
buildTargets
    failures = rq.execute_runqueue()
  File "/usr/lib64/python2.6/site-packages/bb/runqueue.py", line 842, in 
execute_runqueue
    self.execute_runqueue_internal()
  File "/usr/lib64/python2.6/site-packages/bb/runqueue.py", line 951, in 
execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/usr/lib64/python2.6/site-packages/bb/cooker.py", line 137, in 
tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/usr/lib64/python2.6/site-packages/bb/cooker.py", line 111, in 
tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 278, in 
exec_task
    exec_func(task, localdata)
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 113, in 
exec_func
    exec_func_python(func, d)
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 136, in 
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/lib64/python2.6/site-packages/bb/utils.py", line 171, in 
better_exec
    exec code in context
  File "do_package", line 4, in <module>
  File "do_package", line 2, in do_package
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 113, in 
exec_func
    exec_func_python(func, d)
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 136, in 
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/lib64/python2.6/site-packages/bb/utils.py", line 171, in 
better_exec
    exec code in context
  File "package_ipk_do_package", line 4, in <module>
  File "package_ipk_do_package", line 2, in package_ipk_do_package
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 113, in 
exec_func
    exec_func_python(func, d)
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 136, in 
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/lib64/python2.6/site-packages/bb/utils.py", line 171, in 
better_exec
    exec code in context
  File "package_do_package", line 11, in <module>
  File "package_do_package", line 8, in package_do_package
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 113, in 
exec_func
    exec_func_python(func, d)
  File "/usr/lib64/python2.6/site-packages/bb/build.py", line 136, in 
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/lib64/python2.6/site-packages/bb/utils.py", line 171, in 
better_exec
    exec code in context
  File "do_package_qa", line 33, in <module>
  File "do_package_qa", line 24, in do_package_qa
  File "<bb>", line 9, in package_qa_walk
KeyError: 'linux'
ERROR: Task 2181 (/mnt/sda/fso/openembedded/recipes/libxml/libxml2-
native_2.7.3.bb, do_package) failed
NOTE: Tasks Summary: Attempted 1672 tasks of which 1653 didn't need to be 
rerun and 1 failed.
ERROR: '/mnt/sda/fso/openembedded/recipes/libxml/libxml2-native_2.7.3.bb' 
failed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091010/c7ece88d/attachment-0002.sig>


More information about the Openembedded-devel mailing list