Recipe for libserial_0.6.0rc1
Hi,
I'm trying to create a recipe for libserial-0.6.0rc1. There is a
folder called sip in the package. How can I modify the recipe to remove the sip folder from the list of files to be configured and compiled?
DESCRIPTION = "C++ library for serial port support."
SECTION = "libs"
LICENSE = "GPL"
HOMEPAGE = "http://libserial.sourceforge.net/mediawiki/index.php/Main_Page"
SRC_URI = "${SOURCEFORGE_MIRROR}/libserial/libserial-${PV}.tar.gz"
S = "${WORKDIR}/libserial-${PV}"
inherit autotools pkgconfig
do_stage() {
autotools_stage_all
}
Best regards,
Elvis
Try:
do_compile() {
oe_runmake SUBDIRS="src doc examples"
}
p.
Quoted 31 lines · Elvis Dowson
Hi,
I'm trying to create a recipe for libserial-0.6.0rc1. There is a
folder called sip in the package. How can I modify the recipe to remove the sip folder from the list of files to be configured and compiled?DESCRIPTION = "C++ library for serial port support."
SECTION = "libs"
LICENSE = "GPL"
HOMEPAGE = "http://libserial.sourceforge.net/mediawiki/index.php/Main_Page "
SRC_URI= "${SOURCEFORGE_MIRROR}/libserial/libserial-${PV}.tar.gz"S = "${WORKDIR}/libserial-${PV}"
inherit autotools pkgconfig
do_stage(){
autotools_stage_all
}Best regards,
Elvis
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Hi Phil,
Thanks for the input! :-)
Quoted 6 lines · Phil Blundell
Try:
do_compile(){
oe_runmakeSUBDIRS="src doc examples"
}
I made the required changes but now get the following error:
| Making all in src | /bin/sh: line 17: cd: src: No such file or directory | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/doc' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1' | make: *** [all] Error 2 | FATAL: oe_runmake failed
Here is what the full recipe looks like:
DESCRIPTION = "C++ library for serial port support."
SECTION = "libs"
LICENSE = "GPL"
HOMEPAGE = "http://libserial.sourceforge.net/mediawiki/index.php/Main_Page" DEPENDS = ""
SRC_URI = "${SOURCEFORGE_MIRROR}/libserial/libserial-${PV}.tar.gz"
S = "${WORKDIR}/libserial-${PV}"
inherit autotools pkgconfig
do_compile() {
oe_runmake SUBDIRS="src doc examples"
}
do_stage() {
autotools_stage_all
}
Best regards,
Elvis
Hi Phil,
Quoted 5 lines · Phil Blundell
Try:
do_compile(){
oe_runmakeSUBDIRS="src doc examples"
}
It compiled all the files in src, doc and example, and then went looking for another sub dir called src.
Elvis
Quoted 4 lines · Elvis Dowson
Hi Phil,
On Jun 20, 2009, at 10:09 PM, Phil Blundell wrote:
Quoted 8 lines
Quoted 5 lines
Try:
do_compile(){
oe_runmakeSUBDIRS="src doc examples"
}It compiled all the files in src, doc and example, and then went looking for another sub dir called src.
I'm not quite sure what you mean by "another" subdir called src. Can you post the actual log output that you're seeing?
p.
Hi Phil,
Quoted 3 lines · Phil Blundell
I'm not quite sure what you mean by "another" subdir called src. Can you post the actual log output that you're seeing?
The original package, has 4 sub directories, src, doc, examples and sip. I get some sort of configuration errors with the sip folder
| make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/examples' | Making all in sip | make[2]: Entering directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/sip' | python ./configure.py | Traceback (most recent call last): | File "./configure.py", line 6, in <module> | import sipconfig | ImportError: No module named sipconfig | make[2]: *** [Makefile.sip] Error 1 | make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/sip' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1' | make: *** [all] Error 2 | FATAL: oe_runmake failed
I don't need it anyway, so I added the following entry like you suggested:
do_compile() {
oe_runmake SUBDIRS="src doc examples"
}
command to the recipe.
It however, does the build for the src, build and examples folder, as seen in the logs, and then tries to find another src folder and fails.
[elvis@zeus overo-oe]$ bitbake -c rebuild libserial
NOTE: Handling BitBake files: / (6955/6955) [100 %]
NOTE: Parsing finished. 6681 cached, 1 parsed, 273 skipped, 2 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 271 of 436 (ID: 2, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_setscene)
NOTE: Running task 420 of 436 (ID: 3, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_fetch)
NOTE: Running task 421 of 436 (ID: 4, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_unpack)
NOTE: Running task 422 of 436 (ID: 14, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_distribute_sources)
NOTE: Unpacking /usr/share/sources/libserial-0.6.0rc1.tar.gz to tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/
NOTE: Running task 423 of 436 (ID: 5, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_patch)
NOTE: Running task 424 of 436 (ID: 6, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_configure)
NOTE: Running task 425 of 436 (ID: 7, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_qa_configure)
NOTE: Running task 426 of 436 (ID: 8, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_compile)
ERROR: function do_compile failed
ERROR: log data follows (/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/temp/log.do_compile.18481)
| NOTE: make -j 4 SUBDIRS=doc examples src | make all-recursive | make[1]: Entering directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1' | Making all in doc | make[2]: Entering directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/doc' | Making all in doc | /bin/sh: line 17: cd: doc: No such file or directory | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/doc' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1' | make: *** [all] Error 2 | FATAL: oe_runmake failed
NOTE: Task failed: /tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/temp/log.do_compile.18481
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb do_compile failed
ERROR: Task 8 (/tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 425 tasks of which 418 didn't need to be rerun and 1 failed.
ERROR: '/tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb' failed
[elvis@zeus overo-oe]$
Best regards,
Elvis
Quoted 2 lines · Elvis Dowson
It however, does the build for the src, build and examples folder, as seen in the logs, and then tries to find another src folder and fails.
Seems to be actually another "doc" folder that it can't find:
Quoted 3 lines
| Making all in doc | /bin/sh: line 17: cd: doc: No such file or directory | make[2]: *** [all-recursive] Error 1
Does it help if you put an extra layer of quoting around the directory list, i.e. oe_runmake SUBDIRS="'src doc examples'"? Could also try just oe_runmake SUBDIRS=src and see if it works like that.
p.
Hi Phil,
Quoted 5 lines · Phil Blundell
Quoted 1 line
Does it help if you put an extra layer of quoting around the directory list, i.e.
oe_runmakeSUBDIRS="'src doc examples'"? Could also try justoe_runmakeSUBDIRS=src and see if it works like that.
Just specifying SUBDIRS=src worked perfectly. :-)
However, when I specified SUBDIRS=""src examples"" , it did a rebuilt the recipe twice for some reason as shown below:
[elvis@zeus overo-oe]$ bitbake -c rebuild libserial
NOTE: Handling BitBake files: / (6955/6955) [100 %]
NOTE: Parsing finished. 6681 cached, 1 parsed, 273 skipped, 2 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 271 of 436 (ID: 2, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_setscene)
NOTE: Running task 420 of 436 (ID: 3, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_fetch)
NOTE: Running task 421 of 436 (ID: 4, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_unpack)
NOTE: Running task 422 of 436 (ID: 14, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_distribute_sources)
NOTE: Unpacking /usr/share/sources/libserial-0.6.0rc1.tar.gz to tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/
NOTE: Running task 423 of 436 (ID: 5, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_patch)
NOTE: Running task 424 of 436 (ID: 6, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_configure)
NOTE: Running task 425 of 436 (ID: 7, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_qa_configure)
NOTE: Running task 426 of 436 (ID: 8, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_compile)
NOTE: Running task 427 of 436 (ID: 9, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_install)
NOTE: Running task 428 of 436 (ID: 13, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_package)
NOTE: Running task 429 of 436 (ID: 10, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_populate_staging)
NOTE: Running task 430 of 436 (ID: 11, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_qa_staging)
NOTE: Running task 431 of 436 (ID: 17, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_package_write_ipk) Packaged contents of libserial-dbg into /tool/overo-oe/tmp/deploy/glibc/ipk/armv7a/libserial-dbg_0.6.0rc1-r0.3_armv7a.ipk Packaged contents of libserial into /tool/overo-oe/tmp/deploy/glibc/ipk/armv7a/libserial0_0.6.0rc1-r0.3_armv7a.ipk
NOTE: Not creating empty archive for libserial-doc-0.6.0rc1-r0.3
Packaged contents of libserial-dev into /tool/overo-oe/tmp/deploy/glibc/ipk/armv7a/libserial-dev_0.6.0rc1-r0.3_armv7a.ipk
NOTE: Not creating empty archive for libserial-locale-0.6.0rc1-r0.3
NOTE: Running task 432 of 436 (ID: 12, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_package_write)
NOTE: Running task 433 of 436 (ID: 16, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_package_stage)
NOTE: Running task 434 of 436 (ID: 15, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_package_stage_all)
NOTE: Running task 435 of 436 (ID: 0, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_build)
NOTE: Running task 436 of 436 (ID: 1, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_rebuild)
NOTE: Tasks Summary: Attempted 436 tasks of which 418 didn't need to be rerun and 0 failed.
[elvis@zeus overo-oe]$
Best regards,
Elvis
Hi,
My only gripe with this autotools_stage, is that all the headers just
go flat under
/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
instead of nicely packaging it under a libserial folder within /tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
Anyway to fix this?
Best regards,
Elvis
Quoted 10 lines · Elvis Dowson
Hi,
My only gripe with thisautotools_stage, is that all the headers just
go flat under/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
instead of nicely packaging it under a libserial folder within /tool/ overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include
Anyway to fix this?
Not easily. The autotools class just installs the headers whereever the package's Makefile is set up to put them. If the library's authors have written their makefiles to dump the headers in /usr/include rather than in a subdirectory, that's what will happen. (This isn't at all uncommon, particularly for libraries with just one or two headers, and it isn't necessarily any cause for concern.)
Plus, if this is where the package is set up to install its headers, that's probably where other distributions are going to put them and hence where other software is going to expect to find them. So, although obviously you can write a custom do_stage method to put the headers somewhere else, it's not a good idea to do this unless you have a particular reason to believe either that the library's authors were seriously misguided, or that the Makefile is malfunctioning for some reason and not putting the headers where they expected it would.
p.
Hi Phil,
This is the best explanation I've had on an OE aspect in months. Now
it makes perfect sense! I didn't know that it did exactly what the original makefile did.
Anyway, I've learnt a bit more about OE today!! Enough to get me starting on working on the main project!
Elvis
Quoted 18 lines · Phil Blundell
Quoted 1 line
Not easily. The autotools class just installs the headers whereever the package's
Makefileis set up to put them. If the library's authors have written their makefiles to dump the headers in/usr/includerather than in a subdirectory, that's what will happen. (This isn't at all uncommon, particularly for libraries with just one or two headers, and it isn't necessarily any cause for concern.)Plus, if this is where the package is set up to install its headers, that's probably where other distributions are going to put them and hence where other software is going to expect to find them. So, although obviously you can write a custom
do_stagemethod to put the headers somewhere else, it's not a good idea to do this unless you have a particular reason to believe either that the library's authors were seriously misguided, or that theMakefileis malfunctioning for some reason and not putting the headers where they expected it would.
Quoted 2 lines · Elvis Dowson
Hi,
I'm trying to create a recipe for libserial-0.6.0rc1.
0.60rc1 as PV violates OE's versioning policy
Quoted 9 lines
There is a folder
called sip in the package. How can I modify the recipe to remove the sip folder from the list of files to be configured and compiled?DESCRIPTION = "C++ library for serial port support."
SECTION = "libs"
LICENSE = "GPL"
HOMEPAGE = "http://libserial.sourceforge.net/mediawiki/index.php/Main_Page"
Quoted 8 lines
SRC_URI= "${SOURCEFORGE_MIRROR}/libserial/libserial-${PV}.tar.gz"S = "${WORKDIR}/libserial-${PV}"
inherit autotools pkgconfig
do_stage(){autotools_stage_all
use autotools_stage and AUTOTOOLS_STAGE_PKGCONFIG = 1
regards,
Koen
Hi Koen,
About the rc1 tag, that was the only version on source forge that
compiled correctly. the existing 1.5.2 recipe doesnt even compile.
Quoted 2 lines · Koen Kooi
use
autotools_stageandAUTOTOOLS_STAGE_PKGCONFIG= 1
I tried that, however, the resulting failure is identical. Could you please help?
DESCRIPTION = "C++ library for serial port support."
SECTION = "libs"
LICENSE = "GPL"
HOMEPAGE = "http://libserial.sourceforge.net/mediawiki/index.php/Main_Page" DEPENDS = ""
SRC_URI = "${SOURCEFORGE_MIRROR}/libserial/libserial-${PV}.tar.gz"
S = "${WORKDIR}/${PN}-${PV}"
inherit autotools_stageAUTOTOOLS_STAGE_PKGCONFIG = 1
do_compile() {
oe_runmake SUBDIRS="src doc examples"
}
do_stage() {
autotools_stage_all
}
NOTE: Running task 426 of 436 (ID: 8, /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_compile)
ERROR: function do_compile failed
ERROR: log data follows (/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/temp/log.do_compile.14419)
| NOTE: make -j 4 SUBDIRS=src doc examples | make all-recursive | make[1]: Entering directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1' | Making all in src | make[2]: Entering directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/src' | /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=compile ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -DHAVE_CONFIG_H -I. -I.. -isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -Weffc++ -isystem/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3 -fpermissive -fvisibility-inlines-hidden -MT SerialStreamBuf.lo -MD -MP -MF .deps/SerialStreamBuf.Tpo -c -o SerialStreamBuf.lo SerialStreamBuf.cc
<snip>
| arm-angstrom-linux-gnueabi-libtool: link: ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -shared -nostdlib /tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/crti.o /tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/crtbeginS.o .libs/SerialStreamBuf.o .libs/SerialStream.o .libs/SerialPort.o .libs/PosixSignalDispatcher.o -Wl,-rpath -Wl,/tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib -Wl,-rpath -Wl,/tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib -L/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -L/tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3 -L/tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib -L/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/lib /tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libstdc++.so -L/tool/overo-oe/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/lib -lm -lc -lgcc_s /tool/overo-oe/tmp/cross/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/crtendS.o /tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib/crtn.o -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -Wl,-rpath-link -Wl,/tool/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-soname -Wl,libserial.so.0 -o .libs/libserial.so.0.0.0 | arm-angstrom-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libserial.so.0" && ln -s "libserial.so.0.0.0" "libserial.so.0") | arm-angstrom-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libserial.so" && ln -s "libserial.so.0.0.0" "libserial.so") | arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-ar cru .libs/libserial.a SerialStreamBuf.o SerialStream.o SerialPort.o PosixSignalDispatcher.o | arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-ranlib .libs/libserial.a | arm-angstrom-linux-gnueabi-libtool: link: ( cd ".libs" && rm -f "libserial.la" && ln -s "../libserial.la" "libserial.la" ) | make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/src' | Making all in doc | make[2]: Entering directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/doc' | Making all in src | /bin/sh: line 17: cd: src: No such file or directory | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1/doc' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/libserial-0.6.0rc1' | make: *** [all] Error 2 | FATAL: oe_runmake failed
NOTE: Task failed: /tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/libserial-0.6.0rc1-r0/temp/log.do_compile.14419
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb do_compile failed
ERROR: Task 8 (/tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 425 tasks of which 418 didn't need to be rerun and 1 failed.
ERROR: '/tool/overo-oe/user.collection/recipes/libserial/libserial_0.6.0rc1.bb' failed
[elvis@zeus overo-oe]$
Best regards,
Elvis
Quoted 3 lines · Elvis Dowson
Hi Koen,
About the rc1 tag, that was the only version on source forge that compiled correctly. the existing 1.5.2 recipe doesnt even compile.
doing PV=0.6.0rc1 violates our versioning policy. I suggest you read the policy document in the wiki, it explains quite clearly why doing PV=0.6.0rc1 is wrong
Quoted 6 lines · Koen Kooi
Quoted 3 lines · Elvis Dowson
Hi Koen,
About the rc1 tag, that was the only version on source forge that compiled correctly. the existing 1.5.2 recipe doesnt even compile.doing PV=0.6.0rc1 violates our versioning policy. I suggest you read the policy document in the wiki, it explains quite clearly why doing PV=0.6.0rc1 is wrong
http://wiki.openembedded.net/index.php/Versioning_Policy
The page could use some more details, such as definitions of PV, PN, and PR. But it should show would to do in this case.
Philip