* Recipe for libserial_0.6.0rc1
@ 2009-06-20 17:59 Elvis Dowson
2009-06-20 18:09 ` Phil Blundell
2009-06-20 19:07 ` Koen Kooi
0 siblings, 2 replies; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 17:59 UTC (permalink / raw)
To: OpenEmbedded Developers
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 17:59 Recipe for libserial_0.6.0rc1 Elvis Dowson
@ 2009-06-20 18:09 ` Phil Blundell
2009-06-20 18:23 ` Elvis Dowson
2009-06-20 18:27 ` Elvis Dowson
2009-06-20 19:07 ` Koen Kooi
1 sibling, 2 replies; 15+ messages in thread
From: Phil Blundell @ 2009-06-20 18:09 UTC (permalink / raw)
To: openembedded-devel
Try:
do_compile() {
oe_runmake SUBDIRS="src doc examples"
}
p.
On Sat, 2009-06-20 at 21:59 +0400, Elvis Dowson wrote:
> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 18:09 ` Phil Blundell
@ 2009-06-20 18:23 ` Elvis Dowson
2009-06-20 18:27 ` Elvis Dowson
1 sibling, 0 replies; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 18:23 UTC (permalink / raw)
To: openembedded-devel
Hi Phil,
Thanks for the input! :-)
On Jun 20, 2009, at 10:09 PM, Phil Blundell wrote:
> Try:
>
> do_compile() {
> oe_runmake SUBDIRS="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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 18:09 ` Phil Blundell
2009-06-20 18:23 ` Elvis Dowson
@ 2009-06-20 18:27 ` Elvis Dowson
2009-06-20 18:37 ` Phil Blundell
1 sibling, 1 reply; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 18:27 UTC (permalink / raw)
To: openembedded-devel
Hi Phil,
On Jun 20, 2009, at 10:09 PM, Phil Blundell wrote:
> Try:
>
> do_compile() {
> oe_runmake SUBDIRS="src doc examples"
> }
It compiled all the files in src, doc and example, and then went
looking for another sub dir called src.
Elvis
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 18:27 ` Elvis Dowson
@ 2009-06-20 18:37 ` Phil Blundell
2009-06-20 19:05 ` Elvis Dowson
0 siblings, 1 reply; 15+ messages in thread
From: Phil Blundell @ 2009-06-20 18:37 UTC (permalink / raw)
To: openembedded-devel
On Sat, 2009-06-20 at 22:27 +0400, Elvis Dowson wrote:
> Hi Phil,
>
> On Jun 20, 2009, at 10:09 PM, Phil Blundell wrote:
>
> > Try:
> >
> > do_compile() {
> > oe_runmake SUBDIRS="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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 18:37 ` Phil Blundell
@ 2009-06-20 19:05 ` Elvis Dowson
2009-06-20 19:52 ` Phil Blundell
0 siblings, 1 reply; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 19:05 UTC (permalink / raw)
To: openembedded-devel
Hi Phil,
On Jun 20, 2009, at 10:37 PM, Phil Blundell wrote:
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 17:59 Recipe for libserial_0.6.0rc1 Elvis Dowson
2009-06-20 18:09 ` Phil Blundell
@ 2009-06-20 19:07 ` Koen Kooi
2009-06-20 19:49 ` Elvis Dowson
1 sibling, 1 reply; 15+ messages in thread
From: Koen Kooi @ 2009-06-20 19:07 UTC (permalink / raw)
To: openembedded-devel
On 20-06-09 19:59, Elvis Dowson wrote:
> Hi,
> I'm trying to create a recipe for libserial-0.6.0rc1.
0.60rc1 as PV violates OE's versioning policy
> 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
use autotools_stage and AUTOTOOLS_STAGE_PKGCONFIG = 1
regards,
Koen
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 19:07 ` Koen Kooi
@ 2009-06-20 19:49 ` Elvis Dowson
2009-06-20 21:29 ` Koen Kooi
0 siblings, 1 reply; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 19:49 UTC (permalink / raw)
To: openembedded-devel
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.
On Jun 20, 2009, at 11:07 PM, Koen Kooi wrote:
> use autotools_stage and AUTOTOOLS_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_stage
AUTOTOOLS_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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 19:05 ` Elvis Dowson
@ 2009-06-20 19:52 ` Phil Blundell
2009-06-20 20:06 ` Elvis Dowson
2009-06-20 20:20 ` Elvis Dowson
0 siblings, 2 replies; 15+ messages in thread
From: Phil Blundell @ 2009-06-20 19:52 UTC (permalink / raw)
To: openembedded-devel
On Sat, 2009-06-20 at 23:05 +0400, Elvis Dowson wrote:
> 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:
> | 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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 19:52 ` Phil Blundell
@ 2009-06-20 20:06 ` Elvis Dowson
2009-06-20 20:20 ` Elvis Dowson
1 sibling, 0 replies; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 20:06 UTC (permalink / raw)
To: openembedded-devel
Hi Phil,
On Jun 20, 2009, at 11:52 PM, Phil Blundell wrote:
>>
>
> 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.
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 19:52 ` Phil Blundell
2009-06-20 20:06 ` Elvis Dowson
@ 2009-06-20 20:20 ` Elvis Dowson
2009-06-20 20:59 ` Phil Blundell
1 sibling, 1 reply; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 20:20 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 20:20 ` Elvis Dowson
@ 2009-06-20 20:59 ` Phil Blundell
2009-06-20 21:10 ` Elvis Dowson
0 siblings, 1 reply; 15+ messages in thread
From: Phil Blundell @ 2009-06-20 20:59 UTC (permalink / raw)
To: openembedded-devel
On Sun, 2009-06-21 at 00:20 +0400, Elvis Dowson wrote:
> 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?
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.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 20:59 ` Phil Blundell
@ 2009-06-20 21:10 ` Elvis Dowson
0 siblings, 0 replies; 15+ messages in thread
From: Elvis Dowson @ 2009-06-20 21:10 UTC (permalink / raw)
To: openembedded-devel
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
On Jun 21, 2009, at 12:59 AM, Phil Blundell wrote:
>>
>
> 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.
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 19:49 ` Elvis Dowson
@ 2009-06-20 21:29 ` Koen Kooi
2009-06-20 22:12 ` Philip Balister
0 siblings, 1 reply; 15+ messages in thread
From: Koen Kooi @ 2009-06-20 21:29 UTC (permalink / raw)
To: openembedded-devel
On 20-06-09 21:49, Elvis Dowson wrote:
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Recipe for libserial_0.6.0rc1
2009-06-20 21:29 ` Koen Kooi
@ 2009-06-20 22:12 ` Philip Balister
0 siblings, 0 replies; 15+ messages in thread
From: Philip Balister @ 2009-06-20 22:12 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 585 bytes --]
Koen Kooi wrote:
> On 20-06-09 21:49, Elvis Dowson wrote:
>> 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
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2009-06-20 22:23 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-20 17:59 Recipe for libserial_0.6.0rc1 Elvis Dowson
2009-06-20 18:09 ` Phil Blundell
2009-06-20 18:23 ` Elvis Dowson
2009-06-20 18:27 ` Elvis Dowson
2009-06-20 18:37 ` Phil Blundell
2009-06-20 19:05 ` Elvis Dowson
2009-06-20 19:52 ` Phil Blundell
2009-06-20 20:06 ` Elvis Dowson
2009-06-20 20:20 ` Elvis Dowson
2009-06-20 20:59 ` Phil Blundell
2009-06-20 21:10 ` Elvis Dowson
2009-06-20 19:07 ` Koen Kooi
2009-06-20 19:49 ` Elvis Dowson
2009-06-20 21:29 ` Koen Kooi
2009-06-20 22:12 ` Philip Balister
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.