All, I'm still fairly new to yocto development and linux development, so I'm not seeing how to reconcile this conflict.
1. I borrowed and modified a recipe for mediainfo for my arm machine. It is autoconf so fairly straightforward: HOMEPAGE="mediainfo.sourceforge.net" SUMMARY = "Mediainfo is a tool to analyze multimedia files" LICENSE = "GPLv2_modified" DEPENDS = "zlib" inherit autotools PARALLEL_MAKE = "" SRC_URI="http://mediaarea.net/download/binary/mediainfo/0.7.62/MediaInfo_CLI_0.7.62_GNU_FromSource.tar.bz2" LIC_FILES_CHKSUM = "file://${WORKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfo/License.html;md5=7f3735d23c6ef724bbd1475e4f82edcf" SRC_URI[md5sum] = "ba10422974111fdff5cf1bb38410c9a1" SRC_URI[sha256sum] = "ecdde190c9f02ab26769e590314c4841a1c182e8488f1ad8584bdfb374562564" S = "${WORKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfo/Project/GNU/CLI" do_configure () { #build zenlib cd ${WORKDIR}/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library/ my_runconf bbnote "configuring libzen\n" oe_runmake #build media info lib cd ${WORKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library/ my_runconf bbnote "configuring libmediainfo\n" oe_runmake #build media info # cd ${S} cd ${WORKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfo/Project/GNU/CLI/ bbnote "configuring mediainfo cli\n -- ${S}" oe_runconf } do_install_prepend () { cd ${WORKDIR}/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library/ install -d ${D}${libdir} install -m 0755 libzen.la ${D}${libdir} cd ${WORKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library/ install -m 0755 libmediainfo.la ${D}${libdir} # cd ${WORKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfo/Project/GNU/CLI/ # install -d ${D}${bindir} # install -m 0755 mediainfo ${D}${bindir} } my_runconf() { bbnote "working directory is " ${CACHED_CONFIGUREVARS} cfgscript="./configure" if [ -x "$cfgscript" ] ; then bbnote "********************************* REM ****************************************\n" bbnote "Running $cfgscript --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir={datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir} --disable-silent-rules --disable-dependency-tracking $@" bbnote "********************************* REM ****************************************\n" $cfgscript --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --infodir=${infodir} --mandir=${mandir} --disable-silent-rules --disable-dependency-tracking $@ else bbfatal "no configure script found at $cfgscript" fi } 2. It builds and installs fine to my sysroot directory 3. When I add it to my image as part of packagegroup-digecor-tools, it generates this error, which I don't understand: ERROR: Unable to install packages. Command '/home/dcor/nv/fsl-community-bsp-nv8/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated psplash packagegroup-core-ssh-openssh packagegroup-digecor-image packagegroup-core-tools-testapps apt packagegroup-core-boot shadow packagegroup-base-extended base-passwd dpkg' returned 100: Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: packagegroup-digecor-image : Depends: packagegroup-digecor-tools but it is not going to be installed W: Unable to read /home/dcor/nv/fsl-community-bsp-nv8/build/tmp/work/nv_player-poky-linux-gnueabi/nvimage/1.0-r0/apt/preferences.d/ - DirectoryExists (2: No such file or directory) E: Unable to correct problems, you have held broken packages. ERROR: Function failed: do_rootfs ERROR: Logfile of failure stored in: /home/dcor/nv/fsl-community-bsp-nv8/build/tmp/work/nv_player-poky-linux-gnueabi/nvimage/1.0-r0/temp/log.do_rootfs.67536 ERROR: Task 7 (/home/dcor/nv/fsl-community-bsp-nv8/sources/meta-digecor/recipes-nv/images/nvimage.bb, do_rootfs) failed with exit code '1' I would sure appreciate your help in figuring out what I'm doing wrong. I just don't see the conflict. Rob Rob McPherson 743 W. 1200 North Springville, UT 84663 801.691.7253 mailto: [email protected]
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
