We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified, another problem is that we'd better cleanup the opkg.inc, opkg_svn.bb and opkg_0.1.8.bb, remove some duplicated, for example: add_vercmp.patch is in both meta/recipes-devtools/opkg/opkg/ and meta/recipes-devtools/opkg/opkg-0.1.8/ $ bitbake -b /path/to/opkg_0.1.8.bb | DEBUG: Python function base_do_fetch finished | DEBUG: Python function do_fetch finished | ERROR: Function failed: Fetcher failure for URL: 'http://opkg.googlecode.com/files/opkg-0.1.8.tar.gz'. No checksum specified for /buildarea2/lyang1/testdeb/../share/downloads/opkg-0.1.8.tar.gz, please add at least one to the recipe: | SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299" | SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60" NOTE: package opkg-1_0.1.8-r9.0: task do_fetch: Failed ERROR: Task 4 (/buildarea2/lyang1/poky/meta/recipes-devtools/opkg/opkg_0.1.8.bb, do_fetch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.
If patches are the same for both the version'ed and svn variation, then they could live in opkg directory and avoid duplication.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2fa65dd42cef8ebdce85e8d92fbb1ad7d5ccb071
run "bitbake -b /path/to/opkg_0.1.8.bb",do_fetch succeeded, but do_configure failed: do_fetch suscess info: Build Configuration: BB_VERSION = "1.15.2" TARGET_ARCH = "x86_64" TARGET_OS = "linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "1.2+snapshot-20120621" TUNE_FEATURES = "m64" TARGET_FPU = "" meta meta-yocto = "master:e0a70547069fe7e8a2d6bdaffc985fb172d46c31" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Running task 1 of 12 (ID: 4, /buildarea/poky.ubuntu.new/meta/recipes-devtools/opkg/opkg_0.1.8.bb, do_fetch) NOTE: package opkg-1_0.1.8-r10.0: task do_fetch: Started NOTE: package opkg-1_0.1.8-r10.0: task do_fetch: Succeeded do_configure error info: NOTE: package opkg-1_0.1.8-r10.0: task do_configure: Started NOTE: package opkg-1_0.1.8-r10.0: task do_populate_lic: Started NOTE: package opkg-1_0.1.8-r10.0: task do_populate_lic: Succeeded ERROR: Function failed: do_configure (see /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/temp/log.do_configure.29902 for further information) ERROR: Logfile of failure stored in: /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/temp/log.do_configure.29902 Log data follows: | DEBUG: Executing python function sysroot_cleansstate | DEBUG: Python function sysroot_cleansstate finished | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Executing shell function do_configure | automake (GNU automake) 1.11.3 | Copyright (C) 2011 Free Software Foundation, Inc. | License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> | This is free software: you are free to change and redistribute it. | There is NO WARRANTY, to the extent permitted by law. | | Written by Tom Tromey <tromey@redhat.com> | and Alexandre Duret-Lutz <adl@gnu.org>. | AUTOV is 1.11 | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8/shave/ -I/buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 | autoreconf: Entering directory `.' | autoreconf: configure.ac: not using Gettext | autoreconf: running: aclocal -I /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8/shave/ -I /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8/shave/ -I /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --force --warnings=cross -I shave | aclocal: unknown warning category `cross' | autoreconf: configure.ac: tracing | autoreconf: running: libtoolize --copy --force | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `conf'. | libtoolize: copying file `conf/ltmain.sh' | libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `shave'. | libtoolize: copying file `shave/libtool.m4' | libtoolize: copying file `shave/ltoptions.m4' | libtoolize: copying file `shave/ltsugar.m4' | libtoolize: copying file `shave/ltversion.m4' | libtoolize: copying file `shave/lt~obsolete.m4' | aclocal: unknown warning category `cross' | autoreconf: running: /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8/shave/ --include=/buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --force --warnings=cross | autoreconf: running: /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8/shave/ --include=/buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --force --warnings=cross | autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross | automake: unknown warning category `cross' | autoreconf: running: gnu-configize | autoreconf: Leaving directory `.' | NOTE: Running /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8/configure --build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/buildarea/tester/build_13/tmp/sysroots/qemux86-64 --disable-gpg --disable-openssl --disable-ssl-curl --disable-curl --disable-sha256 --with-opkglibdir=/var/lib | configure: WARNING: unrecognized options: --disable-silent-rules | configure: loading site script /buildarea/poky.ubuntu.new/meta/site/endian-little | configure: loading site script /buildarea/poky.ubuntu.new/meta/site/common-linux | configure: loading site script /buildarea/poky.ubuntu.new/meta/site/common-glibc | configure: loading site script /buildarea/poky.ubuntu.new/meta/site/x86_64-linux | configure: loading site script /buildarea/poky.ubuntu.new/meta/site/common | checking for a BSD-compatible install... /usr/bin/install -c | checking whether build environment is sane... yes | checking for x86_64-poky-linux-strip... x86_64-poky-linux-strip | checking for a thread-safe mkdir -p... /bin/mkdir -p | checking for gawk... gawk | checkinERROR: Function failed: do_configure (see /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/temp/log.do_configure.29902 for further information) | g whether make sets $(MAKE)... yes | checking build system type... x86_64-pc-linux-gnu | checking host system type... x86_64-poky-linux-gnu | checking for style of include used by make... GNU | checking for x86_64-poky-linux-gcc... x86_64-poky-linux-gcc -m64 --sysroot=/buildarea/tester/build_13/tmp/sysroots/qemux86-64 | checking whether the C compiler works... no | configure: error: in `/buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/opkg-0.1.8': | configure: error: C compiler cannot create executables | See `config.log' for more details | ERROR: oe_runconf failed NOTE: package opkg-1_0.1.8-r10.0: task do_configure: Failed ERROR: Task 6 (/buildarea/poky.ubuntu.new/meta/recipes-devtools/opkg/opkg_0.1.8.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 5 tasks of which 0 didn't need to be rerun and 1 failed. Summary: 1 task failed: /buildarea/poky.ubuntu.new/meta/recipes-devtools/opkg/opkg_0.1.8.bb, do_configure Summary: There were 2 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. git info :e0a70547069fe7e8a2d6bdaffc985fb172d46c31 git branch :poky/master test env: ubuntu 12.04 x86_64 host. and run "bitbake opkg" succeeded. need to file new bug?
(In reply to comment #3) > run "bitbake -b /path/to/opkg_0.1.8.bb",do_fetch succeeded, but do_configure I think that the right way should be: Add these lines to local.conf: PREFERRED_VERSION_opkg = "0.1.8" PREFERRED_VERSION_opkg-native = "0.1.8" Then: bitbake opkg-native opkg Would you please try this? // Robert > failed: > > do_fetch suscess info: > > Build Configuration: > BB_VERSION = "1.15.2" > TARGET_ARCH = "x86_64" > TARGET_OS = "linux" > MACHINE = "qemux86-64" > DISTRO = "poky" > DISTRO_VERSION = "1.2+snapshot-20120621" > TUNE_FEATURES = "m64" > TARGET_FPU = "" > meta > meta-yocto = "master:e0a70547069fe7e8a2d6bdaffc985fb172d46c31" > > NOTE: Preparing runqueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > NOTE: Running task 1 of 12 (ID: 4, > /buildarea/poky.ubuntu.new/meta/recipes-devtools/opkg/opkg_0.1.8.bb, > do_fetch) > NOTE: package opkg-1_0.1.8-r10.0: task do_fetch: Started > NOTE: package opkg-1_0.1.8-r10.0: task do_fetch: Succeeded > > do_configure error info: > > NOTE: package opkg-1_0.1.8-r10.0: task do_configure: Started > NOTE: package opkg-1_0.1.8-r10.0: task do_populate_lic: Started > NOTE: package opkg-1_0.1.8-r10.0: task do_populate_lic: Succeeded > ERROR: Function failed: do_configure (see > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > temp/log.do_configure.29902 for further information) > ERROR: Logfile of failure stored in: > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > temp/log.do_configure.29902 > Log data follows: > | DEBUG: Executing python function sysroot_cleansstate > | DEBUG: Python function sysroot_cleansstate finished > | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', > 'bit-64', 'x86_64-linux', 'common'] > | DEBUG: Executing shell function do_configure > | automake (GNU automake) 1.11.3 > | Copyright (C) 2011 Free Software Foundation, Inc. > | License GPLv2+: GNU GPL version 2 or later > <http://gnu.org/licenses/gpl-2.0.html> > | This is free software: you are free to change and redistribute it. > | There is NO WARRANTY, to the extent permitted by law. > | > | Written by Tom Tromey <tromey@redhat.com> > | and Alexandre Duret-Lutz <adl@gnu.org>. > | AUTOV is 1.11 > | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint > -I > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > opkg-0.1.8/shave/ > -I/buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 > | autoreconf: Entering directory `.' > | autoreconf: configure.ac: not using Gettext > | autoreconf: running: aclocal -I > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > opkg-0.1.8/shave/ -I > /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 > -I > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > opkg-0.1.8/shave/ -I > /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 > --force --warnings=cross -I shave > | aclocal: unknown warning category `cross' > | autoreconf: configure.ac: tracing > | autoreconf: running: libtoolize --copy --force > | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `conf'. > | libtoolize: copying file `conf/ltmain.sh' > | libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `shave'. > | libtoolize: copying file `shave/libtool.m4' > | libtoolize: copying file `shave/ltoptions.m4' > | libtoolize: copying file `shave/ltsugar.m4' > | libtoolize: copying file `shave/ltversion.m4' > | libtoolize: copying file `shave/lt~obsolete.m4' > | aclocal: unknown warning category `cross' > | autoreconf: running: > /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/bin/autoconf > --include=/buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8- > r10.0/opkg-0.1.8/shave/ > --include=/buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/ > aclocal-1.11 --force --warnings=cross > | autoreconf: running: > /buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/bin/autoheader > --include=/buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8- > r10.0/opkg-0.1.8/shave/ > --include=/buildarea/tester/build_13/tmp/sysroots/x86_64-linux/usr/share/ > aclocal-1.11 --force --warnings=cross > | autoreconf: running: automake --foreign --add-missing --copy > --force-missing --warnings=cross > | automake: unknown warning category `cross' > | autoreconf: running: gnu-configize > | autoreconf: Leaving directory `.' > | NOTE: Running > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > opkg-0.1.8/configure --build=x86_64-linux --host=x86_64-poky-linux > --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr > --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec > --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com > --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include > --oldincludedir=/usr/include --infodir=/usr/share/info > --mandir=/usr/share/man --disable-silent-rules > --disable-dependency-tracking > --with-libtool-sysroot=/buildarea/tester/build_13/tmp/sysroots/qemux86-64 > --disable-gpg --disable-openssl > --disable-ssl-curl --disable-curl > --disable-sha256 --with-opkglibdir=/var/lib > | configure: WARNING: unrecognized options: --disable-silent-rules > | configure: loading site script > /buildarea/poky.ubuntu.new/meta/site/endian-little > | configure: loading site script > /buildarea/poky.ubuntu.new/meta/site/common-linux > | configure: loading site script > /buildarea/poky.ubuntu.new/meta/site/common-glibc > | configure: loading site script > /buildarea/poky.ubuntu.new/meta/site/x86_64-linux > | configure: loading site script /buildarea/poky.ubuntu.new/meta/site/common > | checking for a BSD-compatible install... /usr/bin/install -c > | checking whether build environment is sane... yes > | checking for x86_64-poky-linux-strip... x86_64-poky-linux-strip > | checking for a thread-safe mkdir -p... /bin/mkdir -p > | checking for gawk... gawk > | checkinERROR: Function failed: do_configure (see > /buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > temp/log.do_configure.29902 for further information) > | g whether make sets $(MAKE)... yes > | checking build system type... x86_64-pc-linux-gnu > | checking host system type... x86_64-poky-linux-gnu > | checking for style of include used by make... GNU > | checking for x86_64-poky-linux-gcc... x86_64-poky-linux-gcc -m64 > --sysroot=/buildarea/tester/build_13/tmp/sysroots/qemux86-64 > | checking whether the C compiler works... no > | configure: error: in > `/buildarea/tester/build_13/tmp/work/x86_64-poky-linux/opkg-1_0.1.8-r10.0/ > opkg-0.1.8': > | configure: error: C compiler cannot create executables > | See `config.log' for more details > | ERROR: oe_runconf failed > NOTE: package opkg-1_0.1.8-r10.0: task do_configure: Failed > ERROR: Task 6 > (/buildarea/poky.ubuntu.new/meta/recipes-devtools/opkg/opkg_0.1.8.bb, > do_configure) failed with exit code '1' > NOTE: Tasks Summary: Attempted 5 tasks of which 0 didn't need to be rerun > and 1 failed. > > Summary: 1 task failed: > /buildarea/poky.ubuntu.new/meta/recipes-devtools/opkg/opkg_0.1.8.bb, > do_configure > Summary: There were 2 WARNING messages shown. > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > > git info :e0a70547069fe7e8a2d6bdaffc985fb172d46c31 > git branch :poky/master > > test env: ubuntu 12.04 x86_64 host. > > and run "bitbake opkg" succeeded. > > need to file new bug?
run "bitbake -b /path/to/opkg_0.1.8.bb" in the "bitbake opkg" build dir, no error. so change status to "verify".