2017-09-21 7 views
0

yocto 빌드에 lmdb를 추가하려고합니다.do_package : split_and_strip_files (arm-poky-linux-gnueabi-objcopy)가 실패했습니다.

LIC_FILES_CHKSUM = "file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972" 

SRC_URI = " \ 
    https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz \ 
" 
SRC_URI[md5sum] = "0de89730b8f3f5711c2b3a4ba517b648" 
SRC_URI[sha256sum] = "49d7b40949f2ced9bc8b23ea6a89e75471a1c9126537a8b268c318a00b84322b" 

BBFILE_PRIORITY = "8" 

inherit autotools-brokensep 

S = "${WORKDIR}/lmdb-LMDB_${PV}/libraries/liblmdb" 

do_install() { 
    install -d ${D}${bindir} 
    install -d ${D}${libdir} 
    install -d ${D}${includedir} 
    install -d ${D}${mandir} 
    sed -i 's:\$(prefix)/man:${mandir}:' Makefile 
    oe_runmake DESTDIR=${D} prefix=${prefix} manprefix=${mandir} install 
} 

그것은 잘 컴파일하지만 do_package 작업 중 오류가 발생 :

ERROR: objcopy failed with exit code 256 (cmd was 'aarch64-poky-linux-objcopy' --only-keep-debug '/media/build/tmp/work/aarch64-poky-linux/lmdb/0.9.16-r0/package/usr/bin/mdb_copy' '/media/build/tmp/work/aarch64-poky-linux/lmdb/0.9.16-r0/package/usr/bin/.debug/mdb_copy'): aarch64-poky-linux-objcopy: Unable to recognise the format of the input file `/media/build/tmp/work/aarch64-poky-linux/lmdb/0.9.16-r0/package/usr/bin/mdb_copy' 

내가 내 BB 파일에 INHIBIT_PACKAGE_STRIP = "1"을 포함하여 노력이 내 조리법이다. 하지만 다른 오류가 발생합니다 :

ERROR: runstrip: ''aarch64-poky-linux-strip' --remove-section=.comment --remove-section=.note --strip-unneeded '/media/build/tmp/work/aarch64-poky-linux/lmdb/0.9.16-r0/sysroot-destdir/usr/lib/liblmdb.so'' strip command failed with 1 (aarch64-poky-linux-strip: Unable to recognise the format of the input file `/media/build/tmp/work/aarch64-poky-linux/lmdb/0.9.16-r0/sysroot-destdir/usr/lib/liblmdb.so' 
) 
ERROR: QA Issue: Architecture did not match (183 to 62) on work/aarch64-poky-linux/lmdb/0.9.16-r0/packages-split/lmdb-dev/usr/lib/liblmdb.so [arch] 
WARNING: QA Issue: /usr/lib/liblmdb.so_lmdb-dev contained in package lmdb-dev requires libpthread.so.0(GLIBC_2.3.2)(64bit), but no providers found in its RDEPENDS [file-rdeps] 
ERROR: QA Issue: Architecture did not match (183 to 62) on work/aarch64-poky-linux/lmdb/0.9.16-r0/packages-split/lmdb/usr/bin/mdb_dump [arch] 

나는 2.0.2를보고있다.

답변

0

github 링크가 존재하지 않습니다. 당신이

do_package_qa[noexec] = "1" 
와 품질 보증 포장을 건너 뛸 수 있습니다 그러나