From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 31E57E00C1B; Tue, 17 Jun 2014 06:16:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.3.1 X-Spam-HAM-Report: X-Greylist: delayed 2741 seconds by postgrey-1.32 at yocto-www; Tue, 17 Jun 2014 06:16:29 PDT Received: from brvmst.brv.se (brvmst.brv.se [148.160.26.95]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9161BE00C12 for ; Tue, 17 Jun 2014 06:16:29 -0700 (PDT) Received: from sbs.brv.local ([192.168.100.20] helo=remote.brv.se) by brvmst.brv.se with esmtp (Exim 4.82) (envelope-from ) id 1WwsX8-000742-Pw for yocto@yoctoproject.org; Tue, 17 Jun 2014 14:30:46 +0200 Received: from SBS.brv.local ([fe80::a92d:db17:ceaf:ef89]) by SBS.brv.local ([fe80::a92d:db17:ceaf:ef89%10]) with mapi id 14.01.0438.000; Tue, 17 Jun 2014 14:30:37 +0200 From: Henric Eriksson To: "yocto@yoctoproject.org" Thread-Topic: Problems creating recipe, "no package provides" Thread-Index: AQHPiifwmaCp6hTI402872ekzfu6vQ== Date: Tue, 17 Jun 2014 12:30:36 +0000 Message-ID: <53A034E9.2090406@brv.se> Accept-Language: sv-SE, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 x-originating-ip: [192.168.100.98] MIME-Version: 1.0 Subject: Problems creating recipe, "no package provides" X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 13:16:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable Hello, I've been working on creating a recipe for the library mongoose for use=20 in a custom layer in Yocto. The library provides a .so in /usr/lib and a=20 .h in /usr/include and is depended (DEPENDS=3D"libmongoose") on in another= =20 recipe for a my main application. When trying to bitbake my image though=20 it fails on the last stage do_rootfs. The recipe is quite simple: libmongoose-5.3.bb: ------------- DESCRIPTION =3D "Mongoose is the most easy to use web server on the planet" SECTION =3D "libs" LICENSE =3D "GPLv2" HOMEPAGE =3D "http://code.google.com/p/mongoose" LIC_FILES_CHKSUM =3D=20 "file://${COREBASE}/meta/COPYING.GPLv2;md5=3D751419260aa954499f7abaabaa882b= be" PR =3D "r0" SRC_URI =3D "git://github.com/cesanta/mongoose.git" SRCREV =3D "30a79651356e28fec240e921f8cd01c9a0a21388" S =3D "${WORKDIR}/git" CFLAGS +=3D "-W -Wall -I.. -pthread -g -pipe -fpic" do_compile() { ${CC} ${CFLAGS} -c mongoose.c -o mongoose.o ${CC} -shared -o libmongoose.so mongoose.o } do_install() { install -d ${D}${libdir} install -d ${D}${includedir} install -m 0755 libmongoose.so ${D}${libdir} install -m 0755 mongoose.h ${D}${includedir} } ------------- Eventually though during do_rootfs, this error pops up: error: Can't install libmongoose-dev-5.3-r0@armv5te: no package provides=20 libmongoose =3D 5.3-r0 I have tried to add both PACKAGES +=3D "libmongoose" and PACKAGES +=3D=20 "libmongoose-dev" in the recipe but nothing seems to help. Looking through Yocto I can see that it appends -dev and such based on=20 what files are provided by the package. But I guess since all the files=20 from the package is provided by libmongoose-dev it dumps libmongoose. I'm at a loss of where to go from here. What have I missed in my recipe? Regards, Henric Eriksson